2024-08-29 13:25:01,868 - INFO - Domain Default found not creating 2024-08-29 13:25:02,054 - INFO - Project ctest-TestRoutersBasic-52748764 not found, creating it 2024-08-29 13:25:02,563 - INFO - Created Project:ctest-TestRoutersBasic-52748764, ID : e02044ad-33c4-4411-857b-1b0c208bd1f0 2024-08-29 13:25:04,386 - INFO - ================================================================================ 2024-08-29 13:25:04,386 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-29 13:25:04,386 - 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-08-29 13:25:04,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2024-08-29 13:25:04,641 - INFO - Initial checks done. Running the testcase now 2024-08-29 13:25:04,641 - INFO - 2024-08-29 13:25:05,578 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52748764 2024-08-29 13:25:05,685 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52748764 2024-08-29 13:25:06,029 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52748764', 'default']} 2024-08-29 13:25:06,365 - DEBUG - Response for create_network : {'network': {'id': 'e13fd9cd-6bbc-4ee8-9672-22ee252c0393', 'name': 'ctest-vn-43464691', 'tenant_id': 'e02044ad33c44411857b1b0c208bd1f0', 'project_id': 'e02044ad33c44411857b1b0c208bd1f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52748764', 'ctest-vn-43464691'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 13:25:06,582 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd662db3a-ee3e-4fc3-ae1c-d43991b123e0', 'name': '', 'tenant_id': 'e02044ad33c44411857b1b0c208bd1f0', 'network_id': 'e13fd9cd-6bbc-4ee8-9672-22ee252c0393', 'ip_version': 4, 'cidr': '130.181.197.128/26', 'allocation_pools': [{'start': '130.181.197.130', 'end': '130.181.197.190'}], 'gateway_ip': '130.181.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.181.197.130', 'tags': [], 'project_id': 'e02044ad33c44411857b1b0c208bd1f0'}} 2024-08-29 13:25:06,606 - INFO - Created VN ctest-vn-43464691 2024-08-29 13:25:06,658 - DEBUG - VN ctest-vn-43464691 UUID is e13fd9cd-6bbc-4ee8-9672-22ee252c0393 2024-08-29 13:25:07,359 - DEBUG - Response for create_network : {'network': {'id': 'ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782', 'name': 'ctest-ext_vn-33419501', 'tenant_id': 'e02044ad33c44411857b1b0c208bd1f0', 'project_id': 'e02044ad33c44411857b1b0c208bd1f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52748764', 'ctest-ext_vn-33419501'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 13:25:07,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c8fca89-d703-46e8-9460-d8bb4b166a3b', 'name': '', 'tenant_id': 'e02044ad33c44411857b1b0c208bd1f0', 'network_id': 'ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782', 'ip_version': 4, 'cidr': '186.114.25.64/26', 'allocation_pools': [{'start': '186.114.25.66', 'end': '186.114.25.126'}], 'gateway_ip': '186.114.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.114.25.66', 'tags': [], 'project_id': 'e02044ad33c44411857b1b0c208bd1f0'}} 2024-08-29 13:25:07,736 - INFO - Created VN ctest-ext_vn-33419501 2024-08-29 13:25:07,797 - DEBUG - VN ctest-ext_vn-33419501 UUID is ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782 2024-08-29 13:25:07,984 - DEBUG - Services list from nova: [, , ] 2024-08-29 13:25:09,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1808-1) 2024-08-29 13:25:10,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1808-1) 2024-08-29 13:25:10,567 - INFO - Setting gateway for router 6d791338-3576-4303-9799-e6611bc4f5ee to network ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782 2024-08-29 13:25:10,655 - INFO - Adding interface with subnet_id d662db3a-ee3e-4fc3-ae1c-d43991b123e0, port_id None to router 6d791338-3576-4303-9799-e6611bc4f5ee 2024-08-29 13:25:11,094 - INFO - Waiting for VM ctest-TestRoutersBasic-52748764-27554710 to be up.. 2024-08-29 13:25:11,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 13:25:16,372 - DEBUG - VM is in ACTIVE state now 2024-08-29 13:25:16,372 - INFO - VM name : ctest-TestRoutersBasic-52748764-27554710 2024-08-29 13:25:16,483 - DEBUG - VM ctest-TestRoutersBasic-52748764-27554710 ID is a7ff761f-969c-4f57-a244-23b55740b8f2 2024-08-29 13:25:16,509 - DEBUG - VM ctest-TestRoutersBasic-52748764-27554710 launched on Node cn-jenkins-deploy-platform-ansible-os-1808-1 2024-08-29 13:25:16,617 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a7ff761f-969c-4f57-a244-23b55740b8f2 2024-08-29 13:25:16,970 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/a7ff761f-969c-4f57-a244-23b55740b8f2 2024-08-29 13:25:17,012 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/53d4e00e-15b3-4c1a-b8da-5cfaae5c63fd 2024-08-29 13:25:20,277 - 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 1022ms') 2024-08-29 13:25:20,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52748764-27554710 failed! 2024-08-29 13:25:20,334 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52748764:ctest-vn-43464691 is 130.181.197.129 and allocation pool is NOT set 2024-08-29 13:25:22,398 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.933 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.933/2.784/4.636/1.851 ms') 2024-08-29 13:25:22,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52748764-27554710 passed 2024-08-29 13:25:22,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:25:22,558 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52748764-27554710, IP 130.181.197.131, Port 22 2024-08-29 13:25:22,728 - DEBUG - VM ctest-TestRoutersBasic-52748764-27554710 is ready for SSH connections 2024-08-29 13:25:22,728 - INFO - Waiting for VM ctest-TestRoutersBasic-52748764-59203999 to be up.. 2024-08-29 13:25:22,827 - DEBUG - VM is in ACTIVE state now 2024-08-29 13:25:22,827 - INFO - VM name : ctest-TestRoutersBasic-52748764-59203999 2024-08-29 13:25:22,917 - DEBUG - VM ctest-TestRoutersBasic-52748764-59203999 ID is 0c14c20c-4728-405f-9086-9d4429fd0870 2024-08-29 13:25:22,918 - DEBUG - VM ctest-TestRoutersBasic-52748764-59203999 launched on Node cn-jenkins-deploy-platform-ansible-os-1808-1 2024-08-29 13:25:23,019 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/0c14c20c-4728-405f-9086-9d4429fd0870 2024-08-29 13:25:23,029 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/f61324db-67a9-4c97-9952-38201fd2273d 2024-08-29 13:25:24,270 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/1.847/3.135/1.287 ms') 2024-08-29 13:25:24,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52748764-59203999 passed 2024-08-29 13:25:24,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:25:24,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52748764-59203999, IP 186.114.25.67, Port 22 2024-08-29 13:25:24,577 - DEBUG - VM ctest-TestRoutersBasic-52748764-59203999 is ready for SSH connections 2024-08-29 13:25:24,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:25:24,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.114.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-08-29 13:25:24,578 - DEBUG - ping -s 56 -c 3 -W 1 186.114.25.67 2024-08-29 13:25:28,336 - DEBUG - PING 186.114.25.67 (186.114.25.67): 56 data bytes 64 bytes from 186.114.25.67: seq=0 ttl=62 time=6.736 ms 64 bytes from 186.114.25.67: seq=1 ttl=62 time=0.884 ms 64 bytes from 186.114.25.67: seq=2 ttl=62 time=1.021 ms --- 186.114.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/2.880/6.736 ms 2024-08-29 13:25:28,336 - INFO - Ping to IP 186.114.25.67 from VM ctest-TestRoutersBasic-52748764-27554710 passed 2024-08-29 13:25:28,337 - INFO - Deleting interface with subnet_id d662db3a-ee3e-4fc3-ae1c-d43991b123e0, port_id None from router 6d791338-3576-4303-9799-e6611bc4f5ee 2024-08-29 13:25:28,566 - INFO - Deleting VM ctest-TestRoutersBasic-52748764-59203999 2024-08-29 13:25:28,653 - INFO - Deleting VM ctest-TestRoutersBasic-52748764-27554710 2024-08-29 13:25:28,733 - INFO - Deleting VN ctest-ext_vn-33419501 2024-08-29 13:25:28,832 - DEBUG - VN ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782 still in use: Unable to complete operation on network ea5dafe0-5e9a-4c63-b8de-c11ffd1c1782. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66409af9-6b4a-4225-a33d-1f1a92623c8b'] 2024-08-29 13:25:28,833 - WARNING - Deleting VN ctest-ext_vn-33419501 failed..Will retry 2024-08-29 13:25:30,969 - DEBUG - Response for deleting network () 2024-08-29 13:25:30,969 - INFO - Deleting VN ctest-vn-43464691 2024-08-29 13:25:31,110 - DEBUG - Response for deleting network () 2024-08-29 13:25:31,372 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 13:25:31,372 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-08-29 13:25:31,372 - INFO - -------------------------------------------------------------------------------- 2024-08-29 13:25:32,117 - INFO - Deleted project: ctest-TestRoutersBasic-52748764, ID : e02044ad-33c4-4411-857b-1b0c208bd1f0