2026-10-22 22:09:19,553 - INFO - Domain Default found not creating 2026-10-22 22:09:19,881 - INFO - Project ctest-TestRoutersBasic-81470588 not found, creating it 2026-10-22 22:09:20,567 - INFO - Created Project:ctest-TestRoutersBasic-81470588, ID : 837df741-751f-40d7-8eff-6cc48d0babc7 2026-10-22 22:09:22,907 - INFO - ================================================================================ 2026-10-22 22:09:22,907 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-22 22:09:22,907 - 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-10-22 22:09:23,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.254': '0'}} with 2026-10-22 22:09:23,203 - INFO - Initial checks done. Running the testcase now 2026-10-22 22:09:23,203 - INFO - 2026-10-22 22:09:24,244 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81470588 2026-10-22 22:09:24,352 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81470588 2026-10-22 22:09:24,723 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81470588', 'default']} 2026-10-22 22:09:25,094 - DEBUG - Response for create_network : {'network': {'id': '3a81b08c-263d-44f8-b7a0-ef8901f4cfb1', 'name': 'ctest-vn-70334987', 'tenant_id': '837df741751f40d78eff6cc48d0babc7', 'project_id': '837df741751f40d78eff6cc48d0babc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81470588', 'ctest-vn-70334987'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:09:25,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f335ab8-eff2-4c18-9c18-8f36c4e2c488', 'name': '', 'tenant_id': '837df741751f40d78eff6cc48d0babc7', 'network_id': '3a81b08c-263d-44f8-b7a0-ef8901f4cfb1', 'ip_version': 4, 'cidr': '167.89.15.192/26', 'allocation_pools': [{'start': '167.89.15.194', 'end': '167.89.15.254'}], 'gateway_ip': '167.89.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.89.15.194', 'tags': [], 'project_id': '837df741751f40d78eff6cc48d0babc7'}} 2026-10-22 22:09:25,326 - INFO - Created VN ctest-vn-70334987 2026-10-22 22:09:25,384 - DEBUG - VN ctest-vn-70334987 UUID is 3a81b08c-263d-44f8-b7a0-ef8901f4cfb1 2026-10-22 22:09:25,794 - DEBUG - Response for create_network : {'network': {'id': '4812ffa0-9b6e-4eee-8726-a8621ffa35a9', 'name': 'ctest-ext_vn-02485742', 'tenant_id': '837df741751f40d78eff6cc48d0babc7', 'project_id': '837df741751f40d78eff6cc48d0babc7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81470588', 'ctest-ext_vn-02485742'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:09:26,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b6a5d45-91eb-4cc0-956a-93d8032246a9', 'name': '', 'tenant_id': '837df741751f40d78eff6cc48d0babc7', 'network_id': '4812ffa0-9b6e-4eee-8726-a8621ffa35a9', 'ip_version': 4, 'cidr': '162.96.122.64/26', 'allocation_pools': [{'start': '162.96.122.66', 'end': '162.96.122.126'}], 'gateway_ip': '162.96.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.96.122.66', 'tags': [], 'project_id': '837df741751f40d78eff6cc48d0babc7'}} 2026-10-22 22:09:26,062 - INFO - Created VN ctest-ext_vn-02485742 2026-10-22 22:09:26,119 - DEBUG - VN ctest-ext_vn-02485742 UUID is 4812ffa0-9b6e-4eee-8726-a8621ffa35a9 2026-10-22 22:09:26,361 - DEBUG - Services list from nova: [, , ] 2026-10-22 22:09:27,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6390-1) 2026-10-22 22:09:27,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6390-1) 2026-10-22 22:09:27,881 - INFO - Setting gateway for router c3cef9bc-e70f-459d-a16b-f0254a61da3c to network 4812ffa0-9b6e-4eee-8726-a8621ffa35a9 2026-10-22 22:09:27,969 - INFO - Adding interface with subnet_id 3f335ab8-eff2-4c18-9c18-8f36c4e2c488, port_id None to router c3cef9bc-e70f-459d-a16b-f0254a61da3c 2026-10-22 22:09:28,374 - INFO - Waiting for VM ctest-TestRoutersBasic-81470588-46278075 to be up.. 2026-10-22 22:09:28,480 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:33,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:38,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:43,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:49,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:54,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:09:59,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:10:04,418 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:10:09,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:10:14,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:10:19,794 - DEBUG - VM is in ACTIVE state now 2026-10-22 22:10:19,794 - INFO - VM name : ctest-TestRoutersBasic-81470588-46278075 2026-10-22 22:10:19,924 - DEBUG - VM ctest-TestRoutersBasic-81470588-46278075 ID is 02126f2f-9bb0-46dc-9f8b-1240caff8c17 2026-10-22 22:10:19,964 - DEBUG - VM ctest-TestRoutersBasic-81470588-46278075 launched on Node cn-jenkins-deploy-platform-ansible-os-6390-1 2026-10-22 22:10:20,114 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/02126f2f-9bb0-46dc-9f8b-1240caff8c17 2026-10-22 22:10:20,546 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/02126f2f-9bb0-46dc-9f8b-1240caff8c17 2026-10-22 22:10:20,617 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/65ba288d-de6f-4d34-ab72-1d2e2446af55 2026-10-22 22:10:23,930 - 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 1011ms') 2026-10-22 22:10:23,930 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-81470588-46278075 failed! 2026-10-22 22:10:23,996 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81470588:ctest-vn-70334987 is 167.89.15.193 and allocation pool is NOT set 2026-10-22 22:10:26,068 - 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=12.7 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.582 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.582/6.645/12.709/6.063 ms') 2026-10-22 22:10:26,068 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-81470588-46278075 passed 2026-10-22 22:10:26,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:10:26,228 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81470588-46278075, IP 167.89.15.195, Port 22 2026-10-22 22:10:26,411 - DEBUG - VM ctest-TestRoutersBasic-81470588-46278075 is ready for SSH connections 2026-10-22 22:10:26,411 - INFO - Waiting for VM ctest-TestRoutersBasic-81470588-74950016 to be up.. 2026-10-22 22:10:26,530 - DEBUG - VM is in ACTIVE state now 2026-10-22 22:10:26,531 - INFO - VM name : ctest-TestRoutersBasic-81470588-74950016 2026-10-22 22:10:26,660 - DEBUG - VM ctest-TestRoutersBasic-81470588-74950016 ID is 3aca772c-c44d-43f7-a160-971d659f07f2 2026-10-22 22:10:26,660 - DEBUG - VM ctest-TestRoutersBasic-81470588-74950016 launched on Node cn-jenkins-deploy-platform-ansible-os-6390-1 2026-10-22 22:10:26,784 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/3aca772c-c44d-43f7-a160-971d659f07f2 2026-10-22 22:10:26,795 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/3d9d63c8-bf07-4f0c-852c-1a0478c3db04 2026-10-22 22:10:28,081 - 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=16.9 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=4.03 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 = 4.031/10.468/16.906/6.437 ms') 2026-10-22 22:10:28,082 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-81470588-74950016 passed 2026-10-22 22:10:28,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:10:28,244 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81470588-74950016, IP 162.96.122.68, Port 22 2026-10-22 22:10:28,319 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-22 22:10:28,565 - DEBUG - VM ctest-TestRoutersBasic-81470588-74950016 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-22 22:10:33,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:10:33,566 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81470588-74950016, IP 162.96.122.68, Port 22 2026-10-22 22:10:33,742 - DEBUG - VM ctest-TestRoutersBasic-81470588-74950016 is ready for SSH connections 2026-10-22 22:10:33,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:10:33,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.96.122.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-10-22 22:10:33,743 - DEBUG - ping -s 56 -c 3 -W 1 162.96.122.68 2026-10-22 22:10:37,420 - DEBUG - PING 162.96.122.68 (162.96.122.68): 56 data bytes 64 bytes from 162.96.122.68: seq=0 ttl=62 time=9.370 ms 64 bytes from 162.96.122.68: seq=1 ttl=62 time=16.006 ms 64 bytes from 162.96.122.68: seq=2 ttl=62 time=2.206 ms --- 162.96.122.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.206/9.194/16.006 ms 2026-10-22 22:10:37,421 - INFO - Ping to IP 162.96.122.68 from VM ctest-TestRoutersBasic-81470588-46278075 passed 2026-10-22 22:10:37,421 - INFO - Deleting interface with subnet_id 3f335ab8-eff2-4c18-9c18-8f36c4e2c488, port_id None from router c3cef9bc-e70f-459d-a16b-f0254a61da3c 2026-10-22 22:10:37,756 - INFO - Deleting VM ctest-TestRoutersBasic-81470588-74950016 2026-10-22 22:10:37,911 - INFO - Deleting VM ctest-TestRoutersBasic-81470588-46278075 2026-10-22 22:10:38,084 - INFO - Deleting VN ctest-ext_vn-02485742 2026-10-22 22:10:38,256 - DEBUG - VN 4812ffa0-9b6e-4eee-8726-a8621ffa35a9 still in use: Unable to complete operation on network 4812ffa0-9b6e-4eee-8726-a8621ffa35a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f93048ae-6c0e-48d6-a42e-5332acb8c1af'] 2026-10-22 22:10:38,256 - WARNING - Deleting VN ctest-ext_vn-02485742 failed..Will retry 2026-10-22 22:10:40,309 - DEBUG - VN 4812ffa0-9b6e-4eee-8726-a8621ffa35a9 still in use: Unable to complete operation on network 4812ffa0-9b6e-4eee-8726-a8621ffa35a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fae46107-d7e4-402a-bfc6-b9f4015dd6b6'] 2026-10-22 22:10:40,309 - WARNING - Deleting VN ctest-ext_vn-02485742 failed..Will retry 2026-10-22 22:10:42,565 - DEBUG - Response for deleting network () 2026-10-22 22:10:42,566 - INFO - Deleting VN ctest-vn-70334987 2026-10-22 22:10:42,739 - DEBUG - Response for deleting network () 2026-10-22 22:10:43,035 - DEBUG - No XMPP flaps were noticed during the test 2026-10-22 22:10:43,035 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:21] 2026-10-22 22:10:43,035 - INFO - -------------------------------------------------------------------------------- 2026-10-22 22:10:43,971 - INFO - Deleted project: ctest-TestRoutersBasic-81470588, ID : 837df741-751f-40d7-8eff-6cc48d0babc7