2025-07-12 08:07:02,085 - INFO - Domain Default found not creating 2025-07-12 08:07:02,232 - INFO - Project ctest-TestRoutersBasic-31650761 not found, creating it 2025-07-12 08:07:02,676 - INFO - Created Project:ctest-TestRoutersBasic-31650761, ID : 454a54bd-a836-4f1a-9c0b-42eb7c740b03 2025-07-12 08:07:04,084 - INFO - ================================================================================ 2025-07-12 08:07:04,084 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-12 08:07:04,084 - 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-12 08:07:04,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-07-12 08:07:04,339 - INFO - Initial checks done. Running the testcase now 2025-07-12 08:07:04,339 - INFO - 2025-07-12 08:07:05,041 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31650761 2025-07-12 08:07:05,141 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31650761 2025-07-12 08:07:05,464 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31650761', 'default']} 2025-07-12 08:07:05,759 - DEBUG - Response for create_network : {'network': {'id': '581a7376-a1cd-45f0-bc85-7cb6cc7bf981', 'name': 'ctest-vn-12433973', 'tenant_id': '454a54bda8364f1a9c0b42eb7c740b03', 'project_id': '454a54bda8364f1a9c0b42eb7c740b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31650761', 'ctest-vn-12433973'], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:05,968 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ca34a12-0794-44b2-b36c-5cce668a32a3', 'name': '', 'tenant_id': '454a54bda8364f1a9c0b42eb7c740b03', 'network_id': '581a7376-a1cd-45f0-bc85-7cb6cc7bf981', 'ip_version': 4, 'cidr': '81.233.252.0/26', 'allocation_pools': [{'start': '81.233.252.2', 'end': '81.233.252.62'}], 'gateway_ip': '81.233.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.233.252.2', 'tags': [], 'project_id': '454a54bda8364f1a9c0b42eb7c740b03'}} 2025-07-12 08:07:05,988 - INFO - Created VN ctest-vn-12433973 2025-07-12 08:07:06,041 - DEBUG - VN ctest-vn-12433973 UUID is 581a7376-a1cd-45f0-bc85-7cb6cc7bf981 2025-07-12 08:07:06,371 - DEBUG - Response for create_network : {'network': {'id': '80e27807-e891-47e9-8708-0e9affcaba81', 'name': 'ctest-ext_vn-56429912', 'tenant_id': '454a54bda8364f1a9c0b42eb7c740b03', 'project_id': '454a54bda8364f1a9c0b42eb7c740b03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31650761', 'ctest-ext_vn-56429912'], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:06,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e9e0fb7-f1c2-4c08-999f-dc05f7d99179', 'name': '', 'tenant_id': '454a54bda8364f1a9c0b42eb7c740b03', 'network_id': '80e27807-e891-47e9-8708-0e9affcaba81', 'ip_version': 4, 'cidr': '54.29.209.128/26', 'allocation_pools': [{'start': '54.29.209.130', 'end': '54.29.209.190'}], 'gateway_ip': '54.29.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.29.209.130', 'tags': [], 'project_id': '454a54bda8364f1a9c0b42eb7c740b03'}} 2025-07-12 08:07:06,568 - INFO - Created VN ctest-ext_vn-56429912 2025-07-12 08:07:06,621 - DEBUG - VN ctest-ext_vn-56429912 UUID is 80e27807-e891-47e9-8708-0e9affcaba81 2025-07-12 08:07:06,790 - DEBUG - Services list from nova: [, , ] 2025-07-12 08:07:07,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3631-1) 2025-07-12 08:07:08,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3631-1) 2025-07-12 08:07:08,950 - INFO - Setting gateway for router b425b268-c351-4916-abc3-a4db11535905 to network 80e27807-e891-47e9-8708-0e9affcaba81 2025-07-12 08:07:09,040 - INFO - Adding interface with subnet_id 7ca34a12-0794-44b2-b36c-5cce668a32a3, port_id None to router b425b268-c351-4916-abc3-a4db11535905 2025-07-12 08:07:09,472 - INFO - Waiting for VM ctest-TestRoutersBasic-31650761-89509937 to be up.. 2025-07-12 08:07:09,613 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-12 08:07:14,695 - DEBUG - VM is in ACTIVE state now 2025-07-12 08:07:14,695 - INFO - VM name : ctest-TestRoutersBasic-31650761-89509937 2025-07-12 08:07:14,772 - DEBUG - VM ctest-TestRoutersBasic-31650761-89509937 ID is cdea556d-48a2-48ad-862f-71a94be29097 2025-07-12 08:07:14,790 - DEBUG - VM ctest-TestRoutersBasic-31650761-89509937 launched on Node cn-jenkins-deploy-platform-ansible-os-3631-1 2025-07-12 08:07:14,866 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cdea556d-48a2-48ad-862f-71a94be29097 2025-07-12 08:07:15,160 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cdea556d-48a2-48ad-862f-71a94be29097 2025-07-12 08:07:15,193 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/072a6b35-ef2c-4541-8122-dec4bfd73f87 2025-07-12 08:07:18,465 - 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 1031ms') 2025-07-12 08:07:18,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31650761-89509937 failed! 2025-07-12 08:07:18,529 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31650761:ctest-vn-12433973 is 81.233.252.1 and allocation pool is NOT set 2025-07-12 08:07:20,594 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 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.370/1.494/2.618/1.124 ms') 2025-07-12 08:07:20,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31650761-89509937 passed 2025-07-12 08:07:20,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:20,749 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31650761-89509937, IP 81.233.252.3, Port 22 2025-07-12 08:07:20,900 - DEBUG - VM ctest-TestRoutersBasic-31650761-89509937 is ready for SSH connections 2025-07-12 08:07:20,900 - INFO - Waiting for VM ctest-TestRoutersBasic-31650761-08756878 to be up.. 2025-07-12 08:07:20,971 - DEBUG - VM is in ACTIVE state now 2025-07-12 08:07:20,971 - INFO - VM name : ctest-TestRoutersBasic-31650761-08756878 2025-07-12 08:07:21,040 - DEBUG - VM ctest-TestRoutersBasic-31650761-08756878 ID is 66868199-0fea-42b6-b664-8cc97bc8412e 2025-07-12 08:07:21,041 - DEBUG - VM ctest-TestRoutersBasic-31650761-08756878 launched on Node cn-jenkins-deploy-platform-ansible-os-3631-1 2025-07-12 08:07:21,111 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/66868199-0fea-42b6-b664-8cc97bc8412e 2025-07-12 08:07:21,121 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a45444ec-61f7-4c7c-8c77-cbf5f7de48c8 2025-07-12 08:07:22,364 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.670/2.921/1.250 ms') 2025-07-12 08:07:22,364 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31650761-08756878 passed 2025-07-12 08:07:22,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:22,517 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31650761-08756878, IP 54.29.209.131, Port 22 2025-07-12 08:07:22,672 - DEBUG - VM ctest-TestRoutersBasic-31650761-08756878 is ready for SSH connections 2025-07-12 08:07:22,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:22,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.29.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-12 08:07:22,673 - DEBUG - ping -s 56 -c 3 -W 1 54.29.209.131 2025-07-12 08:07:26,382 - DEBUG - PING 54.29.209.131 (54.29.209.131): 56 data bytes 64 bytes from 54.29.209.131: seq=0 ttl=62 time=5.594 ms 64 bytes from 54.29.209.131: seq=1 ttl=62 time=0.904 ms 64 bytes from 54.29.209.131: seq=2 ttl=62 time=0.962 ms --- 54.29.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.486/5.594 ms 2025-07-12 08:07:26,382 - INFO - Ping to IP 54.29.209.131 from VM ctest-TestRoutersBasic-31650761-89509937 passed 2025-07-12 08:07:26,382 - INFO - Deleting interface with subnet_id 7ca34a12-0794-44b2-b36c-5cce668a32a3, port_id None from router b425b268-c351-4916-abc3-a4db11535905 2025-07-12 08:07:26,594 - INFO - Deleting VM ctest-TestRoutersBasic-31650761-08756878 2025-07-12 08:07:26,664 - INFO - Deleting VM ctest-TestRoutersBasic-31650761-89509937 2025-07-12 08:07:26,736 - INFO - Deleting VN ctest-ext_vn-56429912 2025-07-12 08:07:26,812 - DEBUG - VN 80e27807-e891-47e9-8708-0e9affcaba81 still in use: Unable to complete operation on network 80e27807-e891-47e9-8708-0e9affcaba81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d018adf4-ab85-4d23-8243-46026a89ffff'] 2025-07-12 08:07:26,812 - WARNING - Deleting VN ctest-ext_vn-56429912 failed..Will retry 2025-07-12 08:07:28,918 - DEBUG - Response for deleting network () 2025-07-12 08:07:28,919 - INFO - Deleting VN ctest-vn-12433973 2025-07-12 08:07:29,021 - DEBUG - Response for deleting network () 2025-07-12 08:07:29,283 - DEBUG - No XMPP flaps were noticed during the test 2025-07-12 08:07:29,283 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-12 08:07:29,284 - INFO - -------------------------------------------------------------------------------- 2025-07-12 08:07:29,960 - INFO - Deleted project: ctest-TestRoutersBasic-31650761, ID : 454a54bd-a836-4f1a-9c0b-42eb7c740b03