2026-06-19 21:14:35,485 - INFO - Domain Default found not creating 2026-06-19 21:14:35,676 - INFO - Project ctest-TestRoutersBasic-66203797 not found, creating it 2026-06-19 21:14:36,126 - INFO - Created Project:ctest-TestRoutersBasic-66203797, ID : 9e428fce-cc78-4b11-97ff-94361a643b2d 2026-06-19 21:14:37,736 - INFO - ================================================================================ 2026-06-19 21:14:37,736 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 21:14:37,737 - 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-06-19 21:14:37,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-06-19 21:14:37,999 - INFO - Initial checks done. Running the testcase now 2026-06-19 21:14:37,999 - INFO - 2026-06-19 21:14:38,845 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66203797 2026-06-19 21:14:38,941 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66203797 2026-06-19 21:14:39,269 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66203797', 'default']} 2026-06-19 21:14:39,539 - DEBUG - Response for create_network : {'network': {'id': '9ab79403-67e4-486c-9b8b-4da547a93148', 'name': 'ctest-vn-58101118', 'tenant_id': '9e428fcecc784b1197ff94361a643b2d', 'project_id': '9e428fcecc784b1197ff94361a643b2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66203797', 'ctest-vn-58101118'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:14:39,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaa197ab-7239-4484-8e4e-59ce42fc3ee6', 'name': '', 'tenant_id': '9e428fcecc784b1197ff94361a643b2d', 'network_id': '9ab79403-67e4-486c-9b8b-4da547a93148', 'ip_version': 4, 'cidr': '129.18.41.128/26', 'allocation_pools': [{'start': '129.18.41.130', 'end': '129.18.41.190'}], 'gateway_ip': '129.18.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.18.41.130', 'tags': [], 'project_id': '9e428fcecc784b1197ff94361a643b2d'}} 2026-06-19 21:14:39,741 - INFO - Created VN ctest-vn-58101118 2026-06-19 21:14:39,797 - DEBUG - VN ctest-vn-58101118 UUID is 9ab79403-67e4-486c-9b8b-4da547a93148 2026-06-19 21:14:40,161 - DEBUG - Response for create_network : {'network': {'id': 'f83fca3d-e84c-4bb1-abf6-a38794281ef6', 'name': 'ctest-ext_vn-45971223', 'tenant_id': '9e428fcecc784b1197ff94361a643b2d', 'project_id': '9e428fcecc784b1197ff94361a643b2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66203797', 'ctest-ext_vn-45971223'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 21:14:40,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '441e22bd-de4e-4c62-acd5-295e3f5b46a0', 'name': '', 'tenant_id': '9e428fcecc784b1197ff94361a643b2d', 'network_id': 'f83fca3d-e84c-4bb1-abf6-a38794281ef6', 'ip_version': 4, 'cidr': '4.26.147.64/26', 'allocation_pools': [{'start': '4.26.147.66', 'end': '4.26.147.126'}], 'gateway_ip': '4.26.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.26.147.66', 'tags': [], 'project_id': '9e428fcecc784b1197ff94361a643b2d'}} 2026-06-19 21:14:40,376 - INFO - Created VN ctest-ext_vn-45971223 2026-06-19 21:14:40,433 - DEBUG - VN ctest-ext_vn-45971223 UUID is f83fca3d-e84c-4bb1-abf6-a38794281ef6 2026-06-19 21:14:40,635 - DEBUG - Services list from nova: [, , ] 2026-06-19 21:14:41,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6005-1) 2026-06-19 21:14:42,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6005-1) 2026-06-19 21:14:42,999 - INFO - Setting gateway for router a76240f1-dcf6-47ea-b584-a5836b95b83c to network f83fca3d-e84c-4bb1-abf6-a38794281ef6 2026-06-19 21:14:43,049 - INFO - Adding interface with subnet_id aaa197ab-7239-4484-8e4e-59ce42fc3ee6, port_id None to router a76240f1-dcf6-47ea-b584-a5836b95b83c 2026-06-19 21:14:43,293 - INFO - Waiting for VM ctest-TestRoutersBasic-66203797-98323324 to be up.. 2026-06-19 21:14:43,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 21:14:48,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 21:14:53,501 - DEBUG - VM is in ACTIVE state now 2026-06-19 21:14:53,501 - INFO - VM name : ctest-TestRoutersBasic-66203797-98323324 2026-06-19 21:14:53,570 - DEBUG - VM ctest-TestRoutersBasic-66203797-98323324 ID is c44b9743-a3fd-4336-a71d-901e5be4450f 2026-06-19 21:14:53,592 - DEBUG - VM ctest-TestRoutersBasic-66203797-98323324 launched on Node cn-jenkins-deploy-platform-ansible-os-6005-1 2026-06-19 21:14:53,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c44b9743-a3fd-4336-a71d-901e5be4450f 2026-06-19 21:14:54,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c44b9743-a3fd-4336-a71d-901e5be4450f 2026-06-19 21:14:54,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a01d33b0-54f1-454c-8223-7c5bcf07473c 2026-06-19 21:14:57,324 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-19 21:14:57,324 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-66203797-98323324 failed! 2026-06-19 21:14:57,381 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66203797:ctest-vn-58101118 is 129.18.41.129 and allocation pool is NOT set 2026-06-19 21:14:59,446 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=8.77 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.467 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.467/4.619/8.772/4.152 ms') 2026-06-19 21:14:59,446 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-66203797-98323324 passed 2026-06-19 21:14:59,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:14:59,593 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66203797-98323324, IP 129.18.41.131, Port 22 2026-06-19 21:14:59,763 - DEBUG - VM ctest-TestRoutersBasic-66203797-98323324 is ready for SSH connections 2026-06-19 21:14:59,763 - INFO - Waiting for VM ctest-TestRoutersBasic-66203797-14825498 to be up.. 2026-06-19 21:14:59,865 - DEBUG - VM is in ACTIVE state now 2026-06-19 21:14:59,865 - INFO - VM name : ctest-TestRoutersBasic-66203797-14825498 2026-06-19 21:14:59,938 - DEBUG - VM ctest-TestRoutersBasic-66203797-14825498 ID is 44b1d542-4e9a-4bdc-814c-979cea24ef70 2026-06-19 21:14:59,938 - DEBUG - VM ctest-TestRoutersBasic-66203797-14825498 launched on Node cn-jenkins-deploy-platform-ansible-os-6005-1 2026-06-19 21:15:00,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/44b1d542-4e9a-4bdc-814c-979cea24ef70 2026-06-19 21:15:00,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2261b98a-20da-4ea4-9341-0021de961416 2026-06-19 21:15:01,250 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=10.6 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.76 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.763/6.178/10.593/4.415 ms') 2026-06-19 21:15:01,250 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-66203797-14825498 passed 2026-06-19 21:15:01,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:15:01,397 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66203797-14825498, IP 4.26.147.68, Port 22 2026-06-19 21:15:01,463 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 21:15:01,540 - DEBUG - VM ctest-TestRoutersBasic-66203797-14825498 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 21:15:06,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:15:06,541 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66203797-14825498, IP 4.26.147.68, Port 22 2026-06-19 21:15:06,697 - DEBUG - VM ctest-TestRoutersBasic-66203797-14825498 is ready for SSH connections 2026-06-19 21:15:06,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 21:15:06,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.26.147.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-19 21:15:06,697 - DEBUG - ping -s 56 -c 3 -W 1 4.26.147.68 2026-06-19 21:15:09,300 - DEBUG - PING 4.26.147.68 (4.26.147.68): 56 data bytes 64 bytes from 4.26.147.68: seq=0 ttl=62 time=6.058 ms 64 bytes from 4.26.147.68: seq=1 ttl=62 time=0.916 ms 64 bytes from 4.26.147.68: seq=2 ttl=62 time=0.955 ms --- 4.26.147.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/2.643/6.058 ms 2026-06-19 21:15:09,300 - INFO - Ping to IP 4.26.147.68 from VM ctest-TestRoutersBasic-66203797-98323324 passed 2026-06-19 21:15:09,300 - INFO - Deleting interface with subnet_id aaa197ab-7239-4484-8e4e-59ce42fc3ee6, port_id None from router a76240f1-dcf6-47ea-b584-a5836b95b83c 2026-06-19 21:15:09,478 - INFO - Deleting VM ctest-TestRoutersBasic-66203797-14825498 2026-06-19 21:15:09,544 - INFO - Deleting VM ctest-TestRoutersBasic-66203797-98323324 2026-06-19 21:15:09,608 - INFO - Deleting VN ctest-ext_vn-45971223 2026-06-19 21:15:09,680 - DEBUG - VN f83fca3d-e84c-4bb1-abf6-a38794281ef6 still in use: Unable to complete operation on network f83fca3d-e84c-4bb1-abf6-a38794281ef6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-164f48a8-8aa5-46e0-bcca-b5159a6d6235'] 2026-06-19 21:15:09,680 - WARNING - Deleting VN ctest-ext_vn-45971223 failed..Will retry 2026-06-19 21:15:11,825 - DEBUG - Response for deleting network () 2026-06-19 21:15:11,825 - INFO - Deleting VN ctest-vn-58101118 2026-06-19 21:15:11,920 - DEBUG - Response for deleting network () 2026-06-19 21:15:12,182 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 21:15:12,182 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35] 2026-06-19 21:15:12,182 - INFO - -------------------------------------------------------------------------------- 2026-06-19 21:15:13,014 - INFO - Deleted project: ctest-TestRoutersBasic-66203797, ID : 9e428fce-cc78-4b11-97ff-94361a643b2d