2026-02-04 21:40:00,831 - INFO - Domain Default found not creating 2026-02-04 21:40:01,004 - INFO - Project ctest-TestRoutersBasic-15454760 not found, creating it 2026-02-04 21:40:01,481 - INFO - Created Project:ctest-TestRoutersBasic-15454760, ID : b6dbcbf6-2333-412b-bc15-ed8ffcf3b906 2026-02-04 21:40:03,018 - INFO - ================================================================================ 2026-02-04 21:40:03,018 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-04 21:40:03,018 - 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-04 21:40:03,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-04 21:40:03,280 - INFO - Initial checks done. Running the testcase now 2026-02-04 21:40:03,280 - INFO - 2026-02-04 21:40:03,997 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15454760 2026-02-04 21:40:04,094 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15454760 2026-02-04 21:40:04,414 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15454760', 'default']} 2026-02-04 21:40:04,695 - DEBUG - Response for create_network : {'network': {'id': '9b8d9b21-edb2-477e-a0d3-aa3a1a5ca90c', 'name': 'ctest-vn-53772818', 'tenant_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'project_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15454760', 'ctest-vn-53772818'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:04,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff7430d1-6eb8-4983-b490-e0bcf10dd15f', 'name': '', 'tenant_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'network_id': '9b8d9b21-edb2-477e-a0d3-aa3a1a5ca90c', 'ip_version': 4, 'cidr': '177.137.83.64/26', 'allocation_pools': [{'start': '177.137.83.66', 'end': '177.137.83.126'}], 'gateway_ip': '177.137.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.137.83.66', 'tags': [], 'project_id': 'b6dbcbf62333412bbc15ed8ffcf3b906'}} 2026-02-04 21:40:04,893 - INFO - Created VN ctest-vn-53772818 2026-02-04 21:40:04,946 - DEBUG - VN ctest-vn-53772818 UUID is 9b8d9b21-edb2-477e-a0d3-aa3a1a5ca90c 2026-02-04 21:40:05,262 - DEBUG - Response for create_network : {'network': {'id': '5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da', 'name': 'ctest-ext_vn-32510559', 'tenant_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'project_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15454760', 'ctest-ext_vn-32510559'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 21:40:05,443 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c24f2c5-d495-4c4f-98ac-d7afa617cc04', 'name': '', 'tenant_id': 'b6dbcbf62333412bbc15ed8ffcf3b906', 'network_id': '5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da', 'ip_version': 4, 'cidr': '167.82.172.64/26', 'allocation_pools': [{'start': '167.82.172.66', 'end': '167.82.172.126'}], 'gateway_ip': '167.82.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.82.172.66', 'tags': [], 'project_id': 'b6dbcbf62333412bbc15ed8ffcf3b906'}} 2026-02-04 21:40:05,460 - INFO - Created VN ctest-ext_vn-32510559 2026-02-04 21:40:05,510 - DEBUG - VN ctest-ext_vn-32510559 UUID is 5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da 2026-02-04 21:40:05,677 - DEBUG - Services list from nova: [, , ] 2026-02-04 21:40:06,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5210-1) 2026-02-04 21:40:07,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5210-1) 2026-02-04 21:40:07,911 - INFO - Setting gateway for router e0e69c11-bb87-4a9f-8032-2be9d68544a2 to network 5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da 2026-02-04 21:40:07,985 - INFO - Adding interface with subnet_id ff7430d1-6eb8-4983-b490-e0bcf10dd15f, port_id None to router e0e69c11-bb87-4a9f-8032-2be9d68544a2 2026-02-04 21:40:08,399 - INFO - Waiting for VM ctest-TestRoutersBasic-15454760-14136203 to be up.. 2026-02-04 21:40:08,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 21:40:13,610 - DEBUG - VM is in ACTIVE state now 2026-02-04 21:40:13,610 - INFO - VM name : ctest-TestRoutersBasic-15454760-14136203 2026-02-04 21:40:13,683 - DEBUG - VM ctest-TestRoutersBasic-15454760-14136203 ID is 006a9a18-82fb-44b7-8b4c-99ff99d18f6a 2026-02-04 21:40:13,705 - DEBUG - VM ctest-TestRoutersBasic-15454760-14136203 launched on Node cn-jenkins-deploy-platform-ansible-os-5210-1 2026-02-04 21:40:13,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/006a9a18-82fb-44b7-8b4c-99ff99d18f6a 2026-02-04 21:40:14,089 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/006a9a18-82fb-44b7-8b4c-99ff99d18f6a 2026-02-04 21:40:14,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d7152742-6aca-486a-add2-5ce05c4d7807 2026-02-04 21:40:17,368 - 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 1022ms') 2026-02-04 21:40:17,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15454760-14136203 failed! 2026-02-04 21:40:17,422 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15454760:ctest-vn-53772818 is 177.137.83.65 and allocation pool is NOT set 2026-02-04 21:40:19,486 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.602 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.602/1.763/2.925/1.161 ms') 2026-02-04 21:40:19,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15454760-14136203 passed 2026-02-04 21:40:19,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:40:19,634 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15454760-14136203, IP 177.137.83.67, Port 22 2026-02-04 21:40:19,801 - DEBUG - VM ctest-TestRoutersBasic-15454760-14136203 is ready for SSH connections 2026-02-04 21:40:19,801 - INFO - Waiting for VM ctest-TestRoutersBasic-15454760-91620895 to be up.. 2026-02-04 21:40:19,877 - DEBUG - VM is in ACTIVE state now 2026-02-04 21:40:19,878 - INFO - VM name : ctest-TestRoutersBasic-15454760-91620895 2026-02-04 21:40:19,950 - DEBUG - VM ctest-TestRoutersBasic-15454760-91620895 ID is 32221ccf-3e7c-4606-b487-532f14ee5a86 2026-02-04 21:40:19,950 - DEBUG - VM ctest-TestRoutersBasic-15454760-91620895 launched on Node cn-jenkins-deploy-platform-ansible-os-5210-1 2026-02-04 21:40:20,029 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/32221ccf-3e7c-4606-b487-532f14ee5a86 2026-02-04 21:40:20,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e94ebedd-8d4d-49eb-8abf-b5275d940eee 2026-02-04 21:40:21,265 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.966/3.526/1.560 ms') 2026-02-04 21:40:21,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15454760-91620895 passed 2026-02-04 21:40:21,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:40:21,426 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15454760-91620895, IP 167.82.172.67, Port 22 2026-02-04 21:40:21,589 - DEBUG - VM ctest-TestRoutersBasic-15454760-91620895 is ready for SSH connections 2026-02-04 21:40:21,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 21:40:21,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.82.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-04 21:40:21,589 - DEBUG - ping -s 56 -c 3 -W 1 167.82.172.67 2026-02-04 21:40:25,297 - DEBUG - PING 167.82.172.67 (167.82.172.67): 56 data bytes 64 bytes from 167.82.172.67: seq=0 ttl=62 time=8.263 ms 64 bytes from 167.82.172.67: seq=1 ttl=62 time=0.923 ms 64 bytes from 167.82.172.67: seq=2 ttl=62 time=0.930 ms --- 167.82.172.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/3.372/8.263 ms 2026-02-04 21:40:25,297 - INFO - Ping to IP 167.82.172.67 from VM ctest-TestRoutersBasic-15454760-14136203 passed 2026-02-04 21:40:25,298 - INFO - Deleting interface with subnet_id ff7430d1-6eb8-4983-b490-e0bcf10dd15f, port_id None from router e0e69c11-bb87-4a9f-8032-2be9d68544a2 2026-02-04 21:40:25,476 - INFO - Deleting VM ctest-TestRoutersBasic-15454760-91620895 2026-02-04 21:40:25,548 - INFO - Deleting VM ctest-TestRoutersBasic-15454760-14136203 2026-02-04 21:40:25,619 - INFO - Deleting VN ctest-ext_vn-32510559 2026-02-04 21:40:25,678 - DEBUG - VN 5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da still in use: Unable to complete operation on network 5fbb5a8a-28a0-43dc-b1d4-7370ec19a3da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6940f13-e6bd-475e-a562-48f170af6303'] 2026-02-04 21:40:25,678 - WARNING - Deleting VN ctest-ext_vn-32510559 failed..Will retry 2026-02-04 21:40:27,778 - DEBUG - Response for deleting network () 2026-02-04 21:40:27,778 - INFO - Deleting VN ctest-vn-53772818 2026-02-04 21:40:27,872 - DEBUG - Response for deleting network () 2026-02-04 21:40:28,130 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 21:40:28,130 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-04 21:40:28,131 - INFO - -------------------------------------------------------------------------------- 2026-02-04 21:40:28,821 - INFO - Deleted project: ctest-TestRoutersBasic-15454760, ID : b6dbcbf6-2333-412b-bc15-ed8ffcf3b906