2026-03-06 05:23:49,837 - INFO - Domain Default found not creating 2026-03-06 05:23:50,002 - INFO - Project ctest-TestRoutersBasic-69897882 not found, creating it 2026-03-06 05:23:50,486 - INFO - Created Project:ctest-TestRoutersBasic-69897882, ID : a5483a02-7ea9-470f-b58c-792aa86646fe 2026-03-06 05:23:51,968 - INFO - ================================================================================ 2026-03-06 05:23:51,968 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-06 05:23:51,968 - 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 2026-03-06 05:23:52,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-06 05:23:52,221 - INFO - Initial checks done. Running the testcase now 2026-03-06 05:23:52,221 - INFO - 2026-03-06 05:23:52,920 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69897882 2026-03-06 05:23:53,016 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69897882 2026-03-06 05:23:53,340 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69897882', 'default']} 2026-03-06 05:23:53,627 - DEBUG - Response for create_network : {'network': {'id': '7908554f-5149-4590-9e97-c145776ec958', 'name': 'ctest-vn-68420791', 'tenant_id': 'a5483a027ea9470fb58c792aa86646fe', 'project_id': 'a5483a027ea9470fb58c792aa86646fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69897882', 'ctest-vn-68420791'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:23:53,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e14ee30c-309e-4adc-9cc0-430b0b28e1ac', 'name': '', 'tenant_id': 'a5483a027ea9470fb58c792aa86646fe', 'network_id': '7908554f-5149-4590-9e97-c145776ec958', 'ip_version': 4, 'cidr': '29.170.90.128/26', 'allocation_pools': [{'start': '29.170.90.130', 'end': '29.170.90.190'}], 'gateway_ip': '29.170.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.170.90.130', 'tags': [], 'project_id': 'a5483a027ea9470fb58c792aa86646fe'}} 2026-03-06 05:23:53,796 - INFO - Created VN ctest-vn-68420791 2026-03-06 05:23:53,848 - DEBUG - VN ctest-vn-68420791 UUID is 7908554f-5149-4590-9e97-c145776ec958 2026-03-06 05:23:54,159 - DEBUG - Response for create_network : {'network': {'id': 'ad95bd69-b70b-4223-a2ce-b45e3e299cd8', 'name': 'ctest-ext_vn-86439612', 'tenant_id': 'a5483a027ea9470fb58c792aa86646fe', 'project_id': 'a5483a027ea9470fb58c792aa86646fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69897882', 'ctest-ext_vn-86439612'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 05:23:54,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d1df7f7-d4e9-4e9e-bc8a-1bd7b926434c', 'name': '', 'tenant_id': 'a5483a027ea9470fb58c792aa86646fe', 'network_id': 'ad95bd69-b70b-4223-a2ce-b45e3e299cd8', 'ip_version': 4, 'cidr': '107.78.65.0/26', 'allocation_pools': [{'start': '107.78.65.2', 'end': '107.78.65.62'}], 'gateway_ip': '107.78.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.78.65.2', 'tags': [], 'project_id': 'a5483a027ea9470fb58c792aa86646fe'}} 2026-03-06 05:23:54,332 - INFO - Created VN ctest-ext_vn-86439612 2026-03-06 05:23:54,384 - DEBUG - VN ctest-ext_vn-86439612 UUID is ad95bd69-b70b-4223-a2ce-b45e3e299cd8 2026-03-06 05:23:54,583 - DEBUG - Services list from nova: [, , ] 2026-03-06 05:23:55,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1) 2026-03-06 05:23:56,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5447-1) 2026-03-06 05:23:56,758 - INFO - Setting gateway for router 5654db32-ec52-4275-be7b-9b08895a3167 to network ad95bd69-b70b-4223-a2ce-b45e3e299cd8 2026-03-06 05:23:56,807 - INFO - Adding interface with subnet_id e14ee30c-309e-4adc-9cc0-430b0b28e1ac, port_id None to router 5654db32-ec52-4275-be7b-9b08895a3167 2026-03-06 05:23:57,125 - INFO - Waiting for VM ctest-TestRoutersBasic-69897882-30290308 to be up.. 2026-03-06 05:23:57,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 05:24:02,313 - DEBUG - VM is in ACTIVE state now 2026-03-06 05:24:02,313 - INFO - VM name : ctest-TestRoutersBasic-69897882-30290308 2026-03-06 05:24:02,388 - DEBUG - VM ctest-TestRoutersBasic-69897882-30290308 ID is 74d2b95e-9c4b-4bed-9d39-ed06e58db871 2026-03-06 05:24:02,411 - DEBUG - VM ctest-TestRoutersBasic-69897882-30290308 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1 2026-03-06 05:24:02,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74d2b95e-9c4b-4bed-9d39-ed06e58db871 2026-03-06 05:24:02,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/74d2b95e-9c4b-4bed-9d39-ed06e58db871 2026-03-06 05:24:02,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4092123e-f5f8-4762-95a3-1434ff5ad6e0 2026-03-06 05:24:06,090 - 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 1007ms') 2026-03-06 05:24:06,090 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69897882-30290308 failed! 2026-03-06 05:24:06,145 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69897882:ctest-vn-68420791 is 29.170.90.129 and allocation pool is NOT set 2026-03-06 05:24:08,206 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/1.783/3.081/1.297 ms') 2026-03-06 05:24:08,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69897882-30290308 passed 2026-03-06 05:24:08,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:08,352 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69897882-30290308, IP 29.170.90.131, Port 22 2026-03-06 05:24:08,508 - DEBUG - VM ctest-TestRoutersBasic-69897882-30290308 is ready for SSH connections 2026-03-06 05:24:08,508 - INFO - Waiting for VM ctest-TestRoutersBasic-69897882-75600412 to be up.. 2026-03-06 05:24:08,579 - DEBUG - VM is in ACTIVE state now 2026-03-06 05:24:08,579 - INFO - VM name : ctest-TestRoutersBasic-69897882-75600412 2026-03-06 05:24:08,648 - DEBUG - VM ctest-TestRoutersBasic-69897882-75600412 ID is 9925ba77-392f-48aa-bea3-a5e4a0eac892 2026-03-06 05:24:08,648 - DEBUG - VM ctest-TestRoutersBasic-69897882-75600412 launched on Node cn-jenkins-deploy-platform-ansible-os-5447-1 2026-03-06 05:24:08,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9925ba77-392f-48aa-bea3-a5e4a0eac892 2026-03-06 05:24:08,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5a5c24f-875f-454f-9594-6bf427b8a4b2 2026-03-06 05:24:09,955 - 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=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.40 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 = 1.401/3.250/5.100/1.849 ms') 2026-03-06 05:24:09,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69897882-75600412 passed 2026-03-06 05:24:10,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:10,108 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69897882-75600412, IP 107.78.65.3, Port 22 2026-03-06 05:24:10,259 - DEBUG - VM ctest-TestRoutersBasic-69897882-75600412 is ready for SSH connections 2026-03-06 05:24:10,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 05:24:10,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.78.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 05:24:10,260 - DEBUG - ping -s 56 -c 3 -W 1 107.78.65.3 2026-03-06 05:24:13,952 - DEBUG - PING 107.78.65.3 (107.78.65.3): 56 data bytes 64 bytes from 107.78.65.3: seq=0 ttl=62 time=4.349 ms 64 bytes from 107.78.65.3: seq=1 ttl=62 time=1.072 ms 64 bytes from 107.78.65.3: seq=2 ttl=62 time=1.209 ms --- 107.78.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/2.210/4.349 ms 2026-03-06 05:24:13,953 - INFO - Ping to IP 107.78.65.3 from VM ctest-TestRoutersBasic-69897882-30290308 passed 2026-03-06 05:24:13,953 - INFO - Deleting interface with subnet_id e14ee30c-309e-4adc-9cc0-430b0b28e1ac, port_id None from router 5654db32-ec52-4275-be7b-9b08895a3167 2026-03-06 05:24:14,131 - INFO - Deleting VM ctest-TestRoutersBasic-69897882-75600412 2026-03-06 05:24:14,205 - INFO - Deleting VM ctest-TestRoutersBasic-69897882-30290308 2026-03-06 05:24:14,279 - INFO - Deleting VN ctest-ext_vn-86439612 2026-03-06 05:24:14,336 - DEBUG - VN ad95bd69-b70b-4223-a2ce-b45e3e299cd8 still in use: Unable to complete operation on network ad95bd69-b70b-4223-a2ce-b45e3e299cd8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a116b51b-e4b0-4f53-adc8-c6d644be32ed'] 2026-03-06 05:24:14,336 - WARNING - Deleting VN ctest-ext_vn-86439612 failed..Will retry 2026-03-06 05:24:16,445 - DEBUG - Response for deleting network () 2026-03-06 05:24:16,445 - INFO - Deleting VN ctest-vn-68420791 2026-03-06 05:24:16,543 - DEBUG - Response for deleting network () 2026-03-06 05:24:16,803 - DEBUG - No XMPP flaps were noticed during the test 2026-03-06 05:24:16,803 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-06 05:24:16,804 - INFO - -------------------------------------------------------------------------------- 2026-03-06 05:24:17,491 - INFO - Deleted project: ctest-TestRoutersBasic-69897882, ID : a5483a02-7ea9-470f-b58c-792aa86646fe