2025-04-17 20:16:43,199 - INFO - Reading existing Domain with UUID 9a0acbb4-613c-434e-b7f2-08d2943577cb 2025-04-17 20:16:43,211 - INFO - Using existing domain ['admin_domain'](9a0acbb4-613c-434e-b7f2-08d2943577cb) 2025-04-17 20:16:43,404 - INFO - Project ctest-TestRoutersBasic-56158368 not found, creating it 2025-04-17 20:16:43,934 - INFO - Created Project:ctest-TestRoutersBasic-56158368, ID : bff95f0e-7cdf-4365-b68b-00ad1dd1439f 2025-04-17 20:16:45,698 - INFO - ================================================================================ 2025-04-17 20:16:45,698 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-17 20:16:45,698 - 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-04-17 20:16:46,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with 2025-04-17 20:16:46,085 - INFO - Initial checks done. Running the testcase now 2025-04-17 20:16:46,085 - INFO - 2025-04-17 20:16:46,922 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56158368 2025-04-17 20:16:47,024 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56158368 2025-04-17 20:16:47,347 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-56158368', 'default']} 2025-04-17 20:16:47,856 - DEBUG - Response for create_network : {'network': {'id': '8fc476aa-c377-42a4-b2dd-e45d2221dc1c', 'name': 'ctest-vn-00506879', 'tenant_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'project_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-56158368', 'ctest-vn-00506879'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-17 20:16:48,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '1bf039b7-f518-44b6-819f-e35cba785868', 'name': '', 'tenant_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'network_id': '8fc476aa-c377-42a4-b2dd-e45d2221dc1c', 'ip_version': 4, 'cidr': '12.114.47.64/26', 'allocation_pools': [{'start': '12.114.47.66', 'end': '12.114.47.126'}], 'gateway_ip': '12.114.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-17T20:16:47.977971', 'updated_at': '2025-04-17T20:16:47.977971', 'dns_server_address': '12.114.47.66', 'tags': [], 'project_id': 'bff95f0e7cdf4365b68b00ad1dd1439f'}} 2025-04-17 20:16:48,138 - INFO - Created VN ctest-vn-00506879 2025-04-17 20:16:48,196 - DEBUG - VN ctest-vn-00506879 UUID is 8fc476aa-c377-42a4-b2dd-e45d2221dc1c 2025-04-17 20:16:48,737 - DEBUG - Response for create_network : {'network': {'id': '8f2fb84f-b845-4df2-8c2f-6c02a2995a17', 'name': 'ctest-ext_vn-73124416', 'tenant_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'project_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-56158368', 'ctest-ext_vn-73124416'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-17 20:16:48,944 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b1b7d23-93f1-4c5f-8d33-03ff82ecab71', 'name': '', 'tenant_id': 'bff95f0e7cdf4365b68b00ad1dd1439f', 'network_id': '8f2fb84f-b845-4df2-8c2f-6c02a2995a17', 'ip_version': 4, 'cidr': '214.13.134.128/26', 'allocation_pools': [{'start': '214.13.134.130', 'end': '214.13.134.190'}], 'gateway_ip': '214.13.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-17T20:16:48.847490', 'updated_at': '2025-04-17T20:16:48.847490', 'dns_server_address': '214.13.134.130', 'tags': [], 'project_id': 'bff95f0e7cdf4365b68b00ad1dd1439f'}} 2025-04-17 20:16:49,010 - INFO - Created VN ctest-ext_vn-73124416 2025-04-17 20:16:49,064 - DEBUG - VN ctest-ext_vn-73124416 UUID is 8f2fb84f-b845-4df2-8c2f-6c02a2995a17 2025-04-17 20:16:49,328 - DEBUG - Services list from nova: [, , ] 2025-04-17 20:16:50,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-522-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-522-1) 2025-04-17 20:16:51,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-522-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-522-1) 2025-04-17 20:16:51,740 - INFO - Setting gateway for router f24ec029-6551-4963-876e-8cbf7d85e5b7 to network 8f2fb84f-b845-4df2-8c2f-6c02a2995a17 2025-04-17 20:16:51,896 - INFO - Adding interface with subnet_id 1bf039b7-f518-44b6-819f-e35cba785868, port_id None to router f24ec029-6551-4963-876e-8cbf7d85e5b7 2025-04-17 20:16:52,522 - INFO - Waiting for VM ctest-TestRoutersBasic-56158368-38016851 to be up.. 2025-04-17 20:16:52,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 20:16:57,807 - DEBUG - VM is in ACTIVE state now 2025-04-17 20:16:57,807 - INFO - VM name : ctest-TestRoutersBasic-56158368-38016851 2025-04-17 20:16:57,944 - DEBUG - VM ctest-TestRoutersBasic-56158368-38016851 ID is af8d553c-a658-4c52-8da9-f1d18f8d5228 2025-04-17 20:16:57,968 - DEBUG - VM ctest-TestRoutersBasic-56158368-38016851 launched on Node cn-jenkins-deploy-platform-juju-os-522-1 2025-04-17 20:16:58,110 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/af8d553c-a658-4c52-8da9-f1d18f8d5228 2025-04-17 20:16:58,455 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/af8d553c-a658-4c52-8da9-f1d18f8d5228 2025-04-17 20:16:58,545 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/db2968e7-6caa-4ca7-9bea-afef440fc141 2025-04-17 20:17:02,029 - 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 1019ms') 2025-04-17 20:17:02,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56158368-38016851 failed! 2025-04-17 20:17:02,088 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-56158368:ctest-vn-00506879 is 12.114.47.65 and allocation pool is NOT set 2025-04-17 20:17:04,171 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/2.364/4.284/1.919 ms') 2025-04-17 20:17:04,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56158368-38016851 passed 2025-04-17 20:17:04,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:17:04,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56158368-38016851, IP 12.114.47.67, Port 22 2025-04-17 20:17:04,541 - DEBUG - VM ctest-TestRoutersBasic-56158368-38016851 is ready for SSH connections 2025-04-17 20:17:04,541 - INFO - Waiting for VM ctest-TestRoutersBasic-56158368-69051110 to be up.. 2025-04-17 20:17:04,677 - DEBUG - VM is in ACTIVE state now 2025-04-17 20:17:04,677 - INFO - VM name : ctest-TestRoutersBasic-56158368-69051110 2025-04-17 20:17:04,814 - DEBUG - VM ctest-TestRoutersBasic-56158368-69051110 ID is f6c5e6d2-0db0-4b67-a749-48a2e39dbfa6 2025-04-17 20:17:04,814 - DEBUG - VM ctest-TestRoutersBasic-56158368-69051110 launched on Node cn-jenkins-deploy-platform-juju-os-522-1 2025-04-17 20:17:04,947 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine/f6c5e6d2-0db0-4b67-a749-48a2e39dbfa6 2025-04-17 20:17:05,001 - DEBUG - Requesting: https://10.0.0.49:8082/virtual-machine-interface/27e9e1e7-ed2f-4a43-9321-77cdbc4c64c3 2025-04-17 20:17:06,453 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.396/1.638/2.881/1.242 ms') 2025-04-17 20:17:06,454 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56158368-69051110 passed 2025-04-17 20:17:06,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:17:06,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56158368-69051110, IP 214.13.134.131, Port 22 2025-04-17 20:17:06,838 - DEBUG - VM ctest-TestRoutersBasic-56158368-69051110 is ready for SSH connections 2025-04-17 20:17:06,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 20:17:06,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.13.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-04-17 20:17:06,838 - DEBUG - ping -s 56 -c 3 -W 1 214.13.134.131 2025-04-17 20:17:10,489 - DEBUG - PING 214.13.134.131 (214.13.134.131): 56 data bytes 64 bytes from 214.13.134.131: seq=0 ttl=62 time=6.814 ms 64 bytes from 214.13.134.131: seq=1 ttl=62 time=1.024 ms 64 bytes from 214.13.134.131: seq=2 ttl=62 time=0.972 ms --- 214.13.134.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.936/6.814 ms 2025-04-17 20:17:10,489 - INFO - Ping to IP 214.13.134.131 from VM ctest-TestRoutersBasic-56158368-38016851 passed 2025-04-17 20:17:10,489 - INFO - Deleting interface with subnet_id 1bf039b7-f518-44b6-819f-e35cba785868, port_id None from router f24ec029-6551-4963-876e-8cbf7d85e5b7 2025-04-17 20:17:11,102 - INFO - Deleting VM ctest-TestRoutersBasic-56158368-69051110 2025-04-17 20:17:11,199 - INFO - Deleting VM ctest-TestRoutersBasic-56158368-38016851 2025-04-17 20:17:11,303 - INFO - Deleting VN ctest-ext_vn-73124416 2025-04-17 20:17:11,479 - DEBUG - VN 8f2fb84f-b845-4df2-8c2f-6c02a2995a17 still in use: Unable to complete operation on network 8f2fb84f-b845-4df2-8c2f-6c02a2995a17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d60eff83-74af-4da7-adf1-7ec067f99c8d'] 2025-04-17 20:17:11,479 - WARNING - Deleting VN ctest-ext_vn-73124416 failed..Will retry 2025-04-17 20:17:13,877 - DEBUG - Response for deleting network () 2025-04-17 20:17:13,877 - INFO - Deleting VN ctest-vn-00506879 2025-04-17 20:17:14,063 - DEBUG - Response for deleting network () 2025-04-17 20:17:14,445 - DEBUG - No XMPP flaps were noticed during the test
2025-04-17 20:17:14,445 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-04-17 20:17:14,445 - INFO - -------------------------------------------------------------------------------- 2025-04-17 20:17:15,190 - INFO - Deleted project: ctest-TestRoutersBasic-56158368, ID : bff95f0e-7cdf-4365-b68b-00ad1dd1439f