2025-02-11 14:21:34,782 - INFO - Domain Default found not creating 2025-02-11 14:21:34,950 - INFO - Project ctest-TestRoutersBasic-91974934 not found, creating it 2025-02-11 14:21:35,703 - INFO - Created Project:ctest-TestRoutersBasic-91974934, ID : 2162715d-19ec-47fc-be3b-373e66fdc701 2025-02-11 14:21:37,378 - INFO - ================================================================================ 2025-02-11 14:21:37,379 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-11 14:21:37,379 - 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-11 14:21:37,645 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.13': '0'}} with 2025-02-11 14:21:37,645 - INFO - Initial checks done. Running the testcase now 2025-02-11 14:21:37,645 - INFO - 2025-02-11 14:21:38,444 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91974934 2025-02-11 14:21:38,543 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91974934 2025-02-11 14:21:38,871 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91974934', 'default']} 2025-02-11 14:21:39,177 - DEBUG - Response for create_network : {'network': {'id': '6a0e6ed2-4c10-4973-974e-894136cacbe8', 'name': 'ctest-vn-54498595', 'tenant_id': '2162715d19ec47fcbe3b373e66fdc701', 'project_id': '2162715d19ec47fcbe3b373e66fdc701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91974934', 'ctest-vn-54498595'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:21:39,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c1aa32-a61c-4ece-b687-5d6adcdc22da', 'name': '', 'tenant_id': '2162715d19ec47fcbe3b373e66fdc701', 'network_id': '6a0e6ed2-4c10-4973-974e-894136cacbe8', 'ip_version': 4, 'cidr': '85.178.219.192/26', 'allocation_pools': [{'start': '85.178.219.194', 'end': '85.178.219.254'}], 'gateway_ip': '85.178.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.178.219.194', 'tags': [], 'project_id': '2162715d19ec47fcbe3b373e66fdc701'}} 2025-02-11 14:21:39,401 - INFO - Created VN ctest-vn-54498595 2025-02-11 14:21:39,455 - DEBUG - VN ctest-vn-54498595 UUID is 6a0e6ed2-4c10-4973-974e-894136cacbe8 2025-02-11 14:21:39,788 - DEBUG - Response for create_network : {'network': {'id': 'b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd', 'name': 'ctest-ext_vn-49429749', 'tenant_id': '2162715d19ec47fcbe3b373e66fdc701', 'project_id': '2162715d19ec47fcbe3b373e66fdc701', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91974934', 'ctest-ext_vn-49429749'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:21:39,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee3222eb-689e-4805-9e76-dd9e04cf9370', 'name': '', 'tenant_id': '2162715d19ec47fcbe3b373e66fdc701', 'network_id': 'b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd', 'ip_version': 4, 'cidr': '116.88.90.64/26', 'allocation_pools': [{'start': '116.88.90.66', 'end': '116.88.90.126'}], 'gateway_ip': '116.88.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.88.90.66', 'tags': [], 'project_id': '2162715d19ec47fcbe3b373e66fdc701'}} 2025-02-11 14:21:39,988 - INFO - Created VN ctest-ext_vn-49429749 2025-02-11 14:21:40,043 - DEBUG - VN ctest-ext_vn-49429749 UUID is b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd 2025-02-11 14:21:40,226 - DEBUG - Services list from nova: [, , ] 2025-02-11 14:21:41,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2720-1) 2025-02-11 14:21:42,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2720-1) 2025-02-11 14:21:42,776 - INFO - Setting gateway for router 3529a6e9-12a3-444a-b36e-f54ba4bc52fa to network b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd 2025-02-11 14:21:42,851 - INFO - Adding interface with subnet_id 30c1aa32-a61c-4ece-b687-5d6adcdc22da, port_id None to router 3529a6e9-12a3-444a-b36e-f54ba4bc52fa 2025-02-11 14:21:43,292 - INFO - Waiting for VM ctest-TestRoutersBasic-91974934-46865983 to be up.. 2025-02-11 14:21:43,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 14:21:48,617 - DEBUG - VM is in ACTIVE state now 2025-02-11 14:21:48,617 - INFO - VM name : ctest-TestRoutersBasic-91974934-46865983 2025-02-11 14:21:48,700 - DEBUG - VM ctest-TestRoutersBasic-91974934-46865983 ID is 6c6b24e0-acc3-4139-890a-533f5dc15e9a 2025-02-11 14:21:48,722 - DEBUG - VM ctest-TestRoutersBasic-91974934-46865983 launched on Node cn-jenkins-deploy-platform-ansible-os-2720-1 2025-02-11 14:21:48,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6c6b24e0-acc3-4139-890a-533f5dc15e9a 2025-02-11 14:21:49,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6c6b24e0-acc3-4139-890a-533f5dc15e9a 2025-02-11 14:21:49,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9555a6e3-bcf0-4399-afbd-76b0ac4e3eea 2025-02-11 14:21:52,459 - 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 1014ms') 2025-02-11 14:21:52,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91974934-46865983 failed! 2025-02-11 14:21:52,516 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91974934:ctest-vn-54498595 is 85.178.219.193 and allocation pool is NOT set 2025-02-11 14:21:54,578 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.847 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.847/2.730/4.613/1.883 ms') 2025-02-11 14:21:54,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91974934-46865983 passed 2025-02-11 14:21:54,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:21:54,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91974934-46865983, IP 85.178.219.195, Port 22 2025-02-11 14:21:54,899 - DEBUG - VM ctest-TestRoutersBasic-91974934-46865983 is ready for SSH connections 2025-02-11 14:21:54,899 - INFO - Waiting for VM ctest-TestRoutersBasic-91974934-06759904 to be up.. 2025-02-11 14:21:54,984 - DEBUG - VM is in ACTIVE state now 2025-02-11 14:21:54,984 - INFO - VM name : ctest-TestRoutersBasic-91974934-06759904 2025-02-11 14:21:55,078 - DEBUG - VM ctest-TestRoutersBasic-91974934-06759904 ID is f656d554-754a-46a9-b49c-cfcd538068d7 2025-02-11 14:21:55,079 - DEBUG - VM ctest-TestRoutersBasic-91974934-06759904 launched on Node cn-jenkins-deploy-platform-ansible-os-2720-1 2025-02-11 14:21:55,170 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f656d554-754a-46a9-b49c-cfcd538068d7 2025-02-11 14:21:55,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bc7d95b4-c966-4365-86bd-85d655ab73d5 2025-02-11 14:21:56,429 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.852 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.852/2.091/3.330/1.239 ms') 2025-02-11 14:21:56,429 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91974934-06759904 passed 2025-02-11 14:21:56,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:21:56,587 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91974934-06759904, IP 116.88.90.67, Port 22 2025-02-11 14:21:56,743 - DEBUG - VM ctest-TestRoutersBasic-91974934-06759904 is ready for SSH connections 2025-02-11 14:21:56,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:21:56,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.88.90.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-02-11 14:21:56,744 - DEBUG - ping -s 56 -c 3 -W 1 116.88.90.67 2025-02-11 14:22:00,526 - DEBUG - PING 116.88.90.67 (116.88.90.67): 56 data bytes 64 bytes from 116.88.90.67: seq=0 ttl=62 time=5.024 ms 64 bytes from 116.88.90.67: seq=1 ttl=62 time=0.945 ms 64 bytes from 116.88.90.67: seq=2 ttl=62 time=1.168 ms --- 116.88.90.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.945/2.379/5.024 ms 2025-02-11 14:22:00,526 - INFO - Ping to IP 116.88.90.67 from VM ctest-TestRoutersBasic-91974934-46865983 passed 2025-02-11 14:22:00,526 - INFO - Deleting interface with subnet_id 30c1aa32-a61c-4ece-b687-5d6adcdc22da, port_id None from router 3529a6e9-12a3-444a-b36e-f54ba4bc52fa 2025-02-11 14:22:00,744 - INFO - Deleting VM ctest-TestRoutersBasic-91974934-06759904 2025-02-11 14:22:00,831 - INFO - Deleting VM ctest-TestRoutersBasic-91974934-46865983 2025-02-11 14:22:00,906 - INFO - Deleting VN ctest-ext_vn-49429749 2025-02-11 14:22:00,984 - DEBUG - VN b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd still in use: Unable to complete operation on network b290b2f2-d3bd-4b2a-b0ea-4d8ed20df8dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-428a90c8-b92f-4316-af77-f4c2ff2d78e6'] 2025-02-11 14:22:00,984 - WARNING - Deleting VN ctest-ext_vn-49429749 failed..Will retry 2025-02-11 14:22:03,093 - DEBUG - Response for deleting network () 2025-02-11 14:22:03,093 - INFO - Deleting VN ctest-vn-54498595 2025-02-11 14:22:03,216 - DEBUG - Response for deleting network () 2025-02-11 14:22:03,474 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 14:22:03,474 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-11 14:22:03,474 - INFO - -------------------------------------------------------------------------------- 2025-02-11 14:22:04,316 - INFO - Deleted project: ctest-TestRoutersBasic-91974934, ID : 2162715d-19ec-47fc-be3b-373e66fdc701