2026-06-16 09:40:16,297 - INFO - Domain Default found not creating 2026-06-16 09:40:16,416 - INFO - Project ctest-TestRoutersBasic-87409649 not found, creating it 2026-06-16 09:40:16,869 - INFO - Created Project:ctest-TestRoutersBasic-87409649, ID : 7d5989b5-f3bd-4629-8b56-c8153c9ed434 2026-06-16 09:40:18,276 - INFO - ================================================================================ 2026-06-16 09:40:18,276 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-16 09:40:18,276 - 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 09:40:18,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-16 09:40:18,524 - INFO - Initial checks done. Running the testcase now 2026-06-16 09:40:18,524 - INFO - 2026-06-16 09:40:19,250 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87409649 2026-06-16 09:40:19,348 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87409649 2026-06-16 09:40:19,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87409649', 'default']} 2026-06-16 09:40:19,933 - DEBUG - Response for create_network : {'network': {'id': '5a237458-3d2a-4a67-bdc2-88a83f864d60', 'name': 'ctest-vn-82601116', 'tenant_id': '7d5989b5f3bd46298b56c8153c9ed434', 'project_id': '7d5989b5f3bd46298b56c8153c9ed434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87409649', 'ctest-vn-82601116'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:40:20,076 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47d188d-e9e2-4e71-8586-16a1d1a8bc8d', 'name': '', 'tenant_id': '7d5989b5f3bd46298b56c8153c9ed434', 'network_id': '5a237458-3d2a-4a67-bdc2-88a83f864d60', 'ip_version': 4, 'cidr': '27.128.43.64/26', 'allocation_pools': [{'start': '27.128.43.66', 'end': '27.128.43.126'}], 'gateway_ip': '27.128.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.128.43.66', 'tags': [], 'project_id': '7d5989b5f3bd46298b56c8153c9ed434'}} 2026-06-16 09:40:20,089 - INFO - Created VN ctest-vn-82601116 2026-06-16 09:40:20,140 - DEBUG - VN ctest-vn-82601116 UUID is 5a237458-3d2a-4a67-bdc2-88a83f864d60 2026-06-16 09:40:20,528 - DEBUG - Response for create_network : {'network': {'id': '57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554', 'name': 'ctest-ext_vn-31989332', 'tenant_id': '7d5989b5f3bd46298b56c8153c9ed434', 'project_id': '7d5989b5f3bd46298b56c8153c9ed434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87409649', 'ctest-ext_vn-31989332'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 09:40:20,779 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdaaf0f4-8fa0-4897-a842-53d4559a2216', 'name': '', 'tenant_id': '7d5989b5f3bd46298b56c8153c9ed434', 'network_id': '57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554', 'ip_version': 4, 'cidr': '164.210.251.128/26', 'allocation_pools': [{'start': '164.210.251.130', 'end': '164.210.251.190'}], 'gateway_ip': '164.210.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.210.251.130', 'tags': [], 'project_id': '7d5989b5f3bd46298b56c8153c9ed434'}} 2026-06-16 09:40:20,794 - INFO - Created VN ctest-ext_vn-31989332 2026-06-16 09:40:20,844 - DEBUG - VN ctest-ext_vn-31989332 UUID is 57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554 2026-06-16 09:40:21,025 - DEBUG - Services list from nova: [, , ] 2026-06-16 09:40:22,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5950-1) 2026-06-16 09:40:23,010 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5950-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5950-1) 2026-06-16 09:40:23,059 - INFO - Setting gateway for router dcc16e7c-8184-461c-9717-4e5ee44ee597 to network 57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554 2026-06-16 09:40:23,095 - INFO - Adding interface with subnet_id e47d188d-e9e2-4e71-8586-16a1d1a8bc8d, port_id None to router dcc16e7c-8184-461c-9717-4e5ee44ee597 2026-06-16 09:40:23,346 - INFO - Waiting for VM ctest-TestRoutersBasic-87409649-70970145 to be up.. 2026-06-16 09:40:23,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 09:40:28,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 09:40:33,597 - DEBUG - VM is in ACTIVE state now 2026-06-16 09:40:33,597 - INFO - VM name : ctest-TestRoutersBasic-87409649-70970145 2026-06-16 09:40:33,654 - DEBUG - VM ctest-TestRoutersBasic-87409649-70970145 ID is 4da54343-e8af-4c91-b950-ae73b9e1d72c 2026-06-16 09:40:33,669 - DEBUG - VM ctest-TestRoutersBasic-87409649-70970145 launched on Node cn-jenkins-deploy-platform-ansible-os-5950-1 2026-06-16 09:40:33,730 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4da54343-e8af-4c91-b950-ae73b9e1d72c 2026-06-16 09:40:34,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4da54343-e8af-4c91-b950-ae73b9e1d72c 2026-06-16 09:40:34,071 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/da628258-3a1a-43dc-bab4-b10fff61e883 2026-06-16 09:40:37,296 - 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 1007ms') 2026-06-16 09:40:37,296 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-87409649-70970145 failed! 2026-06-16 09:40:37,348 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87409649:ctest-vn-82601116 is 27.128.43.65 and allocation pool is NOT set 2026-06-16 09:40:39,410 - 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=4.46 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.408 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.408/2.434/4.460/2.026 ms') 2026-06-16 09:40:39,410 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-87409649-70970145 passed 2026-06-16 09:40:39,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:40:39,556 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87409649-70970145, IP 27.128.43.67, Port 22 2026-06-16 09:40:39,719 - DEBUG - VM ctest-TestRoutersBasic-87409649-70970145 is ready for SSH connections 2026-06-16 09:40:39,719 - INFO - Waiting for VM ctest-TestRoutersBasic-87409649-27994322 to be up.. 2026-06-16 09:40:39,780 - DEBUG - VM is in ACTIVE state now 2026-06-16 09:40:39,780 - INFO - VM name : ctest-TestRoutersBasic-87409649-27994322 2026-06-16 09:40:39,838 - DEBUG - VM ctest-TestRoutersBasic-87409649-27994322 ID is 4436958c-21de-490b-89fd-df30fc1dfcdb 2026-06-16 09:40:39,838 - DEBUG - VM ctest-TestRoutersBasic-87409649-27994322 launched on Node cn-jenkins-deploy-platform-ansible-os-5950-1 2026-06-16 09:40:39,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4436958c-21de-490b-89fd-df30fc1dfcdb 2026-06-16 09:40:39,907 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c2d0d3a6-2b59-47c1-b49a-ffdf3b065054 2026-06-16 09:40:41,133 - 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=2.98 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.312 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.312/1.645/2.979/1.333 ms') 2026-06-16 09:40:41,133 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-87409649-27994322 passed 2026-06-16 09:40:41,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:40:41,280 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87409649-27994322, IP 164.210.251.132, Port 22 2026-06-16 09:40:41,435 - DEBUG - VM ctest-TestRoutersBasic-87409649-27994322 is ready for SSH connections 2026-06-16 09:40:41,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 09:40:41,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.210.251.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 09:40:41,436 - DEBUG - ping -s 56 -c 3 -W 1 164.210.251.132 2026-06-16 09:40:44,021 - DEBUG - PING 164.210.251.132 (164.210.251.132): 56 data bytes 64 bytes from 164.210.251.132: seq=0 ttl=62 time=8.058 ms 64 bytes from 164.210.251.132: seq=1 ttl=62 time=0.763 ms 64 bytes from 164.210.251.132: seq=2 ttl=62 time=0.921 ms --- 164.210.251.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/3.247/8.058 ms 2026-06-16 09:40:44,021 - INFO - Ping to IP 164.210.251.132 from VM ctest-TestRoutersBasic-87409649-70970145 passed 2026-06-16 09:40:44,021 - INFO - Deleting interface with subnet_id e47d188d-e9e2-4e71-8586-16a1d1a8bc8d, port_id None from router dcc16e7c-8184-461c-9717-4e5ee44ee597 2026-06-16 09:40:44,171 - INFO - Deleting VM ctest-TestRoutersBasic-87409649-27994322 2026-06-16 09:40:44,228 - INFO - Deleting VM ctest-TestRoutersBasic-87409649-70970145 2026-06-16 09:40:44,289 - INFO - Deleting VN ctest-ext_vn-31989332 2026-06-16 09:40:44,335 - DEBUG - VN 57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554 still in use: Unable to complete operation on network 57cbf51e-2ce3-4f2f-ad6f-f51f2e08c554. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6376aa9c-7140-419f-8a25-c089a8d6d893'] 2026-06-16 09:40:44,335 - WARNING - Deleting VN ctest-ext_vn-31989332 failed..Will retry 2026-06-16 09:40:46,416 - DEBUG - Response for deleting network () 2026-06-16 09:40:46,416 - INFO - Deleting VN ctest-vn-82601116 2026-06-16 09:40:46,492 - DEBUG - Response for deleting network () 2026-06-16 09:40:46,748 - DEBUG - No XMPP flaps were noticed during the test 2026-06-16 09:40:46,748 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-06-16 09:40:46,748 - INFO - -------------------------------------------------------------------------------- 2026-06-16 09:40:47,400 - INFO - Deleted project: ctest-TestRoutersBasic-87409649, ID : 7d5989b5-f3bd-4629-8b56-c8153c9ed434