2024-08-30 22:40:54,428 - INFO - Domain Default found not creating 2024-08-30 22:40:54,743 - INFO - Project ctest-TestRoutersBasic-90672485 not found, creating it 2024-08-30 22:40:55,436 - INFO - Created Project:ctest-TestRoutersBasic-90672485, ID : db9ddb69-4a9f-45e4-870e-1ce7bf5f8682 2024-08-30 22:40:57,887 - INFO - ================================================================================ 2024-08-30 22:40:57,887 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-30 22:40:57,888 - 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-30 22:40:58,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.23': '0'}} with 2024-08-30 22:40:58,234 - INFO - Initial checks done. Running the testcase now 2024-08-30 22:40:58,234 - INFO - 2024-08-30 22:40:59,172 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90672485 2024-08-30 22:40:59,279 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90672485 2024-08-30 22:40:59,693 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90672485', 'default']} 2024-08-30 22:41:00,232 - DEBUG - Response for create_network : {'network': {'id': '6d98b714-7adf-4233-9483-84ad546bf41c', 'name': 'ctest-vn-11352271', 'tenant_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'project_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90672485', 'ctest-vn-11352271'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 22:41:00,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '15e9c856-7596-4b26-8853-9bf6ed1a5491', 'name': '', 'tenant_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'network_id': '6d98b714-7adf-4233-9483-84ad546bf41c', 'ip_version': 4, 'cidr': '69.54.239.192/26', 'allocation_pools': [{'start': '69.54.239.194', 'end': '69.54.239.254'}], 'gateway_ip': '69.54.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.54.239.194', 'tags': [], 'project_id': 'db9ddb694a9f45e4870e1ce7bf5f8682'}} 2024-08-30 22:41:00,584 - INFO - Created VN ctest-vn-11352271 2024-08-30 22:41:00,654 - DEBUG - VN ctest-vn-11352271 UUID is 6d98b714-7adf-4233-9483-84ad546bf41c 2024-08-30 22:41:01,337 - DEBUG - Response for create_network : {'network': {'id': '94351941-9ae0-4507-8fd7-22ebfb501f6c', 'name': 'ctest-ext_vn-91861373', 'tenant_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'project_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90672485', 'ctest-ext_vn-91861373'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 22:41:01,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e194c95-fd77-4233-b021-ce49c71b3000', 'name': '', 'tenant_id': 'db9ddb694a9f45e4870e1ce7bf5f8682', 'network_id': '94351941-9ae0-4507-8fd7-22ebfb501f6c', 'ip_version': 4, 'cidr': '164.45.137.0/26', 'allocation_pools': [{'start': '164.45.137.2', 'end': '164.45.137.62'}], 'gateway_ip': '164.45.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.45.137.2', 'tags': [], 'project_id': 'db9ddb694a9f45e4870e1ce7bf5f8682'}} 2024-08-30 22:41:01,586 - INFO - Created VN ctest-ext_vn-91861373 2024-08-30 22:41:01,642 - DEBUG - VN ctest-ext_vn-91861373 UUID is 94351941-9ae0-4507-8fd7-22ebfb501f6c 2024-08-30 22:41:01,986 - DEBUG - Services list from nova: [, , ] 2024-08-30 22:41:03,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1827-1) 2024-08-30 22:41:05,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1827-1) 2024-08-30 22:41:05,283 - INFO - Setting gateway for router ff909f57-6a50-414a-8a07-8579e92c8df8 to network 94351941-9ae0-4507-8fd7-22ebfb501f6c 2024-08-30 22:41:05,352 - INFO - Adding interface with subnet_id 15e9c856-7596-4b26-8853-9bf6ed1a5491, port_id None to router ff909f57-6a50-414a-8a07-8579e92c8df8 2024-08-30 22:41:05,793 - INFO - Waiting for VM ctest-TestRoutersBasic-90672485-02027884 to be up.. 2024-08-30 22:41:06,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 22:41:11,140 - DEBUG - VM is in ACTIVE state now 2024-08-30 22:41:11,141 - INFO - VM name : ctest-TestRoutersBasic-90672485-02027884 2024-08-30 22:41:11,228 - DEBUG - VM ctest-TestRoutersBasic-90672485-02027884 ID is b3290235-4b34-4f68-b0ac-cb2368ac700f 2024-08-30 22:41:11,254 - DEBUG - VM ctest-TestRoutersBasic-90672485-02027884 launched on Node cn-jenkins-deploy-platform-ansible-os-1827-1 2024-08-30 22:41:11,354 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/b3290235-4b34-4f68-b0ac-cb2368ac700f 2024-08-30 22:41:11,656 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/b3290235-4b34-4f68-b0ac-cb2368ac700f 2024-08-30 22:41:11,707 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/96ef64c6-fd15-4c40-8bfe-751f4bacf4fd 2024-08-30 22:41:14,983 - 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 1001ms') 2024-08-30 22:41:14,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90672485-02027884 failed! 2024-08-30 22:41:15,050 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90672485:ctest-vn-11352271 is 69.54.239.193 and allocation pool is NOT set 2024-08-30 22:41:17,126 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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.109/6.140/11.172/5.031 ms') 2024-08-30 22:41:17,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90672485-02027884 passed 2024-08-30 22:41:17,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 22:41:17,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90672485-02027884, IP 69.54.239.195, Port 22 2024-08-30 22:41:17,529 - DEBUG - VM ctest-TestRoutersBasic-90672485-02027884 is ready for SSH connections 2024-08-30 22:41:17,530 - INFO - Waiting for VM ctest-TestRoutersBasic-90672485-79924349 to be up.. 2024-08-30 22:41:17,767 - DEBUG - VM is in ACTIVE state now 2024-08-30 22:41:17,767 - INFO - VM name : ctest-TestRoutersBasic-90672485-79924349 2024-08-30 22:41:17,966 - DEBUG - VM ctest-TestRoutersBasic-90672485-79924349 ID is 861f0d3e-dd0b-4113-80a7-a8a29fa90769 2024-08-30 22:41:17,967 - DEBUG - VM ctest-TestRoutersBasic-90672485-79924349 launched on Node cn-jenkins-deploy-platform-ansible-os-1827-1 2024-08-30 22:41:18,179 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/861f0d3e-dd0b-4113-80a7-a8a29fa90769 2024-08-30 22:41:18,205 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/b0b154ce-e9a0-4537-9ee8-f8fbd780ce87 2024-08-30 22:41:19,559 - 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=9.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/5.167/9.871/4.703 ms') 2024-08-30 22:41:19,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90672485-79924349 passed 2024-08-30 22:41:19,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 22:41:19,722 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90672485-79924349, IP 164.45.137.3, Port 22 2024-08-30 22:41:19,929 - DEBUG - VM ctest-TestRoutersBasic-90672485-79924349 is ready for SSH connections 2024-08-30 22:41:19,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 22:41:19,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.45.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-08-30 22:41:19,930 - DEBUG - ping -s 56 -c 3 -W 1 164.45.137.3 2024-08-30 22:41:24,107 - DEBUG - PING 164.45.137.3 (164.45.137.3): 56 data bytes 64 bytes from 164.45.137.3: seq=0 ttl=62 time=12.323 ms 64 bytes from 164.45.137.3: seq=1 ttl=62 time=1.819 ms 64 bytes from 164.45.137.3: seq=2 ttl=62 time=2.604 ms --- 164.45.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.819/5.582/12.323 ms 2024-08-30 22:41:24,108 - INFO - Ping to IP 164.45.137.3 from VM ctest-TestRoutersBasic-90672485-02027884 passed 2024-08-30 22:41:24,108 - INFO - Deleting interface with subnet_id 15e9c856-7596-4b26-8853-9bf6ed1a5491, port_id None from router ff909f57-6a50-414a-8a07-8579e92c8df8 2024-08-30 22:41:24,539 - INFO - Deleting VM ctest-TestRoutersBasic-90672485-79924349 2024-08-30 22:41:24,640 - INFO - Deleting VM ctest-TestRoutersBasic-90672485-02027884 2024-08-30 22:41:24,727 - INFO - Deleting VN ctest-ext_vn-91861373 2024-08-30 22:41:24,820 - DEBUG - VN 94351941-9ae0-4507-8fd7-22ebfb501f6c still in use: Unable to complete operation on network 94351941-9ae0-4507-8fd7-22ebfb501f6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea8455c6-b5c7-4dc1-86a0-3515b68564f8'] 2024-08-30 22:41:24,820 - WARNING - Deleting VN ctest-ext_vn-91861373 failed..Will retry 2024-08-30 22:41:27,112 - DEBUG - Response for deleting network () 2024-08-30 22:41:27,112 - INFO - Deleting VN ctest-vn-11352271 2024-08-30 22:41:27,382 - DEBUG - Response for deleting network () 2024-08-30 22:41:27,717 - DEBUG - No XMPP flaps were noticed during the test
2024-08-30 22:41:27,718 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2024-08-30 22:41:27,718 - INFO - -------------------------------------------------------------------------------- 2024-08-30 22:41:28,727 - INFO - Deleted project: ctest-TestRoutersBasic-90672485, ID : db9ddb69-4a9f-45e4-870e-1ce7bf5f8682