2025-01-13 02:35:04,382 - INFO - Domain Default found not creating 2025-01-13 02:35:04,552 - INFO - Project ctest-TestRoutersBasic-37676807 not found, creating it 2025-01-13 02:35:05,060 - INFO - Created Project:ctest-TestRoutersBasic-37676807, ID : 2c2a3c93-8078-425b-bb05-710a10a984a2 2025-01-13 02:35:06,821 - INFO - ================================================================================ 2025-01-13 02:35:06,822 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-13 02:35:06,822 - 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-01-13 02:35:07,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.21': '0'}} with 2025-01-13 02:35:07,079 - INFO - Initial checks done. Running the testcase now 2025-01-13 02:35:07,079 - INFO - 2025-01-13 02:35:07,970 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37676807 2025-01-13 02:35:08,069 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37676807 2025-01-13 02:35:08,393 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37676807', 'default']} 2025-01-13 02:35:08,728 - DEBUG - Response for create_network : {'network': {'id': 'dd3504b7-a18d-4a6f-8584-94c2052fb3b5', 'name': 'ctest-vn-18375173', 'tenant_id': '2c2a3c938078425bbb05710a10a984a2', 'project_id': '2c2a3c938078425bbb05710a10a984a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37676807', 'ctest-vn-18375173'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 02:35:08,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '16397339-529d-4c87-8e5a-5e4fe75b7261', 'name': '', 'tenant_id': '2c2a3c938078425bbb05710a10a984a2', 'network_id': 'dd3504b7-a18d-4a6f-8584-94c2052fb3b5', 'ip_version': 4, 'cidr': '212.43.88.128/26', 'allocation_pools': [{'start': '212.43.88.130', 'end': '212.43.88.190'}], 'gateway_ip': '212.43.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.43.88.130', 'tags': [], 'project_id': '2c2a3c938078425bbb05710a10a984a2'}} 2025-01-13 02:35:08,970 - INFO - Created VN ctest-vn-18375173 2025-01-13 02:35:09,025 - DEBUG - VN ctest-vn-18375173 UUID is dd3504b7-a18d-4a6f-8584-94c2052fb3b5 2025-01-13 02:35:09,398 - DEBUG - Response for create_network : {'network': {'id': '0ad4ac15-2a2d-400d-9487-618a470e8f89', 'name': 'ctest-ext_vn-25581019', 'tenant_id': '2c2a3c938078425bbb05710a10a984a2', 'project_id': '2c2a3c938078425bbb05710a10a984a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37676807', 'ctest-ext_vn-25581019'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 02:35:09,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4795216-16d8-4fc8-8621-0aaf23f7efa5', 'name': '', 'tenant_id': '2c2a3c938078425bbb05710a10a984a2', 'network_id': '0ad4ac15-2a2d-400d-9487-618a470e8f89', 'ip_version': 4, 'cidr': '72.172.17.192/26', 'allocation_pools': [{'start': '72.172.17.194', 'end': '72.172.17.254'}], 'gateway_ip': '72.172.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.172.17.194', 'tags': [], 'project_id': '2c2a3c938078425bbb05710a10a984a2'}} 2025-01-13 02:35:09,626 - INFO - Created VN ctest-ext_vn-25581019 2025-01-13 02:35:09,681 - DEBUG - VN ctest-ext_vn-25581019 UUID is 0ad4ac15-2a2d-400d-9487-618a470e8f89 2025-01-13 02:35:09,875 - DEBUG - Services list from nova: [, , ] 2025-01-13 02:35:11,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2605-1) 2025-01-13 02:35:12,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2605-1) 2025-01-13 02:35:12,567 - INFO - Setting gateway for router e580e5d5-a846-440e-b7fa-71b7cf73a606 to network 0ad4ac15-2a2d-400d-9487-618a470e8f89 2025-01-13 02:35:12,664 - INFO - Adding interface with subnet_id 16397339-529d-4c87-8e5a-5e4fe75b7261, port_id None to router e580e5d5-a846-440e-b7fa-71b7cf73a606 2025-01-13 02:35:13,159 - INFO - Waiting for VM ctest-TestRoutersBasic-37676807-90868818 to be up.. 2025-01-13 02:35:13,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 02:35:18,523 - DEBUG - VM is in ACTIVE state now 2025-01-13 02:35:18,524 - INFO - VM name : ctest-TestRoutersBasic-37676807-90868818 2025-01-13 02:35:18,625 - DEBUG - VM ctest-TestRoutersBasic-37676807-90868818 ID is e3e7bf25-5092-4488-985b-5e7ad821972f 2025-01-13 02:35:18,652 - DEBUG - VM ctest-TestRoutersBasic-37676807-90868818 launched on Node cn-jenkins-deploy-platform-ansible-os-2605-1 2025-01-13 02:35:18,765 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e3e7bf25-5092-4488-985b-5e7ad821972f 2025-01-13 02:35:19,112 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e3e7bf25-5092-4488-985b-5e7ad821972f 2025-01-13 02:35:19,150 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/92de8e97-4522-4dce-949d-ceb0ca814f99 2025-01-13 02:35:22,411 - 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 1001ms') 2025-01-13 02:35:22,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37676807-90868818 failed! 2025-01-13 02:35:22,465 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37676807:ctest-vn-18375173 is 212.43.88.129 and allocation pool is NOT set 2025-01-13 02:35:24,533 - 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=8.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.756/5.058/8.360/3.302 ms') 2025-01-13 02:35:24,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37676807-90868818 passed 2025-01-13 02:35:24,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:35:24,685 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37676807-90868818, IP 212.43.88.131, Port 22 2025-01-13 02:35:24,841 - DEBUG - VM ctest-TestRoutersBasic-37676807-90868818 is ready for SSH connections 2025-01-13 02:35:24,841 - INFO - Waiting for VM ctest-TestRoutersBasic-37676807-83421630 to be up.. 2025-01-13 02:35:24,945 - DEBUG - VM is in ACTIVE state now 2025-01-13 02:35:24,945 - INFO - VM name : ctest-TestRoutersBasic-37676807-83421630 2025-01-13 02:35:25,042 - DEBUG - VM ctest-TestRoutersBasic-37676807-83421630 ID is 28e7af33-0ee0-4a3d-9e6b-6ff1f75e6daf 2025-01-13 02:35:25,042 - DEBUG - VM ctest-TestRoutersBasic-37676807-83421630 launched on Node cn-jenkins-deploy-platform-ansible-os-2605-1 2025-01-13 02:35:25,132 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/28e7af33-0ee0-4a3d-9e6b-6ff1f75e6daf 2025-01-13 02:35:25,142 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/270294a8-be80-418b-89a1-b11876646e9b 2025-01-13 02:35:26,395 - 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=4.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/2.242/4.001/1.758 ms') 2025-01-13 02:35:26,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37676807-83421630 passed 2025-01-13 02:35:26,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:35:26,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37676807-83421630, IP 72.172.17.195, Port 22 2025-01-13 02:35:26,705 - DEBUG - VM ctest-TestRoutersBasic-37676807-83421630 is ready for SSH connections 2025-01-13 02:35:26,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 02:35:26,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.172.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-01-13 02:35:26,705 - DEBUG - ping -s 56 -c 3 -W 1 72.172.17.195 2025-01-13 02:35:30,507 - DEBUG - PING 72.172.17.195 (72.172.17.195): 56 data bytes 64 bytes from 72.172.17.195: seq=0 ttl=62 time=6.094 ms 64 bytes from 72.172.17.195: seq=1 ttl=62 time=1.049 ms 64 bytes from 72.172.17.195: seq=2 ttl=62 time=1.077 ms --- 72.172.17.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.740/6.094 ms 2025-01-13 02:35:30,507 - INFO - Ping to IP 72.172.17.195 from VM ctest-TestRoutersBasic-37676807-90868818 passed 2025-01-13 02:35:30,507 - INFO - Deleting interface with subnet_id 16397339-529d-4c87-8e5a-5e4fe75b7261, port_id None from router e580e5d5-a846-440e-b7fa-71b7cf73a606 2025-01-13 02:35:30,763 - INFO - Deleting VM ctest-TestRoutersBasic-37676807-83421630 2025-01-13 02:35:30,860 - INFO - Deleting VM ctest-TestRoutersBasic-37676807-90868818 2025-01-13 02:35:30,955 - INFO - Deleting VN ctest-ext_vn-25581019 2025-01-13 02:35:31,094 - DEBUG - VN 0ad4ac15-2a2d-400d-9487-618a470e8f89 still in use: Unable to complete operation on network 0ad4ac15-2a2d-400d-9487-618a470e8f89. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-579f77c3-4850-4f44-9f31-180505209b9a'] 2025-01-13 02:35:31,094 - WARNING - Deleting VN ctest-ext_vn-25581019 failed..Will retry 2025-01-13 02:35:33,234 - DEBUG - Response for deleting network () 2025-01-13 02:35:33,234 - INFO - Deleting VN ctest-vn-18375173 2025-01-13 02:35:33,368 - DEBUG - Response for deleting network () 2025-01-13 02:35:33,624 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 02:35:33,624 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-13 02:35:33,624 - INFO - -------------------------------------------------------------------------------- 2025-01-13 02:35:34,398 - INFO - Deleted project: ctest-TestRoutersBasic-37676807, ID : 2c2a3c93-8078-425b-bb05-710a10a984a2