2026-09-17 23:16:04,519 - INFO - Domain Default found not creating 2026-09-17 23:16:04,683 - INFO - Project ctest-TestRoutersBasic-90458189 not found, creating it 2026-09-17 23:16:05,149 - INFO - Created Project:ctest-TestRoutersBasic-90458189, ID : 1aeb88f5-ebf0-440c-8391-11b902103970 2026-09-17 23:16:06,630 - INFO - ================================================================================ 2026-09-17 23:16:06,631 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-17 23:16:06,631 - 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-09-17 23:16:06,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-09-17 23:16:06,899 - INFO - Initial checks done. Running the testcase now 2026-09-17 23:16:06,899 - INFO - 2026-09-17 23:16:07,659 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90458189 2026-09-17 23:16:07,760 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90458189 2026-09-17 23:16:08,084 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90458189', 'default']} 2026-09-17 23:16:08,381 - DEBUG - Response for create_network : {'network': {'id': '44932e71-2e58-4975-9945-7e793d86c3e7', 'name': 'ctest-vn-08742585', 'tenant_id': '1aeb88f5ebf0440c839111b902103970', 'project_id': '1aeb88f5ebf0440c839111b902103970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90458189', 'ctest-vn-08742585'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 23:16:08,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '31716ebd-3dbf-4388-97b8-378c8d663970', 'name': '', 'tenant_id': '1aeb88f5ebf0440c839111b902103970', 'network_id': '44932e71-2e58-4975-9945-7e793d86c3e7', 'ip_version': 4, 'cidr': '34.91.192.128/26', 'allocation_pools': [{'start': '34.91.192.130', 'end': '34.91.192.190'}], 'gateway_ip': '34.91.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.91.192.130', 'tags': [], 'project_id': '1aeb88f5ebf0440c839111b902103970'}} 2026-09-17 23:16:08,590 - INFO - Created VN ctest-vn-08742585 2026-09-17 23:16:08,644 - DEBUG - VN ctest-vn-08742585 UUID is 44932e71-2e58-4975-9945-7e793d86c3e7 2026-09-17 23:16:09,003 - DEBUG - Response for create_network : {'network': {'id': 'bde68309-3771-4b3d-8047-875567d34227', 'name': 'ctest-ext_vn-68960343', 'tenant_id': '1aeb88f5ebf0440c839111b902103970', 'project_id': '1aeb88f5ebf0440c839111b902103970', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90458189', 'ctest-ext_vn-68960343'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 23:16:09,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '9255e897-7f45-4957-a577-18432261c2e6', 'name': '', 'tenant_id': '1aeb88f5ebf0440c839111b902103970', 'network_id': 'bde68309-3771-4b3d-8047-875567d34227', 'ip_version': 4, 'cidr': '57.112.47.64/26', 'allocation_pools': [{'start': '57.112.47.66', 'end': '57.112.47.126'}], 'gateway_ip': '57.112.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.112.47.66', 'tags': [], 'project_id': '1aeb88f5ebf0440c839111b902103970'}} 2026-09-17 23:16:09,243 - INFO - Created VN ctest-ext_vn-68960343 2026-09-17 23:16:09,296 - DEBUG - VN ctest-ext_vn-68960343 UUID is bde68309-3771-4b3d-8047-875567d34227 2026-09-17 23:16:09,497 - DEBUG - Services list from nova: [, , ] 2026-09-17 23:16:09,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6307-1) 2026-09-17 23:16:10,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6307-1) 2026-09-17 23:16:10,315 - INFO - Setting gateway for router 5038b162-fe5b-438e-8bb8-d5b29ef492c5 to network bde68309-3771-4b3d-8047-875567d34227 2026-09-17 23:16:10,368 - INFO - Adding interface with subnet_id 31716ebd-3dbf-4388-97b8-378c8d663970, port_id None to router 5038b162-fe5b-438e-8bb8-d5b29ef492c5 2026-09-17 23:16:10,591 - INFO - Waiting for VM ctest-TestRoutersBasic-90458189-31664919 to be up.. 2026-09-17 23:16:10,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:15,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:20,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:25,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:30,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:36,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:41,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 23:16:46,241 - DEBUG - VM is in ACTIVE state now 2026-09-17 23:16:46,241 - INFO - VM name : ctest-TestRoutersBasic-90458189-31664919 2026-09-17 23:16:46,313 - DEBUG - VM ctest-TestRoutersBasic-90458189-31664919 ID is 6f9861ba-6bb4-44de-ac63-5060a91e6f86 2026-09-17 23:16:46,334 - DEBUG - VM ctest-TestRoutersBasic-90458189-31664919 launched on Node cn-jenkins-deploy-platform-ansible-os-6307-1 2026-09-17 23:16:46,407 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/6f9861ba-6bb4-44de-ac63-5060a91e6f86 2026-09-17 23:16:46,731 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/6f9861ba-6bb4-44de-ac63-5060a91e6f86 2026-09-17 23:16:46,769 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/983f1c2b-323b-4496-a957-93baab6ca397 2026-09-17 23:16:50,061 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-09-17 23:16:50,061 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90458189-31664919 failed! 2026-09-17 23:16:50,120 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90458189:ctest-vn-08742585 is 34.91.192.129 and allocation pool is NOT set 2026-09-17 23:16:52,187 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.48 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.515 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.515/1.999/3.483/1.484 ms') 2026-09-17 23:16:52,187 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-90458189-31664919 passed 2026-09-17 23:16:52,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 23:16:52,340 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90458189-31664919, IP 34.91.192.131, Port 22 2026-09-17 23:16:52,506 - DEBUG - VM ctest-TestRoutersBasic-90458189-31664919 is ready for SSH connections 2026-09-17 23:16:52,506 - INFO - Waiting for VM ctest-TestRoutersBasic-90458189-63263973 to be up.. 2026-09-17 23:16:52,581 - DEBUG - VM is in ACTIVE state now 2026-09-17 23:16:52,581 - INFO - VM name : ctest-TestRoutersBasic-90458189-63263973 2026-09-17 23:16:52,654 - DEBUG - VM ctest-TestRoutersBasic-90458189-63263973 ID is 3fcbac56-dfad-493b-aa6e-ff840d6932d5 2026-09-17 23:16:52,655 - DEBUG - VM ctest-TestRoutersBasic-90458189-63263973 launched on Node cn-jenkins-deploy-platform-ansible-os-6307-1 2026-09-17 23:16:52,727 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/3fcbac56-dfad-493b-aa6e-ff840d6932d5 2026-09-17 23:16:52,735 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/8b6b57bd-876b-4870-9ce2-55242243edce 2026-09-17 23:16:55,980 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-09-17 23:16:55,980 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90458189-63263973 failed! 2026-09-17 23:16:56,032 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90458189:ctest-ext_vn-68960343 is 57.112.47.65 and allocation pool is NOT set 2026-09-17 23:16:58,090 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.23 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.517 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.517/1.875/3.234/1.358 ms') 2026-09-17 23:16:58,091 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-90458189-63263973 passed 2026-09-17 23:16:58,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 23:16:58,240 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90458189-63263973, IP 57.112.47.68, Port 22 2026-09-17 23:16:58,400 - DEBUG - VM ctest-TestRoutersBasic-90458189-63263973 is ready for SSH connections 2026-09-17 23:16:58,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 23:16:58,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.112.47.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-17 23:16:58,400 - DEBUG - ping -s 56 -c 3 -W 1 57.112.47.68 2026-09-17 23:17:01,312 - DEBUG - PING 57.112.47.68 (57.112.47.68): 56 data bytes 64 bytes from 57.112.47.68: seq=0 ttl=62 time=6.821 ms 64 bytes from 57.112.47.68: seq=1 ttl=62 time=1.487 ms 64 bytes from 57.112.47.68: seq=2 ttl=62 time=1.253 ms --- 57.112.47.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.253/3.187/6.821 ms 2026-09-17 23:17:01,312 - INFO - Ping to IP 57.112.47.68 from VM ctest-TestRoutersBasic-90458189-31664919 passed 2026-09-17 23:17:01,312 - INFO - Deleting interface with subnet_id 31716ebd-3dbf-4388-97b8-378c8d663970, port_id None from router 5038b162-fe5b-438e-8bb8-d5b29ef492c5 2026-09-17 23:17:01,528 - INFO - Deleting VM ctest-TestRoutersBasic-90458189-63263973 2026-09-17 23:17:01,611 - INFO - Deleting VM ctest-TestRoutersBasic-90458189-31664919 2026-09-17 23:17:01,684 - INFO - Deleting VN ctest-ext_vn-68960343 2026-09-17 23:17:01,753 - DEBUG - VN bde68309-3771-4b3d-8047-875567d34227 still in use: Unable to complete operation on network bde68309-3771-4b3d-8047-875567d34227. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-743024de-d21d-49a0-a057-2fcd9ed4b2df'] 2026-09-17 23:17:01,753 - WARNING - Deleting VN ctest-ext_vn-68960343 failed..Will retry 2026-09-17 23:17:03,911 - DEBUG - Response for deleting network () 2026-09-17 23:17:03,911 - INFO - Deleting VN ctest-vn-08742585 2026-09-17 23:17:04,096 - DEBUG - Response for deleting network () 2026-09-17 23:17:04,354 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 23:17:04,354 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-09-17 23:17:04,354 - INFO - -------------------------------------------------------------------------------- 2026-09-17 23:17:05,075 - INFO - Deleted project: ctest-TestRoutersBasic-90458189, ID : 1aeb88f5-ebf0-440c-8391-11b902103970