2025-04-18 14:11:54,346 - INFO - Domain Default found not creating 2025-04-18 14:11:54,567 - INFO - Project ctest-TestRoutersBasic-37726921 not found, creating it 2025-04-18 14:11:55,064 - INFO - Created Project:ctest-TestRoutersBasic-37726921, ID : 88c19d2d-26e8-4046-bc6d-fd927104245b 2025-04-18 14:11:56,761 - INFO - ================================================================================ 2025-04-18 14:11:56,761 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-18 14:11:56,762 - 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-18 14:11:57,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-18 14:11:57,031 - INFO - Initial checks done. Running the testcase now 2025-04-18 14:11:57,031 - INFO - 2025-04-18 14:11:57,833 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37726921 2025-04-18 14:11:57,934 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37726921 2025-04-18 14:11:58,294 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37726921', 'default']} 2025-04-18 14:11:58,646 - DEBUG - Response for create_network : {'network': {'id': '96c24e46-c13e-4459-bab6-65e7f6733c0a', 'name': 'ctest-vn-19282509', 'tenant_id': '88c19d2d26e84046bc6dfd927104245b', 'project_id': '88c19d2d26e84046bc6dfd927104245b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37726921', 'ctest-vn-19282509'], 'port_security_enabled': True, 'description': ''}} 2025-04-18 14:11:58,897 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d144b78-02a6-4aaf-93f5-78f55b20e4ce', 'name': '', 'tenant_id': '88c19d2d26e84046bc6dfd927104245b', 'network_id': '96c24e46-c13e-4459-bab6-65e7f6733c0a', 'ip_version': 4, 'cidr': '201.138.111.0/26', 'allocation_pools': [{'start': '201.138.111.2', 'end': '201.138.111.62'}], 'gateway_ip': '201.138.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.138.111.2', 'tags': [], 'project_id': '88c19d2d26e84046bc6dfd927104245b'}} 2025-04-18 14:11:58,922 - INFO - Created VN ctest-vn-19282509 2025-04-18 14:11:58,978 - DEBUG - VN ctest-vn-19282509 UUID is 96c24e46-c13e-4459-bab6-65e7f6733c0a 2025-04-18 14:11:59,382 - DEBUG - Response for create_network : {'network': {'id': '6f20fad5-5caf-4357-88de-d4aa958b1396', 'name': 'ctest-ext_vn-89576545', 'tenant_id': '88c19d2d26e84046bc6dfd927104245b', 'project_id': '88c19d2d26e84046bc6dfd927104245b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37726921', 'ctest-ext_vn-89576545'], 'port_security_enabled': True, 'description': ''}} 2025-04-18 14:11:59,589 - DEBUG - Response for create_subnet : {'subnet': {'id': '04ab40bc-3d39-4ff7-9bab-d0cead75646f', 'name': '', 'tenant_id': '88c19d2d26e84046bc6dfd927104245b', 'network_id': '6f20fad5-5caf-4357-88de-d4aa958b1396', 'ip_version': 4, 'cidr': '165.245.209.64/26', 'allocation_pools': [{'start': '165.245.209.66', 'end': '165.245.209.126'}], 'gateway_ip': '165.245.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.245.209.66', 'tags': [], 'project_id': '88c19d2d26e84046bc6dfd927104245b'}} 2025-04-18 14:11:59,617 - INFO - Created VN ctest-ext_vn-89576545 2025-04-18 14:11:59,678 - DEBUG - VN ctest-ext_vn-89576545 UUID is 6f20fad5-5caf-4357-88de-d4aa958b1396 2025-04-18 14:11:59,877 - DEBUG - Services list from nova: [, , ] 2025-04-18 14:12:01,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3139-1) 2025-04-18 14:12:02,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3139-1) 2025-04-18 14:12:02,703 - INFO - Setting gateway for router 609796ed-0eb1-47c4-8ead-3c5ef6efba2d to network 6f20fad5-5caf-4357-88de-d4aa958b1396 2025-04-18 14:12:02,805 - INFO - Adding interface with subnet_id 9d144b78-02a6-4aaf-93f5-78f55b20e4ce, port_id None to router 609796ed-0eb1-47c4-8ead-3c5ef6efba2d 2025-04-18 14:12:03,368 - INFO - Waiting for VM ctest-TestRoutersBasic-37726921-74923483 to be up.. 2025-04-18 14:12:03,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-18 14:12:08,718 - DEBUG - VM is in ACTIVE state now 2025-04-18 14:12:08,718 - INFO - VM name : ctest-TestRoutersBasic-37726921-74923483 2025-04-18 14:12:08,826 - DEBUG - VM ctest-TestRoutersBasic-37726921-74923483 ID is ac38cd63-bc70-4242-bf9f-eca150f3f19a 2025-04-18 14:12:08,851 - DEBUG - VM ctest-TestRoutersBasic-37726921-74923483 launched on Node cn-jenkins-deploy-platform-ansible-os-3139-1 2025-04-18 14:12:08,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac38cd63-bc70-4242-bf9f-eca150f3f19a 2025-04-18 14:12:09,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac38cd63-bc70-4242-bf9f-eca150f3f19a 2025-04-18 14:12:09,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/69c3279f-bc80-442e-b245-e7ad8e800c5f 2025-04-18 14:12:12,626 - 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 1000ms') 2025-04-18 14:12:12,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37726921-74923483 failed! 2025-04-18 14:12:12,686 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37726921:ctest-vn-19282509 is 201.138.111.1 and allocation pool is NOT set 2025-04-18 14:12:14,753 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.636/3.155/4.675/1.519 ms') 2025-04-18 14:12:14,753 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37726921-74923483 passed 2025-04-18 14:12:14,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 14:12:14,910 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37726921-74923483, IP 201.138.111.3, Port 22 2025-04-18 14:12:15,086 - DEBUG - VM ctest-TestRoutersBasic-37726921-74923483 is ready for SSH connections 2025-04-18 14:12:15,086 - INFO - Waiting for VM ctest-TestRoutersBasic-37726921-91200218 to be up.. 2025-04-18 14:12:15,190 - DEBUG - VM is in ACTIVE state now 2025-04-18 14:12:15,190 - INFO - VM name : ctest-TestRoutersBasic-37726921-91200218 2025-04-18 14:12:15,314 - DEBUG - VM ctest-TestRoutersBasic-37726921-91200218 ID is 149e1a09-60b5-4c64-8707-11b6a3c0d3a3 2025-04-18 14:12:15,314 - DEBUG - VM ctest-TestRoutersBasic-37726921-91200218 launched on Node cn-jenkins-deploy-platform-ansible-os-3139-1 2025-04-18 14:12:15,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/149e1a09-60b5-4c64-8707-11b6a3c0d3a3 2025-04-18 14:12:15,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e402b71f-f87f-400b-8ec7-857d7dc3f075 2025-04-18 14:12:16,722 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.300/2.976/4.653/1.676 ms') 2025-04-18 14:12:16,722 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37726921-91200218 passed 2025-04-18 14:12:16,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 14:12:16,878 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37726921-91200218, IP 165.245.209.67, Port 22 2025-04-18 14:12:17,053 - DEBUG - VM ctest-TestRoutersBasic-37726921-91200218 is ready for SSH connections 2025-04-18 14:12:17,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-18 14:12:17,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.245.209.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-18 14:12:17,054 - DEBUG - ping -s 56 -c 3 -W 1 165.245.209.67 2025-04-18 14:12:20,827 - DEBUG - PING 165.245.209.67 (165.245.209.67): 56 data bytes 64 bytes from 165.245.209.67: seq=0 ttl=62 time=9.221 ms 64 bytes from 165.245.209.67: seq=1 ttl=62 time=1.616 ms 64 bytes from 165.245.209.67: seq=2 ttl=62 time=1.046 ms --- 165.245.209.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/3.961/9.221 ms 2025-04-18 14:12:20,828 - INFO - Ping to IP 165.245.209.67 from VM ctest-TestRoutersBasic-37726921-74923483 passed 2025-04-18 14:12:20,828 - INFO - Deleting interface with subnet_id 9d144b78-02a6-4aaf-93f5-78f55b20e4ce, port_id None from router 609796ed-0eb1-47c4-8ead-3c5ef6efba2d 2025-04-18 14:12:21,144 - INFO - Deleting VM ctest-TestRoutersBasic-37726921-91200218 2025-04-18 14:12:21,249 - INFO - Deleting VM ctest-TestRoutersBasic-37726921-74923483 2025-04-18 14:12:21,388 - INFO - Deleting VN ctest-ext_vn-89576545 2025-04-18 14:12:21,511 - DEBUG - VN 6f20fad5-5caf-4357-88de-d4aa958b1396 still in use: Unable to complete operation on network 6f20fad5-5caf-4357-88de-d4aa958b1396. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2849a97c-8cff-4afd-b52b-10e975218441'] 2025-04-18 14:12:21,512 - WARNING - Deleting VN ctest-ext_vn-89576545 failed..Will retry 2025-04-18 14:12:23,659 - DEBUG - Response for deleting network () 2025-04-18 14:12:23,659 - INFO - Deleting VN ctest-vn-19282509 2025-04-18 14:12:23,796 - DEBUG - Response for deleting network () 2025-04-18 14:12:24,074 - DEBUG - No XMPP flaps were noticed during the test 2025-04-18 14:12:24,074 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-04-18 14:12:24,074 - INFO - -------------------------------------------------------------------------------- 2025-04-18 14:12:24,842 - INFO - Deleted project: ctest-TestRoutersBasic-37726921, ID : 88c19d2d-26e8-4046-bc6d-fd927104245b