2025-07-15 16:38:11,843 - INFO - Domain Default found not creating 2025-07-15 16:38:11,992 - INFO - Project ctest-TestRoutersBasic-65368460 not found, creating it 2025-07-15 16:38:12,450 - INFO - Created Project:ctest-TestRoutersBasic-65368460, ID : a5690534-276b-40c5-acb7-6d82fe312807 2025-07-15 16:38:13,889 - INFO - ================================================================================ 2025-07-15 16:38:13,889 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-15 16:38:13,889 - 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-07-15 16:38:14,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-07-15 16:38:14,143 - INFO - Initial checks done. Running the testcase now 2025-07-15 16:38:14,143 - INFO - 2025-07-15 16:38:14,871 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65368460 2025-07-15 16:38:14,965 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65368460 2025-07-15 16:38:15,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65368460', 'default']} 2025-07-15 16:38:15,578 - DEBUG - Response for create_network : {'network': {'id': 'c24b5566-a54d-46bf-83f8-03faf6dbde1a', 'name': 'ctest-vn-92144588', 'tenant_id': 'a5690534276b40c5acb76d82fe312807', 'project_id': 'a5690534276b40c5acb76d82fe312807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65368460', 'ctest-vn-92144588'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:38:15,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc390caa-db83-49af-9ab1-57a6456628f9', 'name': '', 'tenant_id': 'a5690534276b40c5acb76d82fe312807', 'network_id': 'c24b5566-a54d-46bf-83f8-03faf6dbde1a', 'ip_version': 4, 'cidr': '215.26.228.128/26', 'allocation_pools': [{'start': '215.26.228.130', 'end': '215.26.228.190'}], 'gateway_ip': '215.26.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.26.228.130', 'tags': [], 'project_id': 'a5690534276b40c5acb76d82fe312807'}} 2025-07-15 16:38:15,768 - INFO - Created VN ctest-vn-92144588 2025-07-15 16:38:15,821 - DEBUG - VN ctest-vn-92144588 UUID is c24b5566-a54d-46bf-83f8-03faf6dbde1a 2025-07-15 16:38:16,167 - DEBUG - Response for create_network : {'network': {'id': '1c14206c-c8aa-4298-ba32-04bd7930ecb1', 'name': 'ctest-ext_vn-43453378', 'tenant_id': 'a5690534276b40c5acb76d82fe312807', 'project_id': 'a5690534276b40c5acb76d82fe312807', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65368460', 'ctest-ext_vn-43453378'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:38:16,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b1336a4-adbf-45e8-b67e-e6f4ba87e5d7', 'name': '', 'tenant_id': 'a5690534276b40c5acb76d82fe312807', 'network_id': '1c14206c-c8aa-4298-ba32-04bd7930ecb1', 'ip_version': 4, 'cidr': '60.81.46.0/26', 'allocation_pools': [{'start': '60.81.46.2', 'end': '60.81.46.62'}], 'gateway_ip': '60.81.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.81.46.2', 'tags': [], 'project_id': 'a5690534276b40c5acb76d82fe312807'}} 2025-07-15 16:38:16,348 - INFO - Created VN ctest-ext_vn-43453378 2025-07-15 16:38:16,401 - DEBUG - VN ctest-ext_vn-43453378 UUID is 1c14206c-c8aa-4298-ba32-04bd7930ecb1 2025-07-15 16:38:16,563 - DEBUG - Services list from nova: [, , ] 2025-07-15 16:38:17,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3640-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3640-30) 2025-07-15 16:38:18,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3640-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3640-30) 2025-07-15 16:38:18,751 - INFO - Setting gateway for router 9b82a9fa-9009-4a94-8c6a-f07753f38ae5 to network 1c14206c-c8aa-4298-ba32-04bd7930ecb1 2025-07-15 16:38:18,838 - INFO - Adding interface with subnet_id fc390caa-db83-49af-9ab1-57a6456628f9, port_id None to router 9b82a9fa-9009-4a94-8c6a-f07753f38ae5 2025-07-15 16:38:19,277 - INFO - Waiting for VM ctest-TestRoutersBasic-65368460-58290749 to be up.. 2025-07-15 16:38:19,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 16:38:24,497 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:38:24,497 - INFO - VM name : ctest-TestRoutersBasic-65368460-58290749 2025-07-15 16:38:24,575 - DEBUG - VM ctest-TestRoutersBasic-65368460-58290749 ID is 6f6ba0ca-95da-41ec-a720-30d850392b58 2025-07-15 16:38:24,603 - DEBUG - VM ctest-TestRoutersBasic-65368460-58290749 launched on Node cn-jenkins-deploy-platform-ansible-os-3640-30. 2025-07-15 16:38:24,685 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6f6ba0ca-95da-41ec-a720-30d850392b58 2025-07-15 16:38:24,990 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6f6ba0ca-95da-41ec-a720-30d850392b58 2025-07-15 16:38:25,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/13e906b5-4d62-4de8-a571-9b246feb849b 2025-07-15 16:38:28,317 - 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 1034ms') 2025-07-15 16:38:28,317 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65368460-58290749 failed! 2025-07-15 16:38:28,381 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65368460:ctest-vn-92144588 is 215.26.228.129 and allocation pool is NOT set 2025-07-15 16:38:30,452 - 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=3.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/2.153/3.772/1.619 ms') 2025-07-15 16:38:30,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65368460-58290749 passed 2025-07-15 16:38:30,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:38:30,617 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65368460-58290749, IP 215.26.228.131, Port 22 2025-07-15 16:38:30,776 - DEBUG - VM ctest-TestRoutersBasic-65368460-58290749 is ready for SSH connections 2025-07-15 16:38:30,776 - INFO - Waiting for VM ctest-TestRoutersBasic-65368460-59103209 to be up.. 2025-07-15 16:38:30,882 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:38:30,882 - INFO - VM name : ctest-TestRoutersBasic-65368460-59103209 2025-07-15 16:38:30,994 - DEBUG - VM ctest-TestRoutersBasic-65368460-59103209 ID is 9d3e393d-1b94-4acb-ab2c-7cb62a9fd5fc 2025-07-15 16:38:30,994 - DEBUG - VM ctest-TestRoutersBasic-65368460-59103209 launched on Node cn-jenkins-deploy-platform-ansible-os-3640-30. 2025-07-15 16:38:31,084 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9d3e393d-1b94-4acb-ab2c-7cb62a9fd5fc 2025-07-15 16:38:31,094 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a9fe5abd-9a6c-4768-b50d-64cbb9b84fff 2025-07-15 16:38:32,356 - 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=8.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.704/5.671/8.638/2.967 ms') 2025-07-15 16:38:32,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65368460-59103209 passed 2025-07-15 16:38:32,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:38:32,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65368460-59103209, IP 60.81.46.3, Port 22 2025-07-15 16:38:32,699 - DEBUG - VM ctest-TestRoutersBasic-65368460-59103209 is ready for SSH connections 2025-07-15 16:38:32,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:38:32,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.81.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-15 16:38:32,699 - DEBUG - ping -s 56 -c 3 -W 1 60.81.46.3 2025-07-15 16:38:36,469 - DEBUG - PING 60.81.46.3 (60.81.46.3): 56 data bytes 64 bytes from 60.81.46.3: seq=0 ttl=62 time=6.311 ms 64 bytes from 60.81.46.3: seq=1 ttl=62 time=1.055 ms 64 bytes from 60.81.46.3: seq=2 ttl=62 time=1.188 ms --- 60.81.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.851/6.311 ms 2025-07-15 16:38:36,469 - INFO - Ping to IP 60.81.46.3 from VM ctest-TestRoutersBasic-65368460-58290749 passed 2025-07-15 16:38:36,469 - INFO - Deleting interface with subnet_id fc390caa-db83-49af-9ab1-57a6456628f9, port_id None from router 9b82a9fa-9009-4a94-8c6a-f07753f38ae5 2025-07-15 16:38:36,780 - INFO - Deleting VM ctest-TestRoutersBasic-65368460-59103209 2025-07-15 16:38:36,885 - INFO - Deleting VM ctest-TestRoutersBasic-65368460-58290749 2025-07-15 16:38:36,975 - INFO - Deleting VN ctest-ext_vn-43453378 2025-07-15 16:38:37,067 - DEBUG - VN 1c14206c-c8aa-4298-ba32-04bd7930ecb1 still in use: Unable to complete operation on network 1c14206c-c8aa-4298-ba32-04bd7930ecb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40d98bca-33f1-4edd-a66b-91ff6a254295'] 2025-07-15 16:38:37,067 - WARNING - Deleting VN ctest-ext_vn-43453378 failed..Will retry 2025-07-15 16:38:39,215 - DEBUG - Response for deleting network () 2025-07-15 16:38:39,216 - INFO - Deleting VN ctest-vn-92144588 2025-07-15 16:38:39,361 - DEBUG - Response for deleting network () 2025-07-15 16:38:39,617 - DEBUG - No XMPP flaps were noticed during the test 2025-07-15 16:38:39,617 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-15 16:38:39,617 - INFO - -------------------------------------------------------------------------------- 2025-07-15 16:38:40,359 - INFO - Deleted project: ctest-TestRoutersBasic-65368460, ID : a5690534-276b-40c5-acb7-6d82fe312807