2025-02-20 02:15:10,483 - INFO - Domain Default found not creating 2025-02-20 02:15:10,645 - INFO - Project ctest-TestRoutersBasic-96042617 not found, creating it 2025-02-20 02:15:11,149 - INFO - Created Project:ctest-TestRoutersBasic-96042617, ID : 255fe9f3-f8e6-43ca-a022-23f4f65b3945 2025-02-20 02:15:12,775 - INFO - ================================================================================ 2025-02-20 02:15:12,775 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-20 02:15:12,775 - 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-02-20 02:15:13,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.0.0.47': '0'}} with 2025-02-20 02:15:13,050 - INFO - Initial checks done. Running the testcase now 2025-02-20 02:15:13,050 - INFO - 2025-02-20 02:15:13,874 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96042617 2025-02-20 02:15:13,974 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96042617 2025-02-20 02:15:14,327 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96042617', 'default']} 2025-02-20 02:15:14,681 - DEBUG - Response for create_network : {'network': {'id': 'c51f94e5-15cb-47e9-976e-a1c2186efc9e', 'name': 'ctest-vn-05975265', 'tenant_id': '255fe9f3f8e643caa02223f4f65b3945', 'project_id': '255fe9f3f8e643caa02223f4f65b3945', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96042617', 'ctest-vn-05975265'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:15:14,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '606adb54-8b62-429c-ba99-939502fe8304', 'name': '', 'tenant_id': '255fe9f3f8e643caa02223f4f65b3945', 'network_id': 'c51f94e5-15cb-47e9-976e-a1c2186efc9e', 'ip_version': 4, 'cidr': '95.151.19.128/26', 'allocation_pools': [{'start': '95.151.19.130', 'end': '95.151.19.190'}], 'gateway_ip': '95.151.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.151.19.130', 'tags': [], 'project_id': '255fe9f3f8e643caa02223f4f65b3945'}} 2025-02-20 02:15:14,926 - INFO - Created VN ctest-vn-05975265 2025-02-20 02:15:14,982 - DEBUG - VN ctest-vn-05975265 UUID is c51f94e5-15cb-47e9-976e-a1c2186efc9e 2025-02-20 02:15:15,333 - DEBUG - Response for create_network : {'network': {'id': 'dffd694c-17fd-4aa6-935b-ccda209646c5', 'name': 'ctest-ext_vn-93698616', 'tenant_id': '255fe9f3f8e643caa02223f4f65b3945', 'project_id': '255fe9f3f8e643caa02223f4f65b3945', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96042617', 'ctest-ext_vn-93698616'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 02:15:15,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '886b365f-9e73-4e82-a1cd-99f8b9499627', 'name': '', 'tenant_id': '255fe9f3f8e643caa02223f4f65b3945', 'network_id': 'dffd694c-17fd-4aa6-935b-ccda209646c5', 'ip_version': 4, 'cidr': '109.103.163.128/26', 'allocation_pools': [{'start': '109.103.163.130', 'end': '109.103.163.190'}], 'gateway_ip': '109.103.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.103.163.130', 'tags': [], 'project_id': '255fe9f3f8e643caa02223f4f65b3945'}} 2025-02-20 02:15:15,553 - INFO - Created VN ctest-ext_vn-93698616 2025-02-20 02:15:15,610 - DEBUG - VN ctest-ext_vn-93698616 UUID is dffd694c-17fd-4aa6-935b-ccda209646c5 2025-02-20 02:15:15,798 - DEBUG - Services list from nova: [, , ] 2025-02-20 02:15:16,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2749-1) 2025-02-20 02:15:18,290 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2749-1) 2025-02-20 02:15:18,379 - INFO - Setting gateway for router 8baf3c45-e948-4848-9678-576e2027ee77 to network dffd694c-17fd-4aa6-935b-ccda209646c5 2025-02-20 02:15:18,470 - INFO - Adding interface with subnet_id 606adb54-8b62-429c-ba99-939502fe8304, port_id None to router 8baf3c45-e948-4848-9678-576e2027ee77 2025-02-20 02:15:19,110 - INFO - Waiting for VM ctest-TestRoutersBasic-96042617-20514185 to be up.. 2025-02-20 02:15:19,286 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:15:19,287 - INFO - VM name : ctest-TestRoutersBasic-96042617-20514185 2025-02-20 02:15:19,408 - DEBUG - VM ctest-TestRoutersBasic-96042617-20514185 ID is 36c51d5d-821e-4c63-99f9-f3fb6e071605 2025-02-20 02:15:19,439 - DEBUG - VM ctest-TestRoutersBasic-96042617-20514185 launched on Node cn-jenkins-deploy-platform-ansible-os-2749-1. 2025-02-20 02:15:19,549 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/36c51d5d-821e-4c63-99f9-f3fb6e071605 2025-02-20 02:15:19,934 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/36c51d5d-821e-4c63-99f9-f3fb6e071605 2025-02-20 02:15:19,981 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/13d756fc-0dcd-47e7-afd2-438665113a43 2025-02-20 02:15:23,292 - 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 1024ms') 2025-02-20 02:15:23,292 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96042617-20514185 failed! 2025-02-20 02:15:23,350 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96042617:ctest-vn-05975265 is 95.151.19.129 and allocation pool is NOT set 2025-02-20 02:15:27,420 - 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 1006ms') 2025-02-20 02:15:27,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96042617-20514185 failed! 2025-02-20 02:15:27,478 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96042617:ctest-vn-05975265 is 95.151.19.129 and allocation pool is NOT set 2025-02-20 02:15:29,539 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/2.016/3.441/1.425 ms') 2025-02-20 02:15:29,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96042617-20514185 passed 2025-02-20 02:15:29,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:15:29,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96042617-20514185, IP 95.151.19.131, Port 22 2025-02-20 02:15:29,868 - DEBUG - VM ctest-TestRoutersBasic-96042617-20514185 is ready for SSH connections 2025-02-20 02:15:29,868 - INFO - Waiting for VM ctest-TestRoutersBasic-96042617-00758386 to be up.. 2025-02-20 02:15:29,959 - DEBUG - VM is in ACTIVE state now 2025-02-20 02:15:29,959 - INFO - VM name : ctest-TestRoutersBasic-96042617-00758386 2025-02-20 02:15:30,075 - DEBUG - VM ctest-TestRoutersBasic-96042617-00758386 ID is e47eda50-99ae-497d-a529-b5980b9156a8 2025-02-20 02:15:30,075 - DEBUG - VM ctest-TestRoutersBasic-96042617-00758386 launched on Node cn-jenkins-deploy-platform-ansible-os-2749-1. 2025-02-20 02:15:30,178 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/e47eda50-99ae-497d-a529-b5980b9156a8 2025-02-20 02:15:30,192 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/1eb153ab-fde7-425d-9490-7d8b9932e69f 2025-02-20 02:15:31,456 - 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=5.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 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.891/2.978/5.065/2.087 ms') 2025-02-20 02:15:31,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96042617-00758386 passed 2025-02-20 02:15:31,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:15:31,618 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96042617-00758386, IP 109.103.163.131, Port 22 2025-02-20 02:15:31,788 - DEBUG - VM ctest-TestRoutersBasic-96042617-00758386 is ready for SSH connections 2025-02-20 02:15:31,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 02:15:31,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.103.163.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-02-20 02:15:31,789 - DEBUG - ping -s 56 -c 3 -W 1 109.103.163.131 2025-02-20 02:15:35,577 - DEBUG - PING 109.103.163.131 (109.103.163.131): 56 data bytes 64 bytes from 109.103.163.131: seq=0 ttl=62 time=5.937 ms 64 bytes from 109.103.163.131: seq=1 ttl=62 time=0.964 ms 64 bytes from 109.103.163.131: seq=2 ttl=62 time=0.863 ms --- 109.103.163.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/2.588/5.937 ms 2025-02-20 02:15:35,577 - INFO - Ping to IP 109.103.163.131 from VM ctest-TestRoutersBasic-96042617-20514185 passed 2025-02-20 02:15:35,577 - INFO - Deleting interface with subnet_id 606adb54-8b62-429c-ba99-939502fe8304, port_id None from router 8baf3c45-e948-4848-9678-576e2027ee77 2025-02-20 02:15:35,801 - INFO - Deleting VM ctest-TestRoutersBasic-96042617-00758386 2025-02-20 02:15:35,872 - INFO - Deleting VM ctest-TestRoutersBasic-96042617-20514185 2025-02-20 02:15:35,973 - INFO - Deleting VN ctest-ext_vn-93698616 2025-02-20 02:15:36,059 - DEBUG - VN dffd694c-17fd-4aa6-935b-ccda209646c5 still in use: Unable to complete operation on network dffd694c-17fd-4aa6-935b-ccda209646c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6611d218-3b15-4d83-a67d-0a5cfb96da3a'] 2025-02-20 02:15:36,059 - WARNING - Deleting VN ctest-ext_vn-93698616 failed..Will retry 2025-02-20 02:15:38,193 - DEBUG - Response for deleting network () 2025-02-20 02:15:38,193 - INFO - Deleting VN ctest-vn-05975265 2025-02-20 02:15:38,334 - DEBUG - Response for deleting network () 2025-02-20 02:15:38,588 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 02:15:38,588 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-20 02:15:38,588 - INFO - -------------------------------------------------------------------------------- 2025-02-20 02:15:39,306 - INFO - Deleted project: ctest-TestRoutersBasic-96042617, ID : 255fe9f3-f8e6-43ca-a022-23f4f65b3945