2025-11-20 17:50:55,680 - INFO - Domain Default found not creating 2025-11-20 17:50:55,867 - INFO - Project ctest-TestRoutersBasic-53704330 not found, creating it 2025-11-20 17:50:56,339 - INFO - Created Project:ctest-TestRoutersBasic-53704330, ID : 1d15aa6c-425f-4f95-8b67-7cec359d751c 2025-11-20 17:50:57,832 - INFO - ================================================================================ 2025-11-20 17:50:57,833 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 17:50:57,833 - 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-11-20 17:50:58,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.5': '0'}} with 2025-11-20 17:50:58,086 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:50:58,086 - INFO - 2025-11-20 17:50:58,842 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53704330 2025-11-20 17:50:58,937 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53704330 2025-11-20 17:50:59,257 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53704330', 'default']} 2025-11-20 17:50:59,559 - DEBUG - Response for create_network : {'network': {'id': '40932fcc-bf1e-4763-b7b0-664e8659b4c2', 'name': 'ctest-vn-69686148', 'tenant_id': '1d15aa6c425f4f958b677cec359d751c', 'project_id': '1d15aa6c425f4f958b677cec359d751c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53704330', 'ctest-vn-69686148'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:50:59,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '199667b8-ba7d-4576-a001-817f2fe3c87c', 'name': '', 'tenant_id': '1d15aa6c425f4f958b677cec359d751c', 'network_id': '40932fcc-bf1e-4763-b7b0-664e8659b4c2', 'ip_version': 4, 'cidr': '77.167.200.192/26', 'allocation_pools': [{'start': '77.167.200.194', 'end': '77.167.200.254'}], 'gateway_ip': '77.167.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.167.200.194', 'tags': [], 'project_id': '1d15aa6c425f4f958b677cec359d751c'}} 2025-11-20 17:50:59,747 - INFO - Created VN ctest-vn-69686148 2025-11-20 17:50:59,801 - DEBUG - VN ctest-vn-69686148 UUID is 40932fcc-bf1e-4763-b7b0-664e8659b4c2 2025-11-20 17:51:00,114 - DEBUG - Response for create_network : {'network': {'id': '2743d127-0582-441a-93f3-416675e55ccd', 'name': 'ctest-ext_vn-57307919', 'tenant_id': '1d15aa6c425f4f958b677cec359d751c', 'project_id': '1d15aa6c425f4f958b677cec359d751c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53704330', 'ctest-ext_vn-57307919'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:51:00,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb0333b1-ca5a-482d-8b1e-4b82ac5c731f', 'name': '', 'tenant_id': '1d15aa6c425f4f958b677cec359d751c', 'network_id': '2743d127-0582-441a-93f3-416675e55ccd', 'ip_version': 4, 'cidr': '221.179.64.64/26', 'allocation_pools': [{'start': '221.179.64.66', 'end': '221.179.64.126'}], 'gateway_ip': '221.179.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.179.64.66', 'tags': [], 'project_id': '1d15aa6c425f4f958b677cec359d751c'}} 2025-11-20 17:51:00,319 - INFO - Created VN ctest-ext_vn-57307919 2025-11-20 17:51:00,373 - DEBUG - VN ctest-ext_vn-57307919 UUID is 2743d127-0582-441a-93f3-416675e55ccd 2025-11-20 17:51:00,586 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:51:01,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:51:02,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:51:02,994 - INFO - Setting gateway for router 5d1d9f09-3bff-4c80-b0f5-a986e8509770 to network 2743d127-0582-441a-93f3-416675e55ccd 2025-11-20 17:51:03,064 - INFO - Adding interface with subnet_id 199667b8-ba7d-4576-a001-817f2fe3c87c, port_id None to router 5d1d9f09-3bff-4c80-b0f5-a986e8509770 2025-11-20 17:51:03,487 - INFO - Waiting for VM ctest-TestRoutersBasic-53704330-88088230 to be up.. 2025-11-20 17:51:03,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:51:08,801 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:51:08,801 - INFO - VM name : ctest-TestRoutersBasic-53704330-88088230 2025-11-20 17:51:08,886 - DEBUG - VM ctest-TestRoutersBasic-53704330-88088230 ID is 43613155-a371-4f76-b491-73f01f50f87c 2025-11-20 17:51:08,911 - DEBUG - VM ctest-TestRoutersBasic-53704330-88088230 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:51:09,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/43613155-a371-4f76-b491-73f01f50f87c 2025-11-20 17:51:09,465 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/43613155-a371-4f76-b491-73f01f50f87c 2025-11-20 17:51:09,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/675c0451-4962-4d8b-80ce-2d9a4736be15 2025-11-20 17:51:12,811 - 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 1022ms') 2025-11-20 17:51:12,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53704330-88088230 failed! 2025-11-20 17:51:12,869 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53704330:ctest-vn-69686148 is 77.167.200.193 and allocation pool is NOT set 2025-11-20 17:51:14,935 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.461/2.150/3.840/1.689 ms') 2025-11-20 17:51:14,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53704330-88088230 passed 2025-11-20 17:51:15,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:51:15,089 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53704330-88088230, IP 77.167.200.195, Port 22 2025-11-20 17:51:15,253 - DEBUG - VM ctest-TestRoutersBasic-53704330-88088230 is ready for SSH connections 2025-11-20 17:51:15,253 - INFO - Waiting for VM ctest-TestRoutersBasic-53704330-53800376 to be up.. 2025-11-20 17:51:15,349 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:51:15,349 - INFO - VM name : ctest-TestRoutersBasic-53704330-53800376 2025-11-20 17:51:15,440 - DEBUG - VM ctest-TestRoutersBasic-53704330-53800376 ID is b5d0809f-3f2a-4b2c-ad65-c95cab084aa7 2025-11-20 17:51:15,441 - DEBUG - VM ctest-TestRoutersBasic-53704330-53800376 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:51:15,521 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b5d0809f-3f2a-4b2c-ad65-c95cab084aa7 2025-11-20 17:51:15,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1003b913-3b6c-4a88-9775-230168bfd49a 2025-11-20 17:51:16,770 - 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=3.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.663 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.663/1.939/3.216/1.276 ms') 2025-11-20 17:51:16,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53704330-53800376 passed 2025-11-20 17:51:16,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:51:16,925 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53704330-53800376, IP 221.179.64.67, Port 22 2025-11-20 17:51:17,080 - DEBUG - VM ctest-TestRoutersBasic-53704330-53800376 is ready for SSH connections 2025-11-20 17:51:17,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:51:17,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.179.64.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:51:17,080 - DEBUG - ping -s 56 -c 3 -W 1 221.179.64.67 2025-11-20 17:51:20,817 - DEBUG - PING 221.179.64.67 (221.179.64.67): 56 data bytes 64 bytes from 221.179.64.67: seq=0 ttl=62 time=6.193 ms 64 bytes from 221.179.64.67: seq=1 ttl=62 time=0.892 ms 64 bytes from 221.179.64.67: seq=2 ttl=62 time=1.001 ms --- 221.179.64.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.695/6.193 ms 2025-11-20 17:51:20,817 - INFO - Ping to IP 221.179.64.67 from VM ctest-TestRoutersBasic-53704330-88088230 passed 2025-11-20 17:51:20,817 - INFO - Deleting interface with subnet_id 199667b8-ba7d-4576-a001-817f2fe3c87c, port_id None from router 5d1d9f09-3bff-4c80-b0f5-a986e8509770 2025-11-20 17:51:21,001 - INFO - Deleting VM ctest-TestRoutersBasic-53704330-53800376 2025-11-20 17:51:21,070 - INFO - Deleting VM ctest-TestRoutersBasic-53704330-88088230 2025-11-20 17:51:21,162 - INFO - Deleting VN ctest-ext_vn-57307919 2025-11-20 17:51:21,231 - DEBUG - VN 2743d127-0582-441a-93f3-416675e55ccd still in use: Unable to complete operation on network 2743d127-0582-441a-93f3-416675e55ccd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d3a9452-6cb0-4f5f-9f66-18e479438ed6'] 2025-11-20 17:51:21,231 - WARNING - Deleting VN ctest-ext_vn-57307919 failed..Will retry 2025-11-20 17:51:23,335 - DEBUG - Response for deleting network () 2025-11-20 17:51:23,335 - INFO - Deleting VN ctest-vn-69686148 2025-11-20 17:51:23,534 - DEBUG - Response for deleting network () 2025-11-20 17:51:23,793 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:51:23,793 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-20 17:51:23,794 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:51:24,508 - INFO - Deleted project: ctest-TestRoutersBasic-53704330, ID : 1d15aa6c-425f-4f95-8b67-7cec359d751c