2026-02-07 14:37:45,034 - INFO - Domain Default found not creating 2026-02-07 14:37:45,191 - INFO - Project ctest-TestRoutersBasic-87614648 not found, creating it 2026-02-07 14:37:45,632 - INFO - Created Project:ctest-TestRoutersBasic-87614648, ID : 66aa5eae-d4af-44f0-9a2a-157d538d9ac4 2026-02-07 14:37:47,061 - INFO - ================================================================================ 2026-02-07 14:37:47,061 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-07 14:37:47,062 - 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-07 14:37:47,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-07 14:37:47,316 - INFO - Initial checks done. Running the testcase now 2026-02-07 14:37:47,316 - INFO - 2026-02-07 14:37:48,009 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87614648 2026-02-07 14:37:48,106 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87614648 2026-02-07 14:37:48,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87614648', 'default']} 2026-02-07 14:37:48,696 - DEBUG - Response for create_network : {'network': {'id': 'f9fcf197-f326-4696-9796-a5f94006e9e5', 'name': 'ctest-vn-01613949', 'tenant_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'project_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87614648', 'ctest-vn-01613949'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 14:37:48,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '797c362c-ab8a-4785-89e6-600f7bc68b14', 'name': '', 'tenant_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'network_id': 'f9fcf197-f326-4696-9796-a5f94006e9e5', 'ip_version': 4, 'cidr': '44.144.72.192/26', 'allocation_pools': [{'start': '44.144.72.194', 'end': '44.144.72.254'}], 'gateway_ip': '44.144.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.144.72.194', 'tags': [], 'project_id': '66aa5eaed4af44f09a2a157d538d9ac4'}} 2026-02-07 14:37:48,876 - INFO - Created VN ctest-vn-01613949 2026-02-07 14:37:48,930 - DEBUG - VN ctest-vn-01613949 UUID is f9fcf197-f326-4696-9796-a5f94006e9e5 2026-02-07 14:37:49,251 - DEBUG - Response for create_network : {'network': {'id': '9b02b2b3-0499-4273-aebd-6b5d98a3109e', 'name': 'ctest-ext_vn-66573871', 'tenant_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'project_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87614648', 'ctest-ext_vn-66573871'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 14:37:49,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cee76ba-49df-4792-9201-5c3391ab1bd2', 'name': '', 'tenant_id': '66aa5eaed4af44f09a2a157d538d9ac4', 'network_id': '9b02b2b3-0499-4273-aebd-6b5d98a3109e', 'ip_version': 4, 'cidr': '7.114.138.128/26', 'allocation_pools': [{'start': '7.114.138.130', 'end': '7.114.138.190'}], 'gateway_ip': '7.114.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.114.138.130', 'tags': [], 'project_id': '66aa5eaed4af44f09a2a157d538d9ac4'}} 2026-02-07 14:37:49,431 - INFO - Created VN ctest-ext_vn-66573871 2026-02-07 14:37:49,482 - DEBUG - VN ctest-ext_vn-66573871 UUID is 9b02b2b3-0499-4273-aebd-6b5d98a3109e 2026-02-07 14:37:49,684 - DEBUG - Services list from nova: [, , ] 2026-02-07 14:37:50,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5231-1) 2026-02-07 14:37:51,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5231-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5231-1) 2026-02-07 14:37:51,892 - INFO - Setting gateway for router c39ddfec-10ba-4796-9b8f-1ad8ae8df709 to network 9b02b2b3-0499-4273-aebd-6b5d98a3109e 2026-02-07 14:37:51,939 - INFO - Adding interface with subnet_id 797c362c-ab8a-4785-89e6-600f7bc68b14, port_id None to router c39ddfec-10ba-4796-9b8f-1ad8ae8df709 2026-02-07 14:37:52,209 - INFO - Waiting for VM ctest-TestRoutersBasic-87614648-66619769 to be up.. 2026-02-07 14:37:52,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-07 14:37:57,403 - DEBUG - VM is in ACTIVE state now 2026-02-07 14:37:57,403 - INFO - VM name : ctest-TestRoutersBasic-87614648-66619769 2026-02-07 14:37:57,470 - DEBUG - VM ctest-TestRoutersBasic-87614648-66619769 ID is 22406808-b228-4769-9d4d-9a04f5d54820 2026-02-07 14:37:57,488 - DEBUG - VM ctest-TestRoutersBasic-87614648-66619769 launched on Node cn-jenkins-deploy-platform-ansible-os-5231-1 2026-02-07 14:37:57,555 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/22406808-b228-4769-9d4d-9a04f5d54820 2026-02-07 14:37:57,845 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/22406808-b228-4769-9d4d-9a04f5d54820 2026-02-07 14:37:57,875 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e815a84e-e34e-4436-8383-bb702131c751 2026-02-07 14:38:01,135 - 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 1032ms') 2026-02-07 14:38:01,135 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87614648-66619769 failed! 2026-02-07 14:38:01,190 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87614648:ctest-vn-01613949 is 44.144.72.193 and allocation pool is NOT set 2026-02-07 14:38:03,246 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.320 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.320/1.538/2.756/1.218 ms') 2026-02-07 14:38:03,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87614648-66619769 passed 2026-02-07 14:38:03,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 14:38:03,398 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87614648-66619769, IP 44.144.72.195, Port 22 2026-02-07 14:38:03,554 - DEBUG - VM ctest-TestRoutersBasic-87614648-66619769 is ready for SSH connections 2026-02-07 14:38:03,554 - INFO - Waiting for VM ctest-TestRoutersBasic-87614648-05533399 to be up.. 2026-02-07 14:38:03,621 - DEBUG - VM is in ACTIVE state now 2026-02-07 14:38:03,621 - INFO - VM name : ctest-TestRoutersBasic-87614648-05533399 2026-02-07 14:38:03,687 - DEBUG - VM ctest-TestRoutersBasic-87614648-05533399 ID is 46f30283-d78a-4c1e-8a92-c5784899b615 2026-02-07 14:38:03,687 - DEBUG - VM ctest-TestRoutersBasic-87614648-05533399 launched on Node cn-jenkins-deploy-platform-ansible-os-5231-1 2026-02-07 14:38:03,753 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/46f30283-d78a-4c1e-8a92-c5784899b615 2026-02-07 14:38:03,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/53fec13c-4b15-4df6-aa3b-b9563874a76b 2026-02-07 14:38:04,995 - 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=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.414/1.602/2.791/1.188 ms') 2026-02-07 14:38:04,995 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87614648-05533399 passed 2026-02-07 14:38:05,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 14:38:05,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87614648-05533399, IP 7.114.138.131, Port 22 2026-02-07 14:38:05,293 - DEBUG - VM ctest-TestRoutersBasic-87614648-05533399 is ready for SSH connections 2026-02-07 14:38:05,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 14:38:05,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.114.138.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-07 14:38:05,294 - DEBUG - ping -s 56 -c 3 -W 1 7.114.138.131 2026-02-07 14:38:08,992 - DEBUG - PING 7.114.138.131 (7.114.138.131): 56 data bytes 64 bytes from 7.114.138.131: seq=0 ttl=62 time=6.220 ms 64 bytes from 7.114.138.131: seq=1 ttl=62 time=0.782 ms 64 bytes from 7.114.138.131: seq=2 ttl=62 time=0.911 ms --- 7.114.138.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/2.637/6.220 ms 2026-02-07 14:38:08,993 - INFO - Ping to IP 7.114.138.131 from VM ctest-TestRoutersBasic-87614648-66619769 passed 2026-02-07 14:38:08,993 - INFO - Deleting interface with subnet_id 797c362c-ab8a-4785-89e6-600f7bc68b14, port_id None from router c39ddfec-10ba-4796-9b8f-1ad8ae8df709 2026-02-07 14:38:09,141 - INFO - Deleting VM ctest-TestRoutersBasic-87614648-05533399 2026-02-07 14:38:09,200 - INFO - Deleting VM ctest-TestRoutersBasic-87614648-66619769 2026-02-07 14:38:09,278 - INFO - Deleting VN ctest-ext_vn-66573871 2026-02-07 14:38:09,332 - DEBUG - VN 9b02b2b3-0499-4273-aebd-6b5d98a3109e still in use: Unable to complete operation on network 9b02b2b3-0499-4273-aebd-6b5d98a3109e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1819d1ad-2d18-4238-8329-5817e15c89b5'] 2026-02-07 14:38:09,332 - WARNING - Deleting VN ctest-ext_vn-66573871 failed..Will retry 2026-02-07 14:38:11,420 - DEBUG - Response for deleting network () 2026-02-07 14:38:11,420 - INFO - Deleting VN ctest-vn-01613949 2026-02-07 14:38:11,515 - DEBUG - Response for deleting network () 2026-02-07 14:38:11,772 - DEBUG - No XMPP flaps were noticed during the test
2026-02-07 14:38:11,772 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2026-02-07 14:38:11,772 - INFO - -------------------------------------------------------------------------------- 2026-02-07 14:38:12,445 - INFO - Deleted project: ctest-TestRoutersBasic-87614648, ID : 66aa5eae-d4af-44f0-9a2a-157d538d9ac4