2026-09-29 14:53:48,525 - INFO - Domain Default found not creating 2026-09-29 14:53:48,813 - INFO - Project ctest-TestRoutersBasic-21618706 not found, creating it 2026-09-29 14:53:49,370 - INFO - Created Project:ctest-TestRoutersBasic-21618706, ID : b146d484-aace-4c65-bf2c-80fdeacf57a4 2026-09-29 14:53:51,308 - INFO - ================================================================================ 2026-09-29 14:53:51,308 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-29 14:53:51,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-09-29 14:53:51,612 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-09-29 14:53:51,612 - INFO - Initial checks done. Running the testcase now 2026-09-29 14:53:51,612 - INFO - 2026-09-29 14:53:52,528 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21618706 2026-09-29 14:53:52,630 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21618706 2026-09-29 14:53:52,982 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21618706', 'default']} 2026-09-29 14:53:53,335 - DEBUG - Response for create_network : {'network': {'id': 'bcabbfdb-3dae-49e0-9341-dec518dcecd4', 'name': 'ctest-vn-80991367', 'tenant_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'project_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21618706', 'ctest-vn-80991367'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 14:53:53,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b54bc2bd-e6ed-495e-a06f-43e4a32c525c', 'name': '', 'tenant_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'network_id': 'bcabbfdb-3dae-49e0-9341-dec518dcecd4', 'ip_version': 4, 'cidr': '30.7.160.0/26', 'allocation_pools': [{'start': '30.7.160.2', 'end': '30.7.160.62'}], 'gateway_ip': '30.7.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.7.160.2', 'tags': [], 'project_id': 'b146d484aace4c65bf2c80fdeacf57a4'}} 2026-09-29 14:53:53,564 - INFO - Created VN ctest-vn-80991367 2026-09-29 14:53:53,622 - DEBUG - VN ctest-vn-80991367 UUID is bcabbfdb-3dae-49e0-9341-dec518dcecd4 2026-09-29 14:53:53,989 - DEBUG - Response for create_network : {'network': {'id': 'e6c0f45a-15a9-48c5-baf0-4856bde71a0b', 'name': 'ctest-ext_vn-73791939', 'tenant_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'project_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21618706', 'ctest-ext_vn-73791939'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 14:53:54,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '785b283f-0144-4cf7-a189-97ec29288070', 'name': '', 'tenant_id': 'b146d484aace4c65bf2c80fdeacf57a4', 'network_id': 'e6c0f45a-15a9-48c5-baf0-4856bde71a0b', 'ip_version': 4, 'cidr': '137.68.198.128/26', 'allocation_pools': [{'start': '137.68.198.130', 'end': '137.68.198.190'}], 'gateway_ip': '137.68.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.68.198.130', 'tags': [], 'project_id': 'b146d484aace4c65bf2c80fdeacf57a4'}} 2026-09-29 14:53:54,242 - INFO - Created VN ctest-ext_vn-73791939 2026-09-29 14:53:54,298 - DEBUG - VN ctest-ext_vn-73791939 UUID is e6c0f45a-15a9-48c5-baf0-4856bde71a0b 2026-09-29 14:53:54,483 - DEBUG - Services list from nova: [, , ] 2026-09-29 14:53:55,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6326-1) 2026-09-29 14:53:55,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6326-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6326-1) 2026-09-29 14:53:55,726 - INFO - Setting gateway for router 61f5541f-4247-463d-b855-a3d4edbc3e27 to network e6c0f45a-15a9-48c5-baf0-4856bde71a0b 2026-09-29 14:53:55,789 - INFO - Adding interface with subnet_id b54bc2bd-e6ed-495e-a06f-43e4a32c525c, port_id None to router 61f5541f-4247-463d-b855-a3d4edbc3e27 2026-09-29 14:53:56,122 - INFO - Waiting for VM ctest-TestRoutersBasic-21618706-59183818 to be up.. 2026-09-29 14:53:56,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:01,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:06,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:11,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:16,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:21,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:26,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:31,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:37,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 14:54:42,251 - DEBUG - VM is in ACTIVE state now 2026-09-29 14:54:42,251 - INFO - VM name : ctest-TestRoutersBasic-21618706-59183818 2026-09-29 14:54:42,367 - DEBUG - VM ctest-TestRoutersBasic-21618706-59183818 ID is 754fa744-8f73-4088-9fe2-b8cc3b910cd1 2026-09-29 14:54:42,400 - DEBUG - VM ctest-TestRoutersBasic-21618706-59183818 launched on Node cn-jenkins-deploy-platform-ansible-os-6326-1 2026-09-29 14:54:42,507 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/754fa744-8f73-4088-9fe2-b8cc3b910cd1 2026-09-29 14:54:42,908 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/754fa744-8f73-4088-9fe2-b8cc3b910cd1 2026-09-29 14:54:42,954 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/2a344b57-2170-49ca-9cf1-bb3d0de09127 2026-09-29 14:54:46,231 - 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 1005ms') 2026-09-29 14:54:46,231 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-21618706-59183818 failed! 2026-09-29 14:54:46,290 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21618706:ctest-vn-80991367 is 30.7.160.1 and allocation pool is NOT set 2026-09-29 14:54:48,353 - 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.76 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.536 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.536/2.648/4.760/2.112 ms') 2026-09-29 14:54:48,354 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-21618706-59183818 passed 2026-09-29 14:54:48,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 14:54:48,506 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21618706-59183818, IP 30.7.160.3, Port 22 2026-09-29 14:54:48,693 - DEBUG - VM ctest-TestRoutersBasic-21618706-59183818 is ready for SSH connections 2026-09-29 14:54:48,693 - INFO - Waiting for VM ctest-TestRoutersBasic-21618706-38577573 to be up.. 2026-09-29 14:54:48,800 - DEBUG - VM is in ACTIVE state now 2026-09-29 14:54:48,801 - INFO - VM name : ctest-TestRoutersBasic-21618706-38577573 2026-09-29 14:54:48,896 - DEBUG - VM ctest-TestRoutersBasic-21618706-38577573 ID is eba294a4-12cb-4495-8df5-c1613b10057b 2026-09-29 14:54:48,896 - DEBUG - VM ctest-TestRoutersBasic-21618706-38577573 launched on Node cn-jenkins-deploy-platform-ansible-os-6326-1 2026-09-29 14:54:48,988 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/eba294a4-12cb-4495-8df5-c1613b10057b 2026-09-29 14:54:49,000 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/b5ab1cbe-5dfa-422f-8ae6-c94b48902f26 2026-09-29 14:54:50,254 - 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.80 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.666 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.666/2.232/3.799/1.566 ms') 2026-09-29 14:54:50,254 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-21618706-38577573 passed 2026-09-29 14:54:50,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 14:54:50,410 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21618706-38577573, IP 137.68.198.132, Port 22 2026-09-29 14:54:50,580 - DEBUG - VM ctest-TestRoutersBasic-21618706-38577573 is ready for SSH connections 2026-09-29 14:54:50,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 14:54:50,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.68.198.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-29 14:54:50,581 - DEBUG - ping -s 56 -c 3 -W 1 137.68.198.132 2026-09-29 14:54:53,641 - DEBUG - PING 137.68.198.132 (137.68.198.132): 56 data bytes 64 bytes from 137.68.198.132: seq=0 ttl=62 time=8.526 ms 64 bytes from 137.68.198.132: seq=1 ttl=62 time=1.027 ms 64 bytes from 137.68.198.132: seq=2 ttl=62 time=1.010 ms --- 137.68.198.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/3.521/8.526 ms 2026-09-29 14:54:53,641 - INFO - Ping to IP 137.68.198.132 from VM ctest-TestRoutersBasic-21618706-59183818 passed 2026-09-29 14:54:53,641 - INFO - Deleting interface with subnet_id b54bc2bd-e6ed-495e-a06f-43e4a32c525c, port_id None from router 61f5541f-4247-463d-b855-a3d4edbc3e27 2026-09-29 14:54:53,965 - INFO - Deleting VM ctest-TestRoutersBasic-21618706-38577573 2026-09-29 14:54:54,058 - INFO - Deleting VM ctest-TestRoutersBasic-21618706-59183818 2026-09-29 14:54:54,153 - INFO - Deleting VN ctest-ext_vn-73791939 2026-09-29 14:54:54,241 - DEBUG - VN e6c0f45a-15a9-48c5-baf0-4856bde71a0b still in use: Unable to complete operation on network e6c0f45a-15a9-48c5-baf0-4856bde71a0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3df9bce7-1c99-438c-ae1a-432dfa12c978'] 2026-09-29 14:54:54,241 - WARNING - Deleting VN ctest-ext_vn-73791939 failed..Will retry 2026-09-29 14:54:56,420 - DEBUG - Response for deleting network () 2026-09-29 14:54:56,420 - INFO - Deleting VN ctest-vn-80991367 2026-09-29 14:54:56,598 - DEBUG - Response for deleting network () 2026-09-29 14:54:56,877 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 14:54:56,878 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-09-29 14:54:56,878 - INFO - -------------------------------------------------------------------------------- 2026-09-29 14:54:57,689 - INFO - Deleted project: ctest-TestRoutersBasic-21618706, ID : b146d484-aace-4c65-bf2c-80fdeacf57a4