2026-09-28 02:26:28,525 - INFO - Domain Default found not creating 2026-09-28 02:26:28,726 - INFO - Project ctest-TestRoutersBasic-44044970 not found, creating it 2026-09-28 02:26:29,305 - INFO - Created Project:ctest-TestRoutersBasic-44044970, ID : b5b9f6c0-eb80-43ba-82fd-4964dc6d0afb 2026-09-28 02:26:31,210 - INFO - ================================================================================ 2026-09-28 02:26:31,210 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-28 02:26:31,210 - 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-28 02:26:31,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with 2026-09-28 02:26:31,486 - INFO - Initial checks done. Running the testcase now 2026-09-28 02:26:31,486 - INFO - 2026-09-28 02:26:32,430 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44044970 2026-09-28 02:26:32,532 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44044970 2026-09-28 02:26:32,899 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44044970', 'default']} 2026-09-28 02:26:33,270 - DEBUG - Response for create_network : {'network': {'id': '5a365f55-4305-442c-9150-7f372d4dd3eb', 'name': 'ctest-vn-55259582', 'tenant_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'project_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44044970', 'ctest-vn-55259582'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-28 02:26:33,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '76b91488-1a64-4ef1-bcdc-4644be01e079', 'name': '', 'tenant_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'network_id': '5a365f55-4305-442c-9150-7f372d4dd3eb', 'ip_version': 4, 'cidr': '223.231.180.128/26', 'allocation_pools': [{'start': '223.231.180.130', 'end': '223.231.180.190'}], 'gateway_ip': '223.231.180.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:26:33.445374', 'updated_at': '2026-09-28T02:26:33.445374', 'dns_server_address': '223.231.180.130', 'tags': [], 'project_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb'}} 2026-09-28 02:26:33,525 - INFO - Created VN ctest-vn-55259582 2026-09-28 02:26:33,580 - DEBUG - VN ctest-vn-55259582 UUID is 5a365f55-4305-442c-9150-7f372d4dd3eb 2026-09-28 02:26:33,989 - DEBUG - Response for create_network : {'network': {'id': 'a81f2fa8-2f1c-4699-ad90-1ebbc22585e6', 'name': 'ctest-ext_vn-01096078', 'tenant_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'project_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44044970', 'ctest-ext_vn-01096078'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-28 02:26:34,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daa5f455-29a5-472f-aa00-aef8c77c8602', 'name': '', 'tenant_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb', 'network_id': 'a81f2fa8-2f1c-4699-ad90-1ebbc22585e6', 'ip_version': 4, 'cidr': '60.115.3.192/26', 'allocation_pools': [{'start': '60.115.3.194', 'end': '60.115.3.254'}], 'gateway_ip': '60.115.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:26:34.092263', 'updated_at': '2026-09-28T02:26:34.092263', 'dns_server_address': '60.115.3.194', 'tags': [], 'project_id': 'b5b9f6c0eb8043ba82fd4964dc6d0afb'}} 2026-09-28 02:26:34,212 - INFO - Created VN ctest-ext_vn-01096078 2026-09-28 02:26:34,268 - DEBUG - VN ctest-ext_vn-01096078 UUID is a81f2fa8-2f1c-4699-ad90-1ebbc22585e6 2026-09-28 02:26:34,459 - DEBUG - Services list from nova: [, , ] 2026-09-28 02:26:35,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1) 2026-09-28 02:26:35,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1) 2026-09-28 02:26:35,557 - INFO - Setting gateway for router 38903bb1-225d-4287-88c8-336a72a24283 to network a81f2fa8-2f1c-4699-ad90-1ebbc22585e6 2026-09-28 02:26:35,625 - INFO - Adding interface with subnet_id 76b91488-1a64-4ef1-bcdc-4644be01e079, port_id None to router 38903bb1-225d-4287-88c8-336a72a24283 2026-09-28 02:26:35,959 - INFO - Waiting for VM ctest-TestRoutersBasic-44044970-10743778 to be up.. 2026-09-28 02:26:36,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:26:41,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:26:46,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:26:51,380 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:26:56,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:27:01,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:27:06,721 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:27:11,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:27:16,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 02:27:22,016 - DEBUG - VM is in ACTIVE state now 2026-09-28 02:27:22,017 - INFO - VM name : ctest-TestRoutersBasic-44044970-10743778 2026-09-28 02:27:22,129 - DEBUG - VM ctest-TestRoutersBasic-44044970-10743778 ID is 6bfbe2de-a34f-40cb-a677-54f703954c3f 2026-09-28 02:27:22,159 - DEBUG - VM ctest-TestRoutersBasic-44044970-10743778 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1 2026-09-28 02:27:22,256 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/6bfbe2de-a34f-40cb-a677-54f703954c3f 2026-09-28 02:27:22,641 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/6bfbe2de-a34f-40cb-a677-54f703954c3f 2026-09-28 02:27:22,678 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/c448a285-2c32-4841-ba63-734bb77d4187 2026-09-28 02:27:25,964 - 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 1028ms') 2026-09-28 02:27:25,964 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44044970-10743778 failed! 2026-09-28 02:27:26,028 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44044970:ctest-vn-55259582 is 223.231.180.129 and allocation pool is NOT set 2026-09-28 02:27:28,097 - 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.25 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.658 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.658/2.454/4.250/1.796 ms') 2026-09-28 02:27:28,097 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-44044970-10743778 passed 2026-09-28 02:27:28,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:27:28,252 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44044970-10743778, IP 223.231.180.131, Port 22 2026-09-28 02:27:28,426 - DEBUG - VM ctest-TestRoutersBasic-44044970-10743778 is ready for SSH connections 2026-09-28 02:27:28,426 - INFO - Waiting for VM ctest-TestRoutersBasic-44044970-02357368 to be up.. 2026-09-28 02:27:28,517 - DEBUG - VM is in ACTIVE state now 2026-09-28 02:27:28,517 - INFO - VM name : ctest-TestRoutersBasic-44044970-02357368 2026-09-28 02:27:28,612 - DEBUG - VM ctest-TestRoutersBasic-44044970-02357368 ID is 065ad34d-88d6-432e-a180-56da43c4c4e6 2026-09-28 02:27:28,612 - DEBUG - VM ctest-TestRoutersBasic-44044970-02357368 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1 2026-09-28 02:27:28,708 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/065ad34d-88d6-432e-a180-56da43c4c4e6 2026-09-28 02:27:28,719 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/e15d9f90-16ee-48b0-8f20-2d181652758c 2026-09-28 02:27:29,974 - 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.18 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.607 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.607/2.393/4.179/1.786 ms') 2026-09-28 02:27:29,974 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-44044970-02357368 passed 2026-09-28 02:27:30,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:27:30,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44044970-02357368, IP 60.115.3.196, Port 22 2026-09-28 02:27:30,302 - DEBUG - VM ctest-TestRoutersBasic-44044970-02357368 is ready for SSH connections 2026-09-28 02:27:30,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 02:27:30,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.115.3.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123 2026-09-28 02:27:30,303 - DEBUG - ping -s 56 -c 3 -W 1 60.115.3.196 2026-09-28 02:27:33,445 - DEBUG - PING 60.115.3.196 (60.115.3.196): 56 data bytes 64 bytes from 60.115.3.196: seq=0 ttl=62 time=6.019 ms 64 bytes from 60.115.3.196: seq=1 ttl=62 time=1.408 ms 64 bytes from 60.115.3.196: seq=2 ttl=62 time=1.957 ms --- 60.115.3.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.408/3.128/6.019 ms 2026-09-28 02:27:33,446 - INFO - Ping to IP 60.115.3.196 from VM ctest-TestRoutersBasic-44044970-10743778 passed 2026-09-28 02:27:33,446 - INFO - Deleting interface with subnet_id 76b91488-1a64-4ef1-bcdc-4644be01e079, port_id None from router 38903bb1-225d-4287-88c8-336a72a24283 2026-09-28 02:27:33,752 - INFO - Deleting VM ctest-TestRoutersBasic-44044970-02357368 2026-09-28 02:27:33,851 - INFO - Deleting VM ctest-TestRoutersBasic-44044970-10743778 2026-09-28 02:27:33,936 - INFO - Deleting VN ctest-ext_vn-01096078 2026-09-28 02:27:34,044 - DEBUG - VN a81f2fa8-2f1c-4699-ad90-1ebbc22585e6 still in use: Unable to complete operation on network a81f2fa8-2f1c-4699-ad90-1ebbc22585e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f8bc081-8e22-4bab-ac69-cf05871b7a91'] 2026-09-28 02:27:34,044 - WARNING - Deleting VN ctest-ext_vn-01096078 failed..Will retry 2026-09-28 02:27:36,094 - DEBUG - VN a81f2fa8-2f1c-4699-ad90-1ebbc22585e6 still in use: Unable to complete operation on network a81f2fa8-2f1c-4699-ad90-1ebbc22585e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec354ca4-4223-48a0-a8a8-753bc6d6ad26'] 2026-09-28 02:27:36,094 - WARNING - Deleting VN ctest-ext_vn-01096078 failed..Will retry 2026-09-28 02:27:38,228 - DEBUG - Response for deleting network () 2026-09-28 02:27:38,228 - INFO - Deleting VN ctest-vn-55259582 2026-09-28 02:27:38,355 - DEBUG - Response for deleting network () 2026-09-28 02:27:38,641 - DEBUG - No XMPP flaps were noticed during the test 2026-09-28 02:27:38,641 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07] 2026-09-28 02:27:38,641 - INFO - -------------------------------------------------------------------------------- 2026-09-28 02:27:39,476 - INFO - Deleted project: ctest-TestRoutersBasic-44044970, ID : b5b9f6c0-eb80-43ba-82fd-4964dc6d0afb