2026-03-04 21:20:59,876 - INFO - Domain Default found not creating 2026-03-04 21:21:00,017 - INFO - Project ctest-TestRoutersBasic-63634391 not found, creating it 2026-03-04 21:21:00,450 - INFO - Created Project:ctest-TestRoutersBasic-63634391, ID : 681c0cfe-37be-4a75-b038-90ecd6c9a8cb 2026-03-04 21:21:01,860 - INFO - ================================================================================ 2026-03-04 21:21:01,860 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-04 21:21:01,860 - 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-03-04 21:21:02,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 21:21:02,115 - INFO - Initial checks done. Running the testcase now 2026-03-04 21:21:02,115 - INFO - 2026-03-04 21:21:02,810 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63634391 2026-03-04 21:21:02,902 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63634391 2026-03-04 21:21:03,222 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634391', 'default']} 2026-03-04 21:21:03,496 - DEBUG - Response for create_network : {'network': {'id': 'd3fe6606-142e-498e-8268-8082817eac97', 'name': 'ctest-vn-37668186', 'tenant_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'project_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634391', 'ctest-vn-37668186'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:03,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '37dbe59f-1006-4111-bb2f-ea71a16d634d', 'name': '', 'tenant_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'network_id': 'd3fe6606-142e-498e-8268-8082817eac97', 'ip_version': 4, 'cidr': '211.43.130.0/26', 'allocation_pools': [{'start': '211.43.130.2', 'end': '211.43.130.62'}], 'gateway_ip': '211.43.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.43.130.2', 'tags': [], 'project_id': '681c0cfe37be4a75b03890ecd6c9a8cb'}} 2026-03-04 21:21:03,691 - INFO - Created VN ctest-vn-37668186 2026-03-04 21:21:03,742 - DEBUG - VN ctest-vn-37668186 UUID is d3fe6606-142e-498e-8268-8082817eac97 2026-03-04 21:21:04,076 - DEBUG - Response for create_network : {'network': {'id': 'd4f3d3eb-cdee-4947-9816-70cff9c18b8e', 'name': 'ctest-ext_vn-69633215', 'tenant_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'project_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634391', 'ctest-ext_vn-69633215'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:21:04,259 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd315f680-075f-465b-bdca-bd6377b43936', 'name': '', 'tenant_id': '681c0cfe37be4a75b03890ecd6c9a8cb', 'network_id': 'd4f3d3eb-cdee-4947-9816-70cff9c18b8e', 'ip_version': 4, 'cidr': '205.76.98.128/26', 'allocation_pools': [{'start': '205.76.98.130', 'end': '205.76.98.190'}], 'gateway_ip': '205.76.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.76.98.130', 'tags': [], 'project_id': '681c0cfe37be4a75b03890ecd6c9a8cb'}} 2026-03-04 21:21:04,273 - INFO - Created VN ctest-ext_vn-69633215 2026-03-04 21:21:04,322 - DEBUG - VN ctest-ext_vn-69633215 UUID is d4f3d3eb-cdee-4947-9816-70cff9c18b8e 2026-03-04 21:21:04,503 - DEBUG - Services list from nova: [, , ] 2026-03-04 21:21:05,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:21:06,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:21:06,605 - INFO - Setting gateway for router 60a3658c-86bd-4d92-aa93-3d24754ee810 to network d4f3d3eb-cdee-4947-9816-70cff9c18b8e 2026-03-04 21:21:06,658 - INFO - Adding interface with subnet_id 37dbe59f-1006-4111-bb2f-ea71a16d634d, port_id None to router 60a3658c-86bd-4d92-aa93-3d24754ee810 2026-03-04 21:21:06,882 - INFO - Waiting for VM ctest-TestRoutersBasic-63634391-08817965 to be up.. 2026-03-04 21:21:07,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 21:21:12,094 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:21:12,094 - INFO - VM name : ctest-TestRoutersBasic-63634391-08817965 2026-03-04 21:21:12,161 - DEBUG - VM ctest-TestRoutersBasic-63634391-08817965 ID is c39e8046-4923-4dda-b6e0-21796c71dcd6 2026-03-04 21:21:12,182 - DEBUG - VM ctest-TestRoutersBasic-63634391-08817965 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:21:12,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c39e8046-4923-4dda-b6e0-21796c71dcd6 2026-03-04 21:21:12,546 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c39e8046-4923-4dda-b6e0-21796c71dcd6 2026-03-04 21:21:12,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/492cd88c-6718-4e22-9294-93188ace2df0 2026-03-04 21:21:15,833 - 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 1027ms') 2026-03-04 21:21:15,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63634391-08817965 failed! 2026-03-04 21:21:15,890 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63634391:ctest-vn-37668186 is 211.43.130.1 and allocation pool is NOT set 2026-03-04 21:21:17,949 - 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=3.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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 = 0.417/1.914/3.411/1.497 ms') 2026-03-04 21:21:17,949 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63634391-08817965 passed 2026-03-04 21:21:18,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:21:18,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63634391-08817965, IP 211.43.130.3, Port 22 2026-03-04 21:21:18,254 - DEBUG - VM ctest-TestRoutersBasic-63634391-08817965 is ready for SSH connections 2026-03-04 21:21:18,254 - INFO - Waiting for VM ctest-TestRoutersBasic-63634391-95196174 to be up.. 2026-03-04 21:21:18,322 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:21:18,322 - INFO - VM name : ctest-TestRoutersBasic-63634391-95196174 2026-03-04 21:21:18,384 - DEBUG - VM ctest-TestRoutersBasic-63634391-95196174 ID is 01814a7b-06a6-421e-8e59-9abdc9bc58aa 2026-03-04 21:21:18,384 - DEBUG - VM ctest-TestRoutersBasic-63634391-95196174 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:21:18,442 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01814a7b-06a6-421e-8e59-9abdc9bc58aa 2026-03-04 21:21:18,448 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/29f03a8a-485f-49af-8e05-860b4d94c59d 2026-03-04 21:21:19,678 - 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=3.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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 = 0.399/1.898/3.398/1.499 ms') 2026-03-04 21:21:19,679 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63634391-95196174 passed 2026-03-04 21:21:19,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:21:19,830 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63634391-95196174, IP 205.76.98.131, Port 22 2026-03-04 21:21:19,986 - DEBUG - VM ctest-TestRoutersBasic-63634391-95196174 is ready for SSH connections 2026-03-04 21:21:19,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:21:19,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.76.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 21:21:19,986 - DEBUG - ping -s 56 -c 3 -W 1 205.76.98.131 2026-03-04 21:21:23,956 - DEBUG - PING 205.76.98.131 (205.76.98.131): 56 data bytes 64 bytes from 205.76.98.131: seq=0 ttl=62 time=4.539 ms 64 bytes from 205.76.98.131: seq=1 ttl=62 time=0.778 ms 64 bytes from 205.76.98.131: seq=2 ttl=62 time=1.004 ms --- 205.76.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/2.107/4.539 ms 2026-03-04 21:21:23,957 - INFO - Ping to IP 205.76.98.131 from VM ctest-TestRoutersBasic-63634391-08817965 passed 2026-03-04 21:21:23,957 - INFO - Deleting interface with subnet_id 37dbe59f-1006-4111-bb2f-ea71a16d634d, port_id None from router 60a3658c-86bd-4d92-aa93-3d24754ee810 2026-03-04 21:21:24,116 - INFO - Deleting VM ctest-TestRoutersBasic-63634391-95196174 2026-03-04 21:21:24,179 - INFO - Deleting VM ctest-TestRoutersBasic-63634391-08817965 2026-03-04 21:21:24,262 - INFO - Deleting VN ctest-ext_vn-69633215 2026-03-04 21:21:24,321 - DEBUG - VN d4f3d3eb-cdee-4947-9816-70cff9c18b8e still in use: Unable to complete operation on network d4f3d3eb-cdee-4947-9816-70cff9c18b8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6dabcd18-cc9a-4582-9ffb-f241a5e0a7f8'] 2026-03-04 21:21:24,321 - WARNING - Deleting VN ctest-ext_vn-69633215 failed..Will retry 2026-03-04 21:21:26,414 - DEBUG - Response for deleting network () 2026-03-04 21:21:26,414 - INFO - Deleting VN ctest-vn-37668186 2026-03-04 21:21:26,498 - DEBUG - Response for deleting network () 2026-03-04 21:21:26,750 - DEBUG - No XMPP flaps were noticed during the test
2026-03-04 21:21:26,750 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-04 21:21:26,750 - INFO - -------------------------------------------------------------------------------- 2026-03-04 21:21:27,399 - INFO - Deleted project: ctest-TestRoutersBasic-63634391, ID : 681c0cfe-37be-4a75-b038-90ecd6c9a8cb