2026-04-21 15:55:19,552 - INFO - Domain Default found not creating 2026-04-21 15:55:19,800 - INFO - Project ctest-TestRoutersBasic-66582947 not found, creating it 2026-04-21 15:55:20,330 - INFO - Created Project:ctest-TestRoutersBasic-66582947, ID : e6dd64f3-6418-4683-8a23-a00766e67008 2026-04-21 15:55:22,112 - INFO - ================================================================================ 2026-04-21 15:55:22,112 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-21 15:55:22,112 - 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-21 15:55:22,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 15:55:22,388 - INFO - Initial checks done. Running the testcase now 2026-04-21 15:55:22,388 - INFO - 2026-04-21 15:55:23,195 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66582947 2026-04-21 15:55:23,296 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66582947 2026-04-21 15:55:23,652 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66582947', 'default']} 2026-04-21 15:55:24,002 - DEBUG - Response for create_network : {'network': {'id': '0d416298-dfda-482d-9bcd-e3f25cbced17', 'name': 'ctest-vn-59912286', 'tenant_id': 'e6dd64f3641846838a23a00766e67008', 'project_id': 'e6dd64f3641846838a23a00766e67008', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66582947', 'ctest-vn-59912286'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:55:24,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '048f7ba7-e24d-458e-ae6a-f9e0f8524d52', 'name': '', 'tenant_id': 'e6dd64f3641846838a23a00766e67008', 'network_id': '0d416298-dfda-482d-9bcd-e3f25cbced17', 'ip_version': 4, 'cidr': '164.232.85.192/26', 'allocation_pools': [{'start': '164.232.85.194', 'end': '164.232.85.254'}], 'gateway_ip': '164.232.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.232.85.194', 'tags': [], 'project_id': 'e6dd64f3641846838a23a00766e67008'}} 2026-04-21 15:55:24,229 - INFO - Created VN ctest-vn-59912286 2026-04-21 15:55:24,288 - DEBUG - VN ctest-vn-59912286 UUID is 0d416298-dfda-482d-9bcd-e3f25cbced17 2026-04-21 15:55:24,687 - DEBUG - Response for create_network : {'network': {'id': 'ba9bddfa-cf73-43b7-b74e-b70abc07b575', 'name': 'ctest-ext_vn-72021146', 'tenant_id': 'e6dd64f3641846838a23a00766e67008', 'project_id': 'e6dd64f3641846838a23a00766e67008', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66582947', 'ctest-ext_vn-72021146'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:55:24,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca5b54bc-1d30-4ca9-b186-759a8c4a8728', 'name': '', 'tenant_id': 'e6dd64f3641846838a23a00766e67008', 'network_id': 'ba9bddfa-cf73-43b7-b74e-b70abc07b575', 'ip_version': 4, 'cidr': '79.94.38.64/26', 'allocation_pools': [{'start': '79.94.38.66', 'end': '79.94.38.126'}], 'gateway_ip': '79.94.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.94.38.66', 'tags': [], 'project_id': 'e6dd64f3641846838a23a00766e67008'}} 2026-04-21 15:55:24,936 - INFO - Created VN ctest-ext_vn-72021146 2026-04-21 15:55:24,992 - DEBUG - VN ctest-ext_vn-72021146 UUID is ba9bddfa-cf73-43b7-b74e-b70abc07b575 2026-04-21 15:55:25,193 - DEBUG - Services list from nova: [, , ] 2026-04-21 15:55:26,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:55:27,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:55:27,831 - INFO - Setting gateway for router d6f7c29d-d121-4d37-a441-0569e4858b70 to network ba9bddfa-cf73-43b7-b74e-b70abc07b575 2026-04-21 15:55:27,909 - INFO - Adding interface with subnet_id 048f7ba7-e24d-458e-ae6a-f9e0f8524d52, port_id None to router d6f7c29d-d121-4d37-a441-0569e4858b70 2026-04-21 15:55:28,397 - INFO - Waiting for VM ctest-TestRoutersBasic-66582947-81164612 to be up.. 2026-04-21 15:55:28,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 15:55:33,667 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:55:33,667 - INFO - VM name : ctest-TestRoutersBasic-66582947-81164612 2026-04-21 15:55:33,751 - DEBUG - VM ctest-TestRoutersBasic-66582947-81164612 ID is e34ba95e-6386-464c-9857-c77d5355b00b 2026-04-21 15:55:33,778 - DEBUG - VM ctest-TestRoutersBasic-66582947-81164612 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:55:33,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e34ba95e-6386-464c-9857-c77d5355b00b 2026-04-21 15:55:34,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e34ba95e-6386-464c-9857-c77d5355b00b 2026-04-21 15:55:34,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9866de4c-7c05-4c05-877b-055bc5a03f68 2026-04-21 15:55:37,540 - 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 1018ms') 2026-04-21 15:55:37,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66582947-81164612 failed! 2026-04-21 15:55:37,596 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66582947:ctest-vn-59912286 is 164.232.85.193 and allocation pool is NOT set 2026-04-21 15:55:39,667 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.765/2.966/3.168/0.201 ms') 2026-04-21 15:55:39,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66582947-81164612 passed 2026-04-21 15:55:39,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:55:39,832 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66582947-81164612, IP 164.232.85.195, Port 22 2026-04-21 15:55:39,902 - 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-21 15:55:40,009 - DEBUG - VM ctest-TestRoutersBasic-66582947-81164612 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-21 15:55:45,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:55:45,010 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66582947-81164612, IP 164.232.85.195, Port 22 2026-04-21 15:55:45,179 - DEBUG - VM ctest-TestRoutersBasic-66582947-81164612 is ready for SSH connections 2026-04-21 15:55:45,179 - INFO - Waiting for VM ctest-TestRoutersBasic-66582947-01837943 to be up.. 2026-04-21 15:55:45,271 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:55:45,271 - INFO - VM name : ctest-TestRoutersBasic-66582947-01837943 2026-04-21 15:55:45,369 - DEBUG - VM ctest-TestRoutersBasic-66582947-01837943 ID is 1e8298ab-b19a-48f6-8b44-ed1b23768273 2026-04-21 15:55:45,369 - DEBUG - VM ctest-TestRoutersBasic-66582947-01837943 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:55:45,470 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e8298ab-b19a-48f6-8b44-ed1b23768273 2026-04-21 15:55:45,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/afb91a43-72fa-41d4-8e0c-11bcfe5dee75 2026-04-21 15:55:46,717 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/2.479/4.444/1.965 ms') 2026-04-21 15:55:46,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66582947-01837943 passed 2026-04-21 15:55:46,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:55:46,872 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66582947-01837943, IP 79.94.38.67, Port 22 2026-04-21 15:55:47,028 - DEBUG - VM ctest-TestRoutersBasic-66582947-01837943 is ready for SSH connections 2026-04-21 15:55:47,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:55:47,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.94.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 15:55:47,029 - DEBUG - ping -s 56 -c 3 -W 1 79.94.38.67 2026-04-21 15:55:50,764 - DEBUG - PING 79.94.38.67 (79.94.38.67): 56 data bytes 64 bytes from 79.94.38.67: seq=0 ttl=62 time=8.460 ms 64 bytes from 79.94.38.67: seq=1 ttl=62 time=1.210 ms 64 bytes from 79.94.38.67: seq=2 ttl=62 time=1.293 ms --- 79.94.38.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.210/3.654/8.460 ms 2026-04-21 15:55:50,764 - INFO - Ping to IP 79.94.38.67 from VM ctest-TestRoutersBasic-66582947-81164612 passed 2026-04-21 15:55:50,764 - INFO - Deleting interface with subnet_id 048f7ba7-e24d-458e-ae6a-f9e0f8524d52, port_id None from router d6f7c29d-d121-4d37-a441-0569e4858b70 2026-04-21 15:55:50,963 - INFO - Deleting VM ctest-TestRoutersBasic-66582947-01837943 2026-04-21 15:55:51,065 - INFO - Deleting VM ctest-TestRoutersBasic-66582947-81164612 2026-04-21 15:55:51,187 - INFO - Deleting VN ctest-ext_vn-72021146 2026-04-21 15:55:51,283 - DEBUG - VN ba9bddfa-cf73-43b7-b74e-b70abc07b575 still in use: Unable to complete operation on network ba9bddfa-cf73-43b7-b74e-b70abc07b575. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f20bd65-fb28-4269-ac59-cb4e818f52ec'] 2026-04-21 15:55:51,283 - WARNING - Deleting VN ctest-ext_vn-72021146 failed..Will retry 2026-04-21 15:55:53,426 - DEBUG - Response for deleting network () 2026-04-21 15:55:53,426 - INFO - Deleting VN ctest-vn-59912286 2026-04-21 15:55:53,565 - DEBUG - Response for deleting network () 2026-04-21 15:55:53,846 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 15:55:53,846 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-04-21 15:55:53,846 - INFO - -------------------------------------------------------------------------------- 2026-04-21 15:55:54,635 - INFO - Deleted project: ctest-TestRoutersBasic-66582947, ID : e6dd64f3-6418-4683-8a23-a00766e67008