2026-01-20 09:50:02,914 - INFO - Domain Default found not creating 2026-01-20 09:50:03,103 - INFO - Project ctest-TestRoutersBasic-65538400 not found, creating it 2026-01-20 09:50:03,629 - INFO - Created Project:ctest-TestRoutersBasic-65538400, ID : 0520cc1a-4b74-4f1e-801d-b154f0d62ff1 2026-01-20 09:50:05,395 - INFO - ================================================================================ 2026-01-20 09:50:05,395 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-20 09:50:05,395 - 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-01-20 09:50:05,653 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-20 09:50:05,653 - INFO - Initial checks done. Running the testcase now 2026-01-20 09:50:05,653 - INFO - 2026-01-20 09:50:06,491 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65538400 2026-01-20 09:50:06,592 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65538400 2026-01-20 09:50:06,923 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65538400', 'default']} 2026-01-20 09:50:07,252 - DEBUG - Response for create_network : {'network': {'id': '64fd0dc0-ab7c-4387-85f1-b44a081d2efb', 'name': 'ctest-vn-38474561', 'tenant_id': '0520cc1a4b744f1e801db154f0d62ff1', 'project_id': '0520cc1a4b744f1e801db154f0d62ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65538400', 'ctest-vn-38474561'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:07,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e9cce97-223a-452e-9b2b-1b5137370070', 'name': '', 'tenant_id': '0520cc1a4b744f1e801db154f0d62ff1', 'network_id': '64fd0dc0-ab7c-4387-85f1-b44a081d2efb', 'ip_version': 4, 'cidr': '19.98.103.128/26', 'allocation_pools': [{'start': '19.98.103.130', 'end': '19.98.103.190'}], 'gateway_ip': '19.98.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.98.103.130', 'tags': [], 'project_id': '0520cc1a4b744f1e801db154f0d62ff1'}} 2026-01-20 09:50:07,447 - INFO - Created VN ctest-vn-38474561 2026-01-20 09:50:07,500 - DEBUG - VN ctest-vn-38474561 UUID is 64fd0dc0-ab7c-4387-85f1-b44a081d2efb 2026-01-20 09:50:07,897 - DEBUG - Response for create_network : {'network': {'id': '707228d4-ec96-40be-9a74-ffad214cd6b0', 'name': 'ctest-ext_vn-91456890', 'tenant_id': '0520cc1a4b744f1e801db154f0d62ff1', 'project_id': '0520cc1a4b744f1e801db154f0d62ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65538400', 'ctest-ext_vn-91456890'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 09:50:08,062 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a491663c-16ea-4945-a2bf-b01af9dca81c', 'name': '', 'tenant_id': '0520cc1a4b744f1e801db154f0d62ff1', 'network_id': '707228d4-ec96-40be-9a74-ffad214cd6b0', 'ip_version': 4, 'cidr': '182.222.250.64/26', 'allocation_pools': [{'start': '182.222.250.66', 'end': '182.222.250.126'}], 'gateway_ip': '182.222.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.222.250.66', 'tags': [], 'project_id': '0520cc1a4b744f1e801db154f0d62ff1'}} 2026-01-20 09:50:08,082 - INFO - Created VN ctest-ext_vn-91456890 2026-01-20 09:50:08,144 - DEBUG - VN ctest-ext_vn-91456890 UUID is 707228d4-ec96-40be-9a74-ffad214cd6b0 2026-01-20 09:50:08,325 - DEBUG - Services list from nova: [, , ] 2026-01-20 09:50:09,533 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5047-1) 2026-01-20 09:50:10,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5047-1) 2026-01-20 09:50:10,956 - INFO - Setting gateway for router 0b86e7b6-4417-4cb3-b479-886181fb8a6b to network 707228d4-ec96-40be-9a74-ffad214cd6b0 2026-01-20 09:50:11,060 - INFO - Adding interface with subnet_id 0e9cce97-223a-452e-9b2b-1b5137370070, port_id None to router 0b86e7b6-4417-4cb3-b479-886181fb8a6b 2026-01-20 09:50:11,488 - INFO - Waiting for VM ctest-TestRoutersBasic-65538400-38640988 to be up.. 2026-01-20 09:50:11,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 09:50:16,791 - DEBUG - VM is in ACTIVE state now 2026-01-20 09:50:16,791 - INFO - VM name : ctest-TestRoutersBasic-65538400-38640988 2026-01-20 09:50:16,884 - DEBUG - VM ctest-TestRoutersBasic-65538400-38640988 ID is 244286bf-b353-4114-b7f5-93d58e4da371 2026-01-20 09:50:16,908 - DEBUG - VM ctest-TestRoutersBasic-65538400-38640988 launched on Node cn-jenkins-deploy-platform-ansible-os-5047-1 2026-01-20 09:50:16,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/244286bf-b353-4114-b7f5-93d58e4da371 2026-01-20 09:50:17,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/244286bf-b353-4114-b7f5-93d58e4da371 2026-01-20 09:50:17,387 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/92195aa7-7258-4edc-808c-8a4b8fa7a134 2026-01-20 09:50:20,639 - 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 1005ms') 2026-01-20 09:50:20,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65538400-38640988 failed! 2026-01-20 09:50:20,696 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65538400:ctest-vn-38474561 is 19.98.103.129 and allocation pool is NOT set 2026-01-20 09:50:22,759 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.963 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.963/2.786/4.610/1.823 ms') 2026-01-20 09:50:22,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65538400-38640988 passed 2026-01-20 09:50:22,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:50:22,916 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65538400-38640988, IP 19.98.103.131, Port 22 2026-01-20 09:50:23,083 - DEBUG - VM ctest-TestRoutersBasic-65538400-38640988 is ready for SSH connections 2026-01-20 09:50:23,083 - INFO - Waiting for VM ctest-TestRoutersBasic-65538400-27396410 to be up.. 2026-01-20 09:50:23,189 - DEBUG - VM is in ACTIVE state now 2026-01-20 09:50:23,189 - INFO - VM name : ctest-TestRoutersBasic-65538400-27396410 2026-01-20 09:50:23,280 - DEBUG - VM ctest-TestRoutersBasic-65538400-27396410 ID is 3922402b-ac2e-4340-8e4c-75f47b1338c6 2026-01-20 09:50:23,280 - DEBUG - VM ctest-TestRoutersBasic-65538400-27396410 launched on Node cn-jenkins-deploy-platform-ansible-os-5047-1 2026-01-20 09:50:23,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3922402b-ac2e-4340-8e4c-75f47b1338c6 2026-01-20 09:50:23,375 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2d67902c-aeda-4e43-b180-1a3b878379a4 2026-01-20 09:50:24,625 - 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=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.11 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 = 3.109/3.660/4.211/0.551 ms') 2026-01-20 09:50:24,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65538400-27396410 passed 2026-01-20 09:50:24,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:50:24,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65538400-27396410, IP 182.222.250.67, Port 22 2026-01-20 09:50:24,940 - DEBUG - VM ctest-TestRoutersBasic-65538400-27396410 is ready for SSH connections 2026-01-20 09:50:24,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 09:50:24,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.222.250.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-20 09:50:24,940 - DEBUG - ping -s 56 -c 3 -W 1 182.222.250.67 2026-01-20 09:50:28,746 - DEBUG - PING 182.222.250.67 (182.222.250.67): 56 data bytes 64 bytes from 182.222.250.67: seq=0 ttl=62 time=6.000 ms 64 bytes from 182.222.250.67: seq=1 ttl=62 time=1.323 ms 64 bytes from 182.222.250.67: seq=2 ttl=62 time=1.150 ms --- 182.222.250.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/2.824/6.000 ms 2026-01-20 09:50:28,746 - INFO - Ping to IP 182.222.250.67 from VM ctest-TestRoutersBasic-65538400-38640988 passed 2026-01-20 09:50:28,747 - INFO - Deleting interface with subnet_id 0e9cce97-223a-452e-9b2b-1b5137370070, port_id None from router 0b86e7b6-4417-4cb3-b479-886181fb8a6b 2026-01-20 09:50:28,952 - INFO - Deleting VM ctest-TestRoutersBasic-65538400-27396410 2026-01-20 09:50:29,073 - INFO - Deleting VM ctest-TestRoutersBasic-65538400-38640988 2026-01-20 09:50:29,176 - INFO - Deleting VN ctest-ext_vn-91456890 2026-01-20 09:50:29,341 - DEBUG - VN 707228d4-ec96-40be-9a74-ffad214cd6b0 still in use: Unable to complete operation on network 707228d4-ec96-40be-9a74-ffad214cd6b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-189cd10e-72ae-4bdf-8ef7-9a96579d2227'] 2026-01-20 09:50:29,341 - WARNING - Deleting VN ctest-ext_vn-91456890 failed..Will retry 2026-01-20 09:50:31,458 - DEBUG - Response for deleting network () 2026-01-20 09:50:31,458 - INFO - Deleting VN ctest-vn-38474561 2026-01-20 09:50:31,564 - DEBUG - Response for deleting network () 2026-01-20 09:50:31,822 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 09:50:31,822 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-20 09:50:31,822 - INFO - -------------------------------------------------------------------------------- 2026-01-20 09:50:32,572 - INFO - Deleted project: ctest-TestRoutersBasic-65538400, ID : 0520cc1a-4b74-4f1e-801d-b154f0d62ff1