2025-10-21 09:52:08,482 - INFO - Domain Default found not creating 2025-10-21 09:52:08,602 - INFO - Project ctest-TestRoutersBasic-11725616 not found, creating it 2025-10-21 09:52:09,045 - INFO - Created Project:ctest-TestRoutersBasic-11725616, ID : 5f486b96-a148-4f83-9f7c-c0fb5492f7db 2025-10-21 09:52:10,409 - INFO - ================================================================================ 2025-10-21 09:52:10,409 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 09:52:10,409 - 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 2025-10-21 09:52:10,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 09:52:10,668 - INFO - Initial checks done. Running the testcase now 2025-10-21 09:52:10,668 - INFO - 2025-10-21 09:52:11,352 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11725616 2025-10-21 09:52:11,447 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11725616 2025-10-21 09:52:11,763 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11725616', 'default']} 2025-10-21 09:52:12,031 - DEBUG - Response for create_network : {'network': {'id': 'ae86f13b-82f3-452b-87d9-6a5e53093ac3', 'name': 'ctest-vn-43627001', 'tenant_id': '5f486b96a1484f839f7cc0fb5492f7db', 'project_id': '5f486b96a1484f839f7cc0fb5492f7db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11725616', 'ctest-vn-43627001'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:12,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '9787d341-cd3a-43df-aef9-a49249619cf2', 'name': '', 'tenant_id': '5f486b96a1484f839f7cc0fb5492f7db', 'network_id': 'ae86f13b-82f3-452b-87d9-6a5e53093ac3', 'ip_version': 4, 'cidr': '209.236.64.192/26', 'allocation_pools': [{'start': '209.236.64.194', 'end': '209.236.64.254'}], 'gateway_ip': '209.236.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.236.64.194', 'tags': [], 'project_id': '5f486b96a1484f839f7cc0fb5492f7db'}} 2025-10-21 09:52:12,261 - INFO - Created VN ctest-vn-43627001 2025-10-21 09:52:12,311 - DEBUG - VN ctest-vn-43627001 UUID is ae86f13b-82f3-452b-87d9-6a5e53093ac3 2025-10-21 09:52:12,631 - DEBUG - Response for create_network : {'network': {'id': 'dadb7be7-b027-4085-a8ed-12e59f83bdde', 'name': 'ctest-ext_vn-64912343', 'tenant_id': '5f486b96a1484f839f7cc0fb5492f7db', 'project_id': '5f486b96a1484f839f7cc0fb5492f7db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11725616', 'ctest-ext_vn-64912343'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:12,827 - DEBUG - Response for create_subnet : {'subnet': {'id': '9133786b-4127-4103-a12f-a1111012fa1a', 'name': '', 'tenant_id': '5f486b96a1484f839f7cc0fb5492f7db', 'network_id': 'dadb7be7-b027-4085-a8ed-12e59f83bdde', 'ip_version': 4, 'cidr': '37.21.182.128/26', 'allocation_pools': [{'start': '37.21.182.130', 'end': '37.21.182.190'}], 'gateway_ip': '37.21.182.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.21.182.130', 'tags': [], 'project_id': '5f486b96a1484f839f7cc0fb5492f7db'}} 2025-10-21 09:52:12,843 - INFO - Created VN ctest-ext_vn-64912343 2025-10-21 09:52:12,895 - DEBUG - VN ctest-ext_vn-64912343 UUID is dadb7be7-b027-4085-a8ed-12e59f83bdde 2025-10-21 09:52:13,090 - DEBUG - Services list from nova: [, , ] 2025-10-21 09:52:14,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:52:15,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:52:15,171 - INFO - Setting gateway for router 3ae79388-83b2-4090-9428-229a8aba0c05 to network dadb7be7-b027-4085-a8ed-12e59f83bdde 2025-10-21 09:52:15,229 - INFO - Adding interface with subnet_id 9787d341-cd3a-43df-aef9-a49249619cf2, port_id None to router 3ae79388-83b2-4090-9428-229a8aba0c05 2025-10-21 09:52:15,642 - INFO - Waiting for VM ctest-TestRoutersBasic-11725616-87235706 to be up.. 2025-10-21 09:52:15,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 09:52:20,822 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:52:20,823 - INFO - VM name : ctest-TestRoutersBasic-11725616-87235706 2025-10-21 09:52:20,885 - DEBUG - VM ctest-TestRoutersBasic-11725616-87235706 ID is e1840f18-521d-4f0d-9e2a-7a7087ba2ad5 2025-10-21 09:52:20,902 - DEBUG - VM ctest-TestRoutersBasic-11725616-87235706 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:52:20,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1840f18-521d-4f0d-9e2a-7a7087ba2ad5 2025-10-21 09:52:21,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1840f18-521d-4f0d-9e2a-7a7087ba2ad5 2025-10-21 09:52:21,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9912e871-2746-4412-9d78-e725e3f1e46e 2025-10-21 09:52:24,531 - 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 1011ms') 2025-10-21 09:52:24,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11725616-87235706 failed! 2025-10-21 09:52:24,583 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11725616:ctest-vn-43627001 is 209.236.64.193 and allocation pool is NOT set 2025-10-21 09:52:26,646 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.477/2.550/1.072 ms') 2025-10-21 09:52:26,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11725616-87235706 passed 2025-10-21 09:52:26,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:52:26,803 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11725616-87235706, IP 209.236.64.195, Port 22 2025-10-21 09:52:26,963 - DEBUG - VM ctest-TestRoutersBasic-11725616-87235706 is ready for SSH connections 2025-10-21 09:52:26,963 - INFO - Waiting for VM ctest-TestRoutersBasic-11725616-38804625 to be up.. 2025-10-21 09:52:27,028 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:52:27,029 - INFO - VM name : ctest-TestRoutersBasic-11725616-38804625 2025-10-21 09:52:27,091 - DEBUG - VM ctest-TestRoutersBasic-11725616-38804625 ID is 987101cb-bc78-45f3-bf86-86ae082b9b41 2025-10-21 09:52:27,091 - DEBUG - VM ctest-TestRoutersBasic-11725616-38804625 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:52:27,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/987101cb-bc78-45f3-bf86-86ae082b9b41 2025-10-21 09:52:27,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9607db7e-5ec6-43db-a9db-ae1d107f9e6a 2025-10-21 09:52:28,399 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.600/2.797/1.196 ms') 2025-10-21 09:52:28,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11725616-38804625 passed 2025-10-21 09:52:28,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:52:28,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11725616-38804625, IP 37.21.182.131, Port 22 2025-10-21 09:52:28,702 - DEBUG - VM ctest-TestRoutersBasic-11725616-38804625 is ready for SSH connections 2025-10-21 09:52:28,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:52:28,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.21.182.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:52:28,703 - DEBUG - ping -s 56 -c 3 -W 1 37.21.182.131 2025-10-21 09:52:32,726 - DEBUG - PING 37.21.182.131 (37.21.182.131): 56 data bytes 64 bytes from 37.21.182.131: seq=0 ttl=62 time=6.827 ms 64 bytes from 37.21.182.131: seq=1 ttl=62 time=0.779 ms 64 bytes from 37.21.182.131: seq=2 ttl=62 time=0.735 ms --- 37.21.182.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/2.780/6.827 ms 2025-10-21 09:52:32,726 - INFO - Ping to IP 37.21.182.131 from VM ctest-TestRoutersBasic-11725616-87235706 passed 2025-10-21 09:52:32,726 - INFO - Deleting interface with subnet_id 9787d341-cd3a-43df-aef9-a49249619cf2, port_id None from router 3ae79388-83b2-4090-9428-229a8aba0c05 2025-10-21 09:52:32,879 - INFO - Deleting VM ctest-TestRoutersBasic-11725616-38804625 2025-10-21 09:52:32,943 - INFO - Deleting VM ctest-TestRoutersBasic-11725616-87235706 2025-10-21 09:52:33,013 - INFO - Deleting VN ctest-ext_vn-64912343 2025-10-21 09:52:33,080 - DEBUG - VN dadb7be7-b027-4085-a8ed-12e59f83bdde still in use: Unable to complete operation on network dadb7be7-b027-4085-a8ed-12e59f83bdde. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22f6dc48-5464-47d2-8709-6c17a9f5676e'] 2025-10-21 09:52:33,080 - WARNING - Deleting VN ctest-ext_vn-64912343 failed..Will retry 2025-10-21 09:52:35,170 - DEBUG - Response for deleting network () 2025-10-21 09:52:35,170 - INFO - Deleting VN ctest-vn-43627001 2025-10-21 09:52:35,262 - DEBUG - Response for deleting network () 2025-10-21 09:52:35,519 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 09:52:35,519 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 09:52:35,520 - INFO - -------------------------------------------------------------------------------- 2025-10-21 09:52:36,160 - INFO - Deleted project: ctest-TestRoutersBasic-11725616, ID : 5f486b96-a148-4f83-9f7c-c0fb5492f7db