2026-06-16 15:34:44,250 - INFO - Domain Default found not creating 2026-06-16 15:34:44,381 - INFO - Project ctest-TestRoutersBasic-03732757 not found, creating it 2026-06-16 15:34:44,812 - INFO - Created Project:ctest-TestRoutersBasic-03732757, ID : 34285e0f-a399-4242-b342-3da2cc19c1c3 2026-06-16 15:34:46,188 - INFO - ================================================================================ 2026-06-16 15:34:46,188 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-16 15:34:46,188 - 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-16 15:34:46,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-06-16 15:34:46,451 - INFO - Initial checks done. Running the testcase now 2026-06-16 15:34:46,451 - INFO - 2026-06-16 15:34:47,251 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03732757 2026-06-16 15:34:47,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03732757 2026-06-16 15:34:47,642 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03732757', 'default']} 2026-06-16 15:34:47,886 - DEBUG - Response for create_network : {'network': {'id': 'e24f3dd4-b956-48c1-85d6-1657fdc98735', 'name': 'ctest-vn-93950955', 'tenant_id': '34285e0fa3994242b3423da2cc19c1c3', 'project_id': '34285e0fa3994242b3423da2cc19c1c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03732757', 'ctest-vn-93950955'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 15:34:48,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '860405af-c29e-4848-b5ff-88e6c320778a', 'name': '', 'tenant_id': '34285e0fa3994242b3423da2cc19c1c3', 'network_id': 'e24f3dd4-b956-48c1-85d6-1657fdc98735', 'ip_version': 4, 'cidr': '3.199.50.0/26', 'allocation_pools': [{'start': '3.199.50.2', 'end': '3.199.50.62'}], 'gateway_ip': '3.199.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.199.50.2', 'tags': [], 'project_id': '34285e0fa3994242b3423da2cc19c1c3'}} 2026-06-16 15:34:48,031 - INFO - Created VN ctest-vn-93950955 2026-06-16 15:34:48,082 - DEBUG - VN ctest-vn-93950955 UUID is e24f3dd4-b956-48c1-85d6-1657fdc98735 2026-06-16 15:34:48,383 - DEBUG - Response for create_network : {'network': {'id': '39d1ad04-bd31-44e8-9447-f5b80da0543a', 'name': 'ctest-ext_vn-40299519', 'tenant_id': '34285e0fa3994242b3423da2cc19c1c3', 'project_id': '34285e0fa3994242b3423da2cc19c1c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03732757', 'ctest-ext_vn-40299519'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 15:34:48,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d39eccd-3ace-4520-be3b-f9acbf61ecb9', 'name': '', 'tenant_id': '34285e0fa3994242b3423da2cc19c1c3', 'network_id': '39d1ad04-bd31-44e8-9447-f5b80da0543a', 'ip_version': 4, 'cidr': '216.114.141.0/26', 'allocation_pools': [{'start': '216.114.141.2', 'end': '216.114.141.62'}], 'gateway_ip': '216.114.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.114.141.2', 'tags': [], 'project_id': '34285e0fa3994242b3423da2cc19c1c3'}} 2026-06-16 15:34:48,585 - INFO - Created VN ctest-ext_vn-40299519 2026-06-16 15:34:48,634 - DEBUG - VN ctest-ext_vn-40299519 UUID is 39d1ad04-bd31-44e8-9447-f5b80da0543a 2026-06-16 15:34:48,793 - DEBUG - Services list from nova: [, , ] 2026-06-16 15:34:49,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5953-1) 2026-06-16 15:34:50,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5953-1) 2026-06-16 15:34:50,782 - INFO - Setting gateway for router 8750ba25-12db-4cab-bc09-ccd1d8291d40 to network 39d1ad04-bd31-44e8-9447-f5b80da0543a 2026-06-16 15:34:50,818 - INFO - Adding interface with subnet_id 860405af-c29e-4848-b5ff-88e6c320778a, port_id None to router 8750ba25-12db-4cab-bc09-ccd1d8291d40 2026-06-16 15:34:50,996 - INFO - Waiting for VM ctest-TestRoutersBasic-03732757-25502062 to be up.. 2026-06-16 15:34:51,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 15:34:56,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 15:35:01,225 - DEBUG - VM is in ACTIVE state now 2026-06-16 15:35:01,225 - INFO - VM name : ctest-TestRoutersBasic-03732757-25502062 2026-06-16 15:35:01,290 - DEBUG - VM ctest-TestRoutersBasic-03732757-25502062 ID is 2173a24d-f9ad-4a02-8036-fc4b402147c5 2026-06-16 15:35:01,305 - DEBUG - VM ctest-TestRoutersBasic-03732757-25502062 launched on Node cn-jenkins-deploy-platform-ansible-os-5953-1 2026-06-16 15:35:01,358 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2173a24d-f9ad-4a02-8036-fc4b402147c5 2026-06-16 15:35:01,676 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2173a24d-f9ad-4a02-8036-fc4b402147c5 2026-06-16 15:35:02,018 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d93624e4-dc64-4af8-aeb7-78701ef3eef6 2026-06-16 15:35:05,268 - 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 1018ms') 2026-06-16 15:35:05,268 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-03732757-25502062 failed! 2026-06-16 15:35:05,322 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03732757:ctest-vn-93950955 is 3.199.50.1 and allocation pool is NOT set 2026-06-16 15:35:07,384 - 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=1.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.318 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.318/1.146/1.974/0.828 ms') 2026-06-16 15:35:07,384 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-03732757-25502062 passed 2026-06-16 15:35:07,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:07,538 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03732757-25502062, IP 3.199.50.3, Port 22 2026-06-16 15:35:07,697 - DEBUG - VM ctest-TestRoutersBasic-03732757-25502062 is ready for SSH connections 2026-06-16 15:35:07,697 - INFO - Waiting for VM ctest-TestRoutersBasic-03732757-41961143 to be up.. 2026-06-16 15:35:07,764 - DEBUG - VM is in ACTIVE state now 2026-06-16 15:35:07,764 - INFO - VM name : ctest-TestRoutersBasic-03732757-41961143 2026-06-16 15:35:07,819 - DEBUG - VM ctest-TestRoutersBasic-03732757-41961143 ID is 70c1bab5-c597-4b0a-a9bc-cc408f70bdc6 2026-06-16 15:35:07,819 - DEBUG - VM ctest-TestRoutersBasic-03732757-41961143 launched on Node cn-jenkins-deploy-platform-ansible-os-5953-1 2026-06-16 15:35:07,870 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70c1bab5-c597-4b0a-a9bc-cc408f70bdc6 2026-06-16 15:35:07,877 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/49ec0bfd-7641-4c9b-a513-083f55d8c7ec 2026-06-16 15:35:09,104 - 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=3.25 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.363 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.363/1.808/3.253/1.445 ms') 2026-06-16 15:35:09,104 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-03732757-41961143 passed 2026-06-16 15:35:09,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:09,251 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03732757-41961143, IP 216.114.141.4, Port 22 2026-06-16 15:35:09,417 - DEBUG - VM ctest-TestRoutersBasic-03732757-41961143 is ready for SSH connections 2026-06-16 15:35:09,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 15:35:09,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.114.141.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-16 15:35:09,418 - DEBUG - ping -s 56 -c 3 -W 1 216.114.141.4 2026-06-16 15:35:11,971 - DEBUG - PING 216.114.141.4 (216.114.141.4): 56 data bytes 64 bytes from 216.114.141.4: seq=0 ttl=62 time=6.103 ms 64 bytes from 216.114.141.4: seq=1 ttl=62 time=0.893 ms 64 bytes from 216.114.141.4: seq=2 ttl=62 time=1.809 ms --- 216.114.141.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/2.935/6.103 ms 2026-06-16 15:35:11,971 - INFO - Ping to IP 216.114.141.4 from VM ctest-TestRoutersBasic-03732757-25502062 passed 2026-06-16 15:35:11,971 - INFO - Deleting interface with subnet_id 860405af-c29e-4848-b5ff-88e6c320778a, port_id None from router 8750ba25-12db-4cab-bc09-ccd1d8291d40 2026-06-16 15:35:12,144 - INFO - Deleting VM ctest-TestRoutersBasic-03732757-41961143 2026-06-16 15:35:12,209 - INFO - Deleting VM ctest-TestRoutersBasic-03732757-25502062 2026-06-16 15:35:12,282 - INFO - Deleting VN ctest-ext_vn-40299519 2026-06-16 15:35:12,329 - DEBUG - VN 39d1ad04-bd31-44e8-9447-f5b80da0543a still in use: Unable to complete operation on network 39d1ad04-bd31-44e8-9447-f5b80da0543a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3eac0d48-27ce-4bee-a59f-2fca44d0b577'] 2026-06-16 15:35:12,329 - WARNING - Deleting VN ctest-ext_vn-40299519 failed..Will retry 2026-06-16 15:35:14,412 - DEBUG - Response for deleting network () 2026-06-16 15:35:14,412 - INFO - Deleting VN ctest-vn-93950955 2026-06-16 15:35:14,495 - DEBUG - Response for deleting network () 2026-06-16 15:35:14,750 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 15:35:14,750 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-06-16 15:35:14,751 - INFO - -------------------------------------------------------------------------------- 2026-06-16 15:35:15,406 - INFO - Deleted project: ctest-TestRoutersBasic-03732757, ID : 34285e0f-a399-4242-b342-3da2cc19c1c3