2025-10-21 17:06:29,961 - INFO - Domain Default found not creating
2025-10-21 17:06:30,142 - INFO - Project ctest-TestRoutersBasic-58278450 not found, creating it
2025-10-21 17:06:30,633 - INFO - Created Project:ctest-TestRoutersBasic-58278450, ID : 6d8fa92d-2066-4d8b-99df-52e26c39a5ff
2025-10-21 17:06:32,148 - INFO - ================================================================================
2025-10-21 17:06:32,148 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-21 17:06:32,148 - 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 17:06:32,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2025-10-21 17:06:32,412 - INFO - Initial checks done. Running the testcase now
2025-10-21 17:06:32,412 - INFO -
2025-10-21 17:06:33,162 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58278450
2025-10-21 17:06:33,261 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58278450
2025-10-21 17:06:33,593 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58278450', 'default']}
2025-10-21 17:06:33,905 - DEBUG - Response for create_network : {'network': {'id': '6a9a7839-3dc6-499a-8bac-f68070e5bdce', 'name': 'ctest-vn-32187301', 'tenant_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'project_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58278450', 'ctest-vn-32187301'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:06:34,126 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d3cbbc2-3fbb-44f1-822d-72316a1801c5', 'name': '', 'tenant_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'network_id': '6a9a7839-3dc6-499a-8bac-f68070e5bdce', 'ip_version': 4, 'cidr': '58.115.41.192/26', 'allocation_pools': [{'start': '58.115.41.194', 'end': '58.115.41.254'}], 'gateway_ip': '58.115.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.115.41.194', 'tags': [], 'project_id': '6d8fa92d20664d8b99df52e26c39a5ff'}}
2025-10-21 17:06:34,145 - INFO - Created VN ctest-vn-32187301
2025-10-21 17:06:34,197 - DEBUG - VN ctest-vn-32187301 UUID is 6a9a7839-3dc6-499a-8bac-f68070e5bdce
2025-10-21 17:06:34,560 - DEBUG - Response for create_network : {'network': {'id': 'ba6724ff-51de-40b5-b6b2-6390013c325f', 'name': 'ctest-ext_vn-84023831', 'tenant_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'project_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58278450', 'ctest-ext_vn-84023831'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:06:34,784 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf2b8a6b-a6ff-4f36-acf5-6c2e7f7a4032', 'name': '', 'tenant_id': '6d8fa92d20664d8b99df52e26c39a5ff', 'network_id': 'ba6724ff-51de-40b5-b6b2-6390013c325f', 'ip_version': 4, 'cidr': '154.151.214.0/26', 'allocation_pools': [{'start': '154.151.214.2', 'end': '154.151.214.62'}], 'gateway_ip': '154.151.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.151.214.2', 'tags': [], 'project_id': '6d8fa92d20664d8b99df52e26c39a5ff'}}
2025-10-21 17:06:34,811 - INFO - Created VN ctest-ext_vn-84023831
2025-10-21 17:06:34,866 - DEBUG - VN ctest-ext_vn-84023831 UUID is ba6724ff-51de-40b5-b6b2-6390013c325f
2025-10-21 17:06:35,063 - DEBUG - Services list from nova: [, , ]
2025-10-21 17:06:36,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1)
2025-10-21 17:06:37,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1)
2025-10-21 17:06:37,475 - INFO - Setting gateway for router 19e66ef2-e7c8-43e5-be6d-973f30a9405e to network ba6724ff-51de-40b5-b6b2-6390013c325f
2025-10-21 17:06:37,571 - INFO - Adding interface with subnet_id 9d3cbbc2-3fbb-44f1-822d-72316a1801c5, port_id None to router 19e66ef2-e7c8-43e5-be6d-973f30a9405e
2025-10-21 17:06:38,056 - INFO - Waiting for VM ctest-TestRoutersBasic-58278450-49836763 to be up..
2025-10-21 17:06:38,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 17:06:43,335 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:06:43,335 - INFO - VM name : ctest-TestRoutersBasic-58278450-49836763
2025-10-21 17:06:43,412 - DEBUG - VM ctest-TestRoutersBasic-58278450-49836763 ID is 745e6b93-a318-47eb-8ac8-1a8edbae598c
2025-10-21 17:06:43,433 - DEBUG - VM ctest-TestRoutersBasic-58278450-49836763 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1
2025-10-21 17:06:43,513 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/745e6b93-a318-47eb-8ac8-1a8edbae598c
2025-10-21 17:06:43,816 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/745e6b93-a318-47eb-8ac8-1a8edbae598c
2025-10-21 17:06:43,853 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bfb0bc6a-5b21-4a3d-89fe-4e370498e01c
2025-10-21 17:06:47,117 - 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 1009ms')
2025-10-21 17:06:47,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58278450-49836763 failed!
2025-10-21 17:06:47,173 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58278450:ctest-vn-32187301 is 58.115.41.193 and allocation pool is NOT set
2025-10-21 17:06:49,239 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.311/2.754/4.197/1.443 ms')
2025-10-21 17:06:49,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58278450-49836763 passed
2025-10-21 17:06:49,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:06:49,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58278450-49836763, IP 58.115.41.195, Port 22
2025-10-21 17:06:49,559 - DEBUG - VM ctest-TestRoutersBasic-58278450-49836763 is ready for SSH connections
2025-10-21 17:06:49,559 - INFO - Waiting for VM ctest-TestRoutersBasic-58278450-41927073 to be up..
2025-10-21 17:06:49,651 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:06:49,652 - INFO - VM name : ctest-TestRoutersBasic-58278450-41927073
2025-10-21 17:06:49,739 - DEBUG - VM ctest-TestRoutersBasic-58278450-41927073 ID is 83350cdf-0815-4ca0-a8c5-9442dc66451a
2025-10-21 17:06:49,739 - DEBUG - VM ctest-TestRoutersBasic-58278450-41927073 launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1
2025-10-21 17:06:49,823 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/83350cdf-0815-4ca0-a8c5-9442dc66451a
2025-10-21 17:06:49,831 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2004a92c-36c5-48c0-96da-85d67ffe53f8
2025-10-21 17:06:51,083 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/2.323/4.120/1.797 ms')
2025-10-21 17:06:51,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58278450-41927073 passed
2025-10-21 17:06:51,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:06:51,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58278450-41927073, IP 154.151.214.3, Port 22
2025-10-21 17:06:51,405 - DEBUG - VM ctest-TestRoutersBasic-58278450-41927073 is ready for SSH connections
2025-10-21 17:06:51,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:06:51,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.151.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-21 17:06:51,405 - DEBUG - ping -s 56 -c 3 -W 1 154.151.214.3
2025-10-21 17:06:55,153 - DEBUG - PING 154.151.214.3 (154.151.214.3): 56 data bytes
64 bytes from 154.151.214.3: seq=0 ttl=62 time=8.655 ms
64 bytes from 154.151.214.3: seq=1 ttl=62 time=1.236 ms
64 bytes from 154.151.214.3: seq=2 ttl=62 time=2.101 ms
--- 154.151.214.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.236/3.997/8.655 ms
2025-10-21 17:06:55,153 - INFO - Ping to IP 154.151.214.3 from VM ctest-TestRoutersBasic-58278450-49836763 passed
2025-10-21 17:06:55,154 - INFO - Deleting interface with subnet_id 9d3cbbc2-3fbb-44f1-822d-72316a1801c5, port_id None from router 19e66ef2-e7c8-43e5-be6d-973f30a9405e
2025-10-21 17:06:55,408 - INFO - Deleting VM ctest-TestRoutersBasic-58278450-41927073
2025-10-21 17:06:55,485 - INFO - Deleting VM ctest-TestRoutersBasic-58278450-49836763
2025-10-21 17:06:55,575 - INFO - Deleting VN ctest-ext_vn-84023831
2025-10-21 17:06:55,651 - DEBUG - VN ba6724ff-51de-40b5-b6b2-6390013c325f still in use: Unable to complete operation on network ba6724ff-51de-40b5-b6b2-6390013c325f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e75a2551-fa85-48cc-b32d-9d7380061efb']
2025-10-21 17:06:55,651 - WARNING - Deleting VN ctest-ext_vn-84023831 failed..Will retry
2025-10-21 17:06:57,756 - DEBUG - Response for deleting network ()
2025-10-21 17:06:57,756 - INFO - Deleting VN ctest-vn-32187301
2025-10-21 17:06:57,873 - DEBUG - Response for deleting network ()
2025-10-21 17:06:58,134 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:06:58,134 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-21 17:06:58,134 - INFO - --------------------------------------------------------------------------------
2025-10-21 17:06:58,875 - INFO - Deleted project: ctest-TestRoutersBasic-58278450, ID : 6d8fa92d-2066-4d8b-99df-52e26c39a5ff