2026-06-15 15:36:26,019 - INFO - Domain Default found not creating 2026-06-15 15:36:26,158 - INFO - Project ctest-TestRoutersBasic-22588497 not found, creating it 2026-06-15 15:36:26,578 - INFO - Created Project:ctest-TestRoutersBasic-22588497, ID : 2e870dda-2d9a-4af1-b164-f90c91328545 2026-06-15 15:36:27,977 - INFO - ================================================================================ 2026-06-15 15:36:27,977 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-15 15:36:27,977 - 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-06-15 15:36:28,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-06-15 15:36:28,229 - INFO - Initial checks done. Running the testcase now 2026-06-15 15:36:28,229 - INFO - 2026-06-15 15:36:28,951 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22588497 2026-06-15 15:36:29,044 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22588497 2026-06-15 15:36:29,360 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22588497', 'default']} 2026-06-15 15:36:29,619 - DEBUG - Response for create_network : {'network': {'id': '1797bdac-15ed-481a-8ff6-b0e6e30ec353', 'name': 'ctest-vn-41969991', 'tenant_id': '2e870dda2d9a4af1b164f90c91328545', 'project_id': '2e870dda2d9a4af1b164f90c91328545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22588497', 'ctest-vn-41969991'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:36:29,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dff0b7a9-dd47-4ce1-a0c0-cb134d5f0812', 'name': '', 'tenant_id': '2e870dda2d9a4af1b164f90c91328545', 'network_id': '1797bdac-15ed-481a-8ff6-b0e6e30ec353', 'ip_version': 4, 'cidr': '217.85.139.192/26', 'allocation_pools': [{'start': '217.85.139.194', 'end': '217.85.139.254'}], 'gateway_ip': '217.85.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.85.139.194', 'tags': [], 'project_id': '2e870dda2d9a4af1b164f90c91328545'}} 2026-06-15 15:36:29,776 - INFO - Created VN ctest-vn-41969991 2026-06-15 15:36:29,828 - DEBUG - VN ctest-vn-41969991 UUID is 1797bdac-15ed-481a-8ff6-b0e6e30ec353 2026-06-15 15:36:30,137 - DEBUG - Response for create_network : {'network': {'id': '251a09c9-bad1-4322-a206-047d94e732c7', 'name': 'ctest-ext_vn-84244453', 'tenant_id': '2e870dda2d9a4af1b164f90c91328545', 'project_id': '2e870dda2d9a4af1b164f90c91328545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22588497', 'ctest-ext_vn-84244453'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 15:36:30,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaca033d-d164-4de5-a05c-ff9372ad96f4', 'name': '', 'tenant_id': '2e870dda2d9a4af1b164f90c91328545', 'network_id': '251a09c9-bad1-4322-a206-047d94e732c7', 'ip_version': 4, 'cidr': '179.141.194.0/26', 'allocation_pools': [{'start': '179.141.194.2', 'end': '179.141.194.62'}], 'gateway_ip': '179.141.194.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.141.194.2', 'tags': [], 'project_id': '2e870dda2d9a4af1b164f90c91328545'}} 2026-06-15 15:36:30,310 - INFO - Created VN ctest-ext_vn-84244453 2026-06-15 15:36:30,360 - DEBUG - VN ctest-ext_vn-84244453 UUID is 251a09c9-bad1-4322-a206-047d94e732c7 2026-06-15 15:36:30,537 - DEBUG - Services list from nova: [, , ] 2026-06-15 15:36:31,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5946-1) 2026-06-15 15:36:32,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5946-1) 2026-06-15 15:36:32,578 - INFO - Setting gateway for router 8cc7b5e8-71f6-4859-8297-222525f1de39 to network 251a09c9-bad1-4322-a206-047d94e732c7 2026-06-15 15:36:32,614 - INFO - Adding interface with subnet_id dff0b7a9-dd47-4ce1-a0c0-cb134d5f0812, port_id None to router 8cc7b5e8-71f6-4859-8297-222525f1de39 2026-06-15 15:36:32,800 - INFO - Waiting for VM ctest-TestRoutersBasic-22588497-47505426 to be up.. 2026-06-15 15:36:32,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:36:37,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 15:36:42,994 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:36:42,994 - INFO - VM name : ctest-TestRoutersBasic-22588497-47505426 2026-06-15 15:36:43,060 - DEBUG - VM ctest-TestRoutersBasic-22588497-47505426 ID is 36eb9927-bae0-44c5-83a7-526a32c70029 2026-06-15 15:36:43,077 - DEBUG - VM ctest-TestRoutersBasic-22588497-47505426 launched on Node cn-jenkins-deploy-platform-ansible-os-5946-1 2026-06-15 15:36:43,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/36eb9927-bae0-44c5-83a7-526a32c70029 2026-06-15 15:36:43,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/36eb9927-bae0-44c5-83a7-526a32c70029 2026-06-15 15:36:43,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/125c9dd1-6989-4c8c-aab2-92bf3281f4ca 2026-06-15 15:36:46,717 - 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 1007ms') 2026-06-15 15:36:46,717 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22588497-47505426 failed! 2026-06-15 15:36:46,772 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22588497:ctest-vn-41969991 is 217.85.139.193 and allocation pool is NOT set 2026-06-15 15:36:48,833 - 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=5.63 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.454 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.454/3.044/5.634/2.590 ms') 2026-06-15 15:36:48,833 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22588497-47505426 passed 2026-06-15 15:36:48,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:36:48,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22588497-47505426, IP 217.85.139.195, Port 22 2026-06-15 15:36:49,151 - DEBUG - VM ctest-TestRoutersBasic-22588497-47505426 is ready for SSH connections 2026-06-15 15:36:49,151 - INFO - Waiting for VM ctest-TestRoutersBasic-22588497-09863748 to be up.. 2026-06-15 15:36:49,217 - DEBUG - VM is in ACTIVE state now 2026-06-15 15:36:49,217 - INFO - VM name : ctest-TestRoutersBasic-22588497-09863748 2026-06-15 15:36:49,275 - DEBUG - VM ctest-TestRoutersBasic-22588497-09863748 ID is 7da0cf22-d578-4cfd-acce-9023d7f99998 2026-06-15 15:36:49,275 - DEBUG - VM ctest-TestRoutersBasic-22588497-09863748 launched on Node cn-jenkins-deploy-platform-ansible-os-5946-1 2026-06-15 15:36:49,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7da0cf22-d578-4cfd-acce-9023d7f99998 2026-06-15 15:36:49,338 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17039113-a215-49df-b8d3-adfb82d11d53 2026-06-15 15:36:50,571 - 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=5.59 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.17 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 = 1.167/3.378/5.589/2.211 ms') 2026-06-15 15:36:50,571 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-22588497-09863748 passed 2026-06-15 15:36:50,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:36:50,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22588497-09863748, IP 179.141.194.4, Port 22 2026-06-15 15:36:50,781 - 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-06-15 15:36:50,842 - DEBUG - VM ctest-TestRoutersBasic-22588497-09863748 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 15:36:55,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:36:55,844 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22588497-09863748, IP 179.141.194.4, Port 22 2026-06-15 15:36:56,010 - DEBUG - VM ctest-TestRoutersBasic-22588497-09863748 is ready for SSH connections 2026-06-15 15:36:56,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 15:36:56,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.141.194.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-15 15:36:56,011 - DEBUG - ping -s 56 -c 3 -W 1 179.141.194.4 2026-06-15 15:36:58,597 - DEBUG - PING 179.141.194.4 (179.141.194.4): 56 data bytes 64 bytes from 179.141.194.4: seq=0 ttl=62 time=7.791 ms 64 bytes from 179.141.194.4: seq=1 ttl=62 time=1.057 ms 64 bytes from 179.141.194.4: seq=2 ttl=62 time=0.860 ms --- 179.141.194.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/3.236/7.791 ms 2026-06-15 15:36:58,597 - INFO - Ping to IP 179.141.194.4 from VM ctest-TestRoutersBasic-22588497-47505426 passed 2026-06-15 15:36:58,598 - INFO - Deleting interface with subnet_id dff0b7a9-dd47-4ce1-a0c0-cb134d5f0812, port_id None from router 8cc7b5e8-71f6-4859-8297-222525f1de39 2026-06-15 15:36:58,791 - INFO - Deleting VM ctest-TestRoutersBasic-22588497-09863748 2026-06-15 15:36:58,855 - INFO - Deleting VM ctest-TestRoutersBasic-22588497-47505426 2026-06-15 15:36:58,920 - INFO - Deleting VN ctest-ext_vn-84244453 2026-06-15 15:36:58,967 - DEBUG - VN 251a09c9-bad1-4322-a206-047d94e732c7 still in use: Unable to complete operation on network 251a09c9-bad1-4322-a206-047d94e732c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22dd612a-b0f0-46d4-9633-d1bc0ccff16f'] 2026-06-15 15:36:58,967 - WARNING - Deleting VN ctest-ext_vn-84244453 failed..Will retry 2026-06-15 15:37:01,055 - DEBUG - Response for deleting network () 2026-06-15 15:37:01,055 - INFO - Deleting VN ctest-vn-41969991 2026-06-15 15:37:01,143 - DEBUG - Response for deleting network () 2026-06-15 15:37:01,397 - DEBUG - No XMPP flaps were noticed during the test 2026-06-15 15:37:01,397 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-15 15:37:01,397 - INFO - -------------------------------------------------------------------------------- 2026-06-15 15:37:02,071 - INFO - Deleted project: ctest-TestRoutersBasic-22588497, ID : 2e870dda-2d9a-4af1-b164-f90c91328545