2025-10-30 02:15:55,435 - INFO - Domain Default found not creating 2025-10-30 02:15:55,584 - INFO - Project ctest-TestRoutersBasic-63634612 not found, creating it 2025-10-30 02:15:56,045 - INFO - Created Project:ctest-TestRoutersBasic-63634612, ID : 98683f5f-2330-469f-a96b-6b8b8da80fe7 2025-10-30 02:15:57,425 - INFO - ================================================================================ 2025-10-30 02:15:57,425 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 02:15:57,425 - 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-30 02:15:57,680 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with 2025-10-30 02:15:57,680 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:15:57,680 - INFO - 2025-10-30 02:15:58,359 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63634612 2025-10-30 02:15:58,459 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63634612 2025-10-30 02:15:58,783 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634612', 'default']} 2025-10-30 02:15:59,077 - DEBUG - Response for create_network : {'network': {'id': 'a7b41b05-7ef8-4a50-afca-b04707eb7d35', 'name': 'ctest-vn-07819879', 'tenant_id': '98683f5f2330469fa96b6b8b8da80fe7', 'project_id': '98683f5f2330469fa96b6b8b8da80fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634612', 'ctest-vn-07819879'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:15:59,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '1155fcc6-e84d-4a8f-bcfb-ff0cebfb7919', 'name': '', 'tenant_id': '98683f5f2330469fa96b6b8b8da80fe7', 'network_id': 'a7b41b05-7ef8-4a50-afca-b04707eb7d35', 'ip_version': 4, 'cidr': '35.251.56.0/26', 'allocation_pools': [{'start': '35.251.56.2', 'end': '35.251.56.62'}], 'gateway_ip': '35.251.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.251.56.2', 'tags': [], 'project_id': '98683f5f2330469fa96b6b8b8da80fe7'}} 2025-10-30 02:15:59,292 - INFO - Created VN ctest-vn-07819879 2025-10-30 02:15:59,347 - DEBUG - VN ctest-vn-07819879 UUID is a7b41b05-7ef8-4a50-afca-b04707eb7d35 2025-10-30 02:15:59,669 - DEBUG - Response for create_network : {'network': {'id': '25d8ec32-3cb2-4351-91a1-143f442a830b', 'name': 'ctest-ext_vn-69564031', 'tenant_id': '98683f5f2330469fa96b6b8b8da80fe7', 'project_id': '98683f5f2330469fa96b6b8b8da80fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63634612', 'ctest-ext_vn-69564031'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:15:59,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9a16a57-8a1b-4e7e-b2fe-be687ff0bec0', 'name': '', 'tenant_id': '98683f5f2330469fa96b6b8b8da80fe7', 'network_id': '25d8ec32-3cb2-4351-91a1-143f442a830b', 'ip_version': 4, 'cidr': '1.200.41.128/26', 'allocation_pools': [{'start': '1.200.41.130', 'end': '1.200.41.190'}], 'gateway_ip': '1.200.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.200.41.130', 'tags': [], 'project_id': '98683f5f2330469fa96b6b8b8da80fe7'}} 2025-10-30 02:15:59,832 - INFO - Created VN ctest-ext_vn-69564031 2025-10-30 02:15:59,883 - DEBUG - VN ctest-ext_vn-69564031 UUID is 25d8ec32-3cb2-4351-91a1-143f442a830b 2025-10-30 02:16:00,084 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:16:01,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:16:02,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4531-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4531-1) 2025-10-30 02:16:02,359 - INFO - Setting gateway for router 898398fc-bd3a-4cdb-945d-328d0681c9c7 to network 25d8ec32-3cb2-4351-91a1-143f442a830b 2025-10-30 02:16:02,428 - INFO - Adding interface with subnet_id 1155fcc6-e84d-4a8f-bcfb-ff0cebfb7919, port_id None to router 898398fc-bd3a-4cdb-945d-328d0681c9c7 2025-10-30 02:16:02,727 - INFO - Waiting for VM ctest-TestRoutersBasic-63634612-68212675 to be up.. 2025-10-30 02:16:02,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:16:07,916 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:07,917 - INFO - VM name : ctest-TestRoutersBasic-63634612-68212675 2025-10-30 02:16:07,992 - DEBUG - VM ctest-TestRoutersBasic-63634612-68212675 ID is 0fee1bfc-c4b8-432c-a527-cc89258ff732 2025-10-30 02:16:08,010 - DEBUG - VM ctest-TestRoutersBasic-63634612-68212675 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:16:08,075 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0fee1bfc-c4b8-432c-a527-cc89258ff732 2025-10-30 02:16:08,365 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0fee1bfc-c4b8-432c-a527-cc89258ff732 2025-10-30 02:16:08,400 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d3354a30-2d5f-4a1c-a303-1761c4fb4301 2025-10-30 02:16:11,651 - 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 1012ms') 2025-10-30 02:16:11,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63634612-68212675 failed! 2025-10-30 02:16:11,703 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63634612:ctest-vn-07819879 is 35.251.56.1 and allocation pool is NOT set 2025-10-30 02:16:13,760 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/2.032/3.588/1.555 ms') 2025-10-30 02:16:13,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63634612-68212675 passed 2025-10-30 02:16:13,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:13,907 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63634612-68212675, IP 35.251.56.3, Port 22 2025-10-30 02:16:14,067 - DEBUG - VM ctest-TestRoutersBasic-63634612-68212675 is ready for SSH connections 2025-10-30 02:16:14,067 - INFO - Waiting for VM ctest-TestRoutersBasic-63634612-99811525 to be up.. 2025-10-30 02:16:14,153 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:14,153 - INFO - VM name : ctest-TestRoutersBasic-63634612-99811525 2025-10-30 02:16:14,235 - DEBUG - VM ctest-TestRoutersBasic-63634612-99811525 ID is 31bcd797-9be0-4056-b019-6c0a0ea2237a 2025-10-30 02:16:14,235 - DEBUG - VM ctest-TestRoutersBasic-63634612-99811525 launched on Node cn-jenkins-deploy-platform-ansible-os-4531-1 2025-10-30 02:16:14,317 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/31bcd797-9be0-4056-b019-6c0a0ea2237a 2025-10-30 02:16:14,324 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/656d6f49-cffb-449b-8b5f-864e13fc9abc 2025-10-30 02:16:15,562 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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.550/1.835/3.121/1.285 ms') 2025-10-30 02:16:15,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63634612-99811525 passed 2025-10-30 02:16:15,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:15,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63634612-99811525, IP 1.200.41.131, Port 22 2025-10-30 02:16:15,895 - DEBUG - VM ctest-TestRoutersBasic-63634612-99811525 is ready for SSH connections 2025-10-30 02:16:15,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:15,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.200.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-30 02:16:15,896 - DEBUG - ping -s 56 -c 3 -W 1 1.200.41.131 2025-10-30 02:16:19,920 - DEBUG - PING 1.200.41.131 (1.200.41.131): 56 data bytes 64 bytes from 1.200.41.131: seq=0 ttl=62 time=8.165 ms 64 bytes from 1.200.41.131: seq=1 ttl=62 time=0.814 ms 64 bytes from 1.200.41.131: seq=2 ttl=62 time=0.731 ms --- 1.200.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/3.236/8.165 ms 2025-10-30 02:16:19,920 - INFO - Ping to IP 1.200.41.131 from VM ctest-TestRoutersBasic-63634612-68212675 passed 2025-10-30 02:16:19,920 - INFO - Deleting interface with subnet_id 1155fcc6-e84d-4a8f-bcfb-ff0cebfb7919, port_id None from router 898398fc-bd3a-4cdb-945d-328d0681c9c7 2025-10-30 02:16:20,134 - INFO - Deleting VM ctest-TestRoutersBasic-63634612-99811525 2025-10-30 02:16:20,203 - INFO - Deleting VM ctest-TestRoutersBasic-63634612-68212675 2025-10-30 02:16:20,291 - INFO - Deleting VN ctest-ext_vn-69564031 2025-10-30 02:16:20,357 - DEBUG - VN 25d8ec32-3cb2-4351-91a1-143f442a830b still in use: Unable to complete operation on network 25d8ec32-3cb2-4351-91a1-143f442a830b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec06a9aa-575a-4161-b484-8192dfea80e8'] 2025-10-30 02:16:20,357 - WARNING - Deleting VN ctest-ext_vn-69564031 failed..Will retry 2025-10-30 02:16:22,444 - DEBUG - Response for deleting network () 2025-10-30 02:16:22,444 - INFO - Deleting VN ctest-vn-07819879 2025-10-30 02:16:22,532 - DEBUG - Response for deleting network () 2025-10-30 02:16:22,788 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:16:22,788 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 02:16:22,788 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:16:23,449 - INFO - Deleted project: ctest-TestRoutersBasic-63634612, ID : 98683f5f-2330-469f-a96b-6b8b8da80fe7