2025-04-11 11:36:59,685 - INFO - Domain Default found not creating 2025-04-11 11:36:59,847 - INFO - Project ctest-TestRoutersBasic-43250289 not found, creating it 2025-04-11 11:37:00,328 - INFO - Created Project:ctest-TestRoutersBasic-43250289, ID : 40d25654-38a4-4300-8e53-d3376cec07a0 2025-04-11 11:37:01,823 - INFO - ================================================================================ 2025-04-11 11:37:01,823 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-11 11:37:01,823 - 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-11 11:37:02,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-11 11:37:02,083 - INFO - Initial checks done. Running the testcase now 2025-04-11 11:37:02,083 - INFO - 2025-04-11 11:37:02,803 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43250289 2025-04-11 11:37:02,902 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43250289 2025-04-11 11:37:03,234 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43250289', 'default']} 2025-04-11 11:37:03,561 - DEBUG - Response for create_network : {'network': {'id': '28fac9f6-6a8b-4fd0-bd4f-3a7e118567d6', 'name': 'ctest-vn-79986332', 'tenant_id': '40d2565438a443008e53d3376cec07a0', 'project_id': '40d2565438a443008e53d3376cec07a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43250289', 'ctest-vn-79986332'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 11:37:03,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '495946f0-40c9-4f3b-8be7-bc597faa51b2', 'name': '', 'tenant_id': '40d2565438a443008e53d3376cec07a0', 'network_id': '28fac9f6-6a8b-4fd0-bd4f-3a7e118567d6', 'ip_version': 4, 'cidr': '41.135.232.192/26', 'allocation_pools': [{'start': '41.135.232.194', 'end': '41.135.232.254'}], 'gateway_ip': '41.135.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.135.232.194', 'tags': [], 'project_id': '40d2565438a443008e53d3376cec07a0'}} 2025-04-11 11:37:03,823 - INFO - Created VN ctest-vn-79986332 2025-04-11 11:37:03,878 - DEBUG - VN ctest-vn-79986332 UUID is 28fac9f6-6a8b-4fd0-bd4f-3a7e118567d6 2025-04-11 11:37:04,551 - DEBUG - Response for create_network : {'network': {'id': '42bfa2e0-0397-44b5-aa2c-d16a80b169bb', 'name': 'ctest-ext_vn-51421864', 'tenant_id': '40d2565438a443008e53d3376cec07a0', 'project_id': '40d2565438a443008e53d3376cec07a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43250289', 'ctest-ext_vn-51421864'], 'port_security_enabled': True, 'description': ''}} 2025-04-11 11:37:04,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ab664c3-857c-42c1-b800-5e315904bc1c', 'name': '', 'tenant_id': '40d2565438a443008e53d3376cec07a0', 'network_id': '42bfa2e0-0397-44b5-aa2c-d16a80b169bb', 'ip_version': 4, 'cidr': '194.206.229.128/26', 'allocation_pools': [{'start': '194.206.229.130', 'end': '194.206.229.190'}], 'gateway_ip': '194.206.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.206.229.130', 'tags': [], 'project_id': '40d2565438a443008e53d3376cec07a0'}} 2025-04-11 11:37:04,874 - INFO - Created VN ctest-ext_vn-51421864 2025-04-11 11:37:04,934 - DEBUG - VN ctest-ext_vn-51421864 UUID is 42bfa2e0-0397-44b5-aa2c-d16a80b169bb 2025-04-11 11:37:05,124 - DEBUG - Services list from nova: [, , ] 2025-04-11 11:37:06,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3078-1) 2025-04-11 11:37:07,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3078-1) 2025-04-11 11:37:07,481 - INFO - Setting gateway for router 5cdf0cf9-1ffd-43f9-8637-c96ed6b07e58 to network 42bfa2e0-0397-44b5-aa2c-d16a80b169bb 2025-04-11 11:37:07,562 - INFO - Adding interface with subnet_id 495946f0-40c9-4f3b-8be7-bc597faa51b2, port_id None to router 5cdf0cf9-1ffd-43f9-8637-c96ed6b07e58 2025-04-11 11:37:07,989 - INFO - Waiting for VM ctest-TestRoutersBasic-43250289-91500729 to be up.. 2025-04-11 11:37:08,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-11 11:37:13,232 - DEBUG - VM is in ACTIVE state now 2025-04-11 11:37:13,233 - INFO - VM name : ctest-TestRoutersBasic-43250289-91500729 2025-04-11 11:37:13,319 - DEBUG - VM ctest-TestRoutersBasic-43250289-91500729 ID is 27001b85-6726-48e0-995e-30e94f6695f0 2025-04-11 11:37:13,346 - DEBUG - VM ctest-TestRoutersBasic-43250289-91500729 launched on Node cn-jenkins-deploy-platform-ansible-os-3078-1 2025-04-11 11:37:13,430 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27001b85-6726-48e0-995e-30e94f6695f0 2025-04-11 11:37:13,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27001b85-6726-48e0-995e-30e94f6695f0 2025-04-11 11:37:13,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/45d4972f-c07e-468e-9e6d-9de7df3ddea7 2025-04-11 11:37:17,034 - 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-04-11 11:37:17,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43250289-91500729 failed! 2025-04-11 11:37:17,098 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43250289:ctest-vn-79986332 is 41.135.232.193 and allocation pool is NOT set 2025-04-11 11:37:19,159 - 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 1001ms\r\nrtt min/avg/max/mdev = 0.438/1.681/2.924/1.243 ms') 2025-04-11 11:37:19,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43250289-91500729 passed 2025-04-11 11:37:19,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 11:37:19,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43250289-91500729, IP 41.135.232.195, Port 22 2025-04-11 11:37:19,469 - DEBUG - VM ctest-TestRoutersBasic-43250289-91500729 is ready for SSH connections 2025-04-11 11:37:19,470 - INFO - Waiting for VM ctest-TestRoutersBasic-43250289-29724921 to be up.. 2025-04-11 11:37:19,556 - DEBUG - VM is in ACTIVE state now 2025-04-11 11:37:19,556 - INFO - VM name : ctest-TestRoutersBasic-43250289-29724921 2025-04-11 11:37:19,643 - DEBUG - VM ctest-TestRoutersBasic-43250289-29724921 ID is f2618aad-7f25-4e8d-8e32-b0ca479bf0a0 2025-04-11 11:37:19,643 - DEBUG - VM ctest-TestRoutersBasic-43250289-29724921 launched on Node cn-jenkins-deploy-platform-ansible-os-3078-1 2025-04-11 11:37:19,725 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f2618aad-7f25-4e8d-8e32-b0ca479bf0a0 2025-04-11 11:37:19,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2ff197ad-8f8e-4f41-b49f-e5b5b2679734 2025-04-11 11:37:20,981 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/2.062/3.706/1.643 ms') 2025-04-11 11:37:20,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43250289-29724921 passed 2025-04-11 11:37:21,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 11:37:21,131 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43250289-29724921, IP 194.206.229.131, Port 22 2025-04-11 11:37:21,298 - DEBUG - VM ctest-TestRoutersBasic-43250289-29724921 is ready for SSH connections 2025-04-11 11:37:21,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-11 11:37:21,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.206.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-11 11:37:21,298 - DEBUG - ping -s 56 -c 3 -W 1 194.206.229.131 2025-04-11 11:37:25,353 - DEBUG - PING 194.206.229.131 (194.206.229.131): 56 data bytes 64 bytes from 194.206.229.131: seq=0 ttl=62 time=5.133 ms 64 bytes from 194.206.229.131: seq=1 ttl=62 time=1.083 ms 64 bytes from 194.206.229.131: seq=2 ttl=62 time=1.263 ms --- 194.206.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.083/2.493/5.133 ms 2025-04-11 11:37:25,354 - INFO - Ping to IP 194.206.229.131 from VM ctest-TestRoutersBasic-43250289-91500729 passed 2025-04-11 11:37:25,354 - INFO - Deleting interface with subnet_id 495946f0-40c9-4f3b-8be7-bc597faa51b2, port_id None from router 5cdf0cf9-1ffd-43f9-8637-c96ed6b07e58 2025-04-11 11:37:25,600 - INFO - Deleting VM ctest-TestRoutersBasic-43250289-29724921 2025-04-11 11:37:25,698 - INFO - Deleting VM ctest-TestRoutersBasic-43250289-91500729 2025-04-11 11:37:25,793 - INFO - Deleting VN ctest-ext_vn-51421864 2025-04-11 11:37:25,883 - DEBUG - VN 42bfa2e0-0397-44b5-aa2c-d16a80b169bb still in use: Unable to complete operation on network 42bfa2e0-0397-44b5-aa2c-d16a80b169bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bfb00e8-0cde-4130-a8d8-c4a3d02be527'] 2025-04-11 11:37:25,883 - WARNING - Deleting VN ctest-ext_vn-51421864 failed..Will retry 2025-04-11 11:37:27,995 - DEBUG - Response for deleting network () 2025-04-11 11:37:27,995 - INFO - Deleting VN ctest-vn-79986332 2025-04-11 11:37:28,107 - DEBUG - Response for deleting network () 2025-04-11 11:37:28,360 - DEBUG - No XMPP flaps were noticed during the test
2025-04-11 11:37:28,360 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-11 11:37:28,360 - INFO - -------------------------------------------------------------------------------- 2025-04-11 11:37:29,137 - INFO - Deleted project: ctest-TestRoutersBasic-43250289, ID : 40d25654-38a4-4300-8e53-d3376cec07a0