2026-08-27 19:54:33,986 - INFO - Domain Default found not creating 2026-08-27 19:54:34,190 - INFO - Project ctest-TestRoutersBasic-86688610 not found, creating it 2026-08-27 19:54:34,741 - INFO - Created Project:ctest-TestRoutersBasic-86688610, ID : 6f9ee28c-035e-42f4-9fd0-b3de29a15660 2026-08-27 19:54:36,479 - INFO - ================================================================================ 2026-08-27 19:54:36,479 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-27 19:54:36,480 - 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-08-27 19:54:36,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-27 19:54:36,748 - INFO - Initial checks done. Running the testcase now 2026-08-27 19:54:36,749 - INFO - 2026-08-27 19:54:37,555 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86688610 2026-08-27 19:54:37,660 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86688610 2026-08-27 19:54:37,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86688610', 'default']} 2026-08-27 19:54:38,320 - DEBUG - Response for create_network : {'network': {'id': '56526a7b-dcba-4d22-b8d8-a152adeea3ae', 'name': 'ctest-vn-79572317', 'tenant_id': '6f9ee28c035e42f49fd0b3de29a15660', 'project_id': '6f9ee28c035e42f49fd0b3de29a15660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86688610', 'ctest-vn-79572317'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:54:38,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '17a084aa-9825-4feb-8d36-9dbf175615cb', 'name': '', 'tenant_id': '6f9ee28c035e42f49fd0b3de29a15660', 'network_id': '56526a7b-dcba-4d22-b8d8-a152adeea3ae', 'ip_version': 4, 'cidr': '215.138.98.64/26', 'allocation_pools': [{'start': '215.138.98.66', 'end': '215.138.98.126'}], 'gateway_ip': '215.138.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.138.98.66', 'tags': [], 'project_id': '6f9ee28c035e42f49fd0b3de29a15660'}} 2026-08-27 19:54:38,545 - INFO - Created VN ctest-vn-79572317 2026-08-27 19:54:38,600 - DEBUG - VN ctest-vn-79572317 UUID is 56526a7b-dcba-4d22-b8d8-a152adeea3ae 2026-08-27 19:54:38,960 - DEBUG - Response for create_network : {'network': {'id': 'bce99f12-03f3-40c6-a156-b8ca9bd2580f', 'name': 'ctest-ext_vn-51222431', 'tenant_id': '6f9ee28c035e42f49fd0b3de29a15660', 'project_id': '6f9ee28c035e42f49fd0b3de29a15660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86688610', 'ctest-ext_vn-51222431'], 'port_security_enabled': True, 'description': ''}} 2026-08-27 19:54:39,141 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa949c02-1cc1-4d5e-a4e3-5f417779ac01', 'name': '', 'tenant_id': '6f9ee28c035e42f49fd0b3de29a15660', 'network_id': 'bce99f12-03f3-40c6-a156-b8ca9bd2580f', 'ip_version': 4, 'cidr': '123.134.186.64/26', 'allocation_pools': [{'start': '123.134.186.66', 'end': '123.134.186.126'}], 'gateway_ip': '123.134.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.134.186.66', 'tags': [], 'project_id': '6f9ee28c035e42f49fd0b3de29a15660'}} 2026-08-27 19:54:39,158 - INFO - Created VN ctest-ext_vn-51222431 2026-08-27 19:54:39,216 - DEBUG - VN ctest-ext_vn-51222431 UUID is bce99f12-03f3-40c6-a156-b8ca9bd2580f 2026-08-27 19:54:39,399 - DEBUG - Services list from nova: [, , ] 2026-08-27 19:54:39,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6235-1) 2026-08-27 19:54:40,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6235-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6235-1) 2026-08-27 19:54:40,292 - INFO - Setting gateway for router 8e31583d-61f8-483a-8070-d8bd59e20576 to network bce99f12-03f3-40c6-a156-b8ca9bd2580f 2026-08-27 19:54:40,363 - INFO - Adding interface with subnet_id 17a084aa-9825-4feb-8d36-9dbf175615cb, port_id None to router 8e31583d-61f8-483a-8070-d8bd59e20576 2026-08-27 19:54:40,706 - INFO - Waiting for VM ctest-TestRoutersBasic-86688610-67870157 to be up.. 2026-08-27 19:54:40,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:54:45,938 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:54:51,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:54:56,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:55:01,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:55:06,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:55:11,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-27 19:55:16,527 - DEBUG - VM is in ACTIVE state now 2026-08-27 19:55:16,527 - INFO - VM name : ctest-TestRoutersBasic-86688610-67870157 2026-08-27 19:55:16,625 - DEBUG - VM ctest-TestRoutersBasic-86688610-67870157 ID is 8821d56d-b9e9-4745-ae08-ad4be40b31cb 2026-08-27 19:55:16,654 - DEBUG - VM ctest-TestRoutersBasic-86688610-67870157 launched on Node cn-jenkins-deploy-platform-ansible-os-6235-1 2026-08-27 19:55:16,748 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8821d56d-b9e9-4745-ae08-ad4be40b31cb 2026-08-27 19:55:17,096 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8821d56d-b9e9-4745-ae08-ad4be40b31cb 2026-08-27 19:55:17,131 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/4706c8dd-ccdf-45fa-bf30-6116530dff29 2026-08-27 19:55:20,414 - 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 1027ms') 2026-08-27 19:55:20,414 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-86688610-67870157 failed! 2026-08-27 19:55:20,480 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86688610:ctest-vn-79572317 is 215.138.98.65 and allocation pool is NOT set 2026-08-27 19:55:22,553 - 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=4.53 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.634 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.634/2.583/4.533/1.949 ms') 2026-08-27 19:55:22,553 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-86688610-67870157 passed 2026-08-27 19:55:22,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:55:22,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86688610-67870157, IP 215.138.98.67, Port 22 2026-08-27 19:55:22,894 - DEBUG - VM ctest-TestRoutersBasic-86688610-67870157 is ready for SSH connections 2026-08-27 19:55:22,895 - INFO - Waiting for VM ctest-TestRoutersBasic-86688610-76566328 to be up.. 2026-08-27 19:55:22,992 - DEBUG - VM is in ACTIVE state now 2026-08-27 19:55:22,992 - INFO - VM name : ctest-TestRoutersBasic-86688610-76566328 2026-08-27 19:55:23,076 - DEBUG - VM ctest-TestRoutersBasic-86688610-76566328 ID is c89cebb8-5d22-4dc6-82cb-d470498d7939 2026-08-27 19:55:23,076 - DEBUG - VM ctest-TestRoutersBasic-86688610-76566328 launched on Node cn-jenkins-deploy-platform-ansible-os-6235-1 2026-08-27 19:55:23,168 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/c89cebb8-5d22-4dc6-82cb-d470498d7939 2026-08-27 19:55:23,179 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/f0099c35-1803-4490-8c1d-f7cf87b2c408 2026-08-27 19:55:26,433 - 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 1005ms') 2026-08-27 19:55:26,433 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-86688610-76566328 failed! 2026-08-27 19:55:26,492 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86688610:ctest-ext_vn-51222431 is 123.134.186.65 and allocation pool is NOT set 2026-08-27 19:55:28,557 - 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=6.93 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.651 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.651/3.792/6.933/3.141 ms') 2026-08-27 19:55:28,557 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-86688610-76566328 passed 2026-08-27 19:55:28,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:55:28,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86688610-76566328, IP 123.134.186.68, Port 22 2026-08-27 19:55:28,882 - DEBUG - VM ctest-TestRoutersBasic-86688610-76566328 is ready for SSH connections 2026-08-27 19:55:28,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-27 19:55:28,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.134.186.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-27 19:55:28,882 - DEBUG - ping -s 56 -c 3 -W 1 123.134.186.68 2026-08-27 19:55:31,914 - DEBUG - PING 123.134.186.68 (123.134.186.68): 56 data bytes 64 bytes from 123.134.186.68: seq=0 ttl=62 time=7.856 ms 64 bytes from 123.134.186.68: seq=1 ttl=62 time=1.224 ms 64 bytes from 123.134.186.68: seq=2 ttl=62 time=1.153 ms --- 123.134.186.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.153/3.411/7.856 ms 2026-08-27 19:55:31,914 - INFO - Ping to IP 123.134.186.68 from VM ctest-TestRoutersBasic-86688610-67870157 passed 2026-08-27 19:55:31,914 - INFO - Deleting interface with subnet_id 17a084aa-9825-4feb-8d36-9dbf175615cb, port_id None from router 8e31583d-61f8-483a-8070-d8bd59e20576 2026-08-27 19:55:32,155 - INFO - Deleting VM ctest-TestRoutersBasic-86688610-76566328 2026-08-27 19:55:32,256 - INFO - Deleting VM ctest-TestRoutersBasic-86688610-67870157 2026-08-27 19:55:32,349 - INFO - Deleting VN ctest-ext_vn-51222431 2026-08-27 19:55:32,446 - DEBUG - VN bce99f12-03f3-40c6-a156-b8ca9bd2580f still in use: Unable to complete operation on network bce99f12-03f3-40c6-a156-b8ca9bd2580f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4ec121b-260d-47ca-bb5a-eb17da7f57cf'] 2026-08-27 19:55:32,446 - WARNING - Deleting VN ctest-ext_vn-51222431 failed..Will retry 2026-08-27 19:55:34,629 - DEBUG - Response for deleting network () 2026-08-27 19:55:34,630 - INFO - Deleting VN ctest-vn-79572317 2026-08-27 19:55:34,763 - DEBUG - Response for deleting network () 2026-08-27 19:55:35,042 - DEBUG - No XMPP flaps were noticed during the test 2026-08-27 19:55:35,042 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59] 2026-08-27 19:55:35,042 - INFO - -------------------------------------------------------------------------------- 2026-08-27 19:55:35,829 - INFO - Deleted project: ctest-TestRoutersBasic-86688610, ID : 6f9ee28c-035e-42f4-9fd0-b3de29a15660