2024-11-04 08:06:10,306 - INFO - Domain Default found not creating 2024-11-04 08:06:10,488 - INFO - Project ctest-TestRoutersBasic-26323117 not found, creating it 2024-11-04 08:06:10,986 - INFO - Created Project:ctest-TestRoutersBasic-26323117, ID : c6b0df7e-4b85-4880-90e8-11b0d6a0b8f6 2024-11-04 08:06:12,546 - INFO - ================================================================================ 2024-11-04 08:06:12,546 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-04 08:06:12,546 - 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-04 08:06:12,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2024-11-04 08:06:12,809 - INFO - Initial checks done. Running the testcase now 2024-11-04 08:06:12,809 - INFO - 2024-11-04 08:06:13,558 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26323117 2024-11-04 08:06:13,656 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26323117 2024-11-04 08:06:14,003 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26323117', 'default']} 2024-11-04 08:06:14,325 - DEBUG - Response for create_network : {'network': {'id': 'f41025b7-a52e-45fb-87bf-42e6a9aa7daf', 'name': 'ctest-vn-98918950', 'tenant_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'project_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26323117', 'ctest-vn-98918950'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 08:06:14,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '89fcbc6b-2de8-42f2-aada-5895a06aa0b7', 'name': '', 'tenant_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'network_id': 'f41025b7-a52e-45fb-87bf-42e6a9aa7daf', 'ip_version': 4, 'cidr': '78.104.59.64/26', 'allocation_pools': [{'start': '78.104.59.66', 'end': '78.104.59.126'}], 'gateway_ip': '78.104.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.104.59.66', 'tags': [], 'project_id': 'c6b0df7e4b85488090e811b0d6a0b8f6'}} 2024-11-04 08:06:14,559 - INFO - Created VN ctest-vn-98918950 2024-11-04 08:06:14,620 - DEBUG - VN ctest-vn-98918950 UUID is f41025b7-a52e-45fb-87bf-42e6a9aa7daf 2024-11-04 08:06:14,988 - DEBUG - Response for create_network : {'network': {'id': 'b3880a95-59ef-4bf7-9b85-ba432c42d9a8', 'name': 'ctest-ext_vn-09423500', 'tenant_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'project_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26323117', 'ctest-ext_vn-09423500'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 08:06:15,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '1428b414-f3e9-4b40-87c0-f4314f7183cd', 'name': '', 'tenant_id': 'c6b0df7e4b85488090e811b0d6a0b8f6', 'network_id': 'b3880a95-59ef-4bf7-9b85-ba432c42d9a8', 'ip_version': 4, 'cidr': '91.67.163.192/26', 'allocation_pools': [{'start': '91.67.163.194', 'end': '91.67.163.254'}], 'gateway_ip': '91.67.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.67.163.194', 'tags': [], 'project_id': 'c6b0df7e4b85488090e811b0d6a0b8f6'}} 2024-11-04 08:06:15,182 - INFO - Created VN ctest-ext_vn-09423500 2024-11-04 08:06:15,240 - DEBUG - VN ctest-ext_vn-09423500 UUID is b3880a95-59ef-4bf7-9b85-ba432c42d9a8 2024-11-04 08:06:15,428 - DEBUG - Services list from nova: [, , ] 2024-11-04 08:06:16,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2197-1) 2024-11-04 08:06:17,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2197-1) 2024-11-04 08:06:17,868 - INFO - Setting gateway for router da4715d9-a564-434f-a54e-efd7d4689dfc to network b3880a95-59ef-4bf7-9b85-ba432c42d9a8 2024-11-04 08:06:17,942 - INFO - Adding interface with subnet_id 89fcbc6b-2de8-42f2-aada-5895a06aa0b7, port_id None to router da4715d9-a564-434f-a54e-efd7d4689dfc 2024-11-04 08:06:18,478 - INFO - Waiting for VM ctest-TestRoutersBasic-26323117-03162026 to be up.. 2024-11-04 08:06:18,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 08:06:23,791 - DEBUG - VM is in ACTIVE state now 2024-11-04 08:06:23,791 - INFO - VM name : ctest-TestRoutersBasic-26323117-03162026 2024-11-04 08:06:23,881 - DEBUG - VM ctest-TestRoutersBasic-26323117-03162026 ID is e9612877-29f8-4a8a-ac80-d881cc69f3c5 2024-11-04 08:06:23,907 - DEBUG - VM ctest-TestRoutersBasic-26323117-03162026 launched on Node cn-jenkins-deploy-platform-ansible-os-2197-1 2024-11-04 08:06:24,011 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e9612877-29f8-4a8a-ac80-d881cc69f3c5 2024-11-04 08:06:24,510 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/e9612877-29f8-4a8a-ac80-d881cc69f3c5 2024-11-04 08:06:24,552 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/0e572941-8956-4bf7-acc1-540a46d91095 2024-11-04 08:06:27,831 - 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 1021ms') 2024-11-04 08:06:27,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26323117-03162026 failed! 2024-11-04 08:06:27,896 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26323117:ctest-vn-98918950 is 78.104.59.65 and allocation pool is NOT set 2024-11-04 08:06:29,955 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/2.584/4.737/2.153 ms') 2024-11-04 08:06:29,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26323117-03162026 passed 2024-11-04 08:06:30,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 08:06:30,136 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26323117-03162026, IP 78.104.59.67, Port 22 2024-11-04 08:06:30,299 - DEBUG - VM ctest-TestRoutersBasic-26323117-03162026 is ready for SSH connections 2024-11-04 08:06:30,300 - INFO - Waiting for VM ctest-TestRoutersBasic-26323117-34029538 to be up.. 2024-11-04 08:06:30,393 - DEBUG - VM is in ACTIVE state now 2024-11-04 08:06:30,393 - INFO - VM name : ctest-TestRoutersBasic-26323117-34029538 2024-11-04 08:06:30,481 - DEBUG - VM ctest-TestRoutersBasic-26323117-34029538 ID is 4af58e38-17ed-4070-9ff5-769bef19ccc3 2024-11-04 08:06:30,481 - DEBUG - VM ctest-TestRoutersBasic-26323117-34029538 launched on Node cn-jenkins-deploy-platform-ansible-os-2197-1 2024-11-04 08:06:30,571 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/4af58e38-17ed-4070-9ff5-769bef19ccc3 2024-11-04 08:06:30,582 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/8444dcc9-7e69-4dfd-9acf-267dd8075ee9 2024-11-04 08:06:31,842 - 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.438 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.438/1.884/3.331/1.446 ms') 2024-11-04 08:06:31,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26323117-34029538 passed 2024-11-04 08:06:32,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 08:06:32,008 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26323117-34029538, IP 91.67.163.195, Port 22 2024-11-04 08:06:32,163 - DEBUG - VM ctest-TestRoutersBasic-26323117-34029538 is ready for SSH connections 2024-11-04 08:06:32,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 08:06:32,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.67.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-11-04 08:06:32,164 - DEBUG - ping -s 56 -c 3 -W 1 91.67.163.195 2024-11-04 08:06:35,902 - DEBUG - PING 91.67.163.195 (91.67.163.195): 56 data bytes 64 bytes from 91.67.163.195: seq=0 ttl=62 time=5.263 ms 64 bytes from 91.67.163.195: seq=1 ttl=62 time=0.819 ms 64 bytes from 91.67.163.195: seq=2 ttl=62 time=0.831 ms --- 91.67.163.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.304/5.263 ms 2024-11-04 08:06:35,903 - INFO - Ping to IP 91.67.163.195 from VM ctest-TestRoutersBasic-26323117-03162026 passed 2024-11-04 08:06:35,903 - INFO - Deleting interface with subnet_id 89fcbc6b-2de8-42f2-aada-5895a06aa0b7, port_id None from router da4715d9-a564-434f-a54e-efd7d4689dfc 2024-11-04 08:06:36,206 - INFO - Deleting VM ctest-TestRoutersBasic-26323117-34029538 2024-11-04 08:06:36,305 - INFO - Deleting VM ctest-TestRoutersBasic-26323117-03162026 2024-11-04 08:06:36,384 - INFO - Deleting VN ctest-ext_vn-09423500 2024-11-04 08:06:36,476 - DEBUG - VN b3880a95-59ef-4bf7-9b85-ba432c42d9a8 still in use: Unable to complete operation on network b3880a95-59ef-4bf7-9b85-ba432c42d9a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb0f8314-f846-485a-a5d2-ea76cec75b6c'] 2024-11-04 08:06:36,476 - WARNING - Deleting VN ctest-ext_vn-09423500 failed..Will retry 2024-11-04 08:06:38,598 - DEBUG - Response for deleting network () 2024-11-04 08:06:38,598 - INFO - Deleting VN ctest-vn-98918950 2024-11-04 08:06:38,722 - DEBUG - Response for deleting network () 2024-11-04 08:06:38,977 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 08:06:38,978 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-11-04 08:06:38,978 - INFO - -------------------------------------------------------------------------------- 2024-11-04 08:06:39,682 - INFO - Deleted project: ctest-TestRoutersBasic-26323117, ID : c6b0df7e-4b85-4880-90e8-11b0d6a0b8f6