2026-09-07 02:15:55,453 - INFO - Domain Default found not creating 2026-09-07 02:15:55,632 - INFO - Project ctest-TestRoutersBasic-99003413 not found, creating it 2026-09-07 02:15:56,151 - INFO - Created Project:ctest-TestRoutersBasic-99003413, ID : 11fe0fe7-46ef-4568-8782-e240338cb02d 2026-09-07 02:15:57,819 - INFO - ================================================================================ 2026-09-07 02:15:57,819 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-07 02:15:57,819 - 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-07 02:15:58,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-07 02:15:58,081 - INFO - Initial checks done. Running the testcase now 2026-09-07 02:15:58,081 - INFO - 2026-09-07 02:15:58,997 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99003413 2026-09-07 02:15:59,102 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99003413 2026-09-07 02:15:59,438 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99003413', 'default']} 2026-09-07 02:15:59,768 - DEBUG - Response for create_network : {'network': {'id': '2c20e162-3951-4be1-a060-34d23c0cd8a1', 'name': 'ctest-vn-64543089', 'tenant_id': '11fe0fe746ef45688782e240338cb02d', 'project_id': '11fe0fe746ef45688782e240338cb02d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99003413', 'ctest-vn-64543089'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-07 02:16:00,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3c7609b-6159-4b9a-8933-2d6ceb7262ea', 'name': '', 'tenant_id': '11fe0fe746ef45688782e240338cb02d', 'network_id': '2c20e162-3951-4be1-a060-34d23c0cd8a1', 'ip_version': 4, 'cidr': '64.14.42.0/26', 'allocation_pools': [{'start': '64.14.42.2', 'end': '64.14.42.62'}], 'gateway_ip': '64.14.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-07T02:15:59.934182', 'updated_at': '2026-09-07T02:15:59.934182', 'dns_server_address': '64.14.42.2', 'tags': [], 'project_id': '11fe0fe746ef45688782e240338cb02d'}} 2026-09-07 02:16:00,023 - INFO - Created VN ctest-vn-64543089 2026-09-07 02:16:00,078 - DEBUG - VN ctest-vn-64543089 UUID is 2c20e162-3951-4be1-a060-34d23c0cd8a1 2026-09-07 02:16:00,421 - DEBUG - Response for create_network : {'network': {'id': 'ace4b91a-e112-400c-9e93-93a4ae551fad', 'name': 'ctest-ext_vn-71248628', 'tenant_id': '11fe0fe746ef45688782e240338cb02d', 'project_id': '11fe0fe746ef45688782e240338cb02d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99003413', 'ctest-ext_vn-71248628'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-07 02:16:00,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '45218ce3-caee-47aa-894d-6b2653f75c49', 'name': '', 'tenant_id': '11fe0fe746ef45688782e240338cb02d', 'network_id': 'ace4b91a-e112-400c-9e93-93a4ae551fad', 'ip_version': 4, 'cidr': '85.172.125.192/26', 'allocation_pools': [{'start': '85.172.125.194', 'end': '85.172.125.254'}], 'gateway_ip': '85.172.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-07T02:16:00.525356', 'updated_at': '2026-09-07T02:16:00.525356', 'dns_server_address': '85.172.125.194', 'tags': [], 'project_id': '11fe0fe746ef45688782e240338cb02d'}} 2026-09-07 02:16:00,608 - INFO - Created VN ctest-ext_vn-71248628 2026-09-07 02:16:00,662 - DEBUG - VN ctest-ext_vn-71248628 UUID is ace4b91a-e112-400c-9e93-93a4ae551fad 2026-09-07 02:16:00,841 - DEBUG - Services list from nova: [, , ] 2026-09-07 02:16:01,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6257-1) 2026-09-07 02:16:01,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6257-1) 2026-09-07 02:16:01,737 - INFO - Setting gateway for router 8136aafc-14ad-4e8c-858a-f881a7713db9 to network ace4b91a-e112-400c-9e93-93a4ae551fad 2026-09-07 02:16:01,799 - INFO - Adding interface with subnet_id a3c7609b-6159-4b9a-8933-2d6ceb7262ea, port_id None to router 8136aafc-14ad-4e8c-858a-f881a7713db9 2026-09-07 02:16:02,115 - INFO - Waiting for VM ctest-TestRoutersBasic-99003413-96441309 to be up.. 2026-09-07 02:16:02,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:07,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:12,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:17,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:22,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:27,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:32,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:16:37,900 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:16:37,900 - INFO - VM name : ctest-TestRoutersBasic-99003413-96441309 2026-09-07 02:16:37,985 - DEBUG - VM ctest-TestRoutersBasic-99003413-96441309 ID is 17f991d9-a361-445a-8232-b470b3f6b761 2026-09-07 02:16:38,006 - DEBUG - VM ctest-TestRoutersBasic-99003413-96441309 launched on Node cn-jenkins-deploy-platform-ansible-os-6257-1 2026-09-07 02:16:38,099 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/17f991d9-a361-445a-8232-b470b3f6b761 2026-09-07 02:16:38,423 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/17f991d9-a361-445a-8232-b470b3f6b761 2026-09-07 02:16:38,457 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/717404f5-6c07-40cf-ac4b-78b03ebfa898 2026-09-07 02:16:41,724 - 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 1013ms') 2026-09-07 02:16:41,724 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-99003413-96441309 failed! 2026-09-07 02:16:41,778 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99003413:ctest-vn-64543089 is 64.14.42.1 and allocation pool is NOT set 2026-09-07 02:16:43,843 - 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=5.28 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.679 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.679/2.978/5.277/2.299 ms') 2026-09-07 02:16:43,843 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-99003413-96441309 passed 2026-09-07 02:16:43,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:16:43,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99003413-96441309, IP 64.14.42.3, Port 22 2026-09-07 02:16:44,165 - DEBUG - VM ctest-TestRoutersBasic-99003413-96441309 is ready for SSH connections 2026-09-07 02:16:44,165 - INFO - Waiting for VM ctest-TestRoutersBasic-99003413-97552697 to be up.. 2026-09-07 02:16:44,254 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:16:44,254 - INFO - VM name : ctest-TestRoutersBasic-99003413-97552697 2026-09-07 02:16:44,340 - DEBUG - VM ctest-TestRoutersBasic-99003413-97552697 ID is 4f2307e2-408a-4e51-b018-72283fa74e2c 2026-09-07 02:16:44,340 - DEBUG - VM ctest-TestRoutersBasic-99003413-97552697 launched on Node cn-jenkins-deploy-platform-ansible-os-6257-1 2026-09-07 02:16:44,426 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/4f2307e2-408a-4e51-b018-72283fa74e2c 2026-09-07 02:16:44,436 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/2ebc4492-e08f-4f4d-b82e-d34395b02498 2026-09-07 02:16:47,703 - 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 1021ms') 2026-09-07 02:16:47,703 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-99003413-97552697 failed! 2026-09-07 02:16:47,766 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99003413:ctest-ext_vn-71248628 is 85.172.125.193 and allocation pool is NOT set 2026-09-07 02:16:49,827 - 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=4.04 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.344 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.344/2.193/4.043/1.849 ms') 2026-09-07 02:16:49,828 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-99003413-97552697 passed 2026-09-07 02:16:49,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:16:49,982 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99003413-97552697, IP 85.172.125.196, Port 22 2026-09-07 02:16:50,149 - DEBUG - VM ctest-TestRoutersBasic-99003413-97552697 is ready for SSH connections 2026-09-07 02:16:50,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:16:50,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.172.125.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-07 02:16:50,149 - DEBUG - ping -s 56 -c 3 -W 1 85.172.125.196 2026-09-07 02:16:53,142 - DEBUG - PING 85.172.125.196 (85.172.125.196): 56 data bytes 64 bytes from 85.172.125.196: seq=0 ttl=62 time=5.649 ms 64 bytes from 85.172.125.196: seq=1 ttl=62 time=1.104 ms 64 bytes from 85.172.125.196: seq=2 ttl=62 time=1.675 ms --- 85.172.125.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.104/2.809/5.649 ms 2026-09-07 02:16:53,142 - INFO - Ping to IP 85.172.125.196 from VM ctest-TestRoutersBasic-99003413-96441309 passed 2026-09-07 02:16:53,142 - INFO - Deleting interface with subnet_id a3c7609b-6159-4b9a-8933-2d6ceb7262ea, port_id None from router 8136aafc-14ad-4e8c-858a-f881a7713db9 2026-09-07 02:16:53,390 - INFO - Deleting VM ctest-TestRoutersBasic-99003413-97552697 2026-09-07 02:16:53,471 - INFO - Deleting VM ctest-TestRoutersBasic-99003413-96441309 2026-09-07 02:16:53,558 - INFO - Deleting VN ctest-ext_vn-71248628 2026-09-07 02:16:53,732 - DEBUG - VN ace4b91a-e112-400c-9e93-93a4ae551fad still in use: Unable to complete operation on network ace4b91a-e112-400c-9e93-93a4ae551fad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1fb4b90-08e7-43f1-b6ff-fc72da6baee1'] 2026-09-07 02:16:53,732 - WARNING - Deleting VN ctest-ext_vn-71248628 failed..Will retry 2026-09-07 02:16:55,842 - DEBUG - Response for deleting network () 2026-09-07 02:16:55,842 - INFO - Deleting VN ctest-vn-64543089 2026-09-07 02:16:55,963 - DEBUG - Response for deleting network () 2026-09-07 02:16:56,236 - DEBUG - No XMPP flaps were noticed during the test
2026-09-07 02:16:56,236 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59]
2026-09-07 02:16:56,236 - INFO - -------------------------------------------------------------------------------- 2026-09-07 02:16:57,004 - INFO - Deleted project: ctest-TestRoutersBasic-99003413, ID : 11fe0fe7-46ef-4568-8782-e240338cb02d