2026-06-15 12:19:37,859 - INFO - Domain Default found not creating 2026-06-15 12:19:38,109 - INFO - Project ctest-TestRoutersBasic-12672916 not found, creating it 2026-06-15 12:19:38,594 - INFO - Created Project:ctest-TestRoutersBasic-12672916, ID : c006d9ad-3cc8-47db-a479-a4838f8f228f 2026-06-15 12:19:40,308 - INFO - ================================================================================ 2026-06-15 12:19:40,308 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-15 12:19:40,308 - 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-15 12:19:40,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-06-15 12:19:40,569 - INFO - Initial checks done. Running the testcase now 2026-06-15 12:19:40,569 - INFO - 2026-06-15 12:19:41,394 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12672916 2026-06-15 12:19:41,487 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12672916 2026-06-15 12:19:41,815 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12672916', 'default']} 2026-06-15 12:19:42,137 - DEBUG - Response for create_network : {'network': {'id': 'c8779abd-698d-4a53-97a4-989ab74689b1', 'name': 'ctest-vn-14000674', 'tenant_id': 'c006d9ad3cc847dba479a4838f8f228f', 'project_id': 'c006d9ad3cc847dba479a4838f8f228f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12672916', 'ctest-vn-14000674'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:19:42,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '8759c2cd-c184-4dca-b1b4-ae6781ec3aa0', 'name': '', 'tenant_id': 'c006d9ad3cc847dba479a4838f8f228f', 'network_id': 'c8779abd-698d-4a53-97a4-989ab74689b1', 'ip_version': 4, 'cidr': '199.16.230.128/26', 'allocation_pools': [{'start': '199.16.230.130', 'end': '199.16.230.190'}], 'gateway_ip': '199.16.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.16.230.130', 'tags': [], 'project_id': 'c006d9ad3cc847dba479a4838f8f228f'}} 2026-06-15 12:19:42,346 - INFO - Created VN ctest-vn-14000674 2026-06-15 12:19:42,399 - DEBUG - VN ctest-vn-14000674 UUID is c8779abd-698d-4a53-97a4-989ab74689b1 2026-06-15 12:19:42,775 - DEBUG - Response for create_network : {'network': {'id': '3d177ca8-9378-4b46-b0d6-17a932d7caf0', 'name': 'ctest-ext_vn-17662630', 'tenant_id': 'c006d9ad3cc847dba479a4838f8f228f', 'project_id': 'c006d9ad3cc847dba479a4838f8f228f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12672916', 'ctest-ext_vn-17662630'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:19:42,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '4404f041-563a-4661-9c3e-47cb1256636b', 'name': '', 'tenant_id': 'c006d9ad3cc847dba479a4838f8f228f', 'network_id': '3d177ca8-9378-4b46-b0d6-17a932d7caf0', 'ip_version': 4, 'cidr': '145.250.118.128/26', 'allocation_pools': [{'start': '145.250.118.130', 'end': '145.250.118.190'}], 'gateway_ip': '145.250.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.250.118.130', 'tags': [], 'project_id': 'c006d9ad3cc847dba479a4838f8f228f'}} 2026-06-15 12:19:42,990 - INFO - Created VN ctest-ext_vn-17662630 2026-06-15 12:19:43,047 - DEBUG - VN ctest-ext_vn-17662630 UUID is 3d177ca8-9378-4b46-b0d6-17a932d7caf0 2026-06-15 12:19:43,216 - DEBUG - Services list from nova: [, , ] 2026-06-15 12:19:44,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5943-1) 2026-06-15 12:19:45,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5943-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5943-1) 2026-06-15 12:19:45,559 - INFO - Setting gateway for router a6638848-ae4d-45c2-9814-9ead227b14a2 to network 3d177ca8-9378-4b46-b0d6-17a932d7caf0 2026-06-15 12:19:45,603 - INFO - Adding interface with subnet_id 8759c2cd-c184-4dca-b1b4-ae6781ec3aa0, port_id None to router a6638848-ae4d-45c2-9814-9ead227b14a2 2026-06-15 12:19:45,813 - INFO - Waiting for VM ctest-TestRoutersBasic-12672916-08148505 to be up.. 2026-06-15 12:19:45,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:19:50,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:19:56,042 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:19:56,042 - INFO - VM name : ctest-TestRoutersBasic-12672916-08148505 2026-06-15 12:19:56,116 - DEBUG - VM ctest-TestRoutersBasic-12672916-08148505 ID is 81e716f1-3ced-4e5d-bfb0-6381421ab327 2026-06-15 12:19:56,144 - DEBUG - VM ctest-TestRoutersBasic-12672916-08148505 launched on Node cn-jenkins-deploy-platform-ansible-os-5943-1 2026-06-15 12:19:56,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/81e716f1-3ced-4e5d-bfb0-6381421ab327 2026-06-15 12:19:56,561 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/81e716f1-3ced-4e5d-bfb0-6381421ab327 2026-06-15 12:19:56,591 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/94f0e786-724f-429a-b68f-0c142494dd0d 2026-06-15 12:19:59,869 - 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 1029ms') 2026-06-15 12:19:59,869 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12672916-08148505 failed! 2026-06-15 12:19:59,927 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12672916:ctest-vn-14000674 is 199.16.230.129 and allocation pool is NOT set 2026-06-15 12:20:01,986 - 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.58 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.462 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.462/2.518/4.575/2.056 ms') 2026-06-15 12:20:01,986 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12672916-08148505 passed 2026-06-15 12:20:02,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:02,139 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12672916-08148505, IP 199.16.230.131, Port 22 2026-06-15 12:20:02,309 - DEBUG - VM ctest-TestRoutersBasic-12672916-08148505 is ready for SSH connections 2026-06-15 12:20:02,310 - INFO - Waiting for VM ctest-TestRoutersBasic-12672916-83553473 to be up.. 2026-06-15 12:20:02,391 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:20:02,391 - INFO - VM name : ctest-TestRoutersBasic-12672916-83553473 2026-06-15 12:20:02,475 - DEBUG - VM ctest-TestRoutersBasic-12672916-83553473 ID is 1c89f6ab-d934-4b4e-9eb3-3c1f7f130926 2026-06-15 12:20:02,475 - DEBUG - VM ctest-TestRoutersBasic-12672916-83553473 launched on Node cn-jenkins-deploy-platform-ansible-os-5943-1 2026-06-15 12:20:02,558 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1c89f6ab-d934-4b4e-9eb3-3c1f7f130926 2026-06-15 12:20:02,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fefc1761-4d2b-459b-a5ca-916b9308e2a5 2026-06-15 12:20:03,817 - 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.4 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.84 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 = 2.843/6.603/10.364/3.760 ms') 2026-06-15 12:20:03,817 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-12672916-83553473 passed 2026-06-15 12:20:03,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:03,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12672916-83553473, IP 145.250.118.132, Port 22 2026-06-15 12:20:04,144 - DEBUG - VM ctest-TestRoutersBasic-12672916-83553473 is ready for SSH connections 2026-06-15 12:20:04,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:20:04,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.250.118.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-15 12:20:04,145 - DEBUG - ping -s 56 -c 3 -W 1 145.250.118.132 2026-06-15 12:20:06,744 - DEBUG - PING 145.250.118.132 (145.250.118.132): 56 data bytes 64 bytes from 145.250.118.132: seq=0 ttl=62 time=8.120 ms 64 bytes from 145.250.118.132: seq=1 ttl=62 time=1.193 ms 64 bytes from 145.250.118.132: seq=2 ttl=62 time=1.167 ms --- 145.250.118.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.167/3.493/8.120 ms 2026-06-15 12:20:06,744 - INFO - Ping to IP 145.250.118.132 from VM ctest-TestRoutersBasic-12672916-08148505 passed 2026-06-15 12:20:06,744 - INFO - Deleting interface with subnet_id 8759c2cd-c184-4dca-b1b4-ae6781ec3aa0, port_id None from router a6638848-ae4d-45c2-9814-9ead227b14a2 2026-06-15 12:20:06,963 - INFO - Deleting VM ctest-TestRoutersBasic-12672916-83553473 2026-06-15 12:20:07,044 - INFO - Deleting VM ctest-TestRoutersBasic-12672916-08148505 2026-06-15 12:20:07,113 - INFO - Deleting VN ctest-ext_vn-17662630 2026-06-15 12:20:07,172 - DEBUG - VN 3d177ca8-9378-4b46-b0d6-17a932d7caf0 still in use: Unable to complete operation on network 3d177ca8-9378-4b46-b0d6-17a932d7caf0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8436681-9f93-43f6-9895-932b32f66c8d'] 2026-06-15 12:20:07,172 - WARNING - Deleting VN ctest-ext_vn-17662630 failed..Will retry 2026-06-15 12:20:09,317 - DEBUG - Response for deleting network () 2026-06-15 12:20:09,317 - INFO - Deleting VN ctest-vn-14000674 2026-06-15 12:20:09,417 - DEBUG - Response for deleting network () 2026-06-15 12:20:09,672 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 12:20:09,672 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-06-15 12:20:09,673 - INFO - -------------------------------------------------------------------------------- 2026-06-15 12:20:10,394 - INFO - Deleted project: ctest-TestRoutersBasic-12672916, ID : c006d9ad-3cc8-47db-a479-a4838f8f228f