2025-04-23 07:52:42,143 - INFO - Domain Default found not creating 2025-04-23 07:52:42,264 - INFO - Project ctest-TestRoutersBasic-99625411 not found, creating it 2025-04-23 07:52:42,722 - INFO - Created Project:ctest-TestRoutersBasic-99625411, ID : fd0a1af7-e2cc-4fb0-a886-e2288c58fb1d 2025-04-23 07:52:44,037 - INFO - ================================================================================ 2025-04-23 07:52:44,037 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 07:52:44,037 - 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-23 07:52:44,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-04-23 07:52:44,289 - INFO - Initial checks done. Running the testcase now 2025-04-23 07:52:44,289 - INFO - 2025-04-23 07:52:44,965 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99625411 2025-04-23 07:52:45,064 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99625411 2025-04-23 07:52:45,384 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99625411', 'default']} 2025-04-23 07:52:45,653 - DEBUG - Response for create_network : {'network': {'id': '025f55b2-e0c5-4dd7-8c05-78ddf0790278', 'name': 'ctest-vn-57425330', 'tenant_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'project_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99625411', 'ctest-vn-57425330'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:52:45,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f24a727-2ade-46a0-9995-9d8e4179c810', 'name': '', 'tenant_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'network_id': '025f55b2-e0c5-4dd7-8c05-78ddf0790278', 'ip_version': 4, 'cidr': '221.119.110.192/26', 'allocation_pools': [{'start': '221.119.110.194', 'end': '221.119.110.254'}], 'gateway_ip': '221.119.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.119.110.194', 'tags': [], 'project_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d'}} 2025-04-23 07:52:45,850 - INFO - Created VN ctest-vn-57425330 2025-04-23 07:52:45,904 - DEBUG - VN ctest-vn-57425330 UUID is 025f55b2-e0c5-4dd7-8c05-78ddf0790278 2025-04-23 07:52:46,242 - DEBUG - Response for create_network : {'network': {'id': '4787e819-0bbc-4add-8f27-3eae255da06a', 'name': 'ctest-ext_vn-77962064', 'tenant_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'project_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99625411', 'ctest-ext_vn-77962064'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:52:46,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '994bc9da-fdcf-49a2-93b4-e6fb64771570', 'name': '', 'tenant_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d', 'network_id': '4787e819-0bbc-4add-8f27-3eae255da06a', 'ip_version': 4, 'cidr': '89.254.224.0/26', 'allocation_pools': [{'start': '89.254.224.2', 'end': '89.254.224.62'}], 'gateway_ip': '89.254.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.254.224.2', 'tags': [], 'project_id': 'fd0a1af7e2cc4fb0a886e2288c58fb1d'}} 2025-04-23 07:52:46,465 - INFO - Created VN ctest-ext_vn-77962064 2025-04-23 07:52:46,516 - DEBUG - VN ctest-ext_vn-77962064 UUID is 4787e819-0bbc-4add-8f27-3eae255da06a 2025-04-23 07:52:46,700 - DEBUG - Services list from nova: [, , ] 2025-04-23 07:52:47,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3177-1) 2025-04-23 07:52:48,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3177-1) 2025-04-23 07:52:48,789 - INFO - Setting gateway for router c961ff9f-d19d-4fc5-95dd-c0fc09cfecb4 to network 4787e819-0bbc-4add-8f27-3eae255da06a 2025-04-23 07:52:48,866 - INFO - Adding interface with subnet_id 3f24a727-2ade-46a0-9995-9d8e4179c810, port_id None to router c961ff9f-d19d-4fc5-95dd-c0fc09cfecb4 2025-04-23 07:52:49,216 - INFO - Waiting for VM ctest-TestRoutersBasic-99625411-78833958 to be up.. 2025-04-23 07:52:49,390 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 07:52:54,459 - DEBUG - VM is in ACTIVE state now 2025-04-23 07:52:54,459 - INFO - VM name : ctest-TestRoutersBasic-99625411-78833958 2025-04-23 07:52:54,536 - DEBUG - VM ctest-TestRoutersBasic-99625411-78833958 ID is f95b31b1-cdfd-4097-b73a-7201a80ca498 2025-04-23 07:52:54,553 - DEBUG - VM ctest-TestRoutersBasic-99625411-78833958 launched on Node cn-jenkins-deploy-platform-ansible-os-3177-1 2025-04-23 07:52:54,624 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/f95b31b1-cdfd-4097-b73a-7201a80ca498 2025-04-23 07:52:54,915 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/f95b31b1-cdfd-4097-b73a-7201a80ca498 2025-04-23 07:52:54,944 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b50d5b3d-a03e-47f2-8c76-f82153fc84d0 2025-04-23 07:52:58,189 - 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 1015ms') 2025-04-23 07:52:58,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99625411-78833958 failed! 2025-04-23 07:52:58,244 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99625411:ctest-vn-57425330 is 221.119.110.193 and allocation pool is NOT set 2025-04-23 07:53:00,302 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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.396/3.835/7.275/3.439 ms') 2025-04-23 07:53:00,303 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99625411-78833958 passed 2025-04-23 07:53:00,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:00,456 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99625411-78833958, IP 221.119.110.195, Port 22 2025-04-23 07:53:00,611 - DEBUG - VM ctest-TestRoutersBasic-99625411-78833958 is ready for SSH connections 2025-04-23 07:53:00,611 - INFO - Waiting for VM ctest-TestRoutersBasic-99625411-70226313 to be up.. 2025-04-23 07:53:00,683 - DEBUG - VM is in ACTIVE state now 2025-04-23 07:53:00,683 - INFO - VM name : ctest-TestRoutersBasic-99625411-70226313 2025-04-23 07:53:00,751 - DEBUG - VM ctest-TestRoutersBasic-99625411-70226313 ID is 25e73d80-7634-45c7-a73f-3ed55ca9977c 2025-04-23 07:53:00,751 - DEBUG - VM ctest-TestRoutersBasic-99625411-70226313 launched on Node cn-jenkins-deploy-platform-ansible-os-3177-1 2025-04-23 07:53:00,818 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/25e73d80-7634-45c7-a73f-3ed55ca9977c 2025-04-23 07:53:00,826 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/61be3919-f61e-4741-bf4a-7aa3ed720a5c 2025-04-23 07:53:02,060 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.523/2.701/1.177 ms') 2025-04-23 07:53:02,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99625411-70226313 passed 2025-04-23 07:53:02,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:02,212 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99625411-70226313, IP 89.254.224.3, Port 22 2025-04-23 07:53:02,363 - DEBUG - VM ctest-TestRoutersBasic-99625411-70226313 is ready for SSH connections 2025-04-23 07:53:02,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:02,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.254.224.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-23 07:53:02,363 - DEBUG - ping -s 56 -c 3 -W 1 89.254.224.3 2025-04-23 07:53:06,312 - DEBUG - PING 89.254.224.3 (89.254.224.3): 56 data bytes 64 bytes from 89.254.224.3: seq=0 ttl=62 time=7.171 ms 64 bytes from 89.254.224.3: seq=1 ttl=62 time=0.805 ms 64 bytes from 89.254.224.3: seq=2 ttl=62 time=0.730 ms --- 89.254.224.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/2.902/7.171 ms 2025-04-23 07:53:06,312 - INFO - Ping to IP 89.254.224.3 from VM ctest-TestRoutersBasic-99625411-78833958 passed 2025-04-23 07:53:06,313 - INFO - Deleting interface with subnet_id 3f24a727-2ade-46a0-9995-9d8e4179c810, port_id None from router c961ff9f-d19d-4fc5-95dd-c0fc09cfecb4 2025-04-23 07:53:06,513 - INFO - Deleting VM ctest-TestRoutersBasic-99625411-70226313 2025-04-23 07:53:06,572 - INFO - Deleting VM ctest-TestRoutersBasic-99625411-78833958 2025-04-23 07:53:06,644 - INFO - Deleting VN ctest-ext_vn-77962064 2025-04-23 07:53:06,733 - DEBUG - VN 4787e819-0bbc-4add-8f27-3eae255da06a still in use: Unable to complete operation on network 4787e819-0bbc-4add-8f27-3eae255da06a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b20d946-c481-4de6-bf63-3153de6b9a7a'] 2025-04-23 07:53:06,733 - WARNING - Deleting VN ctest-ext_vn-77962064 failed..Will retry 2025-04-23 07:53:08,826 - DEBUG - Response for deleting network () 2025-04-23 07:53:08,826 - INFO - Deleting VN ctest-vn-57425330 2025-04-23 07:53:08,928 - DEBUG - Response for deleting network () 2025-04-23 07:53:09,192 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 07:53:09,192 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-23 07:53:09,192 - INFO - -------------------------------------------------------------------------------- 2025-04-23 07:53:09,840 - INFO - Deleted project: ctest-TestRoutersBasic-99625411, ID : fd0a1af7-e2cc-4fb0-a886-e2288c58fb1d