2025-02-03 14:00:39,883 - INFO - Domain Default found not creating 2025-02-03 14:00:40,057 - INFO - Project ctest-TestRoutersBasic-18815366 not found, creating it 2025-02-03 14:00:40,553 - INFO - Created Project:ctest-TestRoutersBasic-18815366, ID : bebdcfdb-92e4-4681-a199-ce9202db44f1 2025-02-03 14:00:42,062 - INFO - ================================================================================ 2025-02-03 14:00:42,062 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 14:00:42,063 - 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-03 14:00:42,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.27': '0'}} with 2025-02-03 14:00:42,321 - INFO - Initial checks done. Running the testcase now 2025-02-03 14:00:42,321 - INFO - 2025-02-03 14:00:43,048 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18815366 2025-02-03 14:00:43,151 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18815366 2025-02-03 14:00:43,482 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18815366', 'default']} 2025-02-03 14:00:43,816 - DEBUG - Response for create_network : {'network': {'id': '408a492d-8aad-4fea-aa5b-e2ca201c01a0', 'name': 'ctest-vn-16375328', 'tenant_id': 'bebdcfdb92e44681a199ce9202db44f1', 'project_id': 'bebdcfdb92e44681a199ce9202db44f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18815366', 'ctest-vn-16375328'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:00:44,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '130c2f76-f520-4d60-8a2c-35dc074eb671', 'name': '', 'tenant_id': 'bebdcfdb92e44681a199ce9202db44f1', 'network_id': '408a492d-8aad-4fea-aa5b-e2ca201c01a0', 'ip_version': 4, 'cidr': '82.43.129.192/26', 'allocation_pools': [{'start': '82.43.129.194', 'end': '82.43.129.254'}], 'gateway_ip': '82.43.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.43.129.194', 'tags': [], 'project_id': 'bebdcfdb92e44681a199ce9202db44f1'}} 2025-02-03 14:00:44,052 - INFO - Created VN ctest-vn-16375328 2025-02-03 14:00:44,107 - DEBUG - VN ctest-vn-16375328 UUID is 408a492d-8aad-4fea-aa5b-e2ca201c01a0 2025-02-03 14:00:44,481 - DEBUG - Response for create_network : {'network': {'id': 'cc8ac344-bc3f-4529-ad18-b3a9a6e4582a', 'name': 'ctest-ext_vn-23821385', 'tenant_id': 'bebdcfdb92e44681a199ce9202db44f1', 'project_id': 'bebdcfdb92e44681a199ce9202db44f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18815366', 'ctest-ext_vn-23821385'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 14:00:44,702 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3b65d2b-3952-4cc0-8819-39bcc79b0db6', 'name': '', 'tenant_id': 'bebdcfdb92e44681a199ce9202db44f1', 'network_id': 'cc8ac344-bc3f-4529-ad18-b3a9a6e4582a', 'ip_version': 4, 'cidr': '48.33.192.64/26', 'allocation_pools': [{'start': '48.33.192.66', 'end': '48.33.192.126'}], 'gateway_ip': '48.33.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.33.192.66', 'tags': [], 'project_id': 'bebdcfdb92e44681a199ce9202db44f1'}} 2025-02-03 14:00:44,726 - INFO - Created VN ctest-ext_vn-23821385 2025-02-03 14:00:44,778 - DEBUG - VN ctest-ext_vn-23821385 UUID is cc8ac344-bc3f-4529-ad18-b3a9a6e4582a 2025-02-03 14:00:44,958 - DEBUG - Services list from nova: [, , ] 2025-02-03 14:00:46,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:00:47,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2679-1) 2025-02-03 14:00:47,314 - INFO - Setting gateway for router d498fcb6-6f5b-4895-af74-500cfe9f1d4b to network cc8ac344-bc3f-4529-ad18-b3a9a6e4582a 2025-02-03 14:00:47,375 - INFO - Adding interface with subnet_id 130c2f76-f520-4d60-8a2c-35dc074eb671, port_id None to router d498fcb6-6f5b-4895-af74-500cfe9f1d4b 2025-02-03 14:00:47,794 - INFO - Waiting for VM ctest-TestRoutersBasic-18815366-71559767 to be up.. 2025-02-03 14:00:48,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 14:00:53,102 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:00:53,102 - INFO - VM name : ctest-TestRoutersBasic-18815366-71559767 2025-02-03 14:00:53,205 - DEBUG - VM ctest-TestRoutersBasic-18815366-71559767 ID is e0683df3-f3f6-48b1-a957-45cabbe2b3da 2025-02-03 14:00:53,230 - DEBUG - VM ctest-TestRoutersBasic-18815366-71559767 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:00:53,316 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/e0683df3-f3f6-48b1-a957-45cabbe2b3da 2025-02-03 14:00:53,616 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/e0683df3-f3f6-48b1-a957-45cabbe2b3da 2025-02-03 14:00:53,939 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/4c853edf-47d2-4be8-b513-02be458804bb 2025-02-03 14:00:57,232 - 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 1031ms') 2025-02-03 14:00:57,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18815366-71559767 failed! 2025-02-03 14:00:57,291 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18815366:ctest-vn-16375328 is 82.43.129.193 and allocation pool is NOT set 2025-02-03 14:00:59,355 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/2.017/3.489/1.472 ms') 2025-02-03 14:00:59,355 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18815366-71559767 passed 2025-02-03 14:00:59,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:00:59,471 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18815366-71559767, IP 82.43.129.195, Port 22 2025-02-03 14:00:59,627 - DEBUG - VM ctest-TestRoutersBasic-18815366-71559767 is ready for SSH connections 2025-02-03 14:00:59,627 - INFO - Waiting for VM ctest-TestRoutersBasic-18815366-79259443 to be up.. 2025-02-03 14:00:59,716 - DEBUG - VM is in ACTIVE state now 2025-02-03 14:00:59,716 - INFO - VM name : ctest-TestRoutersBasic-18815366-79259443 2025-02-03 14:00:59,815 - DEBUG - VM ctest-TestRoutersBasic-18815366-79259443 ID is 9ac0196d-0011-405c-9196-5f050717c695 2025-02-03 14:00:59,815 - DEBUG - VM ctest-TestRoutersBasic-18815366-79259443 launched on Node cn-jenkins-deploy-platform-ansible-os-2679-1 2025-02-03 14:00:59,921 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/9ac0196d-0011-405c-9196-5f050717c695 2025-02-03 14:00:59,938 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/93fcd3ca-9f81-48de-848a-da722e6031e1 2025-02-03 14:01:01,204 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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 = 0.473/1.675/2.877/1.202 ms') 2025-02-03 14:01:01,204 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18815366-79259443 passed 2025-02-03 14:01:01,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:01,359 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18815366-79259443, IP 48.33.192.67, Port 22 2025-02-03 14:01:01,514 - DEBUG - VM ctest-TestRoutersBasic-18815366-79259443 is ready for SSH connections 2025-02-03 14:01:01,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 14:01:01,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.33.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-03 14:01:01,514 - DEBUG - ping -s 56 -c 3 -W 1 48.33.192.67 2025-02-03 14:01:05,281 - DEBUG - PING 48.33.192.67 (48.33.192.67): 56 data bytes 64 bytes from 48.33.192.67: seq=0 ttl=62 time=5.493 ms 64 bytes from 48.33.192.67: seq=1 ttl=62 time=1.019 ms 64 bytes from 48.33.192.67: seq=2 ttl=62 time=1.173 ms --- 48.33.192.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/2.561/5.493 ms 2025-02-03 14:01:05,282 - INFO - Ping to IP 48.33.192.67 from VM ctest-TestRoutersBasic-18815366-71559767 passed 2025-02-03 14:01:05,282 - INFO - Deleting interface with subnet_id 130c2f76-f520-4d60-8a2c-35dc074eb671, port_id None from router d498fcb6-6f5b-4895-af74-500cfe9f1d4b 2025-02-03 14:01:05,648 - INFO - Deleting VM ctest-TestRoutersBasic-18815366-79259443 2025-02-03 14:01:05,749 - INFO - Deleting VM ctest-TestRoutersBasic-18815366-71559767 2025-02-03 14:01:05,829 - INFO - Deleting VN ctest-ext_vn-23821385 2025-02-03 14:01:05,919 - DEBUG - VN cc8ac344-bc3f-4529-ad18-b3a9a6e4582a still in use: Unable to complete operation on network cc8ac344-bc3f-4529-ad18-b3a9a6e4582a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d76cc1d-c5e6-4071-86d3-353622e7b9de'] 2025-02-03 14:01:05,920 - WARNING - Deleting VN ctest-ext_vn-23821385 failed..Will retry 2025-02-03 14:01:08,066 - DEBUG - Response for deleting network () 2025-02-03 14:01:08,066 - INFO - Deleting VN ctest-vn-16375328 2025-02-03 14:01:08,197 - DEBUG - Response for deleting network () 2025-02-03 14:01:08,462 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 14:01:08,462 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-03 14:01:08,463 - INFO - -------------------------------------------------------------------------------- 2025-02-03 14:01:09,204 - INFO - Deleted project: ctest-TestRoutersBasic-18815366, ID : bebdcfdb-92e4-4681-a199-ce9202db44f1