2026-09-18 01:53:05,195 - INFO - Domain Default found not creating 2026-09-18 01:53:05,381 - INFO - Project ctest-TestRoutersBasic-03757787 not found, creating it 2026-09-18 01:53:05,867 - INFO - Created Project:ctest-TestRoutersBasic-03757787, ID : 4495c42f-4e23-4a32-a742-dce5e165a229 2026-09-18 01:53:07,692 - INFO - ================================================================================ 2026-09-18 01:53:07,692 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-18 01:53:07,692 - 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-18 01:53:07,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-18 01:53:07,956 - INFO - Initial checks done. Running the testcase now 2026-09-18 01:53:07,956 - INFO - 2026-09-18 01:53:08,822 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03757787 2026-09-18 01:53:08,918 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03757787 2026-09-18 01:53:09,246 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03757787', 'default']} 2026-09-18 01:53:09,568 - DEBUG - Response for create_network : {'network': {'id': '8f22a5a3-9460-4784-8f6e-0c97010b96a4', 'name': 'ctest-vn-19952138', 'tenant_id': '4495c42f4e234a32a742dce5e165a229', 'project_id': '4495c42f4e234a32a742dce5e165a229', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03757787', 'ctest-vn-19952138'], 'port_security_enabled': True, 'description': ''}} 2026-09-18 01:53:09,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c5a7db-c49d-4fef-b22c-e1f29855f7d3', 'name': '', 'tenant_id': '4495c42f4e234a32a742dce5e165a229', 'network_id': '8f22a5a3-9460-4784-8f6e-0c97010b96a4', 'ip_version': 4, 'cidr': '67.50.1.0/26', 'allocation_pools': [{'start': '67.50.1.2', 'end': '67.50.1.62'}], 'gateway_ip': '67.50.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.50.1.2', 'tags': [], 'project_id': '4495c42f4e234a32a742dce5e165a229'}} 2026-09-18 01:53:09,768 - INFO - Created VN ctest-vn-19952138 2026-09-18 01:53:09,822 - DEBUG - VN ctest-vn-19952138 UUID is 8f22a5a3-9460-4784-8f6e-0c97010b96a4 2026-09-18 01:53:10,180 - DEBUG - Response for create_network : {'network': {'id': '03a6f35e-938c-48e6-aaa2-bf73339e119b', 'name': 'ctest-ext_vn-29689488', 'tenant_id': '4495c42f4e234a32a742dce5e165a229', 'project_id': '4495c42f4e234a32a742dce5e165a229', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03757787', 'ctest-ext_vn-29689488'], 'port_security_enabled': True, 'description': ''}} 2026-09-18 01:53:10,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6086950-1ba7-4fa2-8d60-18f334dc19ba', 'name': '', 'tenant_id': '4495c42f4e234a32a742dce5e165a229', 'network_id': '03a6f35e-938c-48e6-aaa2-bf73339e119b', 'ip_version': 4, 'cidr': '133.253.119.0/26', 'allocation_pools': [{'start': '133.253.119.2', 'end': '133.253.119.62'}], 'gateway_ip': '133.253.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.253.119.2', 'tags': [], 'project_id': '4495c42f4e234a32a742dce5e165a229'}} 2026-09-18 01:53:10,431 - INFO - Created VN ctest-ext_vn-29689488 2026-09-18 01:53:10,486 - DEBUG - VN ctest-ext_vn-29689488 UUID is 03a6f35e-938c-48e6-aaa2-bf73339e119b 2026-09-18 01:53:10,686 - DEBUG - Services list from nova: [, , ] 2026-09-18 01:53:11,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6308-1) 2026-09-18 01:53:11,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6308-1) 2026-09-18 01:53:11,512 - INFO - Setting gateway for router c5fdf0b3-bcb6-4515-b633-6a5e66fe8631 to network 03a6f35e-938c-48e6-aaa2-bf73339e119b 2026-09-18 01:53:11,572 - INFO - Adding interface with subnet_id 30c5a7db-c49d-4fef-b22c-e1f29855f7d3, port_id None to router c5fdf0b3-bcb6-4515-b633-6a5e66fe8631 2026-09-18 01:53:11,897 - INFO - Waiting for VM ctest-TestRoutersBasic-03757787-07289250 to be up.. 2026-09-18 01:53:11,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:17,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:22,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:27,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:32,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:37,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:42,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-18 01:53:47,610 - DEBUG - VM is in ACTIVE state now 2026-09-18 01:53:47,610 - INFO - VM name : ctest-TestRoutersBasic-03757787-07289250 2026-09-18 01:53:47,689 - DEBUG - VM ctest-TestRoutersBasic-03757787-07289250 ID is b3304e2b-6475-4fca-9cde-38d9953db92a 2026-09-18 01:53:47,714 - DEBUG - VM ctest-TestRoutersBasic-03757787-07289250 launched on Node cn-jenkins-deploy-platform-ansible-os-6308-1 2026-09-18 01:53:47,795 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b3304e2b-6475-4fca-9cde-38d9953db92a 2026-09-18 01:53:48,185 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b3304e2b-6475-4fca-9cde-38d9953db92a 2026-09-18 01:53:48,220 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/30bc4969-c99b-4f75-ac99-c65eb3d213a5 2026-09-18 01:53:51,472 - 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 1005ms') 2026-09-18 01:53:51,472 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-03757787-07289250 failed! 2026-09-18 01:53:51,530 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03757787:ctest-vn-19952138 is 67.50.1.1 and allocation pool is NOT set 2026-09-18 01:53:53,593 - 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=9.20 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.527 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.527/4.862/9.197/4.335 ms') 2026-09-18 01:53:53,593 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-03757787-07289250 passed 2026-09-18 01:53:53,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 01:53:53,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03757787-07289250, IP 67.50.1.3, Port 22 2026-09-18 01:53:53,908 - DEBUG - VM ctest-TestRoutersBasic-03757787-07289250 is ready for SSH connections 2026-09-18 01:53:53,908 - INFO - Waiting for VM ctest-TestRoutersBasic-03757787-62079175 to be up.. 2026-09-18 01:53:53,985 - DEBUG - VM is in ACTIVE state now 2026-09-18 01:53:53,985 - INFO - VM name : ctest-TestRoutersBasic-03757787-62079175 2026-09-18 01:53:54,066 - DEBUG - VM ctest-TestRoutersBasic-03757787-62079175 ID is b76e5393-459d-4536-bc34-1cc5ee24da92 2026-09-18 01:53:54,066 - DEBUG - VM ctest-TestRoutersBasic-03757787-62079175 launched on Node cn-jenkins-deploy-platform-ansible-os-6308-1 2026-09-18 01:53:54,155 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b76e5393-459d-4536-bc34-1cc5ee24da92 2026-09-18 01:53:54,165 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/1d62d7a5-542e-43ba-ab36-9067f6975636 2026-09-18 01:53:57,416 - 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-18 01:53:57,417 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-03757787-62079175 failed! 2026-09-18 01:53:57,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03757787:ctest-ext_vn-29689488 is 133.253.119.1 and allocation pool is NOT set 2026-09-18 01:53:59,535 - 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.87 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.469 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.469/2.168/3.867/1.699 ms') 2026-09-18 01:53:59,535 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-03757787-62079175 passed 2026-09-18 01:53:59,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 01:53:59,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03757787-62079175, IP 133.253.119.4, Port 22 2026-09-18 01:53:59,872 - DEBUG - VM ctest-TestRoutersBasic-03757787-62079175 is ready for SSH connections 2026-09-18 01:53:59,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-18 01:53:59,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.253.119.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-18 01:53:59,872 - DEBUG - ping -s 56 -c 3 -W 1 133.253.119.4 2026-09-18 01:54:02,869 - DEBUG - PING 133.253.119.4 (133.253.119.4): 56 data bytes 64 bytes from 133.253.119.4: seq=0 ttl=62 time=9.027 ms 64 bytes from 133.253.119.4: seq=1 ttl=62 time=1.330 ms 64 bytes from 133.253.119.4: seq=2 ttl=62 time=1.393 ms --- 133.253.119.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.330/3.916/9.027 ms 2026-09-18 01:54:02,870 - INFO - Ping to IP 133.253.119.4 from VM ctest-TestRoutersBasic-03757787-07289250 passed 2026-09-18 01:54:02,870 - INFO - Deleting interface with subnet_id 30c5a7db-c49d-4fef-b22c-e1f29855f7d3, port_id None from router c5fdf0b3-bcb6-4515-b633-6a5e66fe8631 2026-09-18 01:54:03,108 - INFO - Deleting VM ctest-TestRoutersBasic-03757787-62079175 2026-09-18 01:54:03,184 - INFO - Deleting VM ctest-TestRoutersBasic-03757787-07289250 2026-09-18 01:54:03,277 - INFO - Deleting VN ctest-ext_vn-29689488 2026-09-18 01:54:03,348 - DEBUG - VN 03a6f35e-938c-48e6-aaa2-bf73339e119b still in use: Unable to complete operation on network 03a6f35e-938c-48e6-aaa2-bf73339e119b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e29edbce-e93a-4e5e-8a57-3c5f76fb594b'] 2026-09-18 01:54:03,348 - WARNING - Deleting VN ctest-ext_vn-29689488 failed..Will retry 2026-09-18 01:54:05,513 - DEBUG - Response for deleting network () 2026-09-18 01:54:05,513 - INFO - Deleting VN ctest-vn-19952138 2026-09-18 01:54:05,624 - DEBUG - Response for deleting network () 2026-09-18 01:54:05,885 - DEBUG - No XMPP flaps were noticed during the test 2026-09-18 01:54:05,885 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-09-18 01:54:05,886 - INFO - -------------------------------------------------------------------------------- 2026-09-18 01:54:06,679 - INFO - Deleted project: ctest-TestRoutersBasic-03757787, ID : 4495c42f-4e23-4a32-a742-dce5e165a229