2026-01-22 10:24:34,317 - INFO - Domain Default found not creating 2026-01-22 10:24:34,520 - INFO - Project ctest-TestRoutersBasic-33194715 not found, creating it 2026-01-22 10:24:35,026 - INFO - Created Project:ctest-TestRoutersBasic-33194715, ID : e2244d47-658d-4e9b-be7b-073c571a5aaa 2026-01-22 10:24:36,733 - INFO - ================================================================================ 2026-01-22 10:24:36,733 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-22 10:24:36,733 - 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-01-22 10:24:36,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2026-01-22 10:24:36,994 - INFO - Initial checks done. Running the testcase now 2026-01-22 10:24:36,994 - INFO - 2026-01-22 10:24:37,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33194715 2026-01-22 10:24:37,839 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33194715 2026-01-22 10:24:38,166 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33194715', 'default']} 2026-01-22 10:24:38,498 - DEBUG - Response for create_network : {'network': {'id': '618a8cd2-1251-401a-b7a4-856cc334ef1f', 'name': 'ctest-vn-93935620', 'tenant_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'project_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33194715', 'ctest-vn-93935620'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:24:38,693 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c09feec6-f589-43c2-9ccc-4d8a12e7da17', 'name': '', 'tenant_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'network_id': '618a8cd2-1251-401a-b7a4-856cc334ef1f', 'ip_version': 4, 'cidr': '62.218.68.128/26', 'allocation_pools': [{'start': '62.218.68.130', 'end': '62.218.68.190'}], 'gateway_ip': '62.218.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.218.68.130', 'tags': [], 'project_id': 'e2244d47658d4e9bbe7b073c571a5aaa'}} 2026-01-22 10:24:38,713 - INFO - Created VN ctest-vn-93935620 2026-01-22 10:24:38,766 - DEBUG - VN ctest-vn-93935620 UUID is 618a8cd2-1251-401a-b7a4-856cc334ef1f 2026-01-22 10:24:39,114 - DEBUG - Response for create_network : {'network': {'id': '3c11156b-c4b3-4976-ac10-8e097266b9a1', 'name': 'ctest-ext_vn-09839837', 'tenant_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'project_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33194715', 'ctest-ext_vn-09839837'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:24:39,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '13031b0d-3dbf-49d0-ad64-bf9f1356b6f0', 'name': '', 'tenant_id': 'e2244d47658d4e9bbe7b073c571a5aaa', 'network_id': '3c11156b-c4b3-4976-ac10-8e097266b9a1', 'ip_version': 4, 'cidr': '161.20.84.192/26', 'allocation_pools': [{'start': '161.20.84.194', 'end': '161.20.84.254'}], 'gateway_ip': '161.20.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.20.84.194', 'tags': [], 'project_id': 'e2244d47658d4e9bbe7b073c571a5aaa'}} 2026-01-22 10:24:39,292 - INFO - Created VN ctest-ext_vn-09839837 2026-01-22 10:24:39,346 - DEBUG - VN ctest-ext_vn-09839837 UUID is 3c11156b-c4b3-4976-ac10-8e097266b9a1 2026-01-22 10:24:39,524 - DEBUG - Services list from nova: [, , ] 2026-01-22 10:24:40,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:24:41,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:24:41,907 - INFO - Setting gateway for router f31473b7-c68e-433b-a804-21eb0ce5754f to network 3c11156b-c4b3-4976-ac10-8e097266b9a1 2026-01-22 10:24:41,973 - INFO - Adding interface with subnet_id c09feec6-f589-43c2-9ccc-4d8a12e7da17, port_id None to router f31473b7-c68e-433b-a804-21eb0ce5754f 2026-01-22 10:24:42,490 - INFO - Waiting for VM ctest-TestRoutersBasic-33194715-91982526 to be up.. 2026-01-22 10:24:42,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 10:24:47,752 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:24:47,752 - INFO - VM name : ctest-TestRoutersBasic-33194715-91982526 2026-01-22 10:24:47,838 - DEBUG - VM ctest-TestRoutersBasic-33194715-91982526 ID is 801caefe-ceec-4e7e-a7fe-0cebbb4edbee 2026-01-22 10:24:47,866 - DEBUG - VM ctest-TestRoutersBasic-33194715-91982526 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:24:47,955 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/801caefe-ceec-4e7e-a7fe-0cebbb4edbee 2026-01-22 10:24:48,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/801caefe-ceec-4e7e-a7fe-0cebbb4edbee 2026-01-22 10:24:48,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44d7729e-4953-4d7e-82e1-3ea45c4385cc 2026-01-22 10:24:51,561 - 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 1017ms') 2026-01-22 10:24:51,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33194715-91982526 failed! 2026-01-22 10:24:51,618 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33194715:ctest-vn-93935620 is 62.218.68.129 and allocation pool is NOT set 2026-01-22 10:24:53,683 - 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=9.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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.397/5.394/9.392/3.997 ms') 2026-01-22 10:24:53,683 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33194715-91982526 passed 2026-01-22 10:24:53,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:24:53,794 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33194715-91982526, IP 62.218.68.131, Port 22 2026-01-22 10:24:53,862 - 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-01-22 10:24:53,961 - DEBUG - VM ctest-TestRoutersBasic-33194715-91982526 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 10:24:58,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:24:58,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33194715-91982526, IP 62.218.68.131, Port 22 2026-01-22 10:24:59,131 - DEBUG - VM ctest-TestRoutersBasic-33194715-91982526 is ready for SSH connections 2026-01-22 10:24:59,131 - INFO - Waiting for VM ctest-TestRoutersBasic-33194715-18339755 to be up.. 2026-01-22 10:24:59,227 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:24:59,227 - INFO - VM name : ctest-TestRoutersBasic-33194715-18339755 2026-01-22 10:24:59,318 - DEBUG - VM ctest-TestRoutersBasic-33194715-18339755 ID is 4a63a8ec-ae5b-425f-8fd7-f88bcd71a4f5 2026-01-22 10:24:59,318 - DEBUG - VM ctest-TestRoutersBasic-33194715-18339755 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:24:59,404 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a63a8ec-ae5b-425f-8fd7-f88bcd71a4f5 2026-01-22 10:24:59,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd75bdf4-d329-4f03-b258-d57f869c3425 2026-01-22 10:25:00,654 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.683 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.683/2.420/4.158/1.737 ms') 2026-01-22 10:25:00,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33194715-18339755 passed 2026-01-22 10:25:00,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:00,815 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33194715-18339755, IP 161.20.84.195, Port 22 2026-01-22 10:25:00,997 - DEBUG - VM ctest-TestRoutersBasic-33194715-18339755 is ready for SSH connections 2026-01-22 10:25:00,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:00,997 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.20.84.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 10:25:00,997 - DEBUG - ping -s 56 -c 3 -W 1 161.20.84.195 2026-01-22 10:25:05,143 - DEBUG - PING 161.20.84.195 (161.20.84.195): 56 data bytes 64 bytes from 161.20.84.195: seq=0 ttl=62 time=8.455 ms 64 bytes from 161.20.84.195: seq=1 ttl=62 time=1.551 ms 64 bytes from 161.20.84.195: seq=2 ttl=62 time=1.729 ms --- 161.20.84.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.551/3.911/8.455 ms 2026-01-22 10:25:05,143 - INFO - Ping to IP 161.20.84.195 from VM ctest-TestRoutersBasic-33194715-91982526 passed 2026-01-22 10:25:05,144 - INFO - Deleting interface with subnet_id c09feec6-f589-43c2-9ccc-4d8a12e7da17, port_id None from router f31473b7-c68e-433b-a804-21eb0ce5754f 2026-01-22 10:25:05,341 - INFO - Deleting VM ctest-TestRoutersBasic-33194715-18339755 2026-01-22 10:25:05,435 - INFO - Deleting VM ctest-TestRoutersBasic-33194715-91982526 2026-01-22 10:25:05,530 - INFO - Deleting VN ctest-ext_vn-09839837 2026-01-22 10:25:05,615 - DEBUG - VN 3c11156b-c4b3-4976-ac10-8e097266b9a1 still in use: Unable to complete operation on network 3c11156b-c4b3-4976-ac10-8e097266b9a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d463fbc-7aee-430a-aba7-8e23de12aa43'] 2026-01-22 10:25:05,615 - WARNING - Deleting VN ctest-ext_vn-09839837 failed..Will retry 2026-01-22 10:25:07,737 - DEBUG - Response for deleting network () 2026-01-22 10:25:07,737 - INFO - Deleting VN ctest-vn-93935620 2026-01-22 10:25:07,850 - DEBUG - Response for deleting network () 2026-01-22 10:25:08,104 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 10:25:08,104 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-01-22 10:25:08,105 - INFO - -------------------------------------------------------------------------------- 2026-01-22 10:25:08,830 - INFO - Deleted project: ctest-TestRoutersBasic-33194715, ID : e2244d47-658d-4e9b-be7b-073c571a5aaa