2026-04-02 02:27:22,902 - INFO - Domain Default found not creating 2026-04-02 02:27:23,066 - INFO - Project ctest-TestRoutersBasic-24259227 not found, creating it 2026-04-02 02:27:23,656 - INFO - Created Project:ctest-TestRoutersBasic-24259227, ID : 37deb547-90e9-47cb-b848-7fb3acebb4f4 2026-04-02 02:27:25,182 - INFO - ================================================================================ 2026-04-02 02:27:25,182 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-02 02:27:25,182 - 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-04-02 02:27:26,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.249': '0'}, '10.0.0.128': {'10.20.0.249': '0', '10.20.0.254': '0'}} with 2026-04-02 02:27:26,449 - INFO - Initial checks done. Running the testcase now 2026-04-02 02:27:26,449 - INFO - 2026-04-02 02:27:27,173 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24259227 2026-04-02 02:27:27,230 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24259227 2026-04-02 02:27:27,542 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24259227', 'default']} 2026-04-02 02:27:27,955 - DEBUG - Response for create_network : {'network': {'id': 'fc2ad0b9-5f7e-425d-8a49-13ced006963e', 'name': 'ctest-vn-18854024', 'tenant_id': '37deb54790e947cbb8487fb3acebb4f4', 'project_id': '37deb54790e947cbb8487fb3acebb4f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24259227', 'ctest-vn-18854024'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:27:28,203 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6551acf-b8ca-42a6-8e2f-94389a1b0735', 'name': '', 'tenant_id': '37deb54790e947cbb8487fb3acebb4f4', 'network_id': 'fc2ad0b9-5f7e-425d-8a49-13ced006963e', 'ip_version': 4, 'cidr': '122.129.211.64/26', 'allocation_pools': [{'start': '122.129.211.66', 'end': '122.129.211.126'}], 'gateway_ip': '122.129.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.129.211.66', 'tags': [], 'project_id': '37deb54790e947cbb8487fb3acebb4f4'}} 2026-04-02 02:27:28,227 - INFO - Created VN ctest-vn-18854024 2026-04-02 02:27:28,238 - DEBUG - VN ctest-vn-18854024 UUID is fc2ad0b9-5f7e-425d-8a49-13ced006963e 2026-04-02 02:27:28,674 - DEBUG - Response for create_network : {'network': {'id': '64cad08d-c00e-406c-b886-e184d015ccf7', 'name': 'ctest-ext_vn-28491872', 'tenant_id': '37deb54790e947cbb8487fb3acebb4f4', 'project_id': '37deb54790e947cbb8487fb3acebb4f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24259227', 'ctest-ext_vn-28491872'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:27:28,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dab0cc9d-d6d5-4a50-9631-ccf927863c3d', 'name': '', 'tenant_id': '37deb54790e947cbb8487fb3acebb4f4', 'network_id': '64cad08d-c00e-406c-b886-e184d015ccf7', 'ip_version': 4, 'cidr': '200.21.14.128/26', 'allocation_pools': [{'start': '200.21.14.130', 'end': '200.21.14.190'}], 'gateway_ip': '200.21.14.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.21.14.130', 'tags': [], 'project_id': '37deb54790e947cbb8487fb3acebb4f4'}} 2026-04-02 02:27:28,960 - INFO - Created VN ctest-ext_vn-28491872 2026-04-02 02:27:28,972 - DEBUG - VN ctest-ext_vn-28491872 UUID is 64cad08d-c00e-406c-b886-e184d015ccf7 2026-04-02 02:27:29,110 - DEBUG - Services list from nova: [, , , ] 2026-04-02 02:27:30,099 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-2) 2026-04-02 02:27:31,415 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5575-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5575-1) 2026-04-02 02:27:31,541 - INFO - Setting gateway for router f2d0b04c-0e58-4988-9357-ca248c0b12c6 to network 64cad08d-c00e-406c-b886-e184d015ccf7 2026-04-02 02:27:31,652 - INFO - Adding interface with subnet_id f6551acf-b8ca-42a6-8e2f-94389a1b0735, port_id None to router f2d0b04c-0e58-4988-9357-ca248c0b12c6 2026-04-02 02:27:32,111 - INFO - Waiting for VM ctest-TestRoutersBasic-24259227-10932065 to be up.. 2026-04-02 02:27:32,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 02:27:37,387 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:27:37,387 - INFO - VM name : ctest-TestRoutersBasic-24259227-10932065 2026-04-02 02:27:37,464 - DEBUG - VM ctest-TestRoutersBasic-24259227-10932065 ID is c30853dc-5fa5-411e-99a6-bbd726bbab74 2026-04-02 02:27:37,485 - DEBUG - VM ctest-TestRoutersBasic-24259227-10932065 launched on Node an-jenkins-deploy-platform-ansible-os-5575-2 2026-04-02 02:27:37,573 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c30853dc-5fa5-411e-99a6-bbd726bbab74 2026-04-02 02:27:37,871 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c30853dc-5fa5-411e-99a6-bbd726bbab74 2026-04-02 02:27:37,909 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0d98c2d3-b775-45dd-a349-de6eba38bdf6 2026-04-02 02:27:41,103 - 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 1024ms') 2026-04-02 02:27:41,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24259227-10932065 failed! 2026-04-02 02:27:41,124 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24259227:ctest-vn-18854024 is 122.129.211.65 and allocation pool is NOT set 2026-04-02 02:27:43,186 - 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=3.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.908/3.404/1.495 ms') 2026-04-02 02:27:43,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24259227-10932065 passed 2026-04-02 02:27:43,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:27:43,259 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24259227-10932065, IP 122.129.211.67, Port 22 2026-04-02 02:27:43,426 - DEBUG - VM ctest-TestRoutersBasic-24259227-10932065 is ready for SSH connections 2026-04-02 02:27:43,427 - INFO - Waiting for VM ctest-TestRoutersBasic-24259227-95303949 to be up.. 2026-04-02 02:27:43,519 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:27:43,520 - INFO - VM name : ctest-TestRoutersBasic-24259227-95303949 2026-04-02 02:27:43,610 - DEBUG - VM ctest-TestRoutersBasic-24259227-95303949 ID is 3e48d7bf-6bb0-4e15-b38f-a30cdae7d5bf 2026-04-02 02:27:43,611 - DEBUG - VM ctest-TestRoutersBasic-24259227-95303949 launched on Node an-jenkins-deploy-platform-ansible-os-5575-1 2026-04-02 02:27:43,703 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3e48d7bf-6bb0-4e15-b38f-a30cdae7d5bf 2026-04-02 02:27:43,714 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d93508e5-b7e7-41a3-842a-ebcd0c5a8440 2026-04-02 02:27:44,892 - 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=6.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 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 = 3.166/4.617/6.069/1.451 ms') 2026-04-02 02:27:44,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24259227-95303949 passed 2026-04-02 02:27:44,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:27:44,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24259227-95303949, IP 200.21.14.131, Port 22 2026-04-02 02:27:45,052 - 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-04-02 02:27:45,168 - DEBUG - VM ctest-TestRoutersBasic-24259227-95303949 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 02:27:50,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:27:50,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24259227-95303949, IP 200.21.14.131, Port 22 2026-04-02 02:27:50,335 - DEBUG - VM ctest-TestRoutersBasic-24259227-95303949 is ready for SSH connections 2026-04-02 02:27:50,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:27:50,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.21.14.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2026-04-02 02:27:50,336 - DEBUG - ping -s 56 -c 3 -W 1 200.21.14.131 2026-04-02 02:27:53,994 - DEBUG - PING 200.21.14.131 (200.21.14.131): 56 data bytes 64 bytes from 200.21.14.131: seq=0 ttl=62 time=8.671 ms 64 bytes from 200.21.14.131: seq=1 ttl=62 time=1.476 ms 64 bytes from 200.21.14.131: seq=2 ttl=62 time=1.360 ms --- 200.21.14.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.360/3.835/8.671 ms 2026-04-02 02:27:53,994 - INFO - Ping to IP 200.21.14.131 from VM ctest-TestRoutersBasic-24259227-10932065 passed 2026-04-02 02:27:53,994 - INFO - Deleting interface with subnet_id f6551acf-b8ca-42a6-8e2f-94389a1b0735, port_id None from router f2d0b04c-0e58-4988-9357-ca248c0b12c6 2026-04-02 02:27:54,337 - INFO - Deleting VM ctest-TestRoutersBasic-24259227-95303949 2026-04-02 02:27:54,418 - INFO - Deleting VM ctest-TestRoutersBasic-24259227-10932065 2026-04-02 02:27:54,506 - INFO - Deleting VN ctest-ext_vn-28491872 2026-04-02 02:27:54,640 - DEBUG - VN 64cad08d-c00e-406c-b886-e184d015ccf7 still in use: Unable to complete operation on network 64cad08d-c00e-406c-b886-e184d015ccf7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66772c31-4dba-4ea8-bb10-b225d92877a7'] 2026-04-02 02:27:54,640 - WARNING - Deleting VN ctest-ext_vn-28491872 failed..Will retry 2026-04-02 02:27:56,806 - DEBUG - Response for deleting network () 2026-04-02 02:27:56,806 - INFO - Deleting VN ctest-vn-18854024 2026-04-02 02:27:56,954 - DEBUG - Response for deleting network () 2026-04-02 02:27:58,213 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 02:27:58,213 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-04-02 02:27:58,213 - INFO - -------------------------------------------------------------------------------- 2026-04-02 02:27:58,931 - INFO - Deleted project: ctest-TestRoutersBasic-24259227, ID : 37deb547-90e9-47cb-b848-7fb3acebb4f4