2025-06-03 16:46:54,257 - INFO - Domain Default found not creating 2025-06-03 16:46:54,461 - INFO - Project ctest-TestRoutersBasic-50932775 not found, creating it 2025-06-03 16:46:54,949 - INFO - Created Project:ctest-TestRoutersBasic-50932775, ID : 269d8e62-b51d-4e0a-86eb-de37a6f0a622 2025-06-03 16:46:57,169 - INFO - ================================================================================ 2025-06-03 16:46:57,169 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-03 16:46:57,169 - 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-06-03 16:46:57,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2025-06-03 16:46:57,434 - INFO - Initial checks done. Running the testcase now 2025-06-03 16:46:57,434 - INFO - 2025-06-03 16:46:58,184 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50932775 2025-06-03 16:46:58,280 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50932775 2025-06-03 16:46:58,607 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50932775', 'default']} 2025-06-03 16:46:58,903 - DEBUG - Response for create_network : {'network': {'id': '25f75649-8277-4c42-ae83-fd765decfa00', 'name': 'ctest-vn-98884412', 'tenant_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'project_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50932775', 'ctest-vn-98884412'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:46:59,104 - DEBUG - Response for create_subnet : {'subnet': {'id': '5835d7bb-3217-4bed-a03b-3d3372286480', 'name': '', 'tenant_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'network_id': '25f75649-8277-4c42-ae83-fd765decfa00', 'ip_version': 4, 'cidr': '141.164.155.192/26', 'allocation_pools': [{'start': '141.164.155.194', 'end': '141.164.155.254'}], 'gateway_ip': '141.164.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.164.155.194', 'tags': [], 'project_id': '269d8e62b51d4e0a86ebde37a6f0a622'}} 2025-06-03 16:46:59,124 - INFO - Created VN ctest-vn-98884412 2025-06-03 16:46:59,180 - DEBUG - VN ctest-vn-98884412 UUID is 25f75649-8277-4c42-ae83-fd765decfa00 2025-06-03 16:46:59,491 - DEBUG - Response for create_network : {'network': {'id': 'c3e71c57-9432-4506-8c6c-7a52e6b54697', 'name': 'ctest-ext_vn-34759823', 'tenant_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'project_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50932775', 'ctest-ext_vn-34759823'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 16:46:59,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c928991-c1cc-4f87-9ea8-4cae61f6a675', 'name': '', 'tenant_id': '269d8e62b51d4e0a86ebde37a6f0a622', 'network_id': 'c3e71c57-9432-4506-8c6c-7a52e6b54697', 'ip_version': 4, 'cidr': '70.86.85.192/26', 'allocation_pools': [{'start': '70.86.85.194', 'end': '70.86.85.254'}], 'gateway_ip': '70.86.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.86.85.194', 'tags': [], 'project_id': '269d8e62b51d4e0a86ebde37a6f0a622'}} 2025-06-03 16:46:59,758 - INFO - Created VN ctest-ext_vn-34759823 2025-06-03 16:46:59,811 - DEBUG - VN ctest-ext_vn-34759823 UUID is c3e71c57-9432-4506-8c6c-7a52e6b54697 2025-06-03 16:46:59,981 - DEBUG - Services list from nova: [, , ] 2025-06-03 16:47:01,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3396-1) 2025-06-03 16:47:02,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3396-1) 2025-06-03 16:47:02,509 - INFO - Setting gateway for router 45e7dfaa-685d-42e3-8e31-1baedce81742 to network c3e71c57-9432-4506-8c6c-7a52e6b54697 2025-06-03 16:47:02,612 - INFO - Adding interface with subnet_id 5835d7bb-3217-4bed-a03b-3d3372286480, port_id None to router 45e7dfaa-685d-42e3-8e31-1baedce81742 2025-06-03 16:47:03,041 - INFO - Waiting for VM ctest-TestRoutersBasic-50932775-63319903 to be up.. 2025-06-03 16:47:03,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-03 16:47:08,316 - DEBUG - VM is in ACTIVE state now 2025-06-03 16:47:08,316 - INFO - VM name : ctest-TestRoutersBasic-50932775-63319903 2025-06-03 16:47:08,400 - DEBUG - VM ctest-TestRoutersBasic-50932775-63319903 ID is 0818ef79-f83f-4680-bf61-ebbb9c3abf0b 2025-06-03 16:47:08,420 - DEBUG - VM ctest-TestRoutersBasic-50932775-63319903 launched on Node cn-jenkins-deploy-platform-ansible-os-3396-1 2025-06-03 16:47:08,497 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0818ef79-f83f-4680-bf61-ebbb9c3abf0b 2025-06-03 16:47:08,833 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0818ef79-f83f-4680-bf61-ebbb9c3abf0b 2025-06-03 16:47:08,866 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1918470c-18f9-4d84-aaa1-e7b36351f8df 2025-06-03 16:47:12,122 - 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 1018ms') 2025-06-03 16:47:12,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50932775-63319903 failed! 2025-06-03 16:47:12,183 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50932775:ctest-vn-98884412 is 141.164.155.193 and allocation pool is NOT set 2025-06-03 16:47:14,248 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/1.678/2.918/1.240 ms') 2025-06-03 16:47:14,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50932775-63319903 passed 2025-06-03 16:47:14,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:14,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50932775-63319903, IP 141.164.155.195, Port 22 2025-06-03 16:47:14,563 - DEBUG - VM ctest-TestRoutersBasic-50932775-63319903 is ready for SSH connections 2025-06-03 16:47:14,563 - INFO - Waiting for VM ctest-TestRoutersBasic-50932775-55169653 to be up.. 2025-06-03 16:47:14,648 - DEBUG - VM is in ACTIVE state now 2025-06-03 16:47:14,648 - INFO - VM name : ctest-TestRoutersBasic-50932775-55169653 2025-06-03 16:47:14,736 - DEBUG - VM ctest-TestRoutersBasic-50932775-55169653 ID is 5e1a8469-0b9c-4241-aa69-e9f802f8a3b4 2025-06-03 16:47:14,736 - DEBUG - VM ctest-TestRoutersBasic-50932775-55169653 launched on Node cn-jenkins-deploy-platform-ansible-os-3396-1 2025-06-03 16:47:14,823 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5e1a8469-0b9c-4241-aa69-e9f802f8a3b4 2025-06-03 16:47:14,833 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/622c1d84-b096-4b3e-a942-f7760a220bae 2025-06-03 16:47:16,113 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.115/3.740/5.365/1.625 ms') 2025-06-03 16:47:16,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50932775-55169653 passed 2025-06-03 16:47:16,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:16,276 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50932775-55169653, IP 70.86.85.195, Port 22 2025-06-03 16:47:16,431 - DEBUG - VM ctest-TestRoutersBasic-50932775-55169653 is ready for SSH connections 2025-06-03 16:47:16,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 16:47:16,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.86.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-06-03 16:47:16,432 - DEBUG - ping -s 56 -c 3 -W 1 70.86.85.195 2025-06-03 16:47:20,136 - DEBUG - PING 70.86.85.195 (70.86.85.195): 56 data bytes 64 bytes from 70.86.85.195: seq=0 ttl=62 time=7.591 ms 64 bytes from 70.86.85.195: seq=1 ttl=62 time=0.848 ms 64 bytes from 70.86.85.195: seq=2 ttl=62 time=0.830 ms --- 70.86.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/3.089/7.591 ms 2025-06-03 16:47:20,136 - INFO - Ping to IP 70.86.85.195 from VM ctest-TestRoutersBasic-50932775-63319903 passed 2025-06-03 16:47:20,136 - INFO - Deleting interface with subnet_id 5835d7bb-3217-4bed-a03b-3d3372286480, port_id None from router 45e7dfaa-685d-42e3-8e31-1baedce81742 2025-06-03 16:47:20,330 - INFO - Deleting VM ctest-TestRoutersBasic-50932775-55169653 2025-06-03 16:47:20,404 - INFO - Deleting VM ctest-TestRoutersBasic-50932775-63319903 2025-06-03 16:47:20,484 - INFO - Deleting VN ctest-ext_vn-34759823 2025-06-03 16:47:20,556 - DEBUG - VN c3e71c57-9432-4506-8c6c-7a52e6b54697 still in use: Unable to complete operation on network c3e71c57-9432-4506-8c6c-7a52e6b54697. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c3832fa-b06d-4071-ab30-65fa75b6ca83'] 2025-06-03 16:47:20,557 - WARNING - Deleting VN ctest-ext_vn-34759823 failed..Will retry 2025-06-03 16:47:22,657 - DEBUG - Response for deleting network () 2025-06-03 16:47:22,657 - INFO - Deleting VN ctest-vn-98884412 2025-06-03 16:47:22,767 - DEBUG - Response for deleting network () 2025-06-03 16:47:23,021 - DEBUG - No XMPP flaps were noticed during the test 2025-06-03 16:47:23,022 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-03 16:47:23,022 - INFO - -------------------------------------------------------------------------------- 2025-06-03 16:47:23,749 - INFO - Deleted project: ctest-TestRoutersBasic-50932775, ID : 269d8e62-b51d-4e0a-86eb-de37a6f0a622