2025-05-19 02:12:59,063 - INFO - Domain Default found not creating 2025-05-19 02:12:59,207 - INFO - Project ctest-TestRoutersBasic-70894788 not found, creating it 2025-05-19 02:12:59,671 - INFO - Created Project:ctest-TestRoutersBasic-70894788, ID : 43e7fac8-ba90-4cec-a984-7832ff73888e 2025-05-19 02:13:01,134 - INFO - ================================================================================ 2025-05-19 02:13:01,134 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-19 02:13:01,134 - 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-05-19 02:13:01,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-05-19 02:13:01,395 - INFO - Initial checks done. Running the testcase now 2025-05-19 02:13:01,395 - INFO - 2025-05-19 02:13:02,141 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70894788 2025-05-19 02:13:02,239 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70894788 2025-05-19 02:13:02,567 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70894788', 'default']} 2025-05-19 02:13:02,861 - DEBUG - Response for create_network : {'network': {'id': '91ae3fa8-483a-473f-8e76-4d648ee3ae46', 'name': 'ctest-vn-56127694', 'tenant_id': '43e7fac8ba904ceca9847832ff73888e', 'project_id': '43e7fac8ba904ceca9847832ff73888e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70894788', 'ctest-vn-56127694'], 'port_security_enabled': True, 'description': ''}} 2025-05-19 02:13:03,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd747035b-69f9-4faa-9bed-469c6a095dd7', 'name': '', 'tenant_id': '43e7fac8ba904ceca9847832ff73888e', 'network_id': '91ae3fa8-483a-473f-8e76-4d648ee3ae46', 'ip_version': 4, 'cidr': '183.71.71.0/26', 'allocation_pools': [{'start': '183.71.71.2', 'end': '183.71.71.62'}], 'gateway_ip': '183.71.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.71.71.2', 'tags': [], 'project_id': '43e7fac8ba904ceca9847832ff73888e'}} 2025-05-19 02:13:03,051 - INFO - Created VN ctest-vn-56127694 2025-05-19 02:13:03,103 - DEBUG - VN ctest-vn-56127694 UUID is 91ae3fa8-483a-473f-8e76-4d648ee3ae46 2025-05-19 02:13:03,434 - DEBUG - Response for create_network : {'network': {'id': '91cbd878-3a11-4e15-b324-7281c0d29fb4', 'name': 'ctest-ext_vn-42472243', 'tenant_id': '43e7fac8ba904ceca9847832ff73888e', 'project_id': '43e7fac8ba904ceca9847832ff73888e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70894788', 'ctest-ext_vn-42472243'], 'port_security_enabled': True, 'description': ''}} 2025-05-19 02:13:03,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '642f13e2-be4a-4181-9307-d099aecc5929', 'name': '', 'tenant_id': '43e7fac8ba904ceca9847832ff73888e', 'network_id': '91cbd878-3a11-4e15-b324-7281c0d29fb4', 'ip_version': 4, 'cidr': '62.206.32.128/26', 'allocation_pools': [{'start': '62.206.32.130', 'end': '62.206.32.190'}], 'gateway_ip': '62.206.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.206.32.130', 'tags': [], 'project_id': '43e7fac8ba904ceca9847832ff73888e'}} 2025-05-19 02:13:03,627 - INFO - Created VN ctest-ext_vn-42472243 2025-05-19 02:13:03,679 - DEBUG - VN ctest-ext_vn-42472243 UUID is 91cbd878-3a11-4e15-b324-7281c0d29fb4 2025-05-19 02:13:03,844 - DEBUG - Services list from nova: [, , ] 2025-05-19 02:13:04,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3324-1) 2025-05-19 02:13:06,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3324-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3324-1) 2025-05-19 02:13:06,081 - INFO - Setting gateway for router 16339ae4-b717-4e22-882d-cba12ceeb339 to network 91cbd878-3a11-4e15-b324-7281c0d29fb4 2025-05-19 02:13:06,144 - INFO - Adding interface with subnet_id d747035b-69f9-4faa-9bed-469c6a095dd7, port_id None to router 16339ae4-b717-4e22-882d-cba12ceeb339 2025-05-19 02:13:06,641 - INFO - Waiting for VM ctest-TestRoutersBasic-70894788-20558335 to be up.. 2025-05-19 02:13:06,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-19 02:13:12,065 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:13:12,065 - INFO - VM name : ctest-TestRoutersBasic-70894788-20558335 2025-05-19 02:13:12,143 - DEBUG - VM ctest-TestRoutersBasic-70894788-20558335 ID is 1b6c0a92-c979-478f-8297-b07fe436a3fa 2025-05-19 02:13:12,163 - DEBUG - VM ctest-TestRoutersBasic-70894788-20558335 launched on Node cn-jenkins-deploy-platform-ansible-os-3324-1 2025-05-19 02:13:12,237 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1b6c0a92-c979-478f-8297-b07fe436a3fa 2025-05-19 02:13:12,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1b6c0a92-c979-478f-8297-b07fe436a3fa 2025-05-19 02:13:12,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76229cc5-1a1c-4204-a93d-a226b226f4f3 2025-05-19 02:13:15,827 - 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-05-19 02:13:15,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70894788-20558335 failed! 2025-05-19 02:13:15,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70894788:ctest-vn-56127694 is 183.71.71.1 and allocation pool is NOT set 2025-05-19 02:13:17,939 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/1.525/2.679/1.154 ms') 2025-05-19 02:13:17,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70894788-20558335 passed 2025-05-19 02:13:18,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:13:18,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70894788-20558335, IP 183.71.71.3, Port 22 2025-05-19 02:13:18,251 - DEBUG - VM ctest-TestRoutersBasic-70894788-20558335 is ready for SSH connections 2025-05-19 02:13:18,251 - INFO - Waiting for VM ctest-TestRoutersBasic-70894788-18462188 to be up.. 2025-05-19 02:13:18,329 - DEBUG - VM is in ACTIVE state now 2025-05-19 02:13:18,329 - INFO - VM name : ctest-TestRoutersBasic-70894788-18462188 2025-05-19 02:13:18,411 - DEBUG - VM ctest-TestRoutersBasic-70894788-18462188 ID is 43222b9e-7fdc-4c00-9135-c4f04fa34dcc 2025-05-19 02:13:18,411 - DEBUG - VM ctest-TestRoutersBasic-70894788-18462188 launched on Node cn-jenkins-deploy-platform-ansible-os-3324-1 2025-05-19 02:13:18,492 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/43222b9e-7fdc-4c00-9135-c4f04fa34dcc 2025-05-19 02:13:18,502 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/98b9e510-ac7f-47dc-840a-d0c9cbdf6db9 2025-05-19 02:13:19,743 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.739/3.068/1.329 ms') 2025-05-19 02:13:19,743 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70894788-18462188 passed 2025-05-19 02:13:19,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:13:19,895 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70894788-18462188, IP 62.206.32.131, Port 22 2025-05-19 02:13:20,065 - DEBUG - VM ctest-TestRoutersBasic-70894788-18462188 is ready for SSH connections 2025-05-19 02:13:20,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-19 02:13:20,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.206.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-19 02:13:20,065 - DEBUG - ping -s 56 -c 3 -W 1 62.206.32.131 2025-05-19 02:13:24,047 - DEBUG - PING 62.206.32.131 (62.206.32.131): 56 data bytes 64 bytes from 62.206.32.131: seq=0 ttl=62 time=6.639 ms 64 bytes from 62.206.32.131: seq=1 ttl=62 time=1.414 ms 64 bytes from 62.206.32.131: seq=2 ttl=62 time=0.972 ms --- 62.206.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/3.008/6.639 ms 2025-05-19 02:13:24,047 - INFO - Ping to IP 62.206.32.131 from VM ctest-TestRoutersBasic-70894788-20558335 passed 2025-05-19 02:13:24,047 - INFO - Deleting interface with subnet_id d747035b-69f9-4faa-9bed-469c6a095dd7, port_id None from router 16339ae4-b717-4e22-882d-cba12ceeb339 2025-05-19 02:13:24,241 - INFO - Deleting VM ctest-TestRoutersBasic-70894788-18462188 2025-05-19 02:13:24,317 - INFO - Deleting VM ctest-TestRoutersBasic-70894788-20558335 2025-05-19 02:13:24,400 - INFO - Deleting VN ctest-ext_vn-42472243 2025-05-19 02:13:24,465 - DEBUG - VN 91cbd878-3a11-4e15-b324-7281c0d29fb4 still in use: Unable to complete operation on network 91cbd878-3a11-4e15-b324-7281c0d29fb4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2737cdbf-4a8f-4416-b879-b5d80bd45ece'] 2025-05-19 02:13:24,465 - WARNING - Deleting VN ctest-ext_vn-42472243 failed..Will retry 2025-05-19 02:13:26,582 - DEBUG - Response for deleting network () 2025-05-19 02:13:26,582 - INFO - Deleting VN ctest-vn-56127694 2025-05-19 02:13:26,697 - DEBUG - Response for deleting network () 2025-05-19 02:13:26,953 - DEBUG - No XMPP flaps were noticed during the test
2025-05-19 02:13:26,953 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-19 02:13:26,953 - INFO - -------------------------------------------------------------------------------- 2025-05-19 02:13:27,643 - INFO - Deleted project: ctest-TestRoutersBasic-70894788, ID : 43e7fac8-ba90-4cec-a984-7832ff73888e