2026-02-26 02:03:42,382 - INFO - Domain Default found not creating 2026-02-26 02:03:42,544 - INFO - Project ctest-TestRoutersBasic-76954190 not found, creating it 2026-02-26 02:03:43,005 - INFO - Created Project:ctest-TestRoutersBasic-76954190, ID : 428a67da-e69d-401d-8217-766caeb6c491 2026-02-26 02:03:44,439 - INFO - ================================================================================ 2026-02-26 02:03:44,439 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-26 02:03:44,439 - 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-26 02:03:44,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-02-26 02:03:44,695 - INFO - Initial checks done. Running the testcase now 2026-02-26 02:03:44,695 - INFO - 2026-02-26 02:03:45,398 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76954190 2026-02-26 02:03:45,493 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76954190 2026-02-26 02:03:45,808 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76954190', 'default']} 2026-02-26 02:03:46,088 - DEBUG - Response for create_network : {'network': {'id': '317af73c-fd28-4126-b279-74bcb846c083', 'name': 'ctest-vn-52676564', 'tenant_id': '428a67dae69d401d8217766caeb6c491', 'project_id': '428a67dae69d401d8217766caeb6c491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76954190', 'ctest-vn-52676564'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:03:46,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a093084-c80e-4a65-ac6e-36bb094e68be', 'name': '', 'tenant_id': '428a67dae69d401d8217766caeb6c491', 'network_id': '317af73c-fd28-4126-b279-74bcb846c083', 'ip_version': 4, 'cidr': '31.138.151.64/26', 'allocation_pools': [{'start': '31.138.151.66', 'end': '31.138.151.126'}], 'gateway_ip': '31.138.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.138.151.66', 'tags': [], 'project_id': '428a67dae69d401d8217766caeb6c491'}} 2026-02-26 02:03:46,281 - INFO - Created VN ctest-vn-52676564 2026-02-26 02:03:46,333 - DEBUG - VN ctest-vn-52676564 UUID is 317af73c-fd28-4126-b279-74bcb846c083 2026-02-26 02:03:46,649 - DEBUG - Response for create_network : {'network': {'id': 'b9c34f4c-6bdc-47b7-8863-4976fc55b8b1', 'name': 'ctest-ext_vn-11942544', 'tenant_id': '428a67dae69d401d8217766caeb6c491', 'project_id': '428a67dae69d401d8217766caeb6c491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76954190', 'ctest-ext_vn-11942544'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:03:46,847 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afffb274-9d9f-4e23-9cfe-aaa769c326c1', 'name': '', 'tenant_id': '428a67dae69d401d8217766caeb6c491', 'network_id': 'b9c34f4c-6bdc-47b7-8863-4976fc55b8b1', 'ip_version': 4, 'cidr': '161.16.79.192/26', 'allocation_pools': [{'start': '161.16.79.194', 'end': '161.16.79.254'}], 'gateway_ip': '161.16.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.16.79.194', 'tags': [], 'project_id': '428a67dae69d401d8217766caeb6c491'}} 2026-02-26 02:03:46,863 - INFO - Created VN ctest-ext_vn-11942544 2026-02-26 02:03:46,917 - DEBUG - VN ctest-ext_vn-11942544 UUID is b9c34f4c-6bdc-47b7-8863-4976fc55b8b1 2026-02-26 02:03:47,073 - DEBUG - Services list from nova: [, , ] 2026-02-26 02:03:48,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5401-1) 2026-02-26 02:03:49,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5401-1) 2026-02-26 02:03:49,270 - INFO - Setting gateway for router 90a4fec5-56d0-4295-8603-3b0eb731dc55 to network b9c34f4c-6bdc-47b7-8863-4976fc55b8b1 2026-02-26 02:03:49,333 - INFO - Adding interface with subnet_id 6a093084-c80e-4a65-ac6e-36bb094e68be, port_id None to router 90a4fec5-56d0-4295-8603-3b0eb731dc55 2026-02-26 02:03:49,665 - INFO - Waiting for VM ctest-TestRoutersBasic-76954190-86357039 to be up.. 2026-02-26 02:03:49,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 02:03:54,871 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:03:54,871 - INFO - VM name : ctest-TestRoutersBasic-76954190-86357039 2026-02-26 02:03:54,941 - DEBUG - VM ctest-TestRoutersBasic-76954190-86357039 ID is 0fa40861-88fd-4d6f-8e34-a459e0dc78c0 2026-02-26 02:03:54,960 - DEBUG - VM ctest-TestRoutersBasic-76954190-86357039 launched on Node cn-jenkins-deploy-platform-ansible-os-5401-1 2026-02-26 02:03:55,028 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0fa40861-88fd-4d6f-8e34-a459e0dc78c0 2026-02-26 02:03:55,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0fa40861-88fd-4d6f-8e34-a459e0dc78c0 2026-02-26 02:03:55,356 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/145be1c2-6b8a-433e-bfd8-d1ad511d35de 2026-02-26 02:03:58,616 - 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 1024ms') 2026-02-26 02:03:58,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76954190-86357039 failed! 2026-02-26 02:03:58,673 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76954190:ctest-vn-52676564 is 31.138.151.65 and allocation pool is NOT set 2026-02-26 02:04:00,737 - 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.516 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.516/1.639/2.762/1.123 ms') 2026-02-26 02:04:00,738 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76954190-86357039 passed 2026-02-26 02:04:00,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:00,885 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76954190-86357039, IP 31.138.151.67, Port 22 2026-02-26 02:04:01,050 - DEBUG - VM ctest-TestRoutersBasic-76954190-86357039 is ready for SSH connections 2026-02-26 02:04:01,050 - INFO - Waiting for VM ctest-TestRoutersBasic-76954190-86608959 to be up.. 2026-02-26 02:04:01,157 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:04:01,157 - INFO - VM name : ctest-TestRoutersBasic-76954190-86608959 2026-02-26 02:04:01,233 - DEBUG - VM ctest-TestRoutersBasic-76954190-86608959 ID is 5089e58b-e88a-4b20-b619-db07d7700c4b 2026-02-26 02:04:01,233 - DEBUG - VM ctest-TestRoutersBasic-76954190-86608959 launched on Node cn-jenkins-deploy-platform-ansible-os-5401-1 2026-02-26 02:04:01,304 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5089e58b-e88a-4b20-b619-db07d7700c4b 2026-02-26 02:04:01,311 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f639bb31-fa49-4b8f-b37d-913744da1b4e 2026-02-26 02:04:02,556 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.683/2.922/1.238 ms') 2026-02-26 02:04:02,557 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76954190-86608959 passed 2026-02-26 02:04:02,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:02,709 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76954190-86608959, IP 161.16.79.195, Port 22 2026-02-26 02:04:02,881 - DEBUG - VM ctest-TestRoutersBasic-76954190-86608959 is ready for SSH connections 2026-02-26 02:04:02,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:02,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.16.79.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-26 02:04:02,881 - DEBUG - ping -s 56 -c 3 -W 1 161.16.79.195 2026-02-26 02:04:06,570 - DEBUG - PING 161.16.79.195 (161.16.79.195): 56 data bytes 64 bytes from 161.16.79.195: seq=0 ttl=62 time=7.472 ms 64 bytes from 161.16.79.195: seq=1 ttl=62 time=0.990 ms 64 bytes from 161.16.79.195: seq=2 ttl=62 time=0.770 ms --- 161.16.79.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/3.077/7.472 ms 2026-02-26 02:04:06,571 - INFO - Ping to IP 161.16.79.195 from VM ctest-TestRoutersBasic-76954190-86357039 passed 2026-02-26 02:04:06,571 - INFO - Deleting interface with subnet_id 6a093084-c80e-4a65-ac6e-36bb094e68be, port_id None from router 90a4fec5-56d0-4295-8603-3b0eb731dc55 2026-02-26 02:04:06,765 - INFO - Deleting VM ctest-TestRoutersBasic-76954190-86608959 2026-02-26 02:04:06,835 - INFO - Deleting VM ctest-TestRoutersBasic-76954190-86357039 2026-02-26 02:04:06,913 - INFO - Deleting VN ctest-ext_vn-11942544 2026-02-26 02:04:06,991 - DEBUG - VN b9c34f4c-6bdc-47b7-8863-4976fc55b8b1 still in use: Unable to complete operation on network b9c34f4c-6bdc-47b7-8863-4976fc55b8b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-64f37b6e-010d-47d1-8cb4-38495ef8ef70'] 2026-02-26 02:04:06,991 - WARNING - Deleting VN ctest-ext_vn-11942544 failed..Will retry 2026-02-26 02:04:09,149 - DEBUG - Response for deleting network () 2026-02-26 02:04:09,149 - INFO - Deleting VN ctest-vn-52676564 2026-02-26 02:04:09,243 - DEBUG - Response for deleting network () 2026-02-26 02:04:09,498 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 02:04:09,498 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-26 02:04:09,499 - INFO - -------------------------------------------------------------------------------- 2026-02-26 02:04:10,173 - INFO - Deleted project: ctest-TestRoutersBasic-76954190, ID : 428a67da-e69d-401d-8217-766caeb6c491