2025-01-14 08:40:13,493 - INFO - Domain Default found not creating 2025-01-14 08:40:13,652 - INFO - Project ctest-TestRoutersBasic-04165576 not found, creating it 2025-01-14 08:40:14,151 - INFO - Created Project:ctest-TestRoutersBasic-04165576, ID : d53a3b01-be5c-45a1-b388-285055cf9e5a 2025-01-14 08:40:15,603 - INFO - ================================================================================ 2025-01-14 08:40:15,603 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 08:40:15,603 - 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-14 08:40:15,869 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.22': '0'}} with 2025-01-14 08:40:15,869 - INFO - Initial checks done. Running the testcase now 2025-01-14 08:40:15,869 - INFO - 2025-01-14 08:40:16,578 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04165576 2025-01-14 08:40:16,676 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04165576 2025-01-14 08:40:17,003 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04165576', 'default']} 2025-01-14 08:40:17,384 - DEBUG - Response for create_network : {'network': {'id': '557dbbd7-14b6-4a53-a7fa-c05f46f707cf', 'name': 'ctest-vn-57641245', 'tenant_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'project_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04165576', 'ctest-vn-57641245'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:40:17,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7458d6a-bcf1-414d-95e0-3078b7204719', 'name': '', 'tenant_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'network_id': '557dbbd7-14b6-4a53-a7fa-c05f46f707cf', 'ip_version': 4, 'cidr': '146.60.21.0/26', 'allocation_pools': [{'start': '146.60.21.2', 'end': '146.60.21.62'}], 'gateway_ip': '146.60.21.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.60.21.2', 'tags': [], 'project_id': 'd53a3b01be5c45a1b388285055cf9e5a'}} 2025-01-14 08:40:17,640 - INFO - Created VN ctest-vn-57641245 2025-01-14 08:40:17,696 - DEBUG - VN ctest-vn-57641245 UUID is 557dbbd7-14b6-4a53-a7fa-c05f46f707cf 2025-01-14 08:40:18,050 - DEBUG - Response for create_network : {'network': {'id': 'dd2f8dc5-83a2-4a75-8f63-8b939841ea55', 'name': 'ctest-ext_vn-53021091', 'tenant_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'project_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04165576', 'ctest-ext_vn-53021091'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:40:18,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '70598235-0922-4d05-9eda-3599795d0ec3', 'name': '', 'tenant_id': 'd53a3b01be5c45a1b388285055cf9e5a', 'network_id': 'dd2f8dc5-83a2-4a75-8f63-8b939841ea55', 'ip_version': 4, 'cidr': '149.212.224.128/26', 'allocation_pools': [{'start': '149.212.224.130', 'end': '149.212.224.190'}], 'gateway_ip': '149.212.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.212.224.130', 'tags': [], 'project_id': 'd53a3b01be5c45a1b388285055cf9e5a'}} 2025-01-14 08:40:18,244 - INFO - Created VN ctest-ext_vn-53021091 2025-01-14 08:40:18,295 - DEBUG - VN ctest-ext_vn-53021091 UUID is dd2f8dc5-83a2-4a75-8f63-8b939841ea55 2025-01-14 08:40:18,461 - DEBUG - Services list from nova: [, , ] 2025-01-14 08:40:19,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2622-1) 2025-01-14 08:40:20,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2622-1) 2025-01-14 08:40:20,749 - INFO - Setting gateway for router 7843d49e-8471-4000-8a3a-eedf0a422bf2 to network dd2f8dc5-83a2-4a75-8f63-8b939841ea55 2025-01-14 08:40:20,814 - INFO - Adding interface with subnet_id d7458d6a-bcf1-414d-95e0-3078b7204719, port_id None to router 7843d49e-8471-4000-8a3a-eedf0a422bf2 2025-01-14 08:40:21,217 - INFO - Waiting for VM ctest-TestRoutersBasic-04165576-13127861 to be up.. 2025-01-14 08:40:21,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 08:40:26,488 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:40:26,488 - INFO - VM name : ctest-TestRoutersBasic-04165576-13127861 2025-01-14 08:40:26,567 - DEBUG - VM ctest-TestRoutersBasic-04165576-13127861 ID is d10f56cb-f3ed-4c28-9717-f8a6fe539739 2025-01-14 08:40:26,587 - DEBUG - VM ctest-TestRoutersBasic-04165576-13127861 launched on Node cn-jenkins-deploy-platform-ansible-os-2622-1 2025-01-14 08:40:26,663 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d10f56cb-f3ed-4c28-9717-f8a6fe539739 2025-01-14 08:40:26,972 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d10f56cb-f3ed-4c28-9717-f8a6fe539739 2025-01-14 08:40:27,010 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/0b14972d-452d-4fe6-b50f-f9e0bcbfd50b 2025-01-14 08:40:30,294 - 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 1031ms') 2025-01-14 08:40:30,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04165576-13127861 failed! 2025-01-14 08:40:30,352 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04165576:ctest-vn-57641245 is 146.60.21.1 and allocation pool is NOT set 2025-01-14 08:40:32,409 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.875/3.346/1.471 ms') 2025-01-14 08:40:32,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04165576-13127861 passed 2025-01-14 08:40:32,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:40:32,520 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04165576-13127861, IP 146.60.21.3, Port 22 2025-01-14 08:40:32,679 - DEBUG - VM ctest-TestRoutersBasic-04165576-13127861 is ready for SSH connections 2025-01-14 08:40:32,679 - INFO - Waiting for VM ctest-TestRoutersBasic-04165576-48541279 to be up.. 2025-01-14 08:40:32,760 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:40:32,760 - INFO - VM name : ctest-TestRoutersBasic-04165576-48541279 2025-01-14 08:40:32,848 - DEBUG - VM ctest-TestRoutersBasic-04165576-48541279 ID is 633b0701-f7de-4bbc-8f9f-8afacae086e8 2025-01-14 08:40:32,848 - DEBUG - VM ctest-TestRoutersBasic-04165576-48541279 launched on Node cn-jenkins-deploy-platform-ansible-os-2622-1 2025-01-14 08:40:32,937 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/633b0701-f7de-4bbc-8f9f-8afacae086e8 2025-01-14 08:40:32,951 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/5e8c5f9b-067f-483f-9d78-6daf0c3885a0 2025-01-14 08:40:34,196 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.188/3.969/1.781 ms') 2025-01-14 08:40:34,197 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04165576-48541279 passed 2025-01-14 08:40:34,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:40:34,348 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04165576-48541279, IP 149.212.224.131, Port 22 2025-01-14 08:40:34,503 - DEBUG - VM ctest-TestRoutersBasic-04165576-48541279 is ready for SSH connections 2025-01-14 08:40:34,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:40:34,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.212.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-14 08:40:34,503 - DEBUG - ping -s 56 -c 3 -W 1 149.212.224.131 2025-01-14 08:40:38,512 - DEBUG - PING 149.212.224.131 (149.212.224.131): 56 data bytes 64 bytes from 149.212.224.131: seq=0 ttl=62 time=7.560 ms 64 bytes from 149.212.224.131: seq=1 ttl=62 time=0.899 ms 64 bytes from 149.212.224.131: seq=2 ttl=62 time=0.843 ms --- 149.212.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/3.100/7.560 ms 2025-01-14 08:40:38,512 - INFO - Ping to IP 149.212.224.131 from VM ctest-TestRoutersBasic-04165576-13127861 passed 2025-01-14 08:40:38,512 - INFO - Deleting interface with subnet_id d7458d6a-bcf1-414d-95e0-3078b7204719, port_id None from router 7843d49e-8471-4000-8a3a-eedf0a422bf2 2025-01-14 08:40:38,750 - INFO - Deleting VM ctest-TestRoutersBasic-04165576-48541279 2025-01-14 08:40:38,822 - INFO - Deleting VM ctest-TestRoutersBasic-04165576-13127861 2025-01-14 08:40:38,892 - INFO - Deleting VN ctest-ext_vn-53021091 2025-01-14 08:40:38,965 - DEBUG - VN dd2f8dc5-83a2-4a75-8f63-8b939841ea55 still in use: Unable to complete operation on network dd2f8dc5-83a2-4a75-8f63-8b939841ea55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e37ffef-7ef9-4581-bf46-0bf69a3ad48f'] 2025-01-14 08:40:38,965 - WARNING - Deleting VN ctest-ext_vn-53021091 failed..Will retry 2025-01-14 08:40:41,075 - DEBUG - Response for deleting network () 2025-01-14 08:40:41,075 - INFO - Deleting VN ctest-vn-57641245 2025-01-14 08:40:41,195 - DEBUG - Response for deleting network () 2025-01-14 08:40:41,449 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 08:40:41,449 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 08:40:41,449 - INFO - -------------------------------------------------------------------------------- 2025-01-14 08:40:42,140 - INFO - Deleted project: ctest-TestRoutersBasic-04165576, ID : d53a3b01-be5c-45a1-b388-285055cf9e5a