2025-04-30 17:48:57,775 - INFO - Domain Default found not creating 2025-04-30 17:48:57,894 - INFO - Project ctest-TestRoutersBasic-83461812 not found, creating it 2025-04-30 17:48:58,358 - INFO - Created Project:ctest-TestRoutersBasic-83461812, ID : cb84bc06-8f19-45db-8ac7-effc223aae47 2025-04-30 17:48:59,655 - INFO - ================================================================================ 2025-04-30 17:48:59,656 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-30 17:48:59,656 - 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-04-30 17:48:59,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 17:48:59,916 - INFO - Initial checks done. Running the testcase now 2025-04-30 17:48:59,916 - INFO - 2025-04-30 17:49:00,585 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83461812 2025-04-30 17:49:00,678 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83461812 2025-04-30 17:49:01,002 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83461812', 'default']} 2025-04-30 17:49:01,287 - DEBUG - Response for create_network : {'network': {'id': 'ac0a4f08-f9b9-4fa0-a9c9-ca71d7c20356', 'name': 'ctest-vn-76959425', 'tenant_id': 'cb84bc068f1945db8ac7effc223aae47', 'project_id': 'cb84bc068f1945db8ac7effc223aae47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83461812', 'ctest-vn-76959425'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:01,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '8134cd5e-0466-49a4-98cb-a1f87c500212', 'name': '', 'tenant_id': 'cb84bc068f1945db8ac7effc223aae47', 'network_id': 'ac0a4f08-f9b9-4fa0-a9c9-ca71d7c20356', 'ip_version': 4, 'cidr': '38.247.107.128/26', 'allocation_pools': [{'start': '38.247.107.130', 'end': '38.247.107.190'}], 'gateway_ip': '38.247.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.247.107.130', 'tags': [], 'project_id': 'cb84bc068f1945db8ac7effc223aae47'}} 2025-04-30 17:49:01,443 - INFO - Created VN ctest-vn-76959425 2025-04-30 17:49:01,498 - DEBUG - VN ctest-vn-76959425 UUID is ac0a4f08-f9b9-4fa0-a9c9-ca71d7c20356 2025-04-30 17:49:01,834 - DEBUG - Response for create_network : {'network': {'id': 'e7cfe13b-d1e3-462d-b1fd-9514ef7dd208', 'name': 'ctest-ext_vn-98449858', 'tenant_id': 'cb84bc068f1945db8ac7effc223aae47', 'project_id': 'cb84bc068f1945db8ac7effc223aae47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83461812', 'ctest-ext_vn-98449858'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:02,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b511795-5c13-408d-ad56-1857b800b015', 'name': '', 'tenant_id': 'cb84bc068f1945db8ac7effc223aae47', 'network_id': 'e7cfe13b-d1e3-462d-b1fd-9514ef7dd208', 'ip_version': 4, 'cidr': '56.40.231.64/26', 'allocation_pools': [{'start': '56.40.231.66', 'end': '56.40.231.126'}], 'gateway_ip': '56.40.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.40.231.66', 'tags': [], 'project_id': 'cb84bc068f1945db8ac7effc223aae47'}} 2025-04-30 17:49:02,031 - INFO - Created VN ctest-ext_vn-98449858 2025-04-30 17:49:02,086 - DEBUG - VN ctest-ext_vn-98449858 UUID is e7cfe13b-d1e3-462d-b1fd-9514ef7dd208 2025-04-30 17:49:02,241 - DEBUG - Services list from nova: [, , ] 2025-04-30 17:49:03,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1) 2025-04-30 17:49:04,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1) 2025-04-30 17:49:04,416 - INFO - Setting gateway for router 2ccc8c92-143d-43be-96f1-c1fabd8c5317 to network e7cfe13b-d1e3-462d-b1fd-9514ef7dd208 2025-04-30 17:49:04,491 - INFO - Adding interface with subnet_id 8134cd5e-0466-49a4-98cb-a1f87c500212, port_id None to router 2ccc8c92-143d-43be-96f1-c1fabd8c5317 2025-04-30 17:49:04,844 - INFO - Waiting for VM ctest-TestRoutersBasic-83461812-65519811 to be up.. 2025-04-30 17:49:05,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 17:49:10,145 - DEBUG - VM is in ACTIVE state now 2025-04-30 17:49:10,146 - INFO - VM name : ctest-TestRoutersBasic-83461812-65519811 2025-04-30 17:49:10,210 - DEBUG - VM ctest-TestRoutersBasic-83461812-65519811 ID is 6f7c9215-cd9a-4b55-98e8-e80532b51b9a 2025-04-30 17:49:10,226 - DEBUG - VM ctest-TestRoutersBasic-83461812-65519811 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1 2025-04-30 17:49:10,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6f7c9215-cd9a-4b55-98e8-e80532b51b9a 2025-04-30 17:49:10,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6f7c9215-cd9a-4b55-98e8-e80532b51b9a 2025-04-30 17:49:10,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f1f6b1e7-192a-4320-b768-e4916b722433 2025-04-30 17:49:13,867 - 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=2 ttl=63 time=9.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 9.266/9.266/9.266/0.000 ms') 2025-04-30 17:49:13,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83461812-65519811 passed 2025-04-30 17:49:14,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:14,018 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83461812-65519811, IP 38.247.107.131, Port 22 2025-04-30 17:49:14,173 - DEBUG - VM ctest-TestRoutersBasic-83461812-65519811 is ready for SSH connections 2025-04-30 17:49:14,173 - INFO - Waiting for VM ctest-TestRoutersBasic-83461812-18604833 to be up.. 2025-04-30 17:49:14,240 - DEBUG - VM is in ACTIVE state now 2025-04-30 17:49:14,240 - INFO - VM name : ctest-TestRoutersBasic-83461812-18604833 2025-04-30 17:49:14,305 - DEBUG - VM ctest-TestRoutersBasic-83461812-18604833 ID is e1970a76-858e-4c87-b814-2ad864f08218 2025-04-30 17:49:14,306 - DEBUG - VM ctest-TestRoutersBasic-83461812-18604833 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1 2025-04-30 17:49:14,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1970a76-858e-4c87-b814-2ad864f08218 2025-04-30 17:49:14,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d540a71-5899-4c93-b42e-4de67d523fef 2025-04-30 17:49:15,606 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.326/2.499/3.673/1.173 ms') 2025-04-30 17:49:15,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83461812-18604833 passed 2025-04-30 17:49:15,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:15,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83461812-18604833, IP 56.40.231.67, Port 22 2025-04-30 17:49:15,920 - DEBUG - VM ctest-TestRoutersBasic-83461812-18604833 is ready for SSH connections 2025-04-30 17:49:15,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:15,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.40.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 17:49:15,920 - DEBUG - ping -s 56 -c 3 -W 1 56.40.231.67 2025-04-30 17:49:19,848 - DEBUG - PING 56.40.231.67 (56.40.231.67): 56 data bytes 64 bytes from 56.40.231.67: seq=0 ttl=62 time=6.479 ms 64 bytes from 56.40.231.67: seq=1 ttl=62 time=0.743 ms 64 bytes from 56.40.231.67: seq=2 ttl=62 time=1.135 ms --- 56.40.231.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/2.785/6.479 ms 2025-04-30 17:49:19,848 - INFO - Ping to IP 56.40.231.67 from VM ctest-TestRoutersBasic-83461812-65519811 passed 2025-04-30 17:49:19,848 - INFO - Deleting interface with subnet_id 8134cd5e-0466-49a4-98cb-a1f87c500212, port_id None from router 2ccc8c92-143d-43be-96f1-c1fabd8c5317 2025-04-30 17:49:20,027 - INFO - Deleting VM ctest-TestRoutersBasic-83461812-18604833 2025-04-30 17:49:20,082 - INFO - Deleting VM ctest-TestRoutersBasic-83461812-65519811 2025-04-30 17:49:20,171 - INFO - Deleting VN ctest-ext_vn-98449858 2025-04-30 17:49:20,236 - DEBUG - VN e7cfe13b-d1e3-462d-b1fd-9514ef7dd208 still in use: Unable to complete operation on network e7cfe13b-d1e3-462d-b1fd-9514ef7dd208. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8fdd1049-909a-4938-b8bd-cb4ced254c25'] 2025-04-30 17:49:20,236 - WARNING - Deleting VN ctest-ext_vn-98449858 failed..Will retry 2025-04-30 17:49:22,328 - DEBUG - Response for deleting network () 2025-04-30 17:49:22,328 - INFO - Deleting VN ctest-vn-76959425 2025-04-30 17:49:22,414 - DEBUG - Response for deleting network () 2025-04-30 17:49:22,663 - DEBUG - No XMPP flaps were noticed during the test
2025-04-30 17:49:22,663 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-30 17:49:22,664 - INFO - -------------------------------------------------------------------------------- 2025-04-30 17:49:23,310 - INFO - Deleted project: ctest-TestRoutersBasic-83461812, ID : cb84bc06-8f19-45db-8ac7-effc223aae47