2026-02-20 16:33:44,431 - INFO - Domain Default found not creating 2026-02-20 16:33:44,603 - INFO - Project ctest-TestRoutersBasic-98862533 not found, creating it 2026-02-20 16:33:45,061 - INFO - Created Project:ctest-TestRoutersBasic-98862533, ID : 88cee923-3978-4340-b9b8-cdbbcf88108b 2026-02-20 16:33:46,579 - INFO - ================================================================================ 2026-02-20 16:33:46,579 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-20 16:33:46,579 - 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-02-20 16:33:46,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-20 16:33:46,833 - INFO - Initial checks done. Running the testcase now 2026-02-20 16:33:46,833 - INFO - 2026-02-20 16:33:47,555 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98862533 2026-02-20 16:33:47,652 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98862533 2026-02-20 16:33:47,968 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98862533', 'default']} 2026-02-20 16:33:48,255 - DEBUG - Response for create_network : {'network': {'id': '29eeb27d-2757-435a-9528-f260535b6eb0', 'name': 'ctest-vn-19608118', 'tenant_id': '88cee92339784340b9b8cdbbcf88108b', 'project_id': '88cee92339784340b9b8cdbbcf88108b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98862533', 'ctest-vn-19608118'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:33:48,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b57dd4b6-b19e-49fc-8631-d79345636eed', 'name': '', 'tenant_id': '88cee92339784340b9b8cdbbcf88108b', 'network_id': '29eeb27d-2757-435a-9528-f260535b6eb0', 'ip_version': 4, 'cidr': '63.187.187.128/26', 'allocation_pools': [{'start': '63.187.187.130', 'end': '63.187.187.190'}], 'gateway_ip': '63.187.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.187.187.130', 'tags': [], 'project_id': '88cee92339784340b9b8cdbbcf88108b'}} 2026-02-20 16:33:48,441 - INFO - Created VN ctest-vn-19608118 2026-02-20 16:33:48,496 - DEBUG - VN ctest-vn-19608118 UUID is 29eeb27d-2757-435a-9528-f260535b6eb0 2026-02-20 16:33:48,795 - DEBUG - Response for create_network : {'network': {'id': '3f7b8326-be86-4814-a33f-9a346c1ed81b', 'name': 'ctest-ext_vn-64107497', 'tenant_id': '88cee92339784340b9b8cdbbcf88108b', 'project_id': '88cee92339784340b9b8cdbbcf88108b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98862533', 'ctest-ext_vn-64107497'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 16:33:48,982 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b375a7f5-81a6-4450-855f-7bfe5bcfc4ee', 'name': '', 'tenant_id': '88cee92339784340b9b8cdbbcf88108b', 'network_id': '3f7b8326-be86-4814-a33f-9a346c1ed81b', 'ip_version': 4, 'cidr': '161.198.53.128/26', 'allocation_pools': [{'start': '161.198.53.130', 'end': '161.198.53.190'}], 'gateway_ip': '161.198.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.198.53.130', 'tags': [], 'project_id': '88cee92339784340b9b8cdbbcf88108b'}} 2026-02-20 16:33:48,999 - INFO - Created VN ctest-ext_vn-64107497 2026-02-20 16:33:49,048 - DEBUG - VN ctest-ext_vn-64107497 UUID is 3f7b8326-be86-4814-a33f-9a346c1ed81b 2026-02-20 16:33:49,248 - DEBUG - Services list from nova: [, , ] 2026-02-20 16:33:50,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5377-1) 2026-02-20 16:33:51,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5377-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5377-1) 2026-02-20 16:33:51,556 - INFO - Setting gateway for router d1b95c26-859a-4ef9-a15a-07f3b1ed8d60 to network 3f7b8326-be86-4814-a33f-9a346c1ed81b 2026-02-20 16:33:51,628 - INFO - Adding interface with subnet_id b57dd4b6-b19e-49fc-8631-d79345636eed, port_id None to router d1b95c26-859a-4ef9-a15a-07f3b1ed8d60 2026-02-20 16:33:51,961 - INFO - Waiting for VM ctest-TestRoutersBasic-98862533-79047225 to be up.. 2026-02-20 16:33:52,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 16:33:57,166 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:33:57,166 - INFO - VM name : ctest-TestRoutersBasic-98862533-79047225 2026-02-20 16:33:57,242 - DEBUG - VM ctest-TestRoutersBasic-98862533-79047225 ID is 324ca688-5510-469f-88d4-6daba0e21f96 2026-02-20 16:33:57,265 - DEBUG - VM ctest-TestRoutersBasic-98862533-79047225 launched on Node cn-jenkins-deploy-platform-ansible-os-5377-1 2026-02-20 16:33:57,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/324ca688-5510-469f-88d4-6daba0e21f96 2026-02-20 16:33:57,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/324ca688-5510-469f-88d4-6daba0e21f96 2026-02-20 16:33:57,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db31ebf4-c2b8-4c71-a0bb-52811360d6f5 2026-02-20 16:34:00,925 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-02-20 16:34:00,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98862533-79047225 failed! 2026-02-20 16:34:00,981 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98862533:ctest-vn-19608118 is 63.187.187.129 and allocation pool is NOT set 2026-02-20 16:34:03,038 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.459/1.948/3.437/1.489 ms') 2026-02-20 16:34:03,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98862533-79047225 passed 2026-02-20 16:34:03,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:03,192 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98862533-79047225, IP 63.187.187.131, Port 22 2026-02-20 16:34:03,355 - DEBUG - VM ctest-TestRoutersBasic-98862533-79047225 is ready for SSH connections 2026-02-20 16:34:03,355 - INFO - Waiting for VM ctest-TestRoutersBasic-98862533-96760269 to be up.. 2026-02-20 16:34:03,426 - DEBUG - VM is in ACTIVE state now 2026-02-20 16:34:03,426 - INFO - VM name : ctest-TestRoutersBasic-98862533-96760269 2026-02-20 16:34:03,496 - DEBUG - VM ctest-TestRoutersBasic-98862533-96760269 ID is 9682ae01-ce4a-421b-959b-20b8f6483582 2026-02-20 16:34:03,496 - DEBUG - VM ctest-TestRoutersBasic-98862533-96760269 launched on Node cn-jenkins-deploy-platform-ansible-os-5377-1 2026-02-20 16:34:03,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9682ae01-ce4a-421b-959b-20b8f6483582 2026-02-20 16:34:03,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0cfe7d10-c7bc-442f-8edb-42c3ff0ad192 2026-02-20 16:34:04,802 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.519/1.870/3.221/1.351 ms') 2026-02-20 16:34:04,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98862533-96760269 passed 2026-02-20 16:34:04,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:04,952 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98862533-96760269, IP 161.198.53.131, Port 22 2026-02-20 16:34:05,108 - DEBUG - VM ctest-TestRoutersBasic-98862533-96760269 is ready for SSH connections 2026-02-20 16:34:05,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 16:34:05,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.198.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 16:34:05,108 - DEBUG - ping -s 56 -c 3 -W 1 161.198.53.131 2026-02-20 16:34:09,170 - DEBUG - PING 161.198.53.131 (161.198.53.131): 56 data bytes 64 bytes from 161.198.53.131: seq=0 ttl=62 time=7.143 ms 64 bytes from 161.198.53.131: seq=1 ttl=62 time=1.052 ms 64 bytes from 161.198.53.131: seq=2 ttl=62 time=1.154 ms --- 161.198.53.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/3.116/7.143 ms 2026-02-20 16:34:09,171 - INFO - Ping to IP 161.198.53.131 from VM ctest-TestRoutersBasic-98862533-79047225 passed 2026-02-20 16:34:09,171 - INFO - Deleting interface with subnet_id b57dd4b6-b19e-49fc-8631-d79345636eed, port_id None from router d1b95c26-859a-4ef9-a15a-07f3b1ed8d60 2026-02-20 16:34:09,344 - INFO - Deleting VM ctest-TestRoutersBasic-98862533-96760269 2026-02-20 16:34:09,415 - INFO - Deleting VM ctest-TestRoutersBasic-98862533-79047225 2026-02-20 16:34:09,497 - INFO - Deleting VN ctest-ext_vn-64107497 2026-02-20 16:34:09,566 - DEBUG - VN 3f7b8326-be86-4814-a33f-9a346c1ed81b still in use: Unable to complete operation on network 3f7b8326-be86-4814-a33f-9a346c1ed81b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-620647d8-4b61-48c5-a343-269f2fb6ed56'] 2026-02-20 16:34:09,566 - WARNING - Deleting VN ctest-ext_vn-64107497 failed..Will retry 2026-02-20 16:34:11,665 - DEBUG - Response for deleting network () 2026-02-20 16:34:11,665 - INFO - Deleting VN ctest-vn-19608118 2026-02-20 16:34:11,760 - DEBUG - Response for deleting network () 2026-02-20 16:34:12,027 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 16:34:12,027 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-20 16:34:12,028 - INFO - -------------------------------------------------------------------------------- 2026-02-20 16:34:12,717 - INFO - Deleted project: ctest-TestRoutersBasic-98862533, ID : 88cee923-3978-4340-b9b8-cdbbcf88108b