2026-01-12 19:24:54,579 - INFO - Domain Default found not creating 2026-01-12 19:24:54,750 - INFO - Project ctest-TestRoutersBasic-79168012 not found, creating it 2026-01-12 19:24:55,222 - INFO - Created Project:ctest-TestRoutersBasic-79168012, ID : bd5328bc-6caf-4fbc-bcbe-6dbf1216207b 2026-01-12 19:24:56,917 - INFO - ================================================================================ 2026-01-12 19:24:56,918 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-12 19:24:56,918 - 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-12 19:24:57,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-12 19:24:57,177 - INFO - Initial checks done. Running the testcase now 2026-01-12 19:24:57,177 - INFO - 2026-01-12 19:24:57,905 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79168012 2026-01-12 19:24:57,999 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79168012 2026-01-12 19:24:58,319 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79168012', 'default']} 2026-01-12 19:24:58,618 - DEBUG - Response for create_network : {'network': {'id': 'bc486d34-8f48-4eaf-8f95-3454ebfa759d', 'name': 'ctest-vn-01901743', 'tenant_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'project_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79168012', 'ctest-vn-01901743'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:24:58,805 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb9a3359-b511-4053-b14b-01e94bed6491', 'name': '', 'tenant_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'network_id': 'bc486d34-8f48-4eaf-8f95-3454ebfa759d', 'ip_version': 4, 'cidr': '147.91.99.64/26', 'allocation_pools': [{'start': '147.91.99.66', 'end': '147.91.99.126'}], 'gateway_ip': '147.91.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.91.99.66', 'tags': [], 'project_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b'}} 2026-01-12 19:24:58,821 - INFO - Created VN ctest-vn-01901743 2026-01-12 19:24:58,875 - DEBUG - VN ctest-vn-01901743 UUID is bc486d34-8f48-4eaf-8f95-3454ebfa759d 2026-01-12 19:24:59,277 - DEBUG - Response for create_network : {'network': {'id': '32231caf-c69d-499f-aff1-1644803cfdee', 'name': 'ctest-ext_vn-08433747', 'tenant_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'project_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79168012', 'ctest-ext_vn-08433747'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:24:59,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e87d76d-87df-4389-a490-59ca76e3364e', 'name': '', 'tenant_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b', 'network_id': '32231caf-c69d-499f-aff1-1644803cfdee', 'ip_version': 4, 'cidr': '182.0.25.0/26', 'allocation_pools': [{'start': '182.0.25.2', 'end': '182.0.25.62'}], 'gateway_ip': '182.0.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.0.25.2', 'tags': [], 'project_id': 'bd5328bc6caf4fbcbcbe6dbf1216207b'}} 2026-01-12 19:24:59,528 - INFO - Created VN ctest-ext_vn-08433747 2026-01-12 19:24:59,579 - DEBUG - VN ctest-ext_vn-08433747 UUID is 32231caf-c69d-499f-aff1-1644803cfdee 2026-01-12 19:24:59,762 - DEBUG - Services list from nova: [, , ] 2026-01-12 19:25:00,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:25:02,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:25:02,299 - INFO - Setting gateway for router 97c6a6cd-59a9-4dad-99c6-ae7a907591c9 to network 32231caf-c69d-499f-aff1-1644803cfdee 2026-01-12 19:25:02,386 - INFO - Adding interface with subnet_id eb9a3359-b511-4053-b14b-01e94bed6491, port_id None to router 97c6a6cd-59a9-4dad-99c6-ae7a907591c9 2026-01-12 19:25:02,752 - INFO - Waiting for VM ctest-TestRoutersBasic-79168012-88019484 to be up.. 2026-01-12 19:25:02,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 19:25:07,944 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:25:07,944 - INFO - VM name : ctest-TestRoutersBasic-79168012-88019484 2026-01-12 19:25:08,028 - DEBUG - VM ctest-TestRoutersBasic-79168012-88019484 ID is 374587c5-e799-4938-ba97-21fc6edfb7b3 2026-01-12 19:25:08,049 - DEBUG - VM ctest-TestRoutersBasic-79168012-88019484 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:25:08,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/374587c5-e799-4938-ba97-21fc6edfb7b3 2026-01-12 19:25:08,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/374587c5-e799-4938-ba97-21fc6edfb7b3 2026-01-12 19:25:08,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f37aa05f-f3cb-4a68-ba30-b609f1f0199b 2026-01-12 19:25:11,737 - 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 1025ms') 2026-01-12 19:25:11,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79168012-88019484 failed! 2026-01-12 19:25:11,791 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79168012:ctest-vn-01901743 is 147.91.99.65 and allocation pool is NOT set 2026-01-12 19:25:13,854 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.068/3.678/6.288/2.610 ms') 2026-01-12 19:25:13,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79168012-88019484 passed 2026-01-12 19:25:14,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:25:14,015 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79168012-88019484, IP 147.91.99.67, Port 22 2026-01-12 19:25:14,178 - DEBUG - VM ctest-TestRoutersBasic-79168012-88019484 is ready for SSH connections 2026-01-12 19:25:14,178 - INFO - Waiting for VM ctest-TestRoutersBasic-79168012-37745296 to be up.. 2026-01-12 19:25:14,261 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:25:14,261 - INFO - VM name : ctest-TestRoutersBasic-79168012-37745296 2026-01-12 19:25:14,345 - DEBUG - VM ctest-TestRoutersBasic-79168012-37745296 ID is e2b3ea2e-d6b8-48b7-887b-16f3ca443411 2026-01-12 19:25:14,345 - DEBUG - VM ctest-TestRoutersBasic-79168012-37745296 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:25:14,424 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2b3ea2e-d6b8-48b7-887b-16f3ca443411 2026-01-12 19:25:14,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5918422d-ef8c-40c4-a49d-8d437b2d8abf 2026-01-12 19:25:15,671 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.120/2.618/4.117/1.498 ms') 2026-01-12 19:25:15,672 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79168012-37745296 passed 2026-01-12 19:25:15,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:25:15,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79168012-37745296, IP 182.0.25.3, Port 22 2026-01-12 19:25:15,885 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-12 19:25:15,962 - DEBUG - VM ctest-TestRoutersBasic-79168012-37745296 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 19:25:20,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:25:20,963 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79168012-37745296, IP 182.0.25.3, Port 22 2026-01-12 19:25:21,138 - DEBUG - VM ctest-TestRoutersBasic-79168012-37745296 is ready for SSH connections 2026-01-12 19:25:21,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:25:21,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.0.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-12 19:25:21,138 - DEBUG - ping -s 56 -c 3 -W 1 182.0.25.3 2026-01-12 19:25:24,864 - DEBUG - PING 182.0.25.3 (182.0.25.3): 56 data bytes 64 bytes from 182.0.25.3: seq=0 ttl=62 time=4.896 ms 64 bytes from 182.0.25.3: seq=1 ttl=62 time=1.605 ms 64 bytes from 182.0.25.3: seq=2 ttl=62 time=1.061 ms --- 182.0.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.061/2.520/4.896 ms 2026-01-12 19:25:24,865 - INFO - Ping to IP 182.0.25.3 from VM ctest-TestRoutersBasic-79168012-88019484 passed 2026-01-12 19:25:24,865 - INFO - Deleting interface with subnet_id eb9a3359-b511-4053-b14b-01e94bed6491, port_id None from router 97c6a6cd-59a9-4dad-99c6-ae7a907591c9 2026-01-12 19:25:25,047 - INFO - Deleting VM ctest-TestRoutersBasic-79168012-37745296 2026-01-12 19:25:25,136 - INFO - Deleting VM ctest-TestRoutersBasic-79168012-88019484 2026-01-12 19:25:25,232 - INFO - Deleting VN ctest-ext_vn-08433747 2026-01-12 19:25:25,318 - DEBUG - VN 32231caf-c69d-499f-aff1-1644803cfdee still in use: Unable to complete operation on network 32231caf-c69d-499f-aff1-1644803cfdee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e37449a1-93e5-4378-9ca7-494839334607'] 2026-01-12 19:25:25,318 - WARNING - Deleting VN ctest-ext_vn-08433747 failed..Will retry 2026-01-12 19:25:27,421 - DEBUG - Response for deleting network () 2026-01-12 19:25:27,421 - INFO - Deleting VN ctest-vn-01901743 2026-01-12 19:25:27,526 - DEBUG - Response for deleting network () 2026-01-12 19:25:27,791 - DEBUG - No XMPP flaps were noticed during the test 2026-01-12 19:25:27,791 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-12 19:25:27,791 - INFO - -------------------------------------------------------------------------------- 2026-01-12 19:25:28,511 - INFO - Deleted project: ctest-TestRoutersBasic-79168012, ID : bd5328bc-6caf-4fbc-bcbe-6dbf1216207b