2025-02-17 02:26:14,283 - INFO - Domain Default found not creating 2025-02-17 02:26:14,480 - INFO - Project ctest-TestRoutersBasic-54629390 not found, creating it 2025-02-17 02:26:15,050 - INFO - Created Project:ctest-TestRoutersBasic-54629390, ID : d8e494c3-3ff5-422a-86e3-2b274a18238f 2025-02-17 02:26:16,743 - INFO - ================================================================================ 2025-02-17 02:26:16,743 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-17 02:26:16,743 - 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-17 02:26:17,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.25': '0'}} with 2025-02-17 02:26:17,013 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:26:17,013 - INFO - 2025-02-17 02:26:18,161 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54629390 2025-02-17 02:26:18,262 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54629390 2025-02-17 02:26:18,614 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54629390', 'default']} 2025-02-17 02:26:19,131 - DEBUG - Response for create_network : {'network': {'id': '27ef852c-87b5-44f6-99ef-4d98ccaf653d', 'name': 'ctest-vn-22373232', 'tenant_id': 'd8e494c33ff5422a86e32b274a18238f', 'project_id': 'd8e494c33ff5422a86e32b274a18238f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54629390', 'ctest-vn-22373232'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:26:19,342 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b8f4142-6519-45e9-9f8c-24a4c5b83034', 'name': '', 'tenant_id': 'd8e494c33ff5422a86e32b274a18238f', 'network_id': '27ef852c-87b5-44f6-99ef-4d98ccaf653d', 'ip_version': 4, 'cidr': '104.110.98.64/26', 'allocation_pools': [{'start': '104.110.98.66', 'end': '104.110.98.126'}], 'gateway_ip': '104.110.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.110.98.66', 'tags': [], 'project_id': 'd8e494c33ff5422a86e32b274a18238f'}} 2025-02-17 02:26:19,367 - INFO - Created VN ctest-vn-22373232 2025-02-17 02:26:19,426 - DEBUG - VN ctest-vn-22373232 UUID is 27ef852c-87b5-44f6-99ef-4d98ccaf653d 2025-02-17 02:26:19,796 - DEBUG - Response for create_network : {'network': {'id': 'e1ae8cc6-9286-4038-949a-0b63de8e2008', 'name': 'ctest-ext_vn-24518835', 'tenant_id': 'd8e494c33ff5422a86e32b274a18238f', 'project_id': 'd8e494c33ff5422a86e32b274a18238f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54629390', 'ctest-ext_vn-24518835'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:26:19,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '65abd4fa-5b4c-4620-aaf6-8e50b31f4df8', 'name': '', 'tenant_id': 'd8e494c33ff5422a86e32b274a18238f', 'network_id': 'e1ae8cc6-9286-4038-949a-0b63de8e2008', 'ip_version': 4, 'cidr': '105.250.29.192/26', 'allocation_pools': [{'start': '105.250.29.194', 'end': '105.250.29.254'}], 'gateway_ip': '105.250.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.250.29.194', 'tags': [], 'project_id': 'd8e494c33ff5422a86e32b274a18238f'}} 2025-02-17 02:26:20,010 - INFO - Created VN ctest-ext_vn-24518835 2025-02-17 02:26:20,071 - DEBUG - VN ctest-ext_vn-24518835 UUID is e1ae8cc6-9286-4038-949a-0b63de8e2008 2025-02-17 02:26:20,276 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:26:21,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2741-1) 2025-02-17 02:26:22,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2741-1) 2025-02-17 02:26:22,911 - INFO - Setting gateway for router a781998e-d1b7-4a1d-8ecb-49569604022f to network e1ae8cc6-9286-4038-949a-0b63de8e2008 2025-02-17 02:26:23,003 - INFO - Adding interface with subnet_id 9b8f4142-6519-45e9-9f8c-24a4c5b83034, port_id None to router a781998e-d1b7-4a1d-8ecb-49569604022f 2025-02-17 02:26:23,618 - INFO - Waiting for VM ctest-TestRoutersBasic-54629390-90886746 to be up.. 2025-02-17 02:26:23,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:26:28,994 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:26:28,994 - INFO - VM name : ctest-TestRoutersBasic-54629390-90886746 2025-02-17 02:26:29,111 - DEBUG - VM ctest-TestRoutersBasic-54629390-90886746 ID is ff846cbb-8e3a-4b33-99cf-377759bc98e1 2025-02-17 02:26:29,141 - DEBUG - VM ctest-TestRoutersBasic-54629390-90886746 launched on Node cn-jenkins-deploy-platform-ansible-os-2741-1 2025-02-17 02:26:29,254 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/ff846cbb-8e3a-4b33-99cf-377759bc98e1 2025-02-17 02:26:29,602 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/ff846cbb-8e3a-4b33-99cf-377759bc98e1 2025-02-17 02:26:29,648 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/7ebbf4e1-31f4-4140-97ed-b489b49e548d 2025-02-17 02:26:32,942 - 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-02-17 02:26:32,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54629390-90886746 failed! 2025-02-17 02:26:33,006 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54629390:ctest-vn-22373232 is 104.110.98.65 and allocation pool is NOT set 2025-02-17 02:26:35,069 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/2.123/3.749/1.625 ms') 2025-02-17 02:26:35,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54629390-90886746 passed 2025-02-17 02:26:35,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:35,226 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54629390-90886746, IP 104.110.98.67, Port 22 2025-02-17 02:26:35,386 - DEBUG - VM ctest-TestRoutersBasic-54629390-90886746 is ready for SSH connections 2025-02-17 02:26:35,387 - INFO - Waiting for VM ctest-TestRoutersBasic-54629390-61819667 to be up.. 2025-02-17 02:26:35,516 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:26:35,516 - INFO - VM name : ctest-TestRoutersBasic-54629390-61819667 2025-02-17 02:26:35,602 - DEBUG - VM ctest-TestRoutersBasic-54629390-61819667 ID is 0445d73a-bd14-4a27-a0df-305b5d7a07c3 2025-02-17 02:26:35,602 - DEBUG - VM ctest-TestRoutersBasic-54629390-61819667 launched on Node cn-jenkins-deploy-platform-ansible-os-2741-1 2025-02-17 02:26:35,677 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/0445d73a-bd14-4a27-a0df-305b5d7a07c3 2025-02-17 02:26:35,686 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/6f48bfd6-4ba8-44cf-8c05-145cdf9e28ec 2025-02-17 02:26:36,936 - 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=8.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 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 = 2.093/5.518/8.943/3.425 ms') 2025-02-17 02:26:36,937 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54629390-61819667 passed 2025-02-17 02:26:37,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:37,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54629390-61819667, IP 105.250.29.195, Port 22 2025-02-17 02:26:37,249 - DEBUG - VM ctest-TestRoutersBasic-54629390-61819667 is ready for SSH connections 2025-02-17 02:26:37,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:37,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.250.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-17 02:26:37,250 - DEBUG - ping -s 56 -c 3 -W 1 105.250.29.195 2025-02-17 02:26:40,997 - DEBUG - PING 105.250.29.195 (105.250.29.195): 56 data bytes 64 bytes from 105.250.29.195: seq=0 ttl=62 time=5.843 ms 64 bytes from 105.250.29.195: seq=1 ttl=62 time=0.885 ms 64 bytes from 105.250.29.195: seq=2 ttl=62 time=1.076 ms --- 105.250.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.601/5.843 ms 2025-02-17 02:26:40,997 - INFO - Ping to IP 105.250.29.195 from VM ctest-TestRoutersBasic-54629390-90886746 passed 2025-02-17 02:26:40,997 - INFO - Deleting interface with subnet_id 9b8f4142-6519-45e9-9f8c-24a4c5b83034, port_id None from router a781998e-d1b7-4a1d-8ecb-49569604022f 2025-02-17 02:26:41,234 - INFO - Deleting VM ctest-TestRoutersBasic-54629390-61819667 2025-02-17 02:26:41,321 - INFO - Deleting VM ctest-TestRoutersBasic-54629390-90886746 2025-02-17 02:26:41,415 - INFO - Deleting VN ctest-ext_vn-24518835 2025-02-17 02:26:41,504 - DEBUG - VN e1ae8cc6-9286-4038-949a-0b63de8e2008 still in use: Unable to complete operation on network e1ae8cc6-9286-4038-949a-0b63de8e2008. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8a0d2ce-2ef6-4589-b93d-bb4ab6f319b8'] 2025-02-17 02:26:41,504 - WARNING - Deleting VN ctest-ext_vn-24518835 failed..Will retry 2025-02-17 02:26:43,618 - DEBUG - Response for deleting network () 2025-02-17 02:26:43,619 - INFO - Deleting VN ctest-vn-22373232 2025-02-17 02:26:43,758 - DEBUG - Response for deleting network () 2025-02-17 02:26:44,033 - DEBUG - No XMPP flaps were noticed during the test
2025-02-17 02:26:44,033 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-02-17 02:26:44,033 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:26:44,777 - INFO - Deleted project: ctest-TestRoutersBasic-54629390, ID : d8e494c3-3ff5-422a-86e3-2b274a18238f