2025-06-19 20:25:36,339 - INFO - Domain Default found not creating 2025-06-19 20:25:36,476 - INFO - Project ctest-TestRoutersBasic-37681815 not found, creating it 2025-06-19 20:25:36,918 - INFO - Created Project:ctest-TestRoutersBasic-37681815, ID : b124531b-ff57-44d5-a08d-59ebae3e7e51 2025-06-19 20:25:38,327 - INFO - ================================================================================ 2025-06-19 20:25:38,327 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 20:25:38,327 - 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-06-19 20:25:38,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-19 20:25:38,587 - INFO - Initial checks done. Running the testcase now 2025-06-19 20:25:38,587 - INFO - 2025-06-19 20:25:39,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37681815 2025-06-19 20:25:39,405 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37681815 2025-06-19 20:25:39,729 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37681815', 'default']} 2025-06-19 20:25:40,025 - DEBUG - Response for create_network : {'network': {'id': 'b9fcc9f5-85e8-4495-a24b-cb4c6f57b776', 'name': 'ctest-vn-93080917', 'tenant_id': 'b124531bff5744d5a08d59ebae3e7e51', 'project_id': 'b124531bff5744d5a08d59ebae3e7e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37681815', 'ctest-vn-93080917'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:25:40,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e5e2ff-3099-444a-b791-c8698118c5bc', 'name': '', 'tenant_id': 'b124531bff5744d5a08d59ebae3e7e51', 'network_id': 'b9fcc9f5-85e8-4495-a24b-cb4c6f57b776', 'ip_version': 4, 'cidr': '35.200.169.192/26', 'allocation_pools': [{'start': '35.200.169.194', 'end': '35.200.169.254'}], 'gateway_ip': '35.200.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.200.169.194', 'tags': [], 'project_id': 'b124531bff5744d5a08d59ebae3e7e51'}} 2025-06-19 20:25:40,248 - INFO - Created VN ctest-vn-93080917 2025-06-19 20:25:40,301 - DEBUG - VN ctest-vn-93080917 UUID is b9fcc9f5-85e8-4495-a24b-cb4c6f57b776 2025-06-19 20:25:40,662 - DEBUG - Response for create_network : {'network': {'id': '9e2dfb04-8665-448c-b46a-341aa37d96eb', 'name': 'ctest-ext_vn-81151747', 'tenant_id': 'b124531bff5744d5a08d59ebae3e7e51', 'project_id': 'b124531bff5744d5a08d59ebae3e7e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37681815', 'ctest-ext_vn-81151747'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:25:40,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '21f2a8e0-d8e9-43e9-9c9d-d4ccce7996b8', 'name': '', 'tenant_id': 'b124531bff5744d5a08d59ebae3e7e51', 'network_id': '9e2dfb04-8665-448c-b46a-341aa37d96eb', 'ip_version': 4, 'cidr': '53.246.164.192/26', 'allocation_pools': [{'start': '53.246.164.194', 'end': '53.246.164.254'}], 'gateway_ip': '53.246.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.246.164.194', 'tags': [], 'project_id': 'b124531bff5744d5a08d59ebae3e7e51'}} 2025-06-19 20:25:40,850 - INFO - Created VN ctest-ext_vn-81151747 2025-06-19 20:25:40,901 - DEBUG - VN ctest-ext_vn-81151747 UUID is 9e2dfb04-8665-448c-b46a-341aa37d96eb 2025-06-19 20:25:41,081 - DEBUG - Services list from nova: [, , ] 2025-06-19 20:25:42,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3499-1) 2025-06-19 20:25:43,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3499-1) 2025-06-19 20:25:43,424 - INFO - Setting gateway for router 85b22687-cdfe-4776-b085-39defd30da27 to network 9e2dfb04-8665-448c-b46a-341aa37d96eb 2025-06-19 20:25:43,488 - INFO - Adding interface with subnet_id 36e5e2ff-3099-444a-b791-c8698118c5bc, port_id None to router 85b22687-cdfe-4776-b085-39defd30da27 2025-06-19 20:25:43,940 - INFO - Waiting for VM ctest-TestRoutersBasic-37681815-42815707 to be up.. 2025-06-19 20:25:44,035 - DEBUG - VM is in ACTIVE state now 2025-06-19 20:25:44,035 - INFO - VM name : ctest-TestRoutersBasic-37681815-42815707 2025-06-19 20:25:44,206 - DEBUG - VM ctest-TestRoutersBasic-37681815-42815707 ID is f1859446-9754-4944-aa56-404bc35f414c 2025-06-19 20:25:44,241 - DEBUG - VM ctest-TestRoutersBasic-37681815-42815707 launched on Node cn-jenkins-deploy-platform-ansible-os-3499-1 2025-06-19 20:25:44,367 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f1859446-9754-4944-aa56-404bc35f414c 2025-06-19 20:25:44,695 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f1859446-9754-4944-aa56-404bc35f414c 2025-06-19 20:25:44,743 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b6ab04af-f429-43b1-a68b-511617188b1f 2025-06-19 20:25:48,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 1011ms') 2025-06-19 20:25:48,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37681815-42815707 failed! 2025-06-19 20:25:48,085 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37681815:ctest-vn-93080917 is 35.200.169.193 and allocation pool is NOT set 2025-06-19 20:25:52,156 - 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 1011ms') 2025-06-19 20:25:52,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37681815-42815707 failed! 2025-06-19 20:25:52,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37681815:ctest-vn-93080917 is 35.200.169.193 and allocation pool is NOT set 2025-06-19 20:25:54,235 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.818 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.818/2.411/4.004/1.593 ms') 2025-06-19 20:25:54,235 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37681815-42815707 passed 2025-06-19 20:25:54,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:25:54,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37681815-42815707, IP 35.200.169.195, Port 22 2025-06-19 20:25:54,537 - DEBUG - VM ctest-TestRoutersBasic-37681815-42815707 is ready for SSH connections 2025-06-19 20:25:54,537 - INFO - Waiting for VM ctest-TestRoutersBasic-37681815-63053804 to be up.. 2025-06-19 20:25:54,619 - DEBUG - VM is in ACTIVE state now 2025-06-19 20:25:54,619 - INFO - VM name : ctest-TestRoutersBasic-37681815-63053804 2025-06-19 20:25:54,692 - DEBUG - VM ctest-TestRoutersBasic-37681815-63053804 ID is 3f54bc32-3883-4814-bbd6-04309ba627aa 2025-06-19 20:25:54,692 - DEBUG - VM ctest-TestRoutersBasic-37681815-63053804 launched on Node cn-jenkins-deploy-platform-ansible-os-3499-1 2025-06-19 20:25:54,761 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3f54bc32-3883-4814-bbd6-04309ba627aa 2025-06-19 20:25:54,771 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/91ae0de7-8888-4394-934d-870eedb8ec19 2025-06-19 20:25:56,015 - 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=8.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.88 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 = 1.876/5.153/8.430/3.277 ms') 2025-06-19 20:25:56,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37681815-63053804 passed 2025-06-19 20:25:56,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:25:56,165 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37681815-63053804, IP 53.246.164.195, Port 22 2025-06-19 20:25:56,325 - DEBUG - VM ctest-TestRoutersBasic-37681815-63053804 is ready for SSH connections 2025-06-19 20:25:56,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:25:56,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.246.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 20:25:56,326 - DEBUG - ping -s 56 -c 3 -W 1 53.246.164.195 2025-06-19 20:26:00,004 - DEBUG - PING 53.246.164.195 (53.246.164.195): 56 data bytes 64 bytes from 53.246.164.195: seq=0 ttl=62 time=8.483 ms 64 bytes from 53.246.164.195: seq=1 ttl=62 time=0.965 ms 64 bytes from 53.246.164.195: seq=2 ttl=62 time=0.928 ms --- 53.246.164.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/3.458/8.483 ms 2025-06-19 20:26:00,004 - INFO - Ping to IP 53.246.164.195 from VM ctest-TestRoutersBasic-37681815-42815707 passed 2025-06-19 20:26:00,004 - INFO - Deleting interface with subnet_id 36e5e2ff-3099-444a-b791-c8698118c5bc, port_id None from router 85b22687-cdfe-4776-b085-39defd30da27 2025-06-19 20:26:00,237 - INFO - Deleting VM ctest-TestRoutersBasic-37681815-63053804 2025-06-19 20:26:00,315 - INFO - Deleting VM ctest-TestRoutersBasic-37681815-42815707 2025-06-19 20:26:00,405 - INFO - Deleting VN ctest-ext_vn-81151747 2025-06-19 20:26:00,476 - DEBUG - VN 9e2dfb04-8665-448c-b46a-341aa37d96eb still in use: Unable to complete operation on network 9e2dfb04-8665-448c-b46a-341aa37d96eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2abfa55c-685d-4269-a706-3823e96633dc'] 2025-06-19 20:26:00,476 - WARNING - Deleting VN ctest-ext_vn-81151747 failed..Will retry 2025-06-19 20:26:02,569 - DEBUG - Response for deleting network () 2025-06-19 20:26:02,569 - INFO - Deleting VN ctest-vn-93080917 2025-06-19 20:26:02,670 - DEBUG - Response for deleting network () 2025-06-19 20:26:02,927 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 20:26:02,927 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-06-19 20:26:02,927 - INFO - -------------------------------------------------------------------------------- 2025-06-19 20:26:03,586 - INFO - Deleted project: ctest-TestRoutersBasic-37681815, ID : b124531b-ff57-44d5-a08d-59ebae3e7e51