2025-12-01 17:54:15,788 - INFO - Domain Default found not creating 2025-12-01 17:54:15,935 - INFO - Project ctest-TestRoutersBasic-40961561 not found, creating it 2025-12-01 17:54:16,378 - INFO - Created Project:ctest-TestRoutersBasic-40961561, ID : a9a0b9c4-b4ba-4f28-baea-5734c58a9d8d 2025-12-01 17:54:17,842 - INFO - ================================================================================ 2025-12-01 17:54:17,842 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-01 17:54:17,842 - 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-12-01 17:54:18,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-01 17:54:18,101 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:54:18,101 - INFO - 2025-12-01 17:54:18,799 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40961561 2025-12-01 17:54:18,900 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40961561 2025-12-01 17:54:19,224 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40961561', 'default']} 2025-12-01 17:54:19,518 - DEBUG - Response for create_network : {'network': {'id': '9965d4ad-b232-4aca-84c1-06d988a1f1c5', 'name': 'ctest-vn-94210015', 'tenant_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'project_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40961561', 'ctest-vn-94210015'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:54:19,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0d1305d-3971-48ed-93c5-81dec1b60119', 'name': '', 'tenant_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'network_id': '9965d4ad-b232-4aca-84c1-06d988a1f1c5', 'ip_version': 4, 'cidr': '179.64.76.192/26', 'allocation_pools': [{'start': '179.64.76.194', 'end': '179.64.76.254'}], 'gateway_ip': '179.64.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.64.76.194', 'tags': [], 'project_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d'}} 2025-12-01 17:54:19,708 - INFO - Created VN ctest-vn-94210015 2025-12-01 17:54:19,760 - DEBUG - VN ctest-vn-94210015 UUID is 9965d4ad-b232-4aca-84c1-06d988a1f1c5 2025-12-01 17:54:20,127 - DEBUG - Response for create_network : {'network': {'id': '2283c848-dcc8-428e-9fb9-a35f4625ec88', 'name': 'ctest-ext_vn-21703402', 'tenant_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'project_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40961561', 'ctest-ext_vn-21703402'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:54:20,295 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b03a2733-0c67-4eb0-b862-d85b4eec864a', 'name': '', 'tenant_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d', 'network_id': '2283c848-dcc8-428e-9fb9-a35f4625ec88', 'ip_version': 4, 'cidr': '96.15.74.0/26', 'allocation_pools': [{'start': '96.15.74.2', 'end': '96.15.74.62'}], 'gateway_ip': '96.15.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.15.74.2', 'tags': [], 'project_id': 'a9a0b9c4b4ba4f28baea5734c58a9d8d'}} 2025-12-01 17:54:20,312 - INFO - Created VN ctest-ext_vn-21703402 2025-12-01 17:54:20,364 - DEBUG - VN ctest-ext_vn-21703402 UUID is 2283c848-dcc8-428e-9fb9-a35f4625ec88 2025-12-01 17:54:20,559 - DEBUG - Services list from nova: [, , ] 2025-12-01 17:54:21,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1) 2025-12-01 17:54:22,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1) 2025-12-01 17:54:22,698 - INFO - Setting gateway for router c9c557d3-da82-457f-928e-ea0faeccb0c3 to network 2283c848-dcc8-428e-9fb9-a35f4625ec88 2025-12-01 17:54:22,764 - INFO - Adding interface with subnet_id b0d1305d-3971-48ed-93c5-81dec1b60119, port_id None to router c9c557d3-da82-457f-928e-ea0faeccb0c3 2025-12-01 17:54:23,162 - INFO - Waiting for VM ctest-TestRoutersBasic-40961561-83710399 to be up.. 2025-12-01 17:54:23,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 17:54:28,396 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:54:28,396 - INFO - VM name : ctest-TestRoutersBasic-40961561-83710399 2025-12-01 17:54:28,471 - DEBUG - VM ctest-TestRoutersBasic-40961561-83710399 ID is c5466027-51ae-4e92-af9a-30cee62d1801 2025-12-01 17:54:28,494 - DEBUG - VM ctest-TestRoutersBasic-40961561-83710399 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1 2025-12-01 17:54:28,570 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c5466027-51ae-4e92-af9a-30cee62d1801 2025-12-01 17:54:28,871 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c5466027-51ae-4e92-af9a-30cee62d1801 2025-12-01 17:54:28,904 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4022d21d-7ab0-4a4c-9202-37d4dd7e6b70 2025-12-01 17:54:32,147 - 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 1002ms') 2025-12-01 17:54:32,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40961561-83710399 failed! 2025-12-01 17:54:32,204 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40961561:ctest-vn-94210015 is 179.64.76.193 and allocation pool is NOT set 2025-12-01 17:54:34,271 - 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=5.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.884/3.569/5.255/1.685 ms') 2025-12-01 17:54:34,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40961561-83710399 passed 2025-12-01 17:54:34,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:54:34,420 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40961561-83710399, IP 179.64.76.195, Port 22 2025-12-01 17:54:34,576 - DEBUG - VM ctest-TestRoutersBasic-40961561-83710399 is ready for SSH connections 2025-12-01 17:54:34,576 - INFO - Waiting for VM ctest-TestRoutersBasic-40961561-22677291 to be up.. 2025-12-01 17:54:34,647 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:54:34,647 - INFO - VM name : ctest-TestRoutersBasic-40961561-22677291 2025-12-01 17:54:34,717 - DEBUG - VM ctest-TestRoutersBasic-40961561-22677291 ID is 877de101-ce46-4e8c-a6af-0469b7627851 2025-12-01 17:54:34,717 - DEBUG - VM ctest-TestRoutersBasic-40961561-22677291 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1 2025-12-01 17:54:34,784 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/877de101-ce46-4e8c-a6af-0469b7627851 2025-12-01 17:54:34,791 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0a7f312e-aad2-4fea-bdd9-95a9e3bb2e24 2025-12-01 17:54:36,027 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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 = 0.434/1.680/2.927/1.246 ms') 2025-12-01 17:54:36,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40961561-22677291 passed 2025-12-01 17:54:36,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:54:36,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40961561-22677291, IP 96.15.74.3, Port 22 2025-12-01 17:54:36,340 - DEBUG - VM ctest-TestRoutersBasic-40961561-22677291 is ready for SSH connections 2025-12-01 17:54:36,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:54:36,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.15.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-01 17:54:36,340 - DEBUG - ping -s 56 -c 3 -W 1 96.15.74.3 2025-12-01 17:54:40,350 - DEBUG - PING 96.15.74.3 (96.15.74.3): 56 data bytes 64 bytes from 96.15.74.3: seq=0 ttl=62 time=5.855 ms 64 bytes from 96.15.74.3: seq=1 ttl=62 time=1.060 ms 64 bytes from 96.15.74.3: seq=2 ttl=62 time=0.983 ms --- 96.15.74.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/2.632/5.855 ms 2025-12-01 17:54:40,350 - INFO - Ping to IP 96.15.74.3 from VM ctest-TestRoutersBasic-40961561-83710399 passed 2025-12-01 17:54:40,350 - INFO - Deleting interface with subnet_id b0d1305d-3971-48ed-93c5-81dec1b60119, port_id None from router c9c557d3-da82-457f-928e-ea0faeccb0c3 2025-12-01 17:54:40,504 - INFO - Deleting VM ctest-TestRoutersBasic-40961561-22677291 2025-12-01 17:54:40,585 - INFO - Deleting VM ctest-TestRoutersBasic-40961561-83710399 2025-12-01 17:54:40,654 - INFO - Deleting VN ctest-ext_vn-21703402 2025-12-01 17:54:40,709 - DEBUG - VN 2283c848-dcc8-428e-9fb9-a35f4625ec88 still in use: Unable to complete operation on network 2283c848-dcc8-428e-9fb9-a35f4625ec88. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5aeff3d-9069-4eb0-b6f7-527cf601ab9d'] 2025-12-01 17:54:40,709 - WARNING - Deleting VN ctest-ext_vn-21703402 failed..Will retry 2025-12-01 17:54:42,799 - DEBUG - Response for deleting network () 2025-12-01 17:54:42,799 - INFO - Deleting VN ctest-vn-94210015 2025-12-01 17:54:42,908 - DEBUG - Response for deleting network () 2025-12-01 17:54:43,164 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 17:54:43,165 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-01 17:54:43,165 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:54:43,812 - INFO - Deleted project: ctest-TestRoutersBasic-40961561, ID : a9a0b9c4-b4ba-4f28-baea-5734c58a9d8d