2026-02-01 16:20:45,665 - INFO - Domain Default found not creating 2026-02-01 16:20:45,888 - INFO - Project ctest-TestRoutersBasic-80010334 not found, creating it 2026-02-01 16:20:46,449 - INFO - Created Project:ctest-TestRoutersBasic-80010334, ID : 44230160-8f29-4ddd-8842-e44d7cf440b3 2026-02-01 16:20:48,168 - INFO - ================================================================================ 2026-02-01 16:20:48,168 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-01 16:20:48,168 - 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-02-01 16:20:48,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-01 16:20:48,439 - INFO - Initial checks done. Running the testcase now 2026-02-01 16:20:48,439 - INFO - 2026-02-01 16:20:49,217 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80010334 2026-02-01 16:20:49,320 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80010334 2026-02-01 16:20:49,644 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80010334', 'default']} 2026-02-01 16:20:49,968 - DEBUG - Response for create_network : {'network': {'id': '6a834f81-1e35-456c-90ec-2ba94f2745c4', 'name': 'ctest-vn-51301277', 'tenant_id': '442301608f294ddd8842e44d7cf440b3', 'project_id': '442301608f294ddd8842e44d7cf440b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80010334', 'ctest-vn-51301277'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 16:20:50,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '04a3b117-51cb-44c8-a0af-bf64a0f1938e', 'name': '', 'tenant_id': '442301608f294ddd8842e44d7cf440b3', 'network_id': '6a834f81-1e35-456c-90ec-2ba94f2745c4', 'ip_version': 4, 'cidr': '72.61.235.64/26', 'allocation_pools': [{'start': '72.61.235.66', 'end': '72.61.235.126'}], 'gateway_ip': '72.61.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.61.235.66', 'tags': [], 'project_id': '442301608f294ddd8842e44d7cf440b3'}} 2026-02-01 16:20:50,171 - INFO - Created VN ctest-vn-51301277 2026-02-01 16:20:50,224 - DEBUG - VN ctest-vn-51301277 UUID is 6a834f81-1e35-456c-90ec-2ba94f2745c4 2026-02-01 16:20:50,570 - DEBUG - Response for create_network : {'network': {'id': '0a254a10-a331-48f5-ac5a-6b7e109d1c82', 'name': 'ctest-ext_vn-33809438', 'tenant_id': '442301608f294ddd8842e44d7cf440b3', 'project_id': '442301608f294ddd8842e44d7cf440b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80010334', 'ctest-ext_vn-33809438'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 16:20:50,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c7a8e89-082b-477a-96f4-9b99d4cd614b', 'name': '', 'tenant_id': '442301608f294ddd8842e44d7cf440b3', 'network_id': '0a254a10-a331-48f5-ac5a-6b7e109d1c82', 'ip_version': 4, 'cidr': '40.89.184.128/26', 'allocation_pools': [{'start': '40.89.184.130', 'end': '40.89.184.190'}], 'gateway_ip': '40.89.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.89.184.130', 'tags': [], 'project_id': '442301608f294ddd8842e44d7cf440b3'}} 2026-02-01 16:20:50,796 - INFO - Created VN ctest-ext_vn-33809438 2026-02-01 16:20:50,852 - DEBUG - VN ctest-ext_vn-33809438 UUID is 0a254a10-a331-48f5-ac5a-6b7e109d1c82 2026-02-01 16:20:51,044 - DEBUG - Services list from nova: [, , ] 2026-02-01 16:20:52,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5162-1) 2026-02-01 16:20:53,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5162-1) 2026-02-01 16:20:53,561 - INFO - Setting gateway for router 9454f616-3563-4096-b6fa-bef22e39e7c9 to network 0a254a10-a331-48f5-ac5a-6b7e109d1c82 2026-02-01 16:20:53,651 - INFO - Adding interface with subnet_id 04a3b117-51cb-44c8-a0af-bf64a0f1938e, port_id None to router 9454f616-3563-4096-b6fa-bef22e39e7c9 2026-02-01 16:20:54,147 - INFO - Waiting for VM ctest-TestRoutersBasic-80010334-27807194 to be up.. 2026-02-01 16:20:54,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-01 16:20:59,448 - DEBUG - VM is in ACTIVE state now 2026-02-01 16:20:59,449 - INFO - VM name : ctest-TestRoutersBasic-80010334-27807194 2026-02-01 16:20:59,540 - DEBUG - VM ctest-TestRoutersBasic-80010334-27807194 ID is 92f6477b-5f16-4611-80be-ad2a00b4c046 2026-02-01 16:20:59,566 - DEBUG - VM ctest-TestRoutersBasic-80010334-27807194 launched on Node cn-jenkins-deploy-platform-ansible-os-5162-1 2026-02-01 16:20:59,656 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92f6477b-5f16-4611-80be-ad2a00b4c046 2026-02-01 16:20:59,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/92f6477b-5f16-4611-80be-ad2a00b4c046 2026-02-01 16:21:00,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/86bfa0a0-7771-4af0-ade9-8e589f59a419 2026-02-01 16:21:03,294 - 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 1029ms') 2026-02-01 16:21:03,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80010334-27807194 failed! 2026-02-01 16:21:03,352 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80010334:ctest-vn-51301277 is 72.61.235.65 and allocation pool is NOT set 2026-02-01 16:21:05,423 - 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=6.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.243/3.785/6.327/2.542 ms') 2026-02-01 16:21:05,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80010334-27807194 passed 2026-02-01 16:21:05,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 16:21:05,577 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80010334-27807194, IP 72.61.235.67, Port 22 2026-02-01 16:21:05,740 - DEBUG - VM ctest-TestRoutersBasic-80010334-27807194 is ready for SSH connections 2026-02-01 16:21:05,740 - INFO - Waiting for VM ctest-TestRoutersBasic-80010334-06967327 to be up.. 2026-02-01 16:21:05,836 - DEBUG - VM is in ACTIVE state now 2026-02-01 16:21:05,836 - INFO - VM name : ctest-TestRoutersBasic-80010334-06967327 2026-02-01 16:21:05,939 - DEBUG - VM ctest-TestRoutersBasic-80010334-06967327 ID is f3960291-c3b6-47ce-989b-66f292f04dc0 2026-02-01 16:21:05,939 - DEBUG - VM ctest-TestRoutersBasic-80010334-06967327 launched on Node cn-jenkins-deploy-platform-ansible-os-5162-1 2026-02-01 16:21:06,046 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f3960291-c3b6-47ce-989b-66f292f04dc0 2026-02-01 16:21:06,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/66167d18-1c96-488a-af51-8fb4e005b395 2026-02-01 16:21:07,334 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/2.113/3.748/1.635 ms') 2026-02-01 16:21:07,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80010334-06967327 passed 2026-02-01 16:21:07,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 16:21:07,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80010334-06967327, IP 40.89.184.131, Port 22 2026-02-01 16:21:07,654 - DEBUG - VM ctest-TestRoutersBasic-80010334-06967327 is ready for SSH connections 2026-02-01 16:21:07,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 16:21:07,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.89.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-01 16:21:07,655 - DEBUG - ping -s 56 -c 3 -W 1 40.89.184.131 2026-02-01 16:21:11,404 - DEBUG - PING 40.89.184.131 (40.89.184.131): 56 data bytes 64 bytes from 40.89.184.131: seq=0 ttl=62 time=4.738 ms 64 bytes from 40.89.184.131: seq=1 ttl=62 time=1.060 ms 64 bytes from 40.89.184.131: seq=2 ttl=62 time=1.205 ms --- 40.89.184.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.334/4.738 ms 2026-02-01 16:21:11,404 - INFO - Ping to IP 40.89.184.131 from VM ctest-TestRoutersBasic-80010334-27807194 passed 2026-02-01 16:21:11,404 - INFO - Deleting interface with subnet_id 04a3b117-51cb-44c8-a0af-bf64a0f1938e, port_id None from router 9454f616-3563-4096-b6fa-bef22e39e7c9 2026-02-01 16:21:11,625 - INFO - Deleting VM ctest-TestRoutersBasic-80010334-06967327 2026-02-01 16:21:11,708 - INFO - Deleting VM ctest-TestRoutersBasic-80010334-27807194 2026-02-01 16:21:11,805 - INFO - Deleting VN ctest-ext_vn-33809438 2026-02-01 16:21:11,892 - DEBUG - VN 0a254a10-a331-48f5-ac5a-6b7e109d1c82 still in use: Unable to complete operation on network 0a254a10-a331-48f5-ac5a-6b7e109d1c82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ac2b5b2-bff7-4363-9028-1e5391545948'] 2026-02-01 16:21:11,892 - WARNING - Deleting VN ctest-ext_vn-33809438 failed..Will retry 2026-02-01 16:21:14,039 - DEBUG - Response for deleting network () 2026-02-01 16:21:14,039 - INFO - Deleting VN ctest-vn-51301277 2026-02-01 16:21:14,180 - DEBUG - Response for deleting network () 2026-02-01 16:21:14,438 - DEBUG - No XMPP flaps were noticed during the test
2026-02-01 16:21:14,438 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-01 16:21:14,438 - INFO - -------------------------------------------------------------------------------- 2026-02-01 16:21:15,216 - INFO - Deleted project: ctest-TestRoutersBasic-80010334, ID : 44230160-8f29-4ddd-8842-e44d7cf440b3