2025-01-28 13:50:22,592 - INFO - Domain Default found not creating 2025-01-28 13:50:22,776 - INFO - Project ctest-TestRoutersBasic-42515096 not found, creating it 2025-01-28 13:50:23,270 - INFO - Created Project:ctest-TestRoutersBasic-42515096, ID : 30e2af7d-a44c-47dc-9075-4072d26daf32 2025-01-28 13:50:24,735 - INFO - ================================================================================ 2025-01-28 13:50:24,735 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-28 13:50:24,736 - 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-01-28 13:50:24,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2025-01-28 13:50:24,990 - INFO - Initial checks done. Running the testcase now 2025-01-28 13:50:24,990 - INFO - 2025-01-28 13:50:25,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42515096 2025-01-28 13:50:25,804 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42515096 2025-01-28 13:50:26,132 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42515096', 'default']} 2025-01-28 13:50:26,441 - DEBUG - Response for create_network : {'network': {'id': 'bd985e9c-da53-46da-8ee6-b97cc4274381', 'name': 'ctest-vn-47980610', 'tenant_id': '30e2af7da44c47dc90754072d26daf32', 'project_id': '30e2af7da44c47dc90754072d26daf32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42515096', 'ctest-vn-47980610'], 'port_security_enabled': True, 'description': ''}} 2025-01-28 13:50:26,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aa4ae78-febf-43d7-ae1b-e6cdab10ee22', 'name': '', 'tenant_id': '30e2af7da44c47dc90754072d26daf32', 'network_id': 'bd985e9c-da53-46da-8ee6-b97cc4274381', 'ip_version': 4, 'cidr': '60.134.81.0/26', 'allocation_pools': [{'start': '60.134.81.2', 'end': '60.134.81.62'}], 'gateway_ip': '60.134.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.134.81.2', 'tags': [], 'project_id': '30e2af7da44c47dc90754072d26daf32'}} 2025-01-28 13:50:26,673 - INFO - Created VN ctest-vn-47980610 2025-01-28 13:50:26,736 - DEBUG - VN ctest-vn-47980610 UUID is bd985e9c-da53-46da-8ee6-b97cc4274381 2025-01-28 13:50:27,101 - DEBUG - Response for create_network : {'network': {'id': '05645ea9-c469-4371-9d89-89ffa7be8061', 'name': 'ctest-ext_vn-85402398', 'tenant_id': '30e2af7da44c47dc90754072d26daf32', 'project_id': '30e2af7da44c47dc90754072d26daf32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42515096', 'ctest-ext_vn-85402398'], 'port_security_enabled': True, 'description': ''}} 2025-01-28 13:50:27,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '80685d27-8aa4-4b2a-8951-a0f335277e5d', 'name': '', 'tenant_id': '30e2af7da44c47dc90754072d26daf32', 'network_id': '05645ea9-c469-4371-9d89-89ffa7be8061', 'ip_version': 4, 'cidr': '72.201.196.0/26', 'allocation_pools': [{'start': '72.201.196.2', 'end': '72.201.196.62'}], 'gateway_ip': '72.201.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.201.196.2', 'tags': [], 'project_id': '30e2af7da44c47dc90754072d26daf32'}} 2025-01-28 13:50:27,333 - INFO - Created VN ctest-ext_vn-85402398 2025-01-28 13:50:27,384 - DEBUG - VN ctest-ext_vn-85402398 UUID is 05645ea9-c469-4371-9d89-89ffa7be8061 2025-01-28 13:50:27,573 - DEBUG - Services list from nova: [, , ] 2025-01-28 13:50:28,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2666-1) 2025-01-28 13:50:29,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2666-1) 2025-01-28 13:50:29,946 - INFO - Setting gateway for router 54f5e34d-14c5-472a-8db1-e7eac1e2b70c to network 05645ea9-c469-4371-9d89-89ffa7be8061 2025-01-28 13:50:30,013 - INFO - Adding interface with subnet_id 4aa4ae78-febf-43d7-ae1b-e6cdab10ee22, port_id None to router 54f5e34d-14c5-472a-8db1-e7eac1e2b70c 2025-01-28 13:50:30,555 - INFO - Waiting for VM ctest-TestRoutersBasic-42515096-24974409 to be up.. 2025-01-28 13:50:30,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-28 13:50:35,809 - DEBUG - VM is in ACTIVE state now 2025-01-28 13:50:35,809 - INFO - VM name : ctest-TestRoutersBasic-42515096-24974409 2025-01-28 13:50:35,890 - DEBUG - VM ctest-TestRoutersBasic-42515096-24974409 ID is 39ea1021-0d4f-4b15-841b-01a9841ed33b 2025-01-28 13:50:35,908 - DEBUG - VM ctest-TestRoutersBasic-42515096-24974409 launched on Node cn-jenkins-deploy-platform-ansible-os-2666-1 2025-01-28 13:50:36,001 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/39ea1021-0d4f-4b15-841b-01a9841ed33b 2025-01-28 13:50:36,298 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/39ea1021-0d4f-4b15-841b-01a9841ed33b 2025-01-28 13:50:36,333 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/0581696f-c9dc-40ae-afbf-7239740e0a7e 2025-01-28 13:50:39,601 - 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 1018ms') 2025-01-28 13:50:39,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42515096-24974409 failed! 2025-01-28 13:50:39,656 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42515096:ctest-vn-47980610 is 60.134.81.1 and allocation pool is NOT set 2025-01-28 13:50:41,715 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/2.069/3.682/1.613 ms') 2025-01-28 13:50:41,715 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42515096-24974409 passed 2025-01-28 13:50:41,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:50:41,864 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42515096-24974409, IP 60.134.81.3, Port 22 2025-01-28 13:50:42,019 - DEBUG - VM ctest-TestRoutersBasic-42515096-24974409 is ready for SSH connections 2025-01-28 13:50:42,019 - INFO - Waiting for VM ctest-TestRoutersBasic-42515096-41205725 to be up.. 2025-01-28 13:50:42,114 - DEBUG - VM is in ACTIVE state now 2025-01-28 13:50:42,114 - INFO - VM name : ctest-TestRoutersBasic-42515096-41205725 2025-01-28 13:50:42,193 - DEBUG - VM ctest-TestRoutersBasic-42515096-41205725 ID is 7a7231b0-52b6-4b48-a470-6b6462cdfb21 2025-01-28 13:50:42,193 - DEBUG - VM ctest-TestRoutersBasic-42515096-41205725 launched on Node cn-jenkins-deploy-platform-ansible-os-2666-1 2025-01-28 13:50:42,279 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/7a7231b0-52b6-4b48-a470-6b6462cdfb21 2025-01-28 13:50:42,289 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/61d50087-118a-42f8-85ef-8a5d059545bc 2025-01-28 13:50:43,539 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 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.607/1.940/3.274/1.333 ms') 2025-01-28 13:50:43,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42515096-41205725 passed 2025-01-28 13:50:43,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:50:43,696 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42515096-41205725, IP 72.201.196.3, Port 22 2025-01-28 13:50:43,860 - DEBUG - VM ctest-TestRoutersBasic-42515096-41205725 is ready for SSH connections 2025-01-28 13:50:43,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:50:43,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.201.196.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-28 13:50:43,860 - DEBUG - ping -s 56 -c 3 -W 1 72.201.196.3 2025-01-28 13:50:47,556 - DEBUG - PING 72.201.196.3 (72.201.196.3): 56 data bytes 64 bytes from 72.201.196.3: seq=0 ttl=62 time=7.833 ms 64 bytes from 72.201.196.3: seq=1 ttl=62 time=1.126 ms 64 bytes from 72.201.196.3: seq=2 ttl=62 time=0.874 ms --- 72.201.196.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/3.277/7.833 ms 2025-01-28 13:50:47,556 - INFO - Ping to IP 72.201.196.3 from VM ctest-TestRoutersBasic-42515096-24974409 passed 2025-01-28 13:50:47,557 - INFO - Deleting interface with subnet_id 4aa4ae78-febf-43d7-ae1b-e6cdab10ee22, port_id None from router 54f5e34d-14c5-472a-8db1-e7eac1e2b70c 2025-01-28 13:50:47,787 - INFO - Deleting VM ctest-TestRoutersBasic-42515096-41205725 2025-01-28 13:50:47,861 - INFO - Deleting VM ctest-TestRoutersBasic-42515096-24974409 2025-01-28 13:50:47,950 - INFO - Deleting VN ctest-ext_vn-85402398 2025-01-28 13:50:48,038 - DEBUG - VN 05645ea9-c469-4371-9d89-89ffa7be8061 still in use: Unable to complete operation on network 05645ea9-c469-4371-9d89-89ffa7be8061. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-accb3d64-9425-4546-8f78-9ed457631def'] 2025-01-28 13:50:48,038 - WARNING - Deleting VN ctest-ext_vn-85402398 failed..Will retry 2025-01-28 13:50:50,169 - DEBUG - Response for deleting network () 2025-01-28 13:50:50,169 - INFO - Deleting VN ctest-vn-47980610 2025-01-28 13:50:50,280 - DEBUG - Response for deleting network () 2025-01-28 13:50:50,533 - DEBUG - No XMPP flaps were noticed during the test
2025-01-28 13:50:50,533 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-28 13:50:50,533 - INFO - -------------------------------------------------------------------------------- 2025-01-28 13:50:51,192 - INFO - Deleted project: ctest-TestRoutersBasic-42515096, ID : 30e2af7d-a44c-47dc-9075-4072d26daf32