2025-07-21 02:22:47,711 - INFO - Domain Default found not creating 2025-07-21 02:22:47,867 - INFO - Project ctest-TestRoutersBasic-46712212 not found, creating it 2025-07-21 02:22:48,337 - INFO - Created Project:ctest-TestRoutersBasic-46712212, ID : c85ca113-2034-4bdc-8f41-396b5afaf8f6 2025-07-21 02:22:49,841 - INFO - ================================================================================ 2025-07-21 02:22:49,841 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-21 02:22:49,842 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-07-21 02:22:50,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-21 02:22:50,101 - INFO - Initial checks done. Running the testcase now 2025-07-21 02:22:50,101 - INFO - 2025-07-21 02:22:50,803 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46712212 2025-07-21 02:22:50,903 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46712212 2025-07-21 02:22:51,226 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46712212', 'default']} 2025-07-21 02:22:51,568 - DEBUG - Response for create_network : {'network': {'id': '24877d1d-2fb2-44e3-aeb2-feab7af170ff', 'name': 'ctest-vn-52327518', 'tenant_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'project_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46712212', 'ctest-vn-52327518'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:22:51,761 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbe6851b-848e-4887-9276-aac559a5b396', 'name': '', 'tenant_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'network_id': '24877d1d-2fb2-44e3-aeb2-feab7af170ff', 'ip_version': 4, 'cidr': '135.79.126.128/26', 'allocation_pools': [{'start': '135.79.126.130', 'end': '135.79.126.190'}], 'gateway_ip': '135.79.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.79.126.130', 'tags': [], 'project_id': 'c85ca11320344bdc8f41396b5afaf8f6'}} 2025-07-21 02:22:51,782 - INFO - Created VN ctest-vn-52327518 2025-07-21 02:22:51,839 - DEBUG - VN ctest-vn-52327518 UUID is 24877d1d-2fb2-44e3-aeb2-feab7af170ff 2025-07-21 02:22:52,184 - DEBUG - Response for create_network : {'network': {'id': '6eb509a1-e6f8-4262-9b82-849c529e7cdc', 'name': 'ctest-ext_vn-56019365', 'tenant_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'project_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46712212', 'ctest-ext_vn-56019365'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 02:22:52,404 - DEBUG - Response for create_subnet : {'subnet': {'id': '906dbb30-c724-4145-a478-a6adc49a4976', 'name': '', 'tenant_id': 'c85ca11320344bdc8f41396b5afaf8f6', 'network_id': '6eb509a1-e6f8-4262-9b82-849c529e7cdc', 'ip_version': 4, 'cidr': '80.155.32.128/26', 'allocation_pools': [{'start': '80.155.32.130', 'end': '80.155.32.190'}], 'gateway_ip': '80.155.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.155.32.130', 'tags': [], 'project_id': 'c85ca11320344bdc8f41396b5afaf8f6'}} 2025-07-21 02:22:52,425 - INFO - Created VN ctest-ext_vn-56019365 2025-07-21 02:22:52,478 - DEBUG - VN ctest-ext_vn-56019365 UUID is 6eb509a1-e6f8-4262-9b82-849c529e7cdc 2025-07-21 02:22:52,655 - DEBUG - Services list from nova: [, , ] 2025-07-21 02:22:53,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3673-1) 2025-07-21 02:22:54,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3673-1) 2025-07-21 02:22:54,977 - INFO - Setting gateway for router 6d800724-6f46-40bd-9cda-aad286a15e79 to network 6eb509a1-e6f8-4262-9b82-849c529e7cdc 2025-07-21 02:22:55,061 - INFO - Adding interface with subnet_id fbe6851b-848e-4887-9276-aac559a5b396, port_id None to router 6d800724-6f46-40bd-9cda-aad286a15e79 2025-07-21 02:22:55,510 - INFO - Waiting for VM ctest-TestRoutersBasic-46712212-27162591 to be up.. 2025-07-21 02:22:55,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 02:23:00,849 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:23:00,849 - INFO - VM name : ctest-TestRoutersBasic-46712212-27162591 2025-07-21 02:23:00,944 - DEBUG - VM ctest-TestRoutersBasic-46712212-27162591 ID is fca9ec0d-79cb-4c31-b43e-5e52e8d46a24 2025-07-21 02:23:00,969 - DEBUG - VM ctest-TestRoutersBasic-46712212-27162591 launched on Node cn-jenkins-deploy-platform-ansible-os-3673-1 2025-07-21 02:23:01,061 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fca9ec0d-79cb-4c31-b43e-5e52e8d46a24 2025-07-21 02:23:01,365 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fca9ec0d-79cb-4c31-b43e-5e52e8d46a24 2025-07-21 02:23:01,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1c80f684-15d8-4637-ab0b-4accf5034925 2025-07-21 02:23:04,674 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-07-21 02:23:04,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46712212-27162591 failed! 2025-07-21 02:23:04,734 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46712212:ctest-vn-52327518 is 135.79.126.129 and allocation pool is NOT set 2025-07-21 02:23:06,796 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.565 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.565/1.880/3.196/1.315 ms') 2025-07-21 02:23:06,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46712212-27162591 passed 2025-07-21 02:23:06,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:06,951 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46712212-27162591, IP 135.79.126.131, Port 22 2025-07-21 02:23:07,106 - DEBUG - VM ctest-TestRoutersBasic-46712212-27162591 is ready for SSH connections 2025-07-21 02:23:07,106 - INFO - Waiting for VM ctest-TestRoutersBasic-46712212-96618094 to be up.. 2025-07-21 02:23:07,187 - DEBUG - VM is in ACTIVE state now 2025-07-21 02:23:07,187 - INFO - VM name : ctest-TestRoutersBasic-46712212-96618094 2025-07-21 02:23:07,264 - DEBUG - VM ctest-TestRoutersBasic-46712212-96618094 ID is c9ac6651-8271-4e66-ba9c-6a1cb765870c 2025-07-21 02:23:07,264 - DEBUG - VM ctest-TestRoutersBasic-46712212-96618094 launched on Node cn-jenkins-deploy-platform-ansible-os-3673-1 2025-07-21 02:23:07,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c9ac6651-8271-4e66-ba9c-6a1cb765870c 2025-07-21 02:23:07,351 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1d985f86-521e-49bd-aaf8-c8dfab471d24 2025-07-21 02:23:08,600 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.836 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.836/2.552/4.268/1.716 ms') 2025-07-21 02:23:08,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46712212-96618094 passed 2025-07-21 02:23:08,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:08,759 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46712212-96618094, IP 80.155.32.131, Port 22 2025-07-21 02:23:08,918 - DEBUG - VM ctest-TestRoutersBasic-46712212-96618094 is ready for SSH connections 2025-07-21 02:23:08,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 02:23:08,919 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.155.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 02:23:08,919 - DEBUG - ping -s 56 -c 3 -W 1 80.155.32.131 2025-07-21 02:23:12,590 - DEBUG - PING 80.155.32.131 (80.155.32.131): 56 data bytes 64 bytes from 80.155.32.131: seq=0 ttl=62 time=6.993 ms 64 bytes from 80.155.32.131: seq=1 ttl=62 time=0.914 ms 64 bytes from 80.155.32.131: seq=2 ttl=62 time=0.900 ms --- 80.155.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/2.935/6.993 ms 2025-07-21 02:23:12,590 - INFO - Ping to IP 80.155.32.131 from VM ctest-TestRoutersBasic-46712212-27162591 passed 2025-07-21 02:23:12,590 - INFO - Deleting interface with subnet_id fbe6851b-848e-4887-9276-aac559a5b396, port_id None from router 6d800724-6f46-40bd-9cda-aad286a15e79 2025-07-21 02:23:12,815 - INFO - Deleting VM ctest-TestRoutersBasic-46712212-96618094 2025-07-21 02:23:12,893 - INFO - Deleting VM ctest-TestRoutersBasic-46712212-27162591 2025-07-21 02:23:12,993 - INFO - Deleting VN ctest-ext_vn-56019365 2025-07-21 02:23:13,081 - DEBUG - VN 6eb509a1-e6f8-4262-9b82-849c529e7cdc still in use: Unable to complete operation on network 6eb509a1-e6f8-4262-9b82-849c529e7cdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-567c8bb2-4363-4f60-af46-eb6e5157dd00'] 2025-07-21 02:23:13,081 - WARNING - Deleting VN ctest-ext_vn-56019365 failed..Will retry 2025-07-21 02:23:15,189 - DEBUG - Response for deleting network () 2025-07-21 02:23:15,189 - INFO - Deleting VN ctest-vn-52327518 2025-07-21 02:23:15,305 - DEBUG - Response for deleting network () 2025-07-21 02:23:15,565 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 02:23:15,565 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-21 02:23:15,565 - INFO - -------------------------------------------------------------------------------- 2025-07-21 02:23:16,246 - INFO - Deleted project: ctest-TestRoutersBasic-46712212, ID : c85ca113-2034-4bdc-8f41-396b5afaf8f6