2025-02-02 14:46:36,791 - INFO - Domain Default found not creating 2025-02-02 14:46:36,942 - INFO - Project ctest-TestRoutersBasic-95813057 not found, creating it 2025-02-02 14:46:37,397 - INFO - Created Project:ctest-TestRoutersBasic-95813057, ID : ed59e796-05f7-4e50-af6e-a169c47d2fda 2025-02-02 14:46:38,802 - INFO - ================================================================================ 2025-02-02 14:46:38,802 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-02 14:46:38,803 - 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-02 14:46:39,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.5': '0'}} with 2025-02-02 14:46:39,063 - INFO - Initial checks done. Running the testcase now 2025-02-02 14:46:39,063 - INFO - 2025-02-02 14:46:39,759 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95813057 2025-02-02 14:46:39,856 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95813057 2025-02-02 14:46:40,188 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95813057', 'default']} 2025-02-02 14:46:40,504 - DEBUG - Response for create_network : {'network': {'id': '11130a5b-4b1f-45c3-9661-6c11853b2936', 'name': 'ctest-vn-81082707', 'tenant_id': 'ed59e79605f74e50af6ea169c47d2fda', 'project_id': 'ed59e79605f74e50af6ea169c47d2fda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95813057', 'ctest-vn-81082707'], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:46:40,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fbd5f4c-e999-4eff-900b-4cf1ca954f04', 'name': '', 'tenant_id': 'ed59e79605f74e50af6ea169c47d2fda', 'network_id': '11130a5b-4b1f-45c3-9661-6c11853b2936', 'ip_version': 4, 'cidr': '33.195.166.64/26', 'allocation_pools': [{'start': '33.195.166.66', 'end': '33.195.166.126'}], 'gateway_ip': '33.195.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.195.166.66', 'tags': [], 'project_id': 'ed59e79605f74e50af6ea169c47d2fda'}} 2025-02-02 14:46:40,690 - INFO - Created VN ctest-vn-81082707 2025-02-02 14:46:40,753 - DEBUG - VN ctest-vn-81082707 UUID is 11130a5b-4b1f-45c3-9661-6c11853b2936 2025-02-02 14:46:41,150 - DEBUG - Response for create_network : {'network': {'id': '50e5e05c-35ac-433d-aaca-ead3f4f51f98', 'name': 'ctest-ext_vn-90048982', 'tenant_id': 'ed59e79605f74e50af6ea169c47d2fda', 'project_id': 'ed59e79605f74e50af6ea169c47d2fda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95813057', 'ctest-ext_vn-90048982'], 'port_security_enabled': True, 'description': ''}} 2025-02-02 14:46:41,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e132f713-47f0-452c-bdc4-646b17e717ef', 'name': '', 'tenant_id': 'ed59e79605f74e50af6ea169c47d2fda', 'network_id': '50e5e05c-35ac-433d-aaca-ead3f4f51f98', 'ip_version': 4, 'cidr': '150.162.18.192/26', 'allocation_pools': [{'start': '150.162.18.194', 'end': '150.162.18.254'}], 'gateway_ip': '150.162.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.162.18.194', 'tags': [], 'project_id': 'ed59e79605f74e50af6ea169c47d2fda'}} 2025-02-02 14:46:41,362 - INFO - Created VN ctest-ext_vn-90048982 2025-02-02 14:46:41,416 - DEBUG - VN ctest-ext_vn-90048982 UUID is 50e5e05c-35ac-433d-aaca-ead3f4f51f98 2025-02-02 14:46:41,584 - DEBUG - Services list from nova: [, , ] 2025-02-02 14:46:42,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2671-1) 2025-02-02 14:46:43,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2671-1) 2025-02-02 14:46:43,934 - INFO - Setting gateway for router 512e5e01-13c0-4c98-9436-70e281d44b64 to network 50e5e05c-35ac-433d-aaca-ead3f4f51f98 2025-02-02 14:46:44,017 - INFO - Adding interface with subnet_id 1fbd5f4c-e999-4eff-900b-4cf1ca954f04, port_id None to router 512e5e01-13c0-4c98-9436-70e281d44b64 2025-02-02 14:46:44,371 - INFO - Waiting for VM ctest-TestRoutersBasic-95813057-13287366 to be up.. 2025-02-02 14:46:44,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-02 14:46:49,617 - DEBUG - VM is in ACTIVE state now 2025-02-02 14:46:49,617 - INFO - VM name : ctest-TestRoutersBasic-95813057-13287366 2025-02-02 14:46:49,694 - DEBUG - VM ctest-TestRoutersBasic-95813057-13287366 ID is 89d2365e-83c1-4a13-95b6-104d367ba704 2025-02-02 14:46:49,712 - DEBUG - VM ctest-TestRoutersBasic-95813057-13287366 launched on Node cn-jenkins-deploy-platform-ansible-os-2671-1 2025-02-02 14:46:49,790 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/89d2365e-83c1-4a13-95b6-104d367ba704 2025-02-02 14:46:50,082 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/89d2365e-83c1-4a13-95b6-104d367ba704 2025-02-02 14:46:50,114 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/0f6d0caf-7349-477d-a810-c4ebea5201c9 2025-02-02 14:46:53,362 - 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 1012ms') 2025-02-02 14:46:53,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95813057-13287366 failed! 2025-02-02 14:46:53,416 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95813057:ctest-vn-81082707 is 33.195.166.65 and allocation pool is NOT set 2025-02-02 14:46:55,473 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/1.840/3.266/1.426 ms') 2025-02-02 14:46:55,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95813057-13287366 passed 2025-02-02 14:46:55,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:46:55,629 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95813057-13287366, IP 33.195.166.67, Port 22 2025-02-02 14:46:55,784 - DEBUG - VM ctest-TestRoutersBasic-95813057-13287366 is ready for SSH connections 2025-02-02 14:46:55,784 - INFO - Waiting for VM ctest-TestRoutersBasic-95813057-09282614 to be up.. 2025-02-02 14:46:55,862 - DEBUG - VM is in ACTIVE state now 2025-02-02 14:46:55,862 - INFO - VM name : ctest-TestRoutersBasic-95813057-09282614 2025-02-02 14:46:55,935 - DEBUG - VM ctest-TestRoutersBasic-95813057-09282614 ID is 850a580e-3566-4790-9909-969f28d11738 2025-02-02 14:46:55,935 - DEBUG - VM ctest-TestRoutersBasic-95813057-09282614 launched on Node cn-jenkins-deploy-platform-ansible-os-2671-1 2025-02-02 14:46:56,012 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/850a580e-3566-4790-9909-969f28d11738 2025-02-02 14:46:56,022 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/38794c50-2037-4266-8dc5-04b6283ab6ff 2025-02-02 14:46:57,261 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.623/2.805/1.182 ms') 2025-02-02 14:46:57,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95813057-09282614 passed 2025-02-02 14:46:57,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:46:57,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95813057-09282614, IP 150.162.18.195, Port 22 2025-02-02 14:46:57,567 - DEBUG - VM ctest-TestRoutersBasic-95813057-09282614 is ready for SSH connections 2025-02-02 14:46:57,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-02 14:46:57,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.162.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-02-02 14:46:57,568 - DEBUG - ping -s 56 -c 3 -W 1 150.162.18.195 2025-02-02 14:47:01,260 - DEBUG - PING 150.162.18.195 (150.162.18.195): 56 data bytes 64 bytes from 150.162.18.195: seq=0 ttl=62 time=4.244 ms 64 bytes from 150.162.18.195: seq=1 ttl=62 time=0.859 ms 64 bytes from 150.162.18.195: seq=2 ttl=62 time=0.907 ms --- 150.162.18.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.003/4.244 ms 2025-02-02 14:47:01,260 - INFO - Ping to IP 150.162.18.195 from VM ctest-TestRoutersBasic-95813057-13287366 passed 2025-02-02 14:47:01,260 - INFO - Deleting interface with subnet_id 1fbd5f4c-e999-4eff-900b-4cf1ca954f04, port_id None from router 512e5e01-13c0-4c98-9436-70e281d44b64 2025-02-02 14:47:01,464 - INFO - Deleting VM ctest-TestRoutersBasic-95813057-09282614 2025-02-02 14:47:01,543 - INFO - Deleting VM ctest-TestRoutersBasic-95813057-13287366 2025-02-02 14:47:01,617 - INFO - Deleting VN ctest-ext_vn-90048982 2025-02-02 14:47:01,696 - DEBUG - VN 50e5e05c-35ac-433d-aaca-ead3f4f51f98 still in use: Unable to complete operation on network 50e5e05c-35ac-433d-aaca-ead3f4f51f98. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d2eb24a-39db-4b15-9e6d-f06399322e24'] 2025-02-02 14:47:01,696 - WARNING - Deleting VN ctest-ext_vn-90048982 failed..Will retry 2025-02-02 14:47:03,810 - DEBUG - Response for deleting network () 2025-02-02 14:47:03,810 - INFO - Deleting VN ctest-vn-81082707 2025-02-02 14:47:03,945 - DEBUG - Response for deleting network () 2025-02-02 14:47:04,203 - DEBUG - No XMPP flaps were noticed during the test 2025-02-02 14:47:04,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-02 14:47:04,204 - INFO - -------------------------------------------------------------------------------- 2025-02-02 14:47:04,899 - INFO - Deleted project: ctest-TestRoutersBasic-95813057, ID : ed59e796-05f7-4e50-af6e-a169c47d2fda