2026-08-20 13:11:30,994 - INFO - Domain Default found not creating 2026-08-20 13:11:31,160 - INFO - Project ctest-TestRoutersBasic-35773868 not found, creating it 2026-08-20 13:11:31,655 - INFO - Created Project:ctest-TestRoutersBasic-35773868, ID : 2081395e-c817-4fe9-834c-a5c441b52d1d 2026-08-20 13:11:33,341 - INFO - ================================================================================ 2026-08-20 13:11:33,342 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-20 13:11:33,342 - 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-20 13:11:33,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-08-20 13:11:33,615 - INFO - Initial checks done. Running the testcase now 2026-08-20 13:11:33,615 - INFO - 2026-08-20 13:11:34,419 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35773868 2026-08-20 13:11:34,520 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35773868 2026-08-20 13:11:34,848 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35773868', 'default']} 2026-08-20 13:11:35,180 - DEBUG - Response for create_network : {'network': {'id': '839ba77f-4b1b-4cb3-bae3-62257abcc444', 'name': 'ctest-vn-70181138', 'tenant_id': '2081395ec8174fe9834ca5c441b52d1d', 'project_id': '2081395ec8174fe9834ca5c441b52d1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35773868', 'ctest-vn-70181138'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:11:35,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '70120130-1b08-46e7-9239-248b1122b7d5', 'name': '', 'tenant_id': '2081395ec8174fe9834ca5c441b52d1d', 'network_id': '839ba77f-4b1b-4cb3-bae3-62257abcc444', 'ip_version': 4, 'cidr': '204.182.183.64/26', 'allocation_pools': [{'start': '204.182.183.66', 'end': '204.182.183.126'}], 'gateway_ip': '204.182.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.182.183.66', 'tags': [], 'project_id': '2081395ec8174fe9834ca5c441b52d1d'}} 2026-08-20 13:11:35,378 - INFO - Created VN ctest-vn-70181138 2026-08-20 13:11:35,432 - DEBUG - VN ctest-vn-70181138 UUID is 839ba77f-4b1b-4cb3-bae3-62257abcc444 2026-08-20 13:11:35,867 - DEBUG - Response for create_network : {'network': {'id': 'fb330326-f3ac-4a6c-87c5-d4ef7abf4570', 'name': 'ctest-ext_vn-59556229', 'tenant_id': '2081395ec8174fe9834ca5c441b52d1d', 'project_id': '2081395ec8174fe9834ca5c441b52d1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35773868', 'ctest-ext_vn-59556229'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 13:11:36,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b419c04b-6274-4592-81b0-232ebe55d0d3', 'name': '', 'tenant_id': '2081395ec8174fe9834ca5c441b52d1d', 'network_id': 'fb330326-f3ac-4a6c-87c5-d4ef7abf4570', 'ip_version': 4, 'cidr': '106.47.27.64/26', 'allocation_pools': [{'start': '106.47.27.66', 'end': '106.47.27.126'}], 'gateway_ip': '106.47.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.47.27.66', 'tags': [], 'project_id': '2081395ec8174fe9834ca5c441b52d1d'}} 2026-08-20 13:11:36,144 - INFO - Created VN ctest-ext_vn-59556229 2026-08-20 13:11:36,200 - DEBUG - VN ctest-ext_vn-59556229 UUID is fb330326-f3ac-4a6c-87c5-d4ef7abf4570 2026-08-20 13:11:36,375 - DEBUG - Services list from nova: [, , ] 2026-08-20 13:11:36,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6187-1) 2026-08-20 13:11:37,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6187-1) 2026-08-20 13:11:37,250 - INFO - Setting gateway for router 9426498a-e1d7-472b-9491-74e21639c857 to network fb330326-f3ac-4a6c-87c5-d4ef7abf4570 2026-08-20 13:11:37,326 - INFO - Adding interface with subnet_id 70120130-1b08-46e7-9239-248b1122b7d5, port_id None to router 9426498a-e1d7-472b-9491-74e21639c857 2026-08-20 13:11:37,734 - INFO - Waiting for VM ctest-TestRoutersBasic-35773868-90829530 to be up.. 2026-08-20 13:11:37,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:11:42,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:11:47,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:11:53,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:11:58,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:12:03,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:12:08,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:12:13,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 13:12:18,567 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:12:18,567 - INFO - VM name : ctest-TestRoutersBasic-35773868-90829530 2026-08-20 13:12:18,664 - DEBUG - VM ctest-TestRoutersBasic-35773868-90829530 ID is 3a2a933f-5372-4b36-a7c8-342da9053742 2026-08-20 13:12:18,688 - DEBUG - VM ctest-TestRoutersBasic-35773868-90829530 launched on Node cn-jenkins-deploy-platform-ansible-os-6187-1 2026-08-20 13:12:18,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3a2a933f-5372-4b36-a7c8-342da9053742 2026-08-20 13:12:19,125 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3a2a933f-5372-4b36-a7c8-342da9053742 2026-08-20 13:12:19,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/53cba471-9ffd-4cad-b252-e8b5ef87b3a4 2026-08-20 13:12:22,434 - 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=2 ttl=63 time=9.25 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.254/9.254/9.254/0.000 ms') 2026-08-20 13:12:22,434 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-35773868-90829530 passed 2026-08-20 13:12:22,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:12:22,588 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35773868-90829530, IP 204.182.183.67, Port 22 2026-08-20 13:12:22,754 - DEBUG - VM ctest-TestRoutersBasic-35773868-90829530 is ready for SSH connections 2026-08-20 13:12:22,754 - INFO - Waiting for VM ctest-TestRoutersBasic-35773868-68489435 to be up.. 2026-08-20 13:12:22,831 - DEBUG - VM is in ACTIVE state now 2026-08-20 13:12:22,831 - INFO - VM name : ctest-TestRoutersBasic-35773868-68489435 2026-08-20 13:12:22,916 - DEBUG - VM ctest-TestRoutersBasic-35773868-68489435 ID is c35dd410-12f3-4eb9-a6fa-2f8df751ba1d 2026-08-20 13:12:22,916 - DEBUG - VM ctest-TestRoutersBasic-35773868-68489435 launched on Node cn-jenkins-deploy-platform-ansible-os-6187-1 2026-08-20 13:12:23,003 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c35dd410-12f3-4eb9-a6fa-2f8df751ba1d 2026-08-20 13:12:23,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b9311d8e-4708-4930-a89c-1934d100e965 2026-08-20 13:12:26,270 - 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-20 13:12:26,271 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-35773868-68489435 failed! 2026-08-20 13:12:26,328 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35773868:ctest-ext_vn-59556229 is 106.47.27.65 and allocation pool is NOT set 2026-08-20 13:12:28,390 - 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.93 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.523 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.523/2.228/3.933/1.705 ms') 2026-08-20 13:12:28,390 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-35773868-68489435 passed 2026-08-20 13:12:28,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:12:28,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35773868-68489435, IP 106.47.27.68, Port 22 2026-08-20 13:12:28,714 - DEBUG - VM ctest-TestRoutersBasic-35773868-68489435 is ready for SSH connections 2026-08-20 13:12:28,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 13:12:28,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.47.27.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-20 13:12:28,714 - DEBUG - ping -s 56 -c 3 -W 1 106.47.27.68 2026-08-20 13:12:31,661 - DEBUG - PING 106.47.27.68 (106.47.27.68): 56 data bytes 64 bytes from 106.47.27.68: seq=0 ttl=62 time=6.617 ms 64 bytes from 106.47.27.68: seq=1 ttl=62 time=1.143 ms 64 bytes from 106.47.27.68: seq=2 ttl=62 time=1.077 ms --- 106.47.27.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.077/2.945/6.617 ms 2026-08-20 13:12:31,661 - INFO - Ping to IP 106.47.27.68 from VM ctest-TestRoutersBasic-35773868-90829530 passed 2026-08-20 13:12:31,661 - INFO - Deleting interface with subnet_id 70120130-1b08-46e7-9239-248b1122b7d5, port_id None from router 9426498a-e1d7-472b-9491-74e21639c857 2026-08-20 13:12:31,874 - INFO - Deleting VM ctest-TestRoutersBasic-35773868-68489435 2026-08-20 13:12:31,954 - INFO - Deleting VM ctest-TestRoutersBasic-35773868-90829530 2026-08-20 13:12:32,027 - INFO - Deleting VN ctest-ext_vn-59556229 2026-08-20 13:12:32,092 - DEBUG - VN fb330326-f3ac-4a6c-87c5-d4ef7abf4570 still in use: Unable to complete operation on network fb330326-f3ac-4a6c-87c5-d4ef7abf4570. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-329953f9-8699-4b4d-a9a2-7f8ccd99f317'] 2026-08-20 13:12:32,093 - WARNING - Deleting VN ctest-ext_vn-59556229 failed..Will retry 2026-08-20 13:12:34,137 - DEBUG - VN fb330326-f3ac-4a6c-87c5-d4ef7abf4570 still in use: Unable to complete operation on network fb330326-f3ac-4a6c-87c5-d4ef7abf4570. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bb48497-1da9-4a63-8ffc-cadafd4a9214'] 2026-08-20 13:12:34,137 - WARNING - Deleting VN ctest-ext_vn-59556229 failed..Will retry 2026-08-20 13:12:36,242 - DEBUG - Response for deleting network () 2026-08-20 13:12:36,242 - INFO - Deleting VN ctest-vn-70181138 2026-08-20 13:12:36,376 - DEBUG - Response for deleting network () 2026-08-20 13:12:36,635 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 13:12:36,635 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-08-20 13:12:36,635 - INFO - -------------------------------------------------------------------------------- 2026-08-20 13:12:37,343 - INFO - Deleted project: ctest-TestRoutersBasic-35773868, ID : 2081395e-c817-4fe9-834c-a5c441b52d1d