2026-11-16 15:45:56,320 - INFO - Domain Default found not creating 2026-11-16 15:45:56,520 - INFO - Project ctest-TestRoutersBasic-39146856 not found, creating it 2026-11-16 15:45:57,034 - INFO - Created Project:ctest-TestRoutersBasic-39146856, ID : 6b01b493-78a0-40e1-ae10-a96cc7d9c0f9 2026-11-16 15:45:58,797 - INFO - ================================================================================ 2026-11-16 15:45:58,797 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-16 15:45:58,797 - 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-11-16 15:45:59,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-11-16 15:45:59,071 - INFO - Initial checks done. Running the testcase now 2026-11-16 15:45:59,071 - INFO - 2026-11-16 15:45:59,943 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39146856 2026-11-16 15:46:00,038 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39146856 2026-11-16 15:46:00,366 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39146856', 'default']} 2026-11-16 15:46:00,670 - DEBUG - Response for create_network : {'network': {'id': '02ccae11-255f-4ee4-85f2-d06098dc3c1a', 'name': 'ctest-vn-93589148', 'tenant_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'project_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39146856', 'ctest-vn-93589148'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 15:46:00,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '893ea9c6-099b-44ed-b5b7-f85952bc7197', 'name': '', 'tenant_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'network_id': '02ccae11-255f-4ee4-85f2-d06098dc3c1a', 'ip_version': 4, 'cidr': '24.157.145.64/26', 'allocation_pools': [{'start': '24.157.145.66', 'end': '24.157.145.126'}], 'gateway_ip': '24.157.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.157.145.66', 'tags': [], 'project_id': '6b01b49378a040e1ae10a96cc7d9c0f9'}} 2026-11-16 15:46:00,890 - INFO - Created VN ctest-vn-93589148 2026-11-16 15:46:00,942 - DEBUG - VN ctest-vn-93589148 UUID is 02ccae11-255f-4ee4-85f2-d06098dc3c1a 2026-11-16 15:46:01,276 - DEBUG - Response for create_network : {'network': {'id': 'c9949613-8745-4573-a9d1-d89ea0a72f62', 'name': 'ctest-ext_vn-04918134', 'tenant_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'project_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39146856', 'ctest-ext_vn-04918134'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 15:46:01,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab0f9c8f-3af8-48bf-9ee9-ce75a08cf162', 'name': '', 'tenant_id': '6b01b49378a040e1ae10a96cc7d9c0f9', 'network_id': 'c9949613-8745-4573-a9d1-d89ea0a72f62', 'ip_version': 4, 'cidr': '130.50.37.128/26', 'allocation_pools': [{'start': '130.50.37.130', 'end': '130.50.37.190'}], 'gateway_ip': '130.50.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.50.37.130', 'tags': [], 'project_id': '6b01b49378a040e1ae10a96cc7d9c0f9'}} 2026-11-16 15:46:01,525 - INFO - Created VN ctest-ext_vn-04918134 2026-11-16 15:46:01,578 - DEBUG - VN ctest-ext_vn-04918134 UUID is c9949613-8745-4573-a9d1-d89ea0a72f62 2026-11-16 15:46:01,775 - DEBUG - Services list from nova: [, , ] 2026-11-16 15:46:02,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6507-1) 2026-11-16 15:46:02,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6507-1) 2026-11-16 15:46:02,662 - INFO - Setting gateway for router e2aa8fae-af5d-44f2-8a00-37ae92d2415f to network c9949613-8745-4573-a9d1-d89ea0a72f62 2026-11-16 15:46:02,732 - INFO - Adding interface with subnet_id 893ea9c6-099b-44ed-b5b7-f85952bc7197, port_id None to router e2aa8fae-af5d-44f2-8a00-37ae92d2415f 2026-11-16 15:46:03,069 - INFO - Waiting for VM ctest-TestRoutersBasic-39146856-90971781 to be up.. 2026-11-16 15:46:03,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:08,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:13,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:18,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:23,583 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:28,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:33,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:38,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 15:46:43,929 - DEBUG - VM is in ACTIVE state now 2026-11-16 15:46:43,929 - INFO - VM name : ctest-TestRoutersBasic-39146856-90971781 2026-11-16 15:46:44,013 - DEBUG - VM ctest-TestRoutersBasic-39146856-90971781 ID is 758213a0-91d5-496b-b23d-84ab85ba3abb 2026-11-16 15:46:44,041 - DEBUG - VM ctest-TestRoutersBasic-39146856-90971781 launched on Node cn-jenkins-deploy-platform-ansible-os-6507-1 2026-11-16 15:46:44,127 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/758213a0-91d5-496b-b23d-84ab85ba3abb 2026-11-16 15:46:44,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/758213a0-91d5-496b-b23d-84ab85ba3abb 2026-11-16 15:46:44,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8cec81fd-2e9f-4e6b-b5e7-5c27f3160d84 2026-11-16 15:46:47,811 - 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 1018ms') 2026-11-16 15:46:47,811 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39146856-90971781 failed! 2026-11-16 15:46:47,866 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39146856:ctest-vn-93589148 is 24.157.145.65 and allocation pool is NOT set 2026-11-16 15:46:49,926 - 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.09 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.440 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.440/2.267/4.094/1.827 ms') 2026-11-16 15:46:49,926 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-39146856-90971781 passed 2026-11-16 15:46:50,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 15:46:50,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39146856-90971781, IP 24.157.145.67, Port 22 2026-11-16 15:46:50,240 - DEBUG - VM ctest-TestRoutersBasic-39146856-90971781 is ready for SSH connections 2026-11-16 15:46:50,240 - INFO - Waiting for VM ctest-TestRoutersBasic-39146856-37568129 to be up.. 2026-11-16 15:46:50,320 - DEBUG - VM is in ACTIVE state now 2026-11-16 15:46:50,320 - INFO - VM name : ctest-TestRoutersBasic-39146856-37568129 2026-11-16 15:46:50,395 - DEBUG - VM ctest-TestRoutersBasic-39146856-37568129 ID is 460ac882-e94c-40f1-a3b9-f399aed6d53b 2026-11-16 15:46:50,395 - DEBUG - VM ctest-TestRoutersBasic-39146856-37568129 launched on Node cn-jenkins-deploy-platform-ansible-os-6507-1 2026-11-16 15:46:50,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/460ac882-e94c-40f1-a3b9-f399aed6d53b 2026-11-16 15:46:50,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a137869-fd06-49e5-b7a8-3b1225404317 2026-11-16 15:46:53,734 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-11-16 15:46:53,734 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-39146856-37568129 failed! 2026-11-16 15:46:53,790 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39146856:ctest-ext_vn-04918134 is 130.50.37.129 and allocation pool is NOT set 2026-11-16 15:46:55,856 - 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.29 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.713 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.713/2.503/4.293/1.790 ms') 2026-11-16 15:46:55,856 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-39146856-37568129 passed 2026-11-16 15:46:56,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 15:46:56,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39146856-37568129, IP 130.50.37.132, Port 22 2026-11-16 15:46:56,080 - 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-11-16 15:46:56,180 - DEBUG - VM ctest-TestRoutersBasic-39146856-37568129 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 15:47:01,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 15:47:01,182 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39146856-37568129, IP 130.50.37.132, Port 22 2026-11-16 15:47:01,346 - DEBUG - VM ctest-TestRoutersBasic-39146856-37568129 is ready for SSH connections 2026-11-16 15:47:01,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 15:47:01,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.50.37.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-16 15:47:01,346 - DEBUG - ping -s 56 -c 3 -W 1 130.50.37.132 2026-11-16 15:47:04,381 - DEBUG - PING 130.50.37.132 (130.50.37.132): 56 data bytes 64 bytes from 130.50.37.132: seq=0 ttl=62 time=8.290 ms 64 bytes from 130.50.37.132: seq=1 ttl=62 time=1.351 ms 64 bytes from 130.50.37.132: seq=2 ttl=62 time=1.063 ms --- 130.50.37.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.063/3.568/8.290 ms 2026-11-16 15:47:04,381 - INFO - Ping to IP 130.50.37.132 from VM ctest-TestRoutersBasic-39146856-90971781 passed 2026-11-16 15:47:04,381 - INFO - Deleting interface with subnet_id 893ea9c6-099b-44ed-b5b7-f85952bc7197, port_id None from router e2aa8fae-af5d-44f2-8a00-37ae92d2415f 2026-11-16 15:47:04,587 - INFO - Deleting VM ctest-TestRoutersBasic-39146856-37568129 2026-11-16 15:47:04,674 - INFO - Deleting VM ctest-TestRoutersBasic-39146856-90971781 2026-11-16 15:47:04,766 - INFO - Deleting VN ctest-ext_vn-04918134 2026-11-16 15:47:04,872 - DEBUG - VN c9949613-8745-4573-a9d1-d89ea0a72f62 still in use: Unable to complete operation on network c9949613-8745-4573-a9d1-d89ea0a72f62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-146a0319-9b76-4e70-be38-574e6a2c55d8'] 2026-11-16 15:47:04,873 - WARNING - Deleting VN ctest-ext_vn-04918134 failed..Will retry 2026-11-16 15:47:06,910 - DEBUG - VN c9949613-8745-4573-a9d1-d89ea0a72f62 still in use: Unable to complete operation on network c9949613-8745-4573-a9d1-d89ea0a72f62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0dcef5b-c2fd-4020-a5b1-f284ccef96d6'] 2026-11-16 15:47:06,910 - WARNING - Deleting VN ctest-ext_vn-04918134 failed..Will retry 2026-11-16 15:47:09,042 - DEBUG - Response for deleting network () 2026-11-16 15:47:09,042 - INFO - Deleting VN ctest-vn-93589148 2026-11-16 15:47:09,150 - DEBUG - Response for deleting network () 2026-11-16 15:47:09,418 - DEBUG - No XMPP flaps were noticed during the test
2026-11-16 15:47:09,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:11]
2026-11-16 15:47:09,418 - INFO - -------------------------------------------------------------------------------- 2026-11-16 15:47:10,267 - INFO - Deleted project: ctest-TestRoutersBasic-39146856, ID : 6b01b493-78a0-40e1-ae10-a96cc7d9c0f9