2025-01-14 08:36:17,520 - INFO - Domain Default found not creating 2025-01-14 08:36:17,679 - INFO - Project ctest-TestRoutersBasic-91415429 not found, creating it 2025-01-14 08:36:18,174 - INFO - Created Project:ctest-TestRoutersBasic-91415429, ID : 6f69cb81-bc02-4cee-95e4-29b93a067e02 2025-01-14 08:36:19,667 - INFO - ================================================================================ 2025-01-14 08:36:19,667 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 08:36:19,667 - 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:36:19,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-01-14 08:36:19,923 - INFO - Initial checks done. Running the testcase now 2025-01-14 08:36:19,923 - INFO - 2025-01-14 08:36:20,647 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91415429 2025-01-14 08:36:20,745 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91415429 2025-01-14 08:36:21,069 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91415429', 'default']} 2025-01-14 08:36:21,378 - DEBUG - Response for create_network : {'network': {'id': 'c87be189-41d2-4110-99f3-d8c3da5b8f25', 'name': 'ctest-vn-51192604', 'tenant_id': '6f69cb81bc024cee95e429b93a067e02', 'project_id': '6f69cb81bc024cee95e429b93a067e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91415429', 'ctest-vn-51192604'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:36:21,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '9815640e-29d7-40f7-a79e-88fb74d11b46', 'name': '', 'tenant_id': '6f69cb81bc024cee95e429b93a067e02', 'network_id': 'c87be189-41d2-4110-99f3-d8c3da5b8f25', 'ip_version': 4, 'cidr': '160.186.224.64/26', 'allocation_pools': [{'start': '160.186.224.66', 'end': '160.186.224.126'}], 'gateway_ip': '160.186.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.186.224.66', 'tags': [], 'project_id': '6f69cb81bc024cee95e429b93a067e02'}} 2025-01-14 08:36:21,583 - INFO - Created VN ctest-vn-51192604 2025-01-14 08:36:21,637 - DEBUG - VN ctest-vn-51192604 UUID is c87be189-41d2-4110-99f3-d8c3da5b8f25 2025-01-14 08:36:21,970 - DEBUG - Response for create_network : {'network': {'id': 'f387daf1-4b6f-4b2b-984e-f0316b71ec76', 'name': 'ctest-ext_vn-97502822', 'tenant_id': '6f69cb81bc024cee95e429b93a067e02', 'project_id': '6f69cb81bc024cee95e429b93a067e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91415429', 'ctest-ext_vn-97502822'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:36:22,145 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6ee726f-c46f-458d-b9a2-ae7693efd693', 'name': '', 'tenant_id': '6f69cb81bc024cee95e429b93a067e02', 'network_id': 'f387daf1-4b6f-4b2b-984e-f0316b71ec76', 'ip_version': 4, 'cidr': '169.133.192.128/26', 'allocation_pools': [{'start': '169.133.192.130', 'end': '169.133.192.190'}], 'gateway_ip': '169.133.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.133.192.130', 'tags': [], 'project_id': '6f69cb81bc024cee95e429b93a067e02'}} 2025-01-14 08:36:22,165 - INFO - Created VN ctest-ext_vn-97502822 2025-01-14 08:36:22,217 - DEBUG - VN ctest-ext_vn-97502822 UUID is f387daf1-4b6f-4b2b-984e-f0316b71ec76 2025-01-14 08:36:22,399 - DEBUG - Services list from nova: [, , ] 2025-01-14 08:36:23,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2621-1) 2025-01-14 08:36:24,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2621-1) 2025-01-14 08:36:24,723 - INFO - Setting gateway for router 04103850-f929-43cc-bdb4-7b0e1c230d92 to network f387daf1-4b6f-4b2b-984e-f0316b71ec76 2025-01-14 08:36:24,794 - INFO - Adding interface with subnet_id 9815640e-29d7-40f7-a79e-88fb74d11b46, port_id None to router 04103850-f929-43cc-bdb4-7b0e1c230d92 2025-01-14 08:36:25,191 - INFO - Waiting for VM ctest-TestRoutersBasic-91415429-54903269 to be up.. 2025-01-14 08:36:25,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 08:36:30,490 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:36:30,491 - INFO - VM name : ctest-TestRoutersBasic-91415429-54903269 2025-01-14 08:36:30,573 - DEBUG - VM ctest-TestRoutersBasic-91415429-54903269 ID is e5d96812-a640-423e-bda3-60ae6156f9ed 2025-01-14 08:36:30,603 - DEBUG - VM ctest-TestRoutersBasic-91415429-54903269 launched on Node cn-jenkins-deploy-platform-ansible-os-2621-1 2025-01-14 08:36:30,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5d96812-a640-423e-bda3-60ae6156f9ed 2025-01-14 08:36:30,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e5d96812-a640-423e-bda3-60ae6156f9ed 2025-01-14 08:36:31,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/faa4f5de-afd8-4a5d-aa0f-aa36f641002c 2025-01-14 08:36:34,299 - 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:36:34,300 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91415429-54903269 failed! 2025-01-14 08:36:34,357 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91415429:ctest-vn-51192604 is 160.186.224.65 and allocation pool is NOT set 2025-01-14 08:36:36,414 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/2.030/3.585/1.555 ms') 2025-01-14 08:36:36,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91415429-54903269 passed 2025-01-14 08:36:36,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:36:36,574 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91415429-54903269, IP 160.186.224.67, Port 22 2025-01-14 08:36:36,749 - DEBUG - VM ctest-TestRoutersBasic-91415429-54903269 is ready for SSH connections 2025-01-14 08:36:36,749 - INFO - Waiting for VM ctest-TestRoutersBasic-91415429-45953426 to be up.. 2025-01-14 08:36:36,831 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:36:36,831 - INFO - VM name : ctest-TestRoutersBasic-91415429-45953426 2025-01-14 08:36:36,908 - DEBUG - VM ctest-TestRoutersBasic-91415429-45953426 ID is bc37f850-4bc0-4117-a6cb-412097d51176 2025-01-14 08:36:36,908 - DEBUG - VM ctest-TestRoutersBasic-91415429-45953426 launched on Node cn-jenkins-deploy-platform-ansible-os-2621-1 2025-01-14 08:36:36,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bc37f850-4bc0-4117-a6cb-412097d51176 2025-01-14 08:36:36,995 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47d97e53-dbe2-431e-8a5a-a9f08576803c 2025-01-14 08:36:38,238 - 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=4.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/2.374/4.381/2.006 ms') 2025-01-14 08:36:38,238 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91415429-45953426 passed 2025-01-14 08:36:38,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:36:38,398 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91415429-45953426, IP 169.133.192.131, Port 22 2025-01-14 08:36:38,560 - DEBUG - VM ctest-TestRoutersBasic-91415429-45953426 is ready for SSH connections 2025-01-14 08:36:38,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:36:38,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.133.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-01-14 08:36:38,561 - DEBUG - ping -s 56 -c 3 -W 1 169.133.192.131 2025-01-14 08:36:42,561 - DEBUG - PING 169.133.192.131 (169.133.192.131): 56 data bytes 64 bytes from 169.133.192.131: seq=0 ttl=62 time=4.850 ms 64 bytes from 169.133.192.131: seq=1 ttl=62 time=0.869 ms 64 bytes from 169.133.192.131: seq=2 ttl=62 time=1.175 ms --- 169.133.192.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.298/4.850 ms 2025-01-14 08:36:42,561 - INFO - Ping to IP 169.133.192.131 from VM ctest-TestRoutersBasic-91415429-54903269 passed 2025-01-14 08:36:42,561 - INFO - Deleting interface with subnet_id 9815640e-29d7-40f7-a79e-88fb74d11b46, port_id None from router 04103850-f929-43cc-bdb4-7b0e1c230d92 2025-01-14 08:36:42,764 - INFO - Deleting VM ctest-TestRoutersBasic-91415429-45953426 2025-01-14 08:36:42,831 - INFO - Deleting VM ctest-TestRoutersBasic-91415429-54903269 2025-01-14 08:36:42,903 - INFO - Deleting VN ctest-ext_vn-97502822 2025-01-14 08:36:42,979 - DEBUG - VN f387daf1-4b6f-4b2b-984e-f0316b71ec76 still in use: Unable to complete operation on network f387daf1-4b6f-4b2b-984e-f0316b71ec76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2502efa7-36a6-4095-b055-d16bbe18f37e'] 2025-01-14 08:36:42,979 - WARNING - Deleting VN ctest-ext_vn-97502822 failed..Will retry 2025-01-14 08:36:45,090 - DEBUG - Response for deleting network () 2025-01-14 08:36:45,090 - INFO - Deleting VN ctest-vn-51192604 2025-01-14 08:36:45,206 - DEBUG - Response for deleting network () 2025-01-14 08:36:45,459 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 08:36:45,459 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-14 08:36:45,459 - INFO - -------------------------------------------------------------------------------- 2025-01-14 08:36:46,146 - INFO - Deleted project: ctest-TestRoutersBasic-91415429, ID : 6f69cb81-bc02-4cee-95e4-29b93a067e02