2025-03-28 12:47:45,359 - INFO - Domain Default found not creating 2025-03-28 12:47:45,549 - INFO - Project ctest-TestRoutersBasic-59131406 not found, creating it 2025-03-28 12:47:46,088 - INFO - Created Project:ctest-TestRoutersBasic-59131406, ID : bf59b790-9a68-420b-ab3d-643b772a35af 2025-03-28 12:47:48,297 - INFO - ================================================================================ 2025-03-28 12:47:48,297 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-28 12:47:48,298 - 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-03-28 12:47:48,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-03-28 12:47:48,574 - INFO - Initial checks done. Running the testcase now 2025-03-28 12:47:48,574 - INFO - 2025-03-28 12:47:49,349 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59131406 2025-03-28 12:47:49,456 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59131406 2025-03-28 12:47:49,787 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59131406', 'default']} 2025-03-28 12:47:50,128 - DEBUG - Response for create_network : {'network': {'id': '8c46161f-a5a9-4f7d-af2e-5b8286cef95c', 'name': 'ctest-vn-01590528', 'tenant_id': 'bf59b7909a68420bab3d643b772a35af', 'project_id': 'bf59b7909a68420bab3d643b772a35af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59131406', 'ctest-vn-01590528'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 12:47:50,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '408fc833-dfe6-4ec5-b647-4fcf2d024cc9', 'name': '', 'tenant_id': 'bf59b7909a68420bab3d643b772a35af', 'network_id': '8c46161f-a5a9-4f7d-af2e-5b8286cef95c', 'ip_version': 4, 'cidr': '173.87.202.128/26', 'allocation_pools': [{'start': '173.87.202.130', 'end': '173.87.202.190'}], 'gateway_ip': '173.87.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.87.202.130', 'tags': [], 'project_id': 'bf59b7909a68420bab3d643b772a35af'}} 2025-03-28 12:47:50,379 - INFO - Created VN ctest-vn-01590528 2025-03-28 12:47:50,436 - DEBUG - VN ctest-vn-01590528 UUID is 8c46161f-a5a9-4f7d-af2e-5b8286cef95c 2025-03-28 12:47:50,798 - DEBUG - Response for create_network : {'network': {'id': '91298987-74d6-4c1c-9596-dfaad930c26e', 'name': 'ctest-ext_vn-45214512', 'tenant_id': 'bf59b7909a68420bab3d643b772a35af', 'project_id': 'bf59b7909a68420bab3d643b772a35af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59131406', 'ctest-ext_vn-45214512'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 12:47:51,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f3ceb83-e3fb-41c8-85b2-df0a09272f3f', 'name': '', 'tenant_id': 'bf59b7909a68420bab3d643b772a35af', 'network_id': '91298987-74d6-4c1c-9596-dfaad930c26e', 'ip_version': 4, 'cidr': '14.25.6.192/26', 'allocation_pools': [{'start': '14.25.6.194', 'end': '14.25.6.254'}], 'gateway_ip': '14.25.6.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.25.6.194', 'tags': [], 'project_id': 'bf59b7909a68420bab3d643b772a35af'}} 2025-03-28 12:47:51,026 - INFO - Created VN ctest-ext_vn-45214512 2025-03-28 12:47:51,080 - DEBUG - VN ctest-ext_vn-45214512 UUID is 91298987-74d6-4c1c-9596-dfaad930c26e 2025-03-28 12:47:51,271 - DEBUG - Services list from nova: [, , ] 2025-03-28 12:47:52,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2990-1) 2025-03-28 12:47:53,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2990-1) 2025-03-28 12:47:53,728 - INFO - Setting gateway for router 91779562-a8f1-475f-b85e-a90c4ffbeeba to network 91298987-74d6-4c1c-9596-dfaad930c26e 2025-03-28 12:47:53,803 - INFO - Adding interface with subnet_id 408fc833-dfe6-4ec5-b647-4fcf2d024cc9, port_id None to router 91779562-a8f1-475f-b85e-a90c4ffbeeba 2025-03-28 12:47:54,423 - INFO - Waiting for VM ctest-TestRoutersBasic-59131406-41521607 to be up.. 2025-03-28 12:47:54,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 12:47:59,663 - DEBUG - VM is in ACTIVE state now 2025-03-28 12:47:59,663 - INFO - VM name : ctest-TestRoutersBasic-59131406-41521607 2025-03-28 12:47:59,759 - DEBUG - VM ctest-TestRoutersBasic-59131406-41521607 ID is bdd87df6-1430-4ab9-9967-fbf03628844d 2025-03-28 12:47:59,779 - DEBUG - VM ctest-TestRoutersBasic-59131406-41521607 launched on Node cn-jenkins-deploy-platform-ansible-os-2990-1 2025-03-28 12:47:59,866 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bdd87df6-1430-4ab9-9967-fbf03628844d 2025-03-28 12:48:00,197 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bdd87df6-1430-4ab9-9967-fbf03628844d 2025-03-28 12:48:00,233 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6df7f391-f6df-447a-ae88-80c3c1e63dd5 2025-03-28 12:48:03,491 - 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 1008ms') 2025-03-28 12:48:03,491 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59131406-41521607 failed! 2025-03-28 12:48:03,548 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59131406:ctest-vn-01590528 is 173.87.202.129 and allocation pool is NOT set 2025-03-28 12:48:05,609 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 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.521/1.813/3.106/1.292 ms') 2025-03-28 12:48:05,609 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59131406-41521607 passed 2025-03-28 12:48:05,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 12:48:05,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59131406-41521607, IP 173.87.202.131, Port 22 2025-03-28 12:48:05,919 - DEBUG - VM ctest-TestRoutersBasic-59131406-41521607 is ready for SSH connections 2025-03-28 12:48:05,919 - INFO - Waiting for VM ctest-TestRoutersBasic-59131406-26729927 to be up.. 2025-03-28 12:48:06,032 - DEBUG - VM is in ACTIVE state now 2025-03-28 12:48:06,032 - INFO - VM name : ctest-TestRoutersBasic-59131406-26729927 2025-03-28 12:48:06,120 - DEBUG - VM ctest-TestRoutersBasic-59131406-26729927 ID is 683c0ff2-49b8-4079-9262-4b3452af4006 2025-03-28 12:48:06,120 - DEBUG - VM ctest-TestRoutersBasic-59131406-26729927 launched on Node cn-jenkins-deploy-platform-ansible-os-2990-1 2025-03-28 12:48:06,208 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/683c0ff2-49b8-4079-9262-4b3452af4006 2025-03-28 12:48:06,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4974c370-1c78-46d7-8d96-3487263d22d8 2025-03-28 12:48:07,476 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.576/1.833/3.090/1.257 ms') 2025-03-28 12:48:07,476 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59131406-26729927 passed 2025-03-28 12:48:07,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 12:48:07,640 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59131406-26729927, IP 14.25.6.195, Port 22 2025-03-28 12:48:07,795 - DEBUG - VM ctest-TestRoutersBasic-59131406-26729927 is ready for SSH connections 2025-03-28 12:48:07,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 12:48:07,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.25.6.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-03-28 12:48:07,796 - DEBUG - ping -s 56 -c 3 -W 1 14.25.6.195 2025-03-28 12:48:11,568 - DEBUG - PING 14.25.6.195 (14.25.6.195): 56 data bytes 64 bytes from 14.25.6.195: seq=0 ttl=62 time=7.983 ms 64 bytes from 14.25.6.195: seq=1 ttl=62 time=1.209 ms 64 bytes from 14.25.6.195: seq=2 ttl=62 time=1.169 ms --- 14.25.6.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.169/3.453/7.983 ms 2025-03-28 12:48:11,568 - INFO - Ping to IP 14.25.6.195 from VM ctest-TestRoutersBasic-59131406-41521607 passed 2025-03-28 12:48:11,569 - INFO - Deleting interface with subnet_id 408fc833-dfe6-4ec5-b647-4fcf2d024cc9, port_id None from router 91779562-a8f1-475f-b85e-a90c4ffbeeba 2025-03-28 12:48:11,832 - INFO - Deleting VM ctest-TestRoutersBasic-59131406-26729927 2025-03-28 12:48:11,922 - INFO - Deleting VM ctest-TestRoutersBasic-59131406-41521607 2025-03-28 12:48:12,017 - INFO - Deleting VN ctest-ext_vn-45214512 2025-03-28 12:48:12,117 - DEBUG - VN 91298987-74d6-4c1c-9596-dfaad930c26e still in use: Unable to complete operation on network 91298987-74d6-4c1c-9596-dfaad930c26e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c25c887-fc8a-4775-bd14-7881affff9c6'] 2025-03-28 12:48:12,117 - WARNING - Deleting VN ctest-ext_vn-45214512 failed..Will retry 2025-03-28 12:48:14,256 - DEBUG - Response for deleting network () 2025-03-28 12:48:14,256 - INFO - Deleting VN ctest-vn-01590528 2025-03-28 12:48:14,409 - DEBUG - Response for deleting network () 2025-03-28 12:48:14,671 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 12:48:14,672 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-03-28 12:48:14,672 - INFO - -------------------------------------------------------------------------------- 2025-03-28 12:48:15,414 - INFO - Deleted project: ctest-TestRoutersBasic-59131406, ID : bf59b790-9a68-420b-ab3d-643b772a35af