2025-05-22 02:01:09,681 - INFO - Domain Default found not creating 2025-05-22 02:01:09,816 - INFO - Project ctest-TestRoutersBasic-47847772 not found, creating it 2025-05-22 02:01:10,260 - INFO - Created Project:ctest-TestRoutersBasic-47847772, ID : bfce86c1-b8df-4fc1-bb69-1b1c7f176d98 2025-05-22 02:01:11,633 - INFO - ================================================================================ 2025-05-22 02:01:11,633 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-22 02:01:11,633 - 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-05-22 02:01:11,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.192': '0'}} with 2025-05-22 02:01:11,906 - INFO - Initial checks done. Running the testcase now 2025-05-22 02:01:11,906 - INFO - 2025-05-22 02:01:12,590 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47847772 2025-05-22 02:01:12,684 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47847772 2025-05-22 02:01:13,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47847772', 'default']} 2025-05-22 02:01:13,439 - DEBUG - Response for create_network : {'network': {'id': '53a31384-4942-428d-9831-fac32263d99d', 'name': 'ctest-vn-87541076', 'tenant_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'project_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47847772', 'ctest-vn-87541076'], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:13,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '71771c2e-a03a-4273-a02e-2165b1f5b485', 'name': '', 'tenant_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'network_id': '53a31384-4942-428d-9831-fac32263d99d', 'ip_version': 4, 'cidr': '116.253.173.192/26', 'allocation_pools': [{'start': '116.253.173.194', 'end': '116.253.173.254'}], 'gateway_ip': '116.253.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.253.173.194', 'tags': [], 'project_id': 'bfce86c1b8df4fc1bb691b1c7f176d98'}} 2025-05-22 02:01:13,685 - INFO - Created VN ctest-vn-87541076 2025-05-22 02:01:13,740 - DEBUG - VN ctest-vn-87541076 UUID is 53a31384-4942-428d-9831-fac32263d99d 2025-05-22 02:01:14,052 - DEBUG - Response for create_network : {'network': {'id': '9a60c839-555e-40b0-a591-739bd510e4c8', 'name': 'ctest-ext_vn-72862335', 'tenant_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'project_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47847772', 'ctest-ext_vn-72862335'], 'port_security_enabled': True, 'description': ''}} 2025-05-22 02:01:14,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '295face0-d3b2-41af-abd1-1235ecc044cf', 'name': '', 'tenant_id': 'bfce86c1b8df4fc1bb691b1c7f176d98', 'network_id': '9a60c839-555e-40b0-a591-739bd510e4c8', 'ip_version': 4, 'cidr': '95.86.234.192/26', 'allocation_pools': [{'start': '95.86.234.194', 'end': '95.86.234.254'}], 'gateway_ip': '95.86.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.86.234.194', 'tags': [], 'project_id': 'bfce86c1b8df4fc1bb691b1c7f176d98'}} 2025-05-22 02:01:14,251 - INFO - Created VN ctest-ext_vn-72862335 2025-05-22 02:01:14,304 - DEBUG - VN ctest-ext_vn-72862335 UUID is 9a60c839-555e-40b0-a591-739bd510e4c8 2025-05-22 02:01:14,506 - DEBUG - Services list from nova: [, , ] 2025-05-22 02:01:15,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3332-1) 2025-05-22 02:01:16,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3332-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3332-1) 2025-05-22 02:01:16,660 - INFO - Setting gateway for router 4440ea4f-7642-4ab0-8ba8-22eba74a51c8 to network 9a60c839-555e-40b0-a591-739bd510e4c8 2025-05-22 02:01:16,740 - INFO - Adding interface with subnet_id 71771c2e-a03a-4273-a02e-2165b1f5b485, port_id None to router 4440ea4f-7642-4ab0-8ba8-22eba74a51c8 2025-05-22 02:01:17,196 - INFO - Waiting for VM ctest-TestRoutersBasic-47847772-93991180 to be up.. 2025-05-22 02:01:17,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-22 02:01:22,432 - DEBUG - VM is in ACTIVE state now 2025-05-22 02:01:22,433 - INFO - VM name : ctest-TestRoutersBasic-47847772-93991180 2025-05-22 02:01:22,504 - DEBUG - VM ctest-TestRoutersBasic-47847772-93991180 ID is f1f0063e-dfc0-4812-8dc0-59413620fc6a 2025-05-22 02:01:22,527 - DEBUG - VM ctest-TestRoutersBasic-47847772-93991180 launched on Node cn-jenkins-deploy-platform-ansible-os-3332-1 2025-05-22 02:01:22,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f1f0063e-dfc0-4812-8dc0-59413620fc6a 2025-05-22 02:01:22,898 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f1f0063e-dfc0-4812-8dc0-59413620fc6a 2025-05-22 02:01:22,931 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/79168fb6-1b82-4ee9-bb35-d26837ab3b8a 2025-05-22 02:01:26,194 - 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 1006ms') 2025-05-22 02:01:26,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47847772-93991180 failed! 2025-05-22 02:01:26,248 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47847772:ctest-vn-87541076 is 116.253.173.193 and allocation pool is NOT set 2025-05-22 02:01:28,310 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/1.568/2.645/1.077 ms') 2025-05-22 02:01:28,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47847772-93991180 passed 2025-05-22 02:01:28,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:01:28,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47847772-93991180, IP 116.253.173.195, Port 22 2025-05-22 02:01:28,615 - DEBUG - VM ctest-TestRoutersBasic-47847772-93991180 is ready for SSH connections 2025-05-22 02:01:28,615 - INFO - Waiting for VM ctest-TestRoutersBasic-47847772-63444444 to be up.. 2025-05-22 02:01:28,690 - DEBUG - VM is in ACTIVE state now 2025-05-22 02:01:28,690 - INFO - VM name : ctest-TestRoutersBasic-47847772-63444444 2025-05-22 02:01:28,759 - DEBUG - VM ctest-TestRoutersBasic-47847772-63444444 ID is 6cd5824a-7834-46a4-9872-d6dd22ad79e4 2025-05-22 02:01:28,759 - DEBUG - VM ctest-TestRoutersBasic-47847772-63444444 launched on Node cn-jenkins-deploy-platform-ansible-os-3332-1 2025-05-22 02:01:28,831 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6cd5824a-7834-46a4-9872-d6dd22ad79e4 2025-05-22 02:01:28,839 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/dff23836-9a66-42a9-9b40-661492766ee7 2025-05-22 02:01:30,081 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.441/1.714/2.988/1.273 ms') 2025-05-22 02:01:30,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47847772-63444444 passed 2025-05-22 02:01:30,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:01:30,240 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47847772-63444444, IP 95.86.234.195, Port 22 2025-05-22 02:01:30,392 - DEBUG - VM ctest-TestRoutersBasic-47847772-63444444 is ready for SSH connections 2025-05-22 02:01:30,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-22 02:01:30,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.86.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-05-22 02:01:30,392 - DEBUG - ping -s 56 -c 3 -W 1 95.86.234.195 2025-05-22 02:01:34,073 - DEBUG - PING 95.86.234.195 (95.86.234.195): 56 data bytes 64 bytes from 95.86.234.195: seq=0 ttl=62 time=6.017 ms 64 bytes from 95.86.234.195: seq=1 ttl=62 time=0.850 ms 64 bytes from 95.86.234.195: seq=2 ttl=62 time=0.795 ms --- 95.86.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/2.554/6.017 ms 2025-05-22 02:01:34,073 - INFO - Ping to IP 95.86.234.195 from VM ctest-TestRoutersBasic-47847772-93991180 passed 2025-05-22 02:01:34,073 - INFO - Deleting interface with subnet_id 71771c2e-a03a-4273-a02e-2165b1f5b485, port_id None from router 4440ea4f-7642-4ab0-8ba8-22eba74a51c8 2025-05-22 02:01:34,275 - INFO - Deleting VM ctest-TestRoutersBasic-47847772-63444444 2025-05-22 02:01:34,334 - INFO - Deleting VM ctest-TestRoutersBasic-47847772-93991180 2025-05-22 02:01:34,409 - INFO - Deleting VN ctest-ext_vn-72862335 2025-05-22 02:01:34,474 - DEBUG - VN 9a60c839-555e-40b0-a591-739bd510e4c8 still in use: Unable to complete operation on network 9a60c839-555e-40b0-a591-739bd510e4c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3609785-5824-4500-ba1e-3efa8cff2c70'] 2025-05-22 02:01:34,475 - WARNING - Deleting VN ctest-ext_vn-72862335 failed..Will retry 2025-05-22 02:01:36,575 - DEBUG - Response for deleting network () 2025-05-22 02:01:36,575 - INFO - Deleting VN ctest-vn-87541076 2025-05-22 02:01:36,681 - DEBUG - Response for deleting network () 2025-05-22 02:01:36,942 - DEBUG - No XMPP flaps were noticed during the test
2025-05-22 02:01:36,942 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-22 02:01:36,942 - INFO - -------------------------------------------------------------------------------- 2025-05-22 02:01:37,611 - INFO - Deleted project: ctest-TestRoutersBasic-47847772, ID : bfce86c1-b8df-4fc1-bb69-1b1c7f176d98