2025-07-31 02:39:34,560 - INFO - Domain Default found not creating 2025-07-31 02:39:34,931 - INFO - Project ctest-TestRoutersBasic-60252637 not found, creating it 2025-07-31 02:39:35,508 - INFO - Created Project:ctest-TestRoutersBasic-60252637, ID : aa58426d-56d3-481f-9080-76c0955b4795 2025-07-31 02:39:37,725 - INFO - ================================================================================ 2025-07-31 02:39:37,726 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 02:39:37,726 - 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-07-31 02:39:38,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-07-31 02:39:38,053 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:39:38,054 - INFO - 2025-07-31 02:39:38,934 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60252637 2025-07-31 02:39:39,048 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60252637 2025-07-31 02:39:39,476 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60252637', 'default']} 2025-07-31 02:39:40,018 - DEBUG - Response for create_network : {'network': {'id': '27f36e79-0284-425e-8817-0e51ff8ac653', 'name': 'ctest-vn-64998620', 'tenant_id': 'aa58426d56d3481f908076c0955b4795', 'project_id': 'aa58426d56d3481f908076c0955b4795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60252637', 'ctest-vn-64998620'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:39:40,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '28769785-502e-4f77-a7fe-00d66214c95a', 'name': '', 'tenant_id': 'aa58426d56d3481f908076c0955b4795', 'network_id': '27f36e79-0284-425e-8817-0e51ff8ac653', 'ip_version': 4, 'cidr': '124.206.242.0/26', 'allocation_pools': [{'start': '124.206.242.2', 'end': '124.206.242.62'}], 'gateway_ip': '124.206.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.206.242.2', 'tags': [], 'project_id': 'aa58426d56d3481f908076c0955b4795'}} 2025-07-31 02:39:40,347 - INFO - Created VN ctest-vn-64998620 2025-07-31 02:39:40,419 - DEBUG - VN ctest-vn-64998620 UUID is 27f36e79-0284-425e-8817-0e51ff8ac653 2025-07-31 02:39:41,044 - DEBUG - Response for create_network : {'network': {'id': '49d264f7-8266-4873-beb7-3191fdd794a0', 'name': 'ctest-ext_vn-56911209', 'tenant_id': 'aa58426d56d3481f908076c0955b4795', 'project_id': 'aa58426d56d3481f908076c0955b4795', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60252637', 'ctest-ext_vn-56911209'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:39:41,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a474b01-2eda-449e-bd81-ff88f4d26fc4', 'name': '', 'tenant_id': 'aa58426d56d3481f908076c0955b4795', 'network_id': '49d264f7-8266-4873-beb7-3191fdd794a0', 'ip_version': 4, 'cidr': '40.207.201.128/26', 'allocation_pools': [{'start': '40.207.201.130', 'end': '40.207.201.190'}], 'gateway_ip': '40.207.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.207.201.130', 'tags': [], 'project_id': 'aa58426d56d3481f908076c0955b4795'}} 2025-07-31 02:39:41,360 - INFO - Created VN ctest-ext_vn-56911209 2025-07-31 02:39:41,431 - DEBUG - VN ctest-ext_vn-56911209 UUID is 49d264f7-8266-4873-beb7-3191fdd794a0 2025-07-31 02:39:41,715 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:39:43,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:39:44,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:39:45,063 - INFO - Setting gateway for router 3e547adc-8b3d-4583-bb5d-4d16e7932a1a to network 49d264f7-8266-4873-beb7-3191fdd794a0 2025-07-31 02:39:45,115 - INFO - Adding interface with subnet_id 28769785-502e-4f77-a7fe-00d66214c95a, port_id None to router 3e547adc-8b3d-4583-bb5d-4d16e7932a1a 2025-07-31 02:39:45,387 - INFO - Waiting for VM ctest-TestRoutersBasic-60252637-22618204 to be up.. 2025-07-31 02:39:45,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:39:50,689 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:39:50,689 - INFO - VM name : ctest-TestRoutersBasic-60252637-22618204 2025-07-31 02:39:50,844 - DEBUG - VM ctest-TestRoutersBasic-60252637-22618204 ID is 700f9686-4c8b-459a-84c5-52e5e80eb2f8 2025-07-31 02:39:50,881 - DEBUG - VM ctest-TestRoutersBasic-60252637-22618204 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:39:51,042 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/700f9686-4c8b-459a-84c5-52e5e80eb2f8 2025-07-31 02:39:51,342 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/700f9686-4c8b-459a-84c5-52e5e80eb2f8 2025-07-31 02:39:51,409 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f1bafe8b-13a5-4b73-a2ca-5f5306aa9d76 2025-07-31 02:39:54,741 - 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 1011ms') 2025-07-31 02:39:54,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60252637-22618204 failed! 2025-07-31 02:39:54,812 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60252637:ctest-vn-64998620 is 124.206.242.1 and allocation pool is NOT set 2025-07-31 02:39:56,887 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.58 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 = 4.582/5.209/5.836/0.627 ms') 2025-07-31 02:39:56,887 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60252637-22618204 passed 2025-07-31 02:39:57,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:39:57,055 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60252637-22618204, IP 124.206.242.3, Port 22 2025-07-31 02:39:57,233 - DEBUG - VM ctest-TestRoutersBasic-60252637-22618204 is ready for SSH connections 2025-07-31 02:39:57,234 - INFO - Waiting for VM ctest-TestRoutersBasic-60252637-31939725 to be up.. 2025-07-31 02:39:57,358 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:39:57,358 - INFO - VM name : ctest-TestRoutersBasic-60252637-31939725 2025-07-31 02:39:57,466 - DEBUG - VM ctest-TestRoutersBasic-60252637-31939725 ID is 16f4b91f-267f-4360-abd7-c1f3f65fb8e4 2025-07-31 02:39:57,466 - DEBUG - VM ctest-TestRoutersBasic-60252637-31939725 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:39:57,578 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/16f4b91f-267f-4360-abd7-c1f3f65fb8e4 2025-07-31 02:39:57,591 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/fcfbdb2e-5a1b-4421-a93a-4b86c226d834 2025-07-31 02:39:58,864 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.901 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.901/2.869/4.838/1.968 ms') 2025-07-31 02:39:58,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60252637-31939725 passed 2025-07-31 02:39:59,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:39:59,048 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60252637-31939725, IP 40.207.201.131, Port 22 2025-07-31 02:39:59,232 - DEBUG - VM ctest-TestRoutersBasic-60252637-31939725 is ready for SSH connections 2025-07-31 02:39:59,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:39:59,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.207.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-31 02:39:59,233 - DEBUG - ping -s 56 -c 3 -W 1 40.207.201.131 2025-07-31 02:40:03,159 - DEBUG - PING 40.207.201.131 (40.207.201.131): 56 data bytes 64 bytes from 40.207.201.131: seq=0 ttl=62 time=8.441 ms 64 bytes from 40.207.201.131: seq=1 ttl=62 time=1.754 ms 64 bytes from 40.207.201.131: seq=2 ttl=62 time=1.440 ms --- 40.207.201.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.440/3.878/8.441 ms 2025-07-31 02:40:03,159 - INFO - Ping to IP 40.207.201.131 from VM ctest-TestRoutersBasic-60252637-22618204 passed 2025-07-31 02:40:03,159 - INFO - Deleting interface with subnet_id 28769785-502e-4f77-a7fe-00d66214c95a, port_id None from router 3e547adc-8b3d-4583-bb5d-4d16e7932a1a 2025-07-31 02:40:03,421 - INFO - Deleting VM ctest-TestRoutersBasic-60252637-31939725 2025-07-31 02:40:03,506 - INFO - Deleting VM ctest-TestRoutersBasic-60252637-22618204 2025-07-31 02:40:03,629 - INFO - Deleting VN ctest-ext_vn-56911209 2025-07-31 02:40:03,734 - DEBUG - VN 49d264f7-8266-4873-beb7-3191fdd794a0 still in use: Unable to complete operation on network 49d264f7-8266-4873-beb7-3191fdd794a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e121dfea-2400-4886-9a73-d55df2de289d'] 2025-07-31 02:40:03,735 - WARNING - Deleting VN ctest-ext_vn-56911209 failed..Will retry 2025-07-31 02:40:05,879 - DEBUG - Response for deleting network () 2025-07-31 02:40:05,879 - INFO - Deleting VN ctest-vn-64998620 2025-07-31 02:40:06,009 - DEBUG - Response for deleting network () 2025-07-31 02:40:06,332 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:40:06,332 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-07-31 02:40:06,332 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:40:07,255 - INFO - Deleted project: ctest-TestRoutersBasic-60252637, ID : aa58426d-56d3-481f-9080-76c0955b4795