2025-09-23 05:57:11,130 - INFO - Domain Default found not creating 2025-09-23 05:57:11,300 - INFO - Project ctest-TestRoutersBasic-96833382 not found, creating it 2025-09-23 05:57:11,747 - INFO - Created Project:ctest-TestRoutersBasic-96833382, ID : 0ef6c8ce-d186-4e56-95c2-81287e6c4982 2025-09-23 05:57:13,168 - INFO - ================================================================================ 2025-09-23 05:57:13,168 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-23 05:57:13,168 - 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-09-23 05:57:13,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-09-23 05:57:13,430 - INFO - Initial checks done. Running the testcase now 2025-09-23 05:57:13,430 - INFO - 2025-09-23 05:57:14,129 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96833382 2025-09-23 05:57:14,221 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96833382 2025-09-23 05:57:14,541 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96833382', 'default']} 2025-09-23 05:57:14,827 - DEBUG - Response for create_network : {'network': {'id': '2ad25f38-352d-4bb1-9670-5fdaf97f7384', 'name': 'ctest-vn-78103595', 'tenant_id': '0ef6c8ced1864e5695c281287e6c4982', 'project_id': '0ef6c8ced1864e5695c281287e6c4982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96833382', 'ctest-vn-78103595'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:15,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd7bdaa8-c7a8-4fa2-be6e-1d8d4ae3aa44', 'name': '', 'tenant_id': '0ef6c8ced1864e5695c281287e6c4982', 'network_id': '2ad25f38-352d-4bb1-9670-5fdaf97f7384', 'ip_version': 4, 'cidr': '203.220.188.0/26', 'allocation_pools': [{'start': '203.220.188.2', 'end': '203.220.188.62'}], 'gateway_ip': '203.220.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.220.188.2', 'tags': [], 'project_id': '0ef6c8ced1864e5695c281287e6c4982'}} 2025-09-23 05:57:15,061 - INFO - Created VN ctest-vn-78103595 2025-09-23 05:57:15,113 - DEBUG - VN ctest-vn-78103595 UUID is 2ad25f38-352d-4bb1-9670-5fdaf97f7384 2025-09-23 05:57:15,426 - DEBUG - Response for create_network : {'network': {'id': 'a7ca298a-462c-409a-b4c1-28efd38a90ac', 'name': 'ctest-ext_vn-15439938', 'tenant_id': '0ef6c8ced1864e5695c281287e6c4982', 'project_id': '0ef6c8ced1864e5695c281287e6c4982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96833382', 'ctest-ext_vn-15439938'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:15,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcd23f6a-c15a-4286-9bb8-f0e435880eb4', 'name': '', 'tenant_id': '0ef6c8ced1864e5695c281287e6c4982', 'network_id': 'a7ca298a-462c-409a-b4c1-28efd38a90ac', 'ip_version': 4, 'cidr': '142.60.35.128/26', 'allocation_pools': [{'start': '142.60.35.130', 'end': '142.60.35.190'}], 'gateway_ip': '142.60.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.60.35.130', 'tags': [], 'project_id': '0ef6c8ced1864e5695c281287e6c4982'}} 2025-09-23 05:57:15,602 - INFO - Created VN ctest-ext_vn-15439938 2025-09-23 05:57:15,657 - DEBUG - VN ctest-ext_vn-15439938 UUID is a7ca298a-462c-409a-b4c1-28efd38a90ac 2025-09-23 05:57:15,820 - DEBUG - Services list from nova: [, , ] 2025-09-23 05:57:16,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1) 2025-09-23 05:57:17,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1) 2025-09-23 05:57:18,005 - INFO - Setting gateway for router 6197aca1-c0bb-48ba-925b-2645e18bbcb7 to network a7ca298a-462c-409a-b4c1-28efd38a90ac 2025-09-23 05:57:18,074 - INFO - Adding interface with subnet_id fd7bdaa8-c7a8-4fa2-be6e-1d8d4ae3aa44, port_id None to router 6197aca1-c0bb-48ba-925b-2645e18bbcb7 2025-09-23 05:57:18,400 - INFO - Waiting for VM ctest-TestRoutersBasic-96833382-93328826 to be up.. 2025-09-23 05:57:18,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 05:57:23,642 - DEBUG - VM is in ACTIVE state now 2025-09-23 05:57:23,642 - INFO - VM name : ctest-TestRoutersBasic-96833382-93328826 2025-09-23 05:57:23,711 - DEBUG - VM ctest-TestRoutersBasic-96833382-93328826 ID is 9134e300-533d-47d6-9c1b-4afd3a968530 2025-09-23 05:57:23,731 - DEBUG - VM ctest-TestRoutersBasic-96833382-93328826 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1 2025-09-23 05:57:23,798 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9134e300-533d-47d6-9c1b-4afd3a968530 2025-09-23 05:57:24,090 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9134e300-533d-47d6-9c1b-4afd3a968530 2025-09-23 05:57:24,117 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c33c1cd2-9e59-4709-9880-aaac91fc589f 2025-09-23 05:57:27,376 - 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 1030ms') 2025-09-23 05:57:27,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96833382-93328826 failed! 2025-09-23 05:57:27,429 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96833382:ctest-vn-78103595 is 203.220.188.1 and allocation pool is NOT set 2025-09-23 05:57:29,498 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 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 = 0.526/1.864/3.203/1.338 ms') 2025-09-23 05:57:29,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96833382-93328826 passed 2025-09-23 05:57:29,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:57:29,645 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96833382-93328826, IP 203.220.188.3, Port 22 2025-09-23 05:57:29,805 - DEBUG - VM ctest-TestRoutersBasic-96833382-93328826 is ready for SSH connections 2025-09-23 05:57:29,805 - INFO - Waiting for VM ctest-TestRoutersBasic-96833382-46549598 to be up.. 2025-09-23 05:57:29,875 - DEBUG - VM is in ACTIVE state now 2025-09-23 05:57:29,875 - INFO - VM name : ctest-TestRoutersBasic-96833382-46549598 2025-09-23 05:57:29,943 - DEBUG - VM ctest-TestRoutersBasic-96833382-46549598 ID is e8d0868a-1561-432b-a823-72b02e418c17 2025-09-23 05:57:29,943 - DEBUG - VM ctest-TestRoutersBasic-96833382-46549598 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1 2025-09-23 05:57:30,008 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e8d0868a-1561-432b-a823-72b02e418c17 2025-09-23 05:57:30,016 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5c6e43ae-d912-49a6-8dc3-3db0f57d83ba 2025-09-23 05:57:31,254 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.618/2.858/1.239 ms') 2025-09-23 05:57:31,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96833382-46549598 passed 2025-09-23 05:57:31,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:57:31,401 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96833382-46549598, IP 142.60.35.131, Port 22 2025-09-23 05:57:31,569 - DEBUG - VM ctest-TestRoutersBasic-96833382-46549598 is ready for SSH connections 2025-09-23 05:57:31,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:57:31,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.60.35.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-23 05:57:31,569 - DEBUG - ping -s 56 -c 3 -W 1 142.60.35.131 2025-09-23 05:57:35,592 - DEBUG - PING 142.60.35.131 (142.60.35.131): 56 data bytes 64 bytes from 142.60.35.131: seq=0 ttl=62 time=5.271 ms 64 bytes from 142.60.35.131: seq=1 ttl=62 time=1.011 ms 64 bytes from 142.60.35.131: seq=2 ttl=62 time=0.831 ms --- 142.60.35.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/2.371/5.271 ms 2025-09-23 05:57:35,593 - INFO - Ping to IP 142.60.35.131 from VM ctest-TestRoutersBasic-96833382-93328826 passed 2025-09-23 05:57:35,593 - INFO - Deleting interface with subnet_id fd7bdaa8-c7a8-4fa2-be6e-1d8d4ae3aa44, port_id None from router 6197aca1-c0bb-48ba-925b-2645e18bbcb7 2025-09-23 05:57:35,751 - INFO - Deleting VM ctest-TestRoutersBasic-96833382-46549598 2025-09-23 05:57:35,815 - INFO - Deleting VM ctest-TestRoutersBasic-96833382-93328826 2025-09-23 05:57:35,898 - INFO - Deleting VN ctest-ext_vn-15439938 2025-09-23 05:57:35,953 - DEBUG - VN a7ca298a-462c-409a-b4c1-28efd38a90ac still in use: Unable to complete operation on network a7ca298a-462c-409a-b4c1-28efd38a90ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca94c6e7-9f27-4cad-b204-3bbddb304897'] 2025-09-23 05:57:35,953 - WARNING - Deleting VN ctest-ext_vn-15439938 failed..Will retry 2025-09-23 05:57:38,042 - DEBUG - Response for deleting network () 2025-09-23 05:57:38,042 - INFO - Deleting VN ctest-vn-78103595 2025-09-23 05:57:38,126 - DEBUG - Response for deleting network () 2025-09-23 05:57:38,382 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 05:57:38,382 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-23 05:57:38,382 - INFO - -------------------------------------------------------------------------------- 2025-09-23 05:57:39,020 - INFO - Deleted project: ctest-TestRoutersBasic-96833382, ID : 0ef6c8ce-d186-4e56-95c2-81287e6c4982