2026-05-14 02:46:51,859 - INFO - Domain Default found not creating 2026-05-14 02:46:52,059 - INFO - Project ctest-TestRoutersBasic-84707871 not found, creating it 2026-05-14 02:46:52,667 - INFO - Created Project:ctest-TestRoutersBasic-84707871, ID : dac16778-a6ed-4013-ab36-80443892520a 2026-05-14 02:46:54,446 - INFO - ================================================================================ 2026-05-14 02:46:54,446 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-14 02:46:54,447 - 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-05-14 02:46:55,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-05-14 02:46:55,744 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:46:55,744 - INFO - 2026-05-14 02:46:56,621 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84707871 2026-05-14 02:46:56,681 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84707871 2026-05-14 02:46:57,020 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84707871', 'default']} 2026-05-14 02:46:57,561 - DEBUG - Response for create_network : {'network': {'id': 'b3449725-c59e-43cd-8ed0-81286a196f16', 'name': 'ctest-vn-93370532', 'tenant_id': 'dac16778a6ed4013ab3680443892520a', 'project_id': 'dac16778a6ed4013ab3680443892520a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84707871', 'ctest-vn-93370532'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:46:57,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a115180-0b7c-4b8f-abe4-56b5073eebb6', 'name': '', 'tenant_id': 'dac16778a6ed4013ab3680443892520a', 'network_id': 'b3449725-c59e-43cd-8ed0-81286a196f16', 'ip_version': 4, 'cidr': '213.46.184.0/26', 'allocation_pools': [{'start': '213.46.184.2', 'end': '213.46.184.62'}], 'gateway_ip': '213.46.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.46.184.2', 'tags': [], 'project_id': 'dac16778a6ed4013ab3680443892520a'}} 2026-05-14 02:46:57,916 - INFO - Created VN ctest-vn-93370532 2026-05-14 02:46:57,933 - DEBUG - VN ctest-vn-93370532 UUID is b3449725-c59e-43cd-8ed0-81286a196f16 2026-05-14 02:46:58,451 - DEBUG - Response for create_network : {'network': {'id': 'ac47d84b-2735-4785-b85e-7e86e3edba16', 'name': 'ctest-ext_vn-03526849', 'tenant_id': 'dac16778a6ed4013ab3680443892520a', 'project_id': 'dac16778a6ed4013ab3680443892520a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84707871', 'ctest-ext_vn-03526849'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:46:58,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b94c8bb-4345-49e0-bb4a-ff19b300b0bf', 'name': '', 'tenant_id': 'dac16778a6ed4013ab3680443892520a', 'network_id': 'ac47d84b-2735-4785-b85e-7e86e3edba16', 'ip_version': 4, 'cidr': '139.42.0.128/26', 'allocation_pools': [{'start': '139.42.0.130', 'end': '139.42.0.190'}], 'gateway_ip': '139.42.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.42.0.130', 'tags': [], 'project_id': 'dac16778a6ed4013ab3680443892520a'}} 2026-05-14 02:46:58,767 - INFO - Created VN ctest-ext_vn-03526849 2026-05-14 02:46:58,781 - DEBUG - VN ctest-ext_vn-03526849 UUID is ac47d84b-2735-4785-b85e-7e86e3edba16 2026-05-14 02:46:58,933 - DEBUG - Services list from nova: [, , , ] 2026-05-14 02:47:00,226 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-1) 2026-05-14 02:47:01,982 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5780-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5780-2) 2026-05-14 02:47:02,130 - INFO - Setting gateway for router abd389ad-065f-420b-a06c-efb3dbbd2f28 to network ac47d84b-2735-4785-b85e-7e86e3edba16 2026-05-14 02:47:02,257 - INFO - Adding interface with subnet_id 5a115180-0b7c-4b8f-abe4-56b5073eebb6, port_id None to router abd389ad-065f-420b-a06c-efb3dbbd2f28 2026-05-14 02:47:02,754 - INFO - Waiting for VM ctest-TestRoutersBasic-84707871-65722114 to be up.. 2026-05-14 02:47:03,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:47:08,117 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:47:08,118 - INFO - VM name : ctest-TestRoutersBasic-84707871-65722114 2026-05-14 02:47:08,222 - DEBUG - VM ctest-TestRoutersBasic-84707871-65722114 ID is c617a7ca-8cf9-4e9b-8d15-ffcbb9cf3fc9 2026-05-14 02:47:08,253 - DEBUG - VM ctest-TestRoutersBasic-84707871-65722114 launched on Node an-jenkins-deploy-platform-ansible-os-5780-1 2026-05-14 02:47:08,339 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c617a7ca-8cf9-4e9b-8d15-ffcbb9cf3fc9 2026-05-14 02:47:08,684 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c617a7ca-8cf9-4e9b-8d15-ffcbb9cf3fc9 2026-05-14 02:47:08,728 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/71781533-fb48-4684-b6a1-e7b3f770b42f 2026-05-14 02:47:11,918 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-05-14 02:47:11,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84707871-65722114 failed! 2026-05-14 02:47:11,935 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84707871:ctest-vn-93370532 is 213.46.184.1 and allocation pool is NOT set 2026-05-14 02:47:13,993 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.550/1.652/2.755/1.102 ms') 2026-05-14 02:47:13,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84707871-65722114 passed 2026-05-14 02:47:14,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:47:14,069 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84707871-65722114, IP 213.46.184.3, Port 22 2026-05-14 02:47:14,240 - DEBUG - VM ctest-TestRoutersBasic-84707871-65722114 is ready for SSH connections 2026-05-14 02:47:14,240 - INFO - Waiting for VM ctest-TestRoutersBasic-84707871-71126472 to be up.. 2026-05-14 02:47:14,341 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:47:14,341 - INFO - VM name : ctest-TestRoutersBasic-84707871-71126472 2026-05-14 02:47:14,426 - DEBUG - VM ctest-TestRoutersBasic-84707871-71126472 ID is 2a3ad85a-856c-4a43-936d-3b69426ae4ba 2026-05-14 02:47:14,426 - DEBUG - VM ctest-TestRoutersBasic-84707871-71126472 launched on Node an-jenkins-deploy-platform-ansible-os-5780-2 2026-05-14 02:47:14,516 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2a3ad85a-856c-4a43-936d-3b69426ae4ba 2026-05-14 02:47:14,528 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f923e337-a43f-47bb-bae7-3697306f089d 2026-05-14 02:47:15,695 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.817/6.953/12.089/5.136 ms') 2026-05-14 02:47:15,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84707871-71126472 passed 2026-05-14 02:47:15,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:47:15,769 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84707871-71126472, IP 139.42.0.132, Port 22 2026-05-14 02:47:15,838 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-14 02:47:15,930 - DEBUG - VM ctest-TestRoutersBasic-84707871-71126472 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-14 02:47:20,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:47:20,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84707871-71126472, IP 139.42.0.132, Port 22 2026-05-14 02:47:21,088 - DEBUG - VM ctest-TestRoutersBasic-84707871-71126472 is ready for SSH connections 2026-05-14 02:47:21,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:47:21,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.42.0.132, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-14 02:47:21,089 - DEBUG - ping -s 56 -c 3 -W 1 139.42.0.132 2026-05-14 02:47:24,780 - DEBUG - PING 139.42.0.132 (139.42.0.132): 56 data bytes 64 bytes from 139.42.0.132: seq=0 ttl=62 time=10.373 ms 64 bytes from 139.42.0.132: seq=1 ttl=62 time=1.526 ms 64 bytes from 139.42.0.132: seq=2 ttl=62 time=1.422 ms --- 139.42.0.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.422/4.440/10.373 ms 2026-05-14 02:47:24,781 - INFO - Ping to IP 139.42.0.132 from VM ctest-TestRoutersBasic-84707871-65722114 passed 2026-05-14 02:47:24,781 - INFO - Deleting interface with subnet_id 5a115180-0b7c-4b8f-abe4-56b5073eebb6, port_id None from router abd389ad-065f-420b-a06c-efb3dbbd2f28 2026-05-14 02:47:25,199 - INFO - Deleting VM ctest-TestRoutersBasic-84707871-71126472 2026-05-14 02:47:25,359 - INFO - Deleting VM ctest-TestRoutersBasic-84707871-65722114 2026-05-14 02:47:25,614 - INFO - Deleting VN ctest-ext_vn-03526849 2026-05-14 02:47:25,769 - DEBUG - VN ac47d84b-2735-4785-b85e-7e86e3edba16 still in use: Unable to complete operation on network ac47d84b-2735-4785-b85e-7e86e3edba16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11917f64-c9dc-400b-a6df-cd414fa4ff9f'] 2026-05-14 02:47:25,769 - WARNING - Deleting VN ctest-ext_vn-03526849 failed..Will retry 2026-05-14 02:47:27,949 - DEBUG - Response for deleting network () 2026-05-14 02:47:27,949 - INFO - Deleting VN ctest-vn-93370532 2026-05-14 02:47:28,136 - DEBUG - Response for deleting network () 2026-05-14 02:47:29,438 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 02:47:29,439 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2026-05-14 02:47:29,439 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:47:30,277 - INFO - Deleted project: ctest-TestRoutersBasic-84707871, ID : dac16778-a6ed-4013-ab36-80443892520a