2025-02-17 02:22:53,387 - INFO - Domain Default found not creating 2025-02-17 02:22:53,538 - INFO - Project ctest-TestRoutersBasic-47258718 not found, creating it 2025-02-17 02:22:54,046 - INFO - Created Project:ctest-TestRoutersBasic-47258718, ID : 7c62aed6-45e6-426e-a9fd-140015f69c61 2025-02-17 02:22:55,630 - INFO - ================================================================================ 2025-02-17 02:22:55,630 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-17 02:22:55,630 - 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-17 02:22:55,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.23': '0'}} with 2025-02-17 02:22:55,898 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:22:55,899 - INFO - 2025-02-17 02:22:56,610 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47258718 2025-02-17 02:22:56,706 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47258718 2025-02-17 02:22:57,025 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47258718', 'default']} 2025-02-17 02:22:57,326 - DEBUG - Response for create_network : {'network': {'id': '829bdde7-f2ba-4539-8375-63329eb43f37', 'name': 'ctest-vn-08166288', 'tenant_id': '7c62aed645e6426ea9fd140015f69c61', 'project_id': '7c62aed645e6426ea9fd140015f69c61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47258718', 'ctest-vn-08166288'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:22:57,500 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f486c28e-fcb1-48e4-81fb-6eb7294c0352', 'name': '', 'tenant_id': '7c62aed645e6426ea9fd140015f69c61', 'network_id': '829bdde7-f2ba-4539-8375-63329eb43f37', 'ip_version': 4, 'cidr': '196.210.52.192/26', 'allocation_pools': [{'start': '196.210.52.194', 'end': '196.210.52.254'}], 'gateway_ip': '196.210.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.210.52.194', 'tags': [], 'project_id': '7c62aed645e6426ea9fd140015f69c61'}} 2025-02-17 02:22:57,521 - INFO - Created VN ctest-vn-08166288 2025-02-17 02:22:57,574 - DEBUG - VN ctest-vn-08166288 UUID is 829bdde7-f2ba-4539-8375-63329eb43f37 2025-02-17 02:22:57,935 - DEBUG - Response for create_network : {'network': {'id': 'fbe1b19f-a4b4-4976-bd1a-071f9e50b53c', 'name': 'ctest-ext_vn-99441542', 'tenant_id': '7c62aed645e6426ea9fd140015f69c61', 'project_id': '7c62aed645e6426ea9fd140015f69c61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47258718', 'ctest-ext_vn-99441542'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:22:58,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d47dfed-f799-4635-b126-9aacac481324', 'name': '', 'tenant_id': '7c62aed645e6426ea9fd140015f69c61', 'network_id': 'fbe1b19f-a4b4-4976-bd1a-071f9e50b53c', 'ip_version': 4, 'cidr': '131.242.150.192/26', 'allocation_pools': [{'start': '131.242.150.194', 'end': '131.242.150.254'}], 'gateway_ip': '131.242.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.242.150.194', 'tags': [], 'project_id': '7c62aed645e6426ea9fd140015f69c61'}} 2025-02-17 02:22:58,156 - INFO - Created VN ctest-ext_vn-99441542 2025-02-17 02:22:58,209 - DEBUG - VN ctest-ext_vn-99441542 UUID is fbe1b19f-a4b4-4976-bd1a-071f9e50b53c 2025-02-17 02:22:58,372 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:22:59,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:23:00,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:23:00,648 - INFO - Setting gateway for router 8150acde-4e16-4d1b-8326-84bfc8a2dee1 to network fbe1b19f-a4b4-4976-bd1a-071f9e50b53c 2025-02-17 02:23:00,705 - INFO - Adding interface with subnet_id f486c28e-fcb1-48e4-81fb-6eb7294c0352, port_id None to router 8150acde-4e16-4d1b-8326-84bfc8a2dee1 2025-02-17 02:23:01,049 - INFO - Waiting for VM ctest-TestRoutersBasic-47258718-46369370 to be up.. 2025-02-17 02:23:01,188 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:23:06,272 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:23:06,272 - INFO - VM name : ctest-TestRoutersBasic-47258718-46369370 2025-02-17 02:23:06,358 - DEBUG - VM ctest-TestRoutersBasic-47258718-46369370 ID is 63ab932d-471f-4269-ab6a-021c6b57c214 2025-02-17 02:23:06,377 - DEBUG - VM ctest-TestRoutersBasic-47258718-46369370 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:23:06,465 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/63ab932d-471f-4269-ab6a-021c6b57c214 2025-02-17 02:23:06,773 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/63ab932d-471f-4269-ab6a-021c6b57c214 2025-02-17 02:23:06,808 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/64be3c14-3d7e-4fbc-b32a-d7e71a6d95dc 2025-02-17 02:23:10,084 - 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 1023ms') 2025-02-17 02:23:10,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47258718-46369370 failed! 2025-02-17 02:23:10,138 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47258718:ctest-vn-08166288 is 196.210.52.193 and allocation pool is NOT set 2025-02-17 02:23:12,196 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.584 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.584/2.087/3.590/1.503 ms') 2025-02-17 02:23:12,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47258718-46369370 passed 2025-02-17 02:23:12,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:12,346 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47258718-46369370, IP 196.210.52.195, Port 22 2025-02-17 02:23:12,512 - DEBUG - VM ctest-TestRoutersBasic-47258718-46369370 is ready for SSH connections 2025-02-17 02:23:12,512 - INFO - Waiting for VM ctest-TestRoutersBasic-47258718-56343630 to be up.. 2025-02-17 02:23:12,595 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:23:12,596 - INFO - VM name : ctest-TestRoutersBasic-47258718-56343630 2025-02-17 02:23:12,683 - DEBUG - VM ctest-TestRoutersBasic-47258718-56343630 ID is 4caa69a7-d02d-4d67-9468-724a1a35cb82 2025-02-17 02:23:12,683 - DEBUG - VM ctest-TestRoutersBasic-47258718-56343630 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:23:12,773 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4caa69a7-d02d-4d67-9468-724a1a35cb82 2025-02-17 02:23:12,783 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/1b0c5d5c-ba4e-4f06-b602-609b24affb51 2025-02-17 02:23:14,025 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.69 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.687/3.684/5.682/1.997 ms') 2025-02-17 02:23:14,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47258718-56343630 passed 2025-02-17 02:23:14,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:14,178 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47258718-56343630, IP 131.242.150.195, Port 22 2025-02-17 02:23:14,334 - DEBUG - VM ctest-TestRoutersBasic-47258718-56343630 is ready for SSH connections 2025-02-17 02:23:14,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:14,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.242.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-02-17 02:23:14,335 - DEBUG - ping -s 56 -c 3 -W 1 131.242.150.195 2025-02-17 02:23:18,037 - DEBUG - PING 131.242.150.195 (131.242.150.195): 56 data bytes 64 bytes from 131.242.150.195: seq=0 ttl=62 time=6.681 ms 64 bytes from 131.242.150.195: seq=1 ttl=62 time=0.956 ms 64 bytes from 131.242.150.195: seq=2 ttl=62 time=1.169 ms --- 131.242.150.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.956/2.935/6.681 ms 2025-02-17 02:23:18,037 - INFO - Ping to IP 131.242.150.195 from VM ctest-TestRoutersBasic-47258718-46369370 passed 2025-02-17 02:23:18,037 - INFO - Deleting interface with subnet_id f486c28e-fcb1-48e4-81fb-6eb7294c0352, port_id None from router 8150acde-4e16-4d1b-8326-84bfc8a2dee1 2025-02-17 02:23:18,231 - INFO - Deleting VM ctest-TestRoutersBasic-47258718-56343630 2025-02-17 02:23:18,303 - INFO - Deleting VM ctest-TestRoutersBasic-47258718-46369370 2025-02-17 02:23:18,379 - INFO - Deleting VN ctest-ext_vn-99441542 2025-02-17 02:23:18,444 - DEBUG - VN fbe1b19f-a4b4-4976-bd1a-071f9e50b53c still in use: Unable to complete operation on network fbe1b19f-a4b4-4976-bd1a-071f9e50b53c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da021169-e50c-40e3-b5d5-242dc50e18b3'] 2025-02-17 02:23:18,444 - WARNING - Deleting VN ctest-ext_vn-99441542 failed..Will retry 2025-02-17 02:23:20,585 - DEBUG - Response for deleting network () 2025-02-17 02:23:20,585 - INFO - Deleting VN ctest-vn-08166288 2025-02-17 02:23:20,691 - DEBUG - Response for deleting network () 2025-02-17 02:23:20,947 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 02:23:20,947 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-02-17 02:23:20,947 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:23:21,613 - INFO - Deleted project: ctest-TestRoutersBasic-47258718, ID : 7c62aed6-45e6-426e-a9fd-140015f69c61