2024-11-13 11:51:58,505 - INFO - Domain Default found not creating 2024-11-13 11:51:58,679 - INFO - Project ctest-TestRoutersBasic-17891255 not found, creating it 2024-11-13 11:51:59,188 - INFO - Created Project:ctest-TestRoutersBasic-17891255, ID : c63ffdf8-35ce-4f05-a00e-07b68eeb6025 2024-11-13 11:52:00,957 - INFO - ================================================================================ 2024-11-13 11:52:00,958 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-13 11:52:00,958 - 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 2024-11-13 11:52:01,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.30': '0'}} with 2024-11-13 11:52:01,215 - INFO - Initial checks done. Running the testcase now 2024-11-13 11:52:01,215 - INFO - 2024-11-13 11:52:01,983 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17891255 2024-11-13 11:52:02,091 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17891255 2024-11-13 11:52:02,432 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17891255', 'default']} 2024-11-13 11:52:02,772 - DEBUG - Response for create_network : {'network': {'id': '7777bda3-70e6-4da7-b8bc-447c5835edfb', 'name': 'ctest-vn-53285118', 'tenant_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'project_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17891255', 'ctest-vn-53285118'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 11:52:03,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '65adaa7a-541e-473b-9fdc-9287fe52ea09', 'name': '', 'tenant_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'network_id': '7777bda3-70e6-4da7-b8bc-447c5835edfb', 'ip_version': 4, 'cidr': '191.244.219.64/26', 'allocation_pools': [{'start': '191.244.219.66', 'end': '191.244.219.126'}], 'gateway_ip': '191.244.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.244.219.66', 'tags': [], 'project_id': 'c63ffdf835ce4f05a00e07b68eeb6025'}} 2024-11-13 11:52:03,039 - INFO - Created VN ctest-vn-53285118 2024-11-13 11:52:03,109 - DEBUG - VN ctest-vn-53285118 UUID is 7777bda3-70e6-4da7-b8bc-447c5835edfb 2024-11-13 11:52:03,511 - DEBUG - Response for create_network : {'network': {'id': '01a0bdc7-b6a2-4f9e-af22-ec308f785336', 'name': 'ctest-ext_vn-78089823', 'tenant_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'project_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17891255', 'ctest-ext_vn-78089823'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 11:52:03,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6963e08-dc50-4378-b4b6-6a34da4e9fe0', 'name': '', 'tenant_id': 'c63ffdf835ce4f05a00e07b68eeb6025', 'network_id': '01a0bdc7-b6a2-4f9e-af22-ec308f785336', 'ip_version': 4, 'cidr': '158.104.56.0/26', 'allocation_pools': [{'start': '158.104.56.2', 'end': '158.104.56.62'}], 'gateway_ip': '158.104.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.104.56.2', 'tags': [], 'project_id': 'c63ffdf835ce4f05a00e07b68eeb6025'}} 2024-11-13 11:52:03,793 - INFO - Created VN ctest-ext_vn-78089823 2024-11-13 11:52:03,853 - DEBUG - VN ctest-ext_vn-78089823 UUID is 01a0bdc7-b6a2-4f9e-af22-ec308f785336 2024-11-13 11:52:04,065 - DEBUG - Services list from nova: [, , ] 2024-11-13 11:52:05,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2284-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2284-1) 2024-11-13 11:52:06,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2284-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2284-1) 2024-11-13 11:52:06,621 - INFO - Setting gateway for router 708b67e0-79ad-4915-97d7-3dfa82e616d3 to network 01a0bdc7-b6a2-4f9e-af22-ec308f785336 2024-11-13 11:52:06,701 - INFO - Adding interface with subnet_id 65adaa7a-541e-473b-9fdc-9287fe52ea09, port_id None to router 708b67e0-79ad-4915-97d7-3dfa82e616d3 2024-11-13 11:52:07,247 - INFO - Waiting for VM ctest-TestRoutersBasic-17891255-77423875 to be up.. 2024-11-13 11:52:07,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 11:52:12,496 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:52:12,496 - INFO - VM name : ctest-TestRoutersBasic-17891255-77423875 2024-11-13 11:52:12,599 - DEBUG - VM ctest-TestRoutersBasic-17891255-77423875 ID is 67e7bf6b-b104-4145-ae90-c6bae58ea47f 2024-11-13 11:52:12,622 - DEBUG - VM ctest-TestRoutersBasic-17891255-77423875 launched on Node cn-jenkins-deploy-platform-ansible-os-2284-1 2024-11-13 11:52:12,715 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/67e7bf6b-b104-4145-ae90-c6bae58ea47f 2024-11-13 11:52:13,016 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/67e7bf6b-b104-4145-ae90-c6bae58ea47f 2024-11-13 11:52:13,060 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/56d18734-2f43-4caa-a23c-40e3990a8998 2024-11-13 11:52:16,328 - 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 1011ms') 2024-11-13 11:52:16,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17891255-77423875 failed! 2024-11-13 11:52:16,389 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17891255:ctest-vn-53285118 is 191.244.219.65 and allocation pool is NOT set 2024-11-13 11:52:18,460 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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.960/3.523/5.086/1.563 ms') 2024-11-13 11:52:18,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17891255-77423875 passed 2024-11-13 11:52:18,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:52:18,621 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17891255-77423875, IP 191.244.219.67, Port 22 2024-11-13 11:52:18,842 - DEBUG - VM ctest-TestRoutersBasic-17891255-77423875 is ready for SSH connections 2024-11-13 11:52:18,842 - INFO - Waiting for VM ctest-TestRoutersBasic-17891255-21223763 to be up.. 2024-11-13 11:52:18,942 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:52:18,942 - INFO - VM name : ctest-TestRoutersBasic-17891255-21223763 2024-11-13 11:52:19,032 - DEBUG - VM ctest-TestRoutersBasic-17891255-21223763 ID is 8ba119f6-476e-45d5-8dd4-21f351a84e47 2024-11-13 11:52:19,032 - DEBUG - VM ctest-TestRoutersBasic-17891255-21223763 launched on Node cn-jenkins-deploy-platform-ansible-os-2284-1 2024-11-13 11:52:19,129 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/8ba119f6-476e-45d5-8dd4-21f351a84e47 2024-11-13 11:52:19,140 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/576f0994-8cbe-4cab-83ba-6b86616282fb 2024-11-13 11:52:20,393 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.776/3.070/1.293 ms') 2024-11-13 11:52:20,393 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17891255-21223763 passed 2024-11-13 11:52:20,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:52:20,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17891255-21223763, IP 158.104.56.3, Port 22 2024-11-13 11:52:20,717 - DEBUG - VM ctest-TestRoutersBasic-17891255-21223763 is ready for SSH connections 2024-11-13 11:52:20,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:52:20,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.104.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-11-13 11:52:20,717 - DEBUG - ping -s 56 -c 3 -W 1 158.104.56.3 2024-11-13 11:52:24,422 - DEBUG - PING 158.104.56.3 (158.104.56.3): 56 data bytes 64 bytes from 158.104.56.3: seq=0 ttl=62 time=6.237 ms 64 bytes from 158.104.56.3: seq=1 ttl=62 time=1.207 ms 64 bytes from 158.104.56.3: seq=2 ttl=62 time=1.213 ms --- 158.104.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.207/2.885/6.237 ms 2024-11-13 11:52:24,422 - INFO - Ping to IP 158.104.56.3 from VM ctest-TestRoutersBasic-17891255-77423875 passed 2024-11-13 11:52:24,422 - INFO - Deleting interface with subnet_id 65adaa7a-541e-473b-9fdc-9287fe52ea09, port_id None from router 708b67e0-79ad-4915-97d7-3dfa82e616d3 2024-11-13 11:52:24,750 - INFO - Deleting VM ctest-TestRoutersBasic-17891255-21223763 2024-11-13 11:52:24,825 - INFO - Deleting VM ctest-TestRoutersBasic-17891255-77423875 2024-11-13 11:52:24,924 - INFO - Deleting VN ctest-ext_vn-78089823 2024-11-13 11:52:25,018 - DEBUG - VN 01a0bdc7-b6a2-4f9e-af22-ec308f785336 still in use: Unable to complete operation on network 01a0bdc7-b6a2-4f9e-af22-ec308f785336. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12a15c1f-c37d-426a-861d-a9d34ca20b35'] 2024-11-13 11:52:25,018 - WARNING - Deleting VN ctest-ext_vn-78089823 failed..Will retry 2024-11-13 11:52:27,138 - DEBUG - Response for deleting network () 2024-11-13 11:52:27,138 - INFO - Deleting VN ctest-vn-53285118 2024-11-13 11:52:27,282 - DEBUG - Response for deleting network () 2024-11-13 11:52:27,549 - DEBUG - No XMPP flaps were noticed during the test
2024-11-13 11:52:27,549 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-11-13 11:52:27,549 - INFO - -------------------------------------------------------------------------------- 2024-11-13 11:52:28,256 - INFO - Deleted project: ctest-TestRoutersBasic-17891255, ID : c63ffdf8-35ce-4f05-a00e-07b68eeb6025