2026-01-16 16:09:38,143 - INFO - Domain Default found not creating 2026-01-16 16:09:38,322 - INFO - Project ctest-TestRoutersBasic-97056648 not found, creating it 2026-01-16 16:09:38,771 - INFO - Created Project:ctest-TestRoutersBasic-97056648, ID : 7f05ffee-b7ca-4a3e-a549-3e82226b63f5 2026-01-16 16:09:40,307 - INFO - ================================================================================ 2026-01-16 16:09:40,308 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-16 16:09:40,308 - 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-01-16 16:09:40,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-16 16:09:40,564 - INFO - Initial checks done. Running the testcase now 2026-01-16 16:09:40,564 - INFO - 2026-01-16 16:09:41,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97056648 2026-01-16 16:09:41,369 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97056648 2026-01-16 16:09:41,689 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97056648', 'default']} 2026-01-16 16:09:41,989 - DEBUG - Response for create_network : {'network': {'id': 'd79ac427-a46c-4010-8f2b-f058879466b2', 'name': 'ctest-vn-21548647', 'tenant_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'project_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97056648', 'ctest-vn-21548647'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 16:09:42,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe863b46-ab10-43e2-a87b-11d4210c3f4b', 'name': '', 'tenant_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'network_id': 'd79ac427-a46c-4010-8f2b-f058879466b2', 'ip_version': 4, 'cidr': '73.198.70.0/26', 'allocation_pools': [{'start': '73.198.70.2', 'end': '73.198.70.62'}], 'gateway_ip': '73.198.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.198.70.2', 'tags': [], 'project_id': '7f05ffeeb7ca4a3ea5493e82226b63f5'}} 2026-01-16 16:09:42,205 - INFO - Created VN ctest-vn-21548647 2026-01-16 16:09:42,257 - DEBUG - VN ctest-vn-21548647 UUID is d79ac427-a46c-4010-8f2b-f058879466b2 2026-01-16 16:09:42,580 - DEBUG - Response for create_network : {'network': {'id': '173a9d67-fc9f-4b5a-ab34-a3aeae02337f', 'name': 'ctest-ext_vn-32702633', 'tenant_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'project_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97056648', 'ctest-ext_vn-32702633'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 16:09:42,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c6cfdbc-4bf1-4350-a6f3-a2aa28951302', 'name': '', 'tenant_id': '7f05ffeeb7ca4a3ea5493e82226b63f5', 'network_id': '173a9d67-fc9f-4b5a-ab34-a3aeae02337f', 'ip_version': 4, 'cidr': '95.217.149.0/26', 'allocation_pools': [{'start': '95.217.149.2', 'end': '95.217.149.62'}], 'gateway_ip': '95.217.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.217.149.2', 'tags': [], 'project_id': '7f05ffeeb7ca4a3ea5493e82226b63f5'}} 2026-01-16 16:09:42,810 - INFO - Created VN ctest-ext_vn-32702633 2026-01-16 16:09:42,861 - DEBUG - VN ctest-ext_vn-32702633 UUID is 173a9d67-fc9f-4b5a-ab34-a3aeae02337f 2026-01-16 16:09:43,067 - DEBUG - Services list from nova: [, , ] 2026-01-16 16:09:44,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5036-1) 2026-01-16 16:09:45,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5036-1) 2026-01-16 16:09:45,324 - INFO - Setting gateway for router 87c61532-6b92-43db-9fea-d487c411e491 to network 173a9d67-fc9f-4b5a-ab34-a3aeae02337f 2026-01-16 16:09:45,401 - INFO - Adding interface with subnet_id fe863b46-ab10-43e2-a87b-11d4210c3f4b, port_id None to router 87c61532-6b92-43db-9fea-d487c411e491 2026-01-16 16:09:45,744 - INFO - Waiting for VM ctest-TestRoutersBasic-97056648-61513020 to be up.. 2026-01-16 16:09:45,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 16:09:50,953 - DEBUG - VM is in ACTIVE state now 2026-01-16 16:09:50,953 - INFO - VM name : ctest-TestRoutersBasic-97056648-61513020 2026-01-16 16:09:51,021 - DEBUG - VM ctest-TestRoutersBasic-97056648-61513020 ID is dd053e83-9234-465e-9761-78b146922a2a 2026-01-16 16:09:51,042 - DEBUG - VM ctest-TestRoutersBasic-97056648-61513020 launched on Node cn-jenkins-deploy-platform-ansible-os-5036-1 2026-01-16 16:09:51,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd053e83-9234-465e-9761-78b146922a2a 2026-01-16 16:09:51,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dd053e83-9234-465e-9761-78b146922a2a 2026-01-16 16:09:51,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1cd4fcd0-356b-43dd-a4dc-5b939baa34ab 2026-01-16 16:09:54,679 - 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 1005ms') 2026-01-16 16:09:54,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97056648-61513020 failed! 2026-01-16 16:09:54,733 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97056648:ctest-vn-21548647 is 73.198.70.1 and allocation pool is NOT set 2026-01-16 16:09:56,800 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.212/3.086/3.961/0.874 ms') 2026-01-16 16:09:56,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97056648-61513020 passed 2026-01-16 16:09:56,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 16:09:56,949 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97056648-61513020, IP 73.198.70.3, Port 22 2026-01-16 16:09:57,104 - DEBUG - VM ctest-TestRoutersBasic-97056648-61513020 is ready for SSH connections 2026-01-16 16:09:57,104 - INFO - Waiting for VM ctest-TestRoutersBasic-97056648-22407465 to be up.. 2026-01-16 16:09:57,184 - DEBUG - VM is in ACTIVE state now 2026-01-16 16:09:57,184 - INFO - VM name : ctest-TestRoutersBasic-97056648-22407465 2026-01-16 16:09:57,259 - DEBUG - VM ctest-TestRoutersBasic-97056648-22407465 ID is 678ba939-b6a6-4758-8011-1bdb46b47081 2026-01-16 16:09:57,259 - DEBUG - VM ctest-TestRoutersBasic-97056648-22407465 launched on Node cn-jenkins-deploy-platform-ansible-os-5036-1 2026-01-16 16:09:57,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/678ba939-b6a6-4758-8011-1bdb46b47081 2026-01-16 16:09:57,338 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9ba51e44-7899-4bbb-8eea-e354c87dff31 2026-01-16 16:09:58,579 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/2.005/3.603/1.597 ms') 2026-01-16 16:09:58,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97056648-22407465 passed 2026-01-16 16:09:58,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 16:09:58,729 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97056648-22407465, IP 95.217.149.3, Port 22 2026-01-16 16:09:58,885 - DEBUG - VM ctest-TestRoutersBasic-97056648-22407465 is ready for SSH connections 2026-01-16 16:09:58,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 16:09:58,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.217.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-16 16:09:58,885 - DEBUG - ping -s 56 -c 3 -W 1 95.217.149.3 2026-01-16 16:10:02,587 - DEBUG - PING 95.217.149.3 (95.217.149.3): 56 data bytes 64 bytes from 95.217.149.3: seq=0 ttl=62 time=8.084 ms 64 bytes from 95.217.149.3: seq=1 ttl=62 time=1.226 ms 64 bytes from 95.217.149.3: seq=2 ttl=62 time=1.238 ms --- 95.217.149.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.226/3.516/8.084 ms 2026-01-16 16:10:02,587 - INFO - Ping to IP 95.217.149.3 from VM ctest-TestRoutersBasic-97056648-61513020 passed 2026-01-16 16:10:02,587 - INFO - Deleting interface with subnet_id fe863b46-ab10-43e2-a87b-11d4210c3f4b, port_id None from router 87c61532-6b92-43db-9fea-d487c411e491 2026-01-16 16:10:02,810 - INFO - Deleting VM ctest-TestRoutersBasic-97056648-22407465 2026-01-16 16:10:02,900 - INFO - Deleting VM ctest-TestRoutersBasic-97056648-61513020 2026-01-16 16:10:02,985 - INFO - Deleting VN ctest-ext_vn-32702633 2026-01-16 16:10:03,072 - DEBUG - VN 173a9d67-fc9f-4b5a-ab34-a3aeae02337f still in use: Unable to complete operation on network 173a9d67-fc9f-4b5a-ab34-a3aeae02337f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4737095-1797-4157-82c0-ab7f995b9035'] 2026-01-16 16:10:03,073 - WARNING - Deleting VN ctest-ext_vn-32702633 failed..Will retry 2026-01-16 16:10:05,190 - DEBUG - Response for deleting network () 2026-01-16 16:10:05,190 - INFO - Deleting VN ctest-vn-21548647 2026-01-16 16:10:05,299 - DEBUG - Response for deleting network () 2026-01-16 16:10:05,558 - DEBUG - No XMPP flaps were noticed during the test 2026-01-16 16:10:05,558 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-16 16:10:05,559 - INFO - -------------------------------------------------------------------------------- 2026-01-16 16:10:06,257 - INFO - Deleted project: ctest-TestRoutersBasic-97056648, ID : 7f05ffee-b7ca-4a3e-a549-3e82226b63f5