2026-01-19 11:57:22,733 - INFO - Domain Default found not creating 2026-01-19 11:57:22,912 - INFO - Project ctest-TestRoutersBasic-90183445 not found, creating it 2026-01-19 11:57:23,412 - INFO - Created Project:ctest-TestRoutersBasic-90183445, ID : ebc039f5-a325-4835-94bc-e928820709af 2026-01-19 11:57:25,012 - INFO - ================================================================================ 2026-01-19 11:57:25,012 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 11:57:25,012 - 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-19 11:57:25,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2026-01-19 11:57:25,275 - INFO - Initial checks done. Running the testcase now 2026-01-19 11:57:25,275 - INFO - 2026-01-19 11:57:26,034 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90183445 2026-01-19 11:57:26,133 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90183445 2026-01-19 11:57:26,465 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90183445', 'default']} 2026-01-19 11:57:26,774 - DEBUG - Response for create_network : {'network': {'id': '7acaba1c-6956-4239-834d-d525ce760b4f', 'name': 'ctest-vn-21654115', 'tenant_id': 'ebc039f5a325483594bce928820709af', 'project_id': 'ebc039f5a325483594bce928820709af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90183445', 'ctest-vn-21654115'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:57:27,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '99cd1bf8-9098-4f23-9057-a5036f9bea6f', 'name': '', 'tenant_id': 'ebc039f5a325483594bce928820709af', 'network_id': '7acaba1c-6956-4239-834d-d525ce760b4f', 'ip_version': 4, 'cidr': '211.83.180.0/26', 'allocation_pools': [{'start': '211.83.180.2', 'end': '211.83.180.62'}], 'gateway_ip': '211.83.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.83.180.2', 'tags': [], 'project_id': 'ebc039f5a325483594bce928820709af'}} 2026-01-19 11:57:27,036 - INFO - Created VN ctest-vn-21654115 2026-01-19 11:57:27,093 - DEBUG - VN ctest-vn-21654115 UUID is 7acaba1c-6956-4239-834d-d525ce760b4f 2026-01-19 11:57:27,416 - DEBUG - Response for create_network : {'network': {'id': '19895f5a-c13b-44ad-b1fc-390511b0c680', 'name': 'ctest-ext_vn-44874270', 'tenant_id': 'ebc039f5a325483594bce928820709af', 'project_id': 'ebc039f5a325483594bce928820709af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90183445', 'ctest-ext_vn-44874270'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 11:57:27,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '99301f22-1459-4c2f-90a5-aa747bd271f2', 'name': '', 'tenant_id': 'ebc039f5a325483594bce928820709af', 'network_id': '19895f5a-c13b-44ad-b1fc-390511b0c680', 'ip_version': 4, 'cidr': '18.210.112.128/26', 'allocation_pools': [{'start': '18.210.112.130', 'end': '18.210.112.190'}], 'gateway_ip': '18.210.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.210.112.130', 'tags': [], 'project_id': 'ebc039f5a325483594bce928820709af'}} 2026-01-19 11:57:27,649 - INFO - Created VN ctest-ext_vn-44874270 2026-01-19 11:57:27,709 - DEBUG - VN ctest-ext_vn-44874270 UUID is 19895f5a-c13b-44ad-b1fc-390511b0c680 2026-01-19 11:57:27,905 - DEBUG - Services list from nova: [, , ] 2026-01-19 11:57:29,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5044-1) 2026-01-19 11:57:30,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5044-1) 2026-01-19 11:57:30,302 - INFO - Setting gateway for router e205991f-9dc6-4f10-8ed8-8dc009061d9f to network 19895f5a-c13b-44ad-b1fc-390511b0c680 2026-01-19 11:57:30,378 - INFO - Adding interface with subnet_id 99cd1bf8-9098-4f23-9057-a5036f9bea6f, port_id None to router e205991f-9dc6-4f10-8ed8-8dc009061d9f 2026-01-19 11:57:30,806 - INFO - Waiting for VM ctest-TestRoutersBasic-90183445-72768432 to be up.. 2026-01-19 11:57:30,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 11:57:36,053 - DEBUG - VM is in ACTIVE state now 2026-01-19 11:57:36,053 - INFO - VM name : ctest-TestRoutersBasic-90183445-72768432 2026-01-19 11:57:36,133 - DEBUG - VM ctest-TestRoutersBasic-90183445-72768432 ID is 656ccc30-d9f3-49fd-a44d-a639c0f72fd4 2026-01-19 11:57:36,154 - DEBUG - VM ctest-TestRoutersBasic-90183445-72768432 launched on Node cn-jenkins-deploy-platform-ansible-os-5044-1 2026-01-19 11:57:36,244 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/656ccc30-d9f3-49fd-a44d-a639c0f72fd4 2026-01-19 11:57:36,539 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/656ccc30-d9f3-49fd-a44d-a639c0f72fd4 2026-01-19 11:57:36,574 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0f1dcb8f-8d06-428a-8e08-b08137f4db1c 2026-01-19 11:57:39,834 - 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 1023ms') 2026-01-19 11:57:39,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90183445-72768432 failed! 2026-01-19 11:57:39,889 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90183445:ctest-vn-21654115 is 211.83.180.1 and allocation pool is NOT set 2026-01-19 11:57:41,956 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.12 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 = 4.121/4.322/4.524/0.201 ms') 2026-01-19 11:57:41,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90183445-72768432 passed 2026-01-19 11:57:42,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:57:42,113 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90183445-72768432, IP 211.83.180.3, Port 22 2026-01-19 11:57:42,268 - DEBUG - VM ctest-TestRoutersBasic-90183445-72768432 is ready for SSH connections 2026-01-19 11:57:42,268 - INFO - Waiting for VM ctest-TestRoutersBasic-90183445-38271067 to be up.. 2026-01-19 11:57:42,351 - DEBUG - VM is in ACTIVE state now 2026-01-19 11:57:42,351 - INFO - VM name : ctest-TestRoutersBasic-90183445-38271067 2026-01-19 11:57:42,444 - DEBUG - VM ctest-TestRoutersBasic-90183445-38271067 ID is 385d9d5c-47b2-48a6-b175-2130c0c6345a 2026-01-19 11:57:42,444 - DEBUG - VM ctest-TestRoutersBasic-90183445-38271067 launched on Node cn-jenkins-deploy-platform-ansible-os-5044-1 2026-01-19 11:57:42,518 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/385d9d5c-47b2-48a6-b175-2130c0c6345a 2026-01-19 11:57:42,528 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1f0fb68b-eb8a-488b-a9d4-109887a1dc70 2026-01-19 11:57:43,767 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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 = 1.414/2.761/4.108/1.347 ms') 2026-01-19 11:57:43,768 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90183445-38271067 passed 2026-01-19 11:57:43,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:57:43,917 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90183445-38271067, IP 18.210.112.131, Port 22 2026-01-19 11:57:44,073 - DEBUG - VM ctest-TestRoutersBasic-90183445-38271067 is ready for SSH connections 2026-01-19 11:57:44,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 11:57:44,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.210.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-19 11:57:44,073 - DEBUG - ping -s 56 -c 3 -W 1 18.210.112.131 2026-01-19 11:57:47,808 - DEBUG - PING 18.210.112.131 (18.210.112.131): 56 data bytes 64 bytes from 18.210.112.131: seq=0 ttl=62 time=5.473 ms 64 bytes from 18.210.112.131: seq=1 ttl=62 time=1.463 ms 64 bytes from 18.210.112.131: seq=2 ttl=62 time=1.310 ms --- 18.210.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.310/2.748/5.473 ms 2026-01-19 11:57:47,808 - INFO - Ping to IP 18.210.112.131 from VM ctest-TestRoutersBasic-90183445-72768432 passed 2026-01-19 11:57:47,808 - INFO - Deleting interface with subnet_id 99cd1bf8-9098-4f23-9057-a5036f9bea6f, port_id None from router e205991f-9dc6-4f10-8ed8-8dc009061d9f 2026-01-19 11:57:48,011 - INFO - Deleting VM ctest-TestRoutersBasic-90183445-38271067 2026-01-19 11:57:48,095 - INFO - Deleting VM ctest-TestRoutersBasic-90183445-72768432 2026-01-19 11:57:48,188 - INFO - Deleting VN ctest-ext_vn-44874270 2026-01-19 11:57:48,278 - DEBUG - VN 19895f5a-c13b-44ad-b1fc-390511b0c680 still in use: Unable to complete operation on network 19895f5a-c13b-44ad-b1fc-390511b0c680. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff02da1b-2a7e-472d-8fe1-775d5b8bff07'] 2026-01-19 11:57:48,278 - WARNING - Deleting VN ctest-ext_vn-44874270 failed..Will retry 2026-01-19 11:57:50,379 - DEBUG - Response for deleting network () 2026-01-19 11:57:50,379 - INFO - Deleting VN ctest-vn-21654115 2026-01-19 11:57:50,485 - DEBUG - Response for deleting network () 2026-01-19 11:57:50,743 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 11:57:50,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-19 11:57:50,743 - INFO - -------------------------------------------------------------------------------- 2026-01-19 11:57:51,468 - INFO - Deleted project: ctest-TestRoutersBasic-90183445, ID : ebc039f5-a325-4835-94bc-e928820709af