2026-01-08 18:10:15,457 - INFO - Domain Default found not creating 2026-01-08 18:10:15,625 - INFO - Project ctest-TestRoutersBasic-15040821 not found, creating it 2026-01-08 18:10:16,080 - INFO - Created Project:ctest-TestRoutersBasic-15040821, ID : e66b2290-2ab1-4fdd-9fef-c66685c8bf02 2026-01-08 18:10:17,543 - INFO - ================================================================================ 2026-01-08 18:10:17,543 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-08 18:10:17,543 - 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-08 18:10:17,799 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-08 18:10:17,799 - INFO - Initial checks done. Running the testcase now 2026-01-08 18:10:17,799 - INFO - 2026-01-08 18:10:18,518 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15040821 2026-01-08 18:10:18,613 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15040821 2026-01-08 18:10:18,949 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15040821', 'default']} 2026-01-08 18:10:19,256 - DEBUG - Response for create_network : {'network': {'id': 'b7abdca9-8b76-410b-b0f6-c6e15a8b9926', 'name': 'ctest-vn-83417704', 'tenant_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'project_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15040821', 'ctest-vn-83417704'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:10:19,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '8efd2083-63e1-4c02-9f6d-8881169be6a1', 'name': '', 'tenant_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'network_id': 'b7abdca9-8b76-410b-b0f6-c6e15a8b9926', 'ip_version': 4, 'cidr': '14.120.227.192/26', 'allocation_pools': [{'start': '14.120.227.194', 'end': '14.120.227.254'}], 'gateway_ip': '14.120.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.120.227.194', 'tags': [], 'project_id': 'e66b22902ab14fdd9fefc66685c8bf02'}} 2026-01-08 18:10:19,468 - INFO - Created VN ctest-vn-83417704 2026-01-08 18:10:19,517 - DEBUG - VN ctest-vn-83417704 UUID is b7abdca9-8b76-410b-b0f6-c6e15a8b9926 2026-01-08 18:10:19,850 - DEBUG - Response for create_network : {'network': {'id': '6c2c8518-8139-4204-beaa-f9dcf3a77225', 'name': 'ctest-ext_vn-74715292', 'tenant_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'project_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15040821', 'ctest-ext_vn-74715292'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 18:10:20,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '34161b8c-eea0-4551-b9b1-e96a11335035', 'name': '', 'tenant_id': 'e66b22902ab14fdd9fefc66685c8bf02', 'network_id': '6c2c8518-8139-4204-beaa-f9dcf3a77225', 'ip_version': 4, 'cidr': '157.235.161.0/26', 'allocation_pools': [{'start': '157.235.161.2', 'end': '157.235.161.62'}], 'gateway_ip': '157.235.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.235.161.2', 'tags': [], 'project_id': 'e66b22902ab14fdd9fefc66685c8bf02'}} 2026-01-08 18:10:20,053 - INFO - Created VN ctest-ext_vn-74715292 2026-01-08 18:10:20,105 - DEBUG - VN ctest-ext_vn-74715292 UUID is 6c2c8518-8139-4204-beaa-f9dcf3a77225 2026-01-08 18:10:20,279 - DEBUG - Services list from nova: [, , ] 2026-01-08 18:10:21,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4983-1) 2026-01-08 18:10:22,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4983-1) 2026-01-08 18:10:22,530 - INFO - Setting gateway for router 437f822e-4d6a-4c86-ad63-e235288d361f to network 6c2c8518-8139-4204-beaa-f9dcf3a77225 2026-01-08 18:10:22,591 - INFO - Adding interface with subnet_id 8efd2083-63e1-4c02-9f6d-8881169be6a1, port_id None to router 437f822e-4d6a-4c86-ad63-e235288d361f 2026-01-08 18:10:22,948 - INFO - Waiting for VM ctest-TestRoutersBasic-15040821-53237558 to be up.. 2026-01-08 18:10:23,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 18:10:28,209 - DEBUG - VM is in ACTIVE state now 2026-01-08 18:10:28,209 - INFO - VM name : ctest-TestRoutersBasic-15040821-53237558 2026-01-08 18:10:28,282 - DEBUG - VM ctest-TestRoutersBasic-15040821-53237558 ID is 3996a0c8-391b-402c-96f8-359f6d3f78ba 2026-01-08 18:10:28,300 - DEBUG - VM ctest-TestRoutersBasic-15040821-53237558 launched on Node cn-jenkins-deploy-platform-ansible-os-4983-1 2026-01-08 18:10:28,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3996a0c8-391b-402c-96f8-359f6d3f78ba 2026-01-08 18:10:28,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3996a0c8-391b-402c-96f8-359f6d3f78ba 2026-01-08 18:10:28,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d8e441a-fe67-4451-8d83-5c00c64adf91 2026-01-08 18:10:31,962 - 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 1019ms') 2026-01-08 18:10:31,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15040821-53237558 failed! 2026-01-08 18:10:32,021 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15040821:ctest-vn-83417704 is 14.120.227.193 and allocation pool is NOT set 2026-01-08 18:10:34,086 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.339 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.339/1.547/2.755/1.208 ms') 2026-01-08 18:10:34,086 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15040821-53237558 passed 2026-01-08 18:10:34,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:10:34,233 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15040821-53237558, IP 14.120.227.195, Port 22 2026-01-08 18:10:34,392 - DEBUG - VM ctest-TestRoutersBasic-15040821-53237558 is ready for SSH connections 2026-01-08 18:10:34,393 - INFO - Waiting for VM ctest-TestRoutersBasic-15040821-41408162 to be up.. 2026-01-08 18:10:34,467 - DEBUG - VM is in ACTIVE state now 2026-01-08 18:10:34,468 - INFO - VM name : ctest-TestRoutersBasic-15040821-41408162 2026-01-08 18:10:34,536 - DEBUG - VM ctest-TestRoutersBasic-15040821-41408162 ID is 45ba8816-2f8a-4317-96c1-cf5ac8dd3ffd 2026-01-08 18:10:34,536 - DEBUG - VM ctest-TestRoutersBasic-15040821-41408162 launched on Node cn-jenkins-deploy-platform-ansible-os-4983-1 2026-01-08 18:10:34,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/45ba8816-2f8a-4317-96c1-cf5ac8dd3ffd 2026-01-08 18:10:34,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d18ad8b3-b698-4553-b7bc-4eda560fe018 2026-01-08 18:10:35,864 - 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=6.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.66 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.661/4.137/6.614/2.476 ms') 2026-01-08 18:10:35,864 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15040821-41408162 passed 2026-01-08 18:10:36,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:10:36,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15040821-41408162, IP 157.235.161.3, Port 22 2026-01-08 18:10:36,173 - DEBUG - VM ctest-TestRoutersBasic-15040821-41408162 is ready for SSH connections 2026-01-08 18:10:36,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 18:10:36,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.235.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-08 18:10:36,173 - DEBUG - ping -s 56 -c 3 -W 1 157.235.161.3 2026-01-08 18:10:39,868 - DEBUG - PING 157.235.161.3 (157.235.161.3): 56 data bytes 64 bytes from 157.235.161.3: seq=0 ttl=62 time=5.760 ms 64 bytes from 157.235.161.3: seq=1 ttl=62 time=1.082 ms 64 bytes from 157.235.161.3: seq=2 ttl=62 time=1.223 ms --- 157.235.161.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.082/2.688/5.760 ms 2026-01-08 18:10:39,868 - INFO - Ping to IP 157.235.161.3 from VM ctest-TestRoutersBasic-15040821-53237558 passed 2026-01-08 18:10:39,868 - INFO - Deleting interface with subnet_id 8efd2083-63e1-4c02-9f6d-8881169be6a1, port_id None from router 437f822e-4d6a-4c86-ad63-e235288d361f 2026-01-08 18:10:40,049 - INFO - Deleting VM ctest-TestRoutersBasic-15040821-41408162 2026-01-08 18:10:40,139 - INFO - Deleting VM ctest-TestRoutersBasic-15040821-53237558 2026-01-08 18:10:40,216 - INFO - Deleting VN ctest-ext_vn-74715292 2026-01-08 18:10:40,290 - DEBUG - VN 6c2c8518-8139-4204-beaa-f9dcf3a77225 still in use: Unable to complete operation on network 6c2c8518-8139-4204-beaa-f9dcf3a77225. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9cfae3a-b7b2-439c-9710-d184f69d3931'] 2026-01-08 18:10:40,291 - WARNING - Deleting VN ctest-ext_vn-74715292 failed..Will retry 2026-01-08 18:10:42,385 - DEBUG - Response for deleting network () 2026-01-08 18:10:42,385 - INFO - Deleting VN ctest-vn-83417704 2026-01-08 18:10:42,494 - DEBUG - Response for deleting network () 2026-01-08 18:10:42,750 - DEBUG - No XMPP flaps were noticed during the test 2026-01-08 18:10:42,750 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-08 18:10:42,750 - INFO - -------------------------------------------------------------------------------- 2026-01-08 18:10:43,462 - INFO - Deleted project: ctest-TestRoutersBasic-15040821, ID : e66b2290-2ab1-4fdd-9fef-c66685c8bf02