2024-12-30 22:47:00,680 - INFO - Domain Default found not creating 2024-12-30 22:47:00,856 - INFO - Project ctest-TestRoutersBasic-17565338 not found, creating it 2024-12-30 22:47:01,464 - INFO - Created Project:ctest-TestRoutersBasic-17565338, ID : 96e56077-a8cb-4686-863e-84367e197b05 2024-12-30 22:47:02,876 - INFO - ================================================================================ 2024-12-30 22:47:02,876 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-12-30 22:47:02,876 - 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 2024-12-30 22:47:03,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with 2024-12-30 22:47:03,136 - INFO - Initial checks done. Running the testcase now 2024-12-30 22:47:03,136 - INFO - 2024-12-30 22:47:03,820 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17565338 2024-12-30 22:47:03,923 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17565338 2024-12-30 22:47:04,251 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17565338', 'default']} 2024-12-30 22:47:04,533 - DEBUG - Response for create_network : {'network': {'id': '00d5a8bb-ce1f-42be-ba92-67039790c81c', 'name': 'ctest-vn-82252049', 'tenant_id': '96e56077a8cb4686863e84367e197b05', 'project_id': '96e56077a8cb4686863e84367e197b05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17565338', 'ctest-vn-82252049'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:04,699 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6a0a97e-f314-4867-b71c-3f4302441e13', 'name': '', 'tenant_id': '96e56077a8cb4686863e84367e197b05', 'network_id': '00d5a8bb-ce1f-42be-ba92-67039790c81c', 'ip_version': 4, 'cidr': '149.16.102.64/26', 'allocation_pools': [{'start': '149.16.102.66', 'end': '149.16.102.126'}], 'gateway_ip': '149.16.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.16.102.66', 'tags': [], 'project_id': '96e56077a8cb4686863e84367e197b05'}} 2024-12-30 22:47:04,719 - INFO - Created VN ctest-vn-82252049 2024-12-30 22:47:04,771 - DEBUG - VN ctest-vn-82252049 UUID is 00d5a8bb-ce1f-42be-ba92-67039790c81c 2024-12-30 22:47:05,110 - DEBUG - Response for create_network : {'network': {'id': '5fe98b55-ce11-4d78-8ec8-a082b0f9e375', 'name': 'ctest-ext_vn-83974177', 'tenant_id': '96e56077a8cb4686863e84367e197b05', 'project_id': '96e56077a8cb4686863e84367e197b05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17565338', 'ctest-ext_vn-83974177'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:47:05,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '347718d1-7730-4a01-9780-fab9872d45df', 'name': '', 'tenant_id': '96e56077a8cb4686863e84367e197b05', 'network_id': '5fe98b55-ce11-4d78-8ec8-a082b0f9e375', 'ip_version': 4, 'cidr': '93.233.219.128/26', 'allocation_pools': [{'start': '93.233.219.130', 'end': '93.233.219.190'}], 'gateway_ip': '93.233.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.233.219.130', 'tags': [], 'project_id': '96e56077a8cb4686863e84367e197b05'}} 2024-12-30 22:47:05,355 - INFO - Created VN ctest-ext_vn-83974177 2024-12-30 22:47:05,411 - DEBUG - VN ctest-ext_vn-83974177 UUID is 5fe98b55-ce11-4d78-8ec8-a082b0f9e375 2024-12-30 22:47:05,612 - DEBUG - Services list from nova: [, , ] 2024-12-30 22:47:06,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:47:07,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:47:07,781 - INFO - Setting gateway for router 79b5b4a7-8923-4d15-9918-c7baf7d98c9c to network 5fe98b55-ce11-4d78-8ec8-a082b0f9e375 2024-12-30 22:47:07,846 - INFO - Adding interface with subnet_id e6a0a97e-f314-4867-b71c-3f4302441e13, port_id None to router 79b5b4a7-8923-4d15-9918-c7baf7d98c9c 2024-12-30 22:47:08,283 - INFO - Waiting for VM ctest-TestRoutersBasic-17565338-99112654 to be up.. 2024-12-30 22:47:08,475 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:47:08,476 - INFO - VM name : ctest-TestRoutersBasic-17565338-99112654 2024-12-30 22:47:08,581 - DEBUG - VM ctest-TestRoutersBasic-17565338-99112654 ID is 9bd1a7ad-1f06-49e2-940a-060258da263a 2024-12-30 22:47:08,603 - DEBUG - VM ctest-TestRoutersBasic-17565338-99112654 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:47:08,705 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9bd1a7ad-1f06-49e2-940a-060258da263a 2024-12-30 22:47:09,023 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/9bd1a7ad-1f06-49e2-940a-060258da263a 2024-12-30 22:47:09,056 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/1c3387eb-da20-476e-a1fd-276713454614 2024-12-30 22:47:12,329 - 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 1027ms') 2024-12-30 22:47:12,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17565338-99112654 failed! 2024-12-30 22:47:12,383 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17565338:ctest-vn-82252049 is 149.16.102.65 and allocation pool is NOT set 2024-12-30 22:47:16,465 - 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 1016ms') 2024-12-30 22:47:16,465 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17565338-99112654 failed! 2024-12-30 22:47:16,519 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17565338:ctest-vn-82252049 is 149.16.102.65 and allocation pool is NOT set 2024-12-30 22:47:18,578 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.511 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.511/2.053/3.596/1.542 ms') 2024-12-30 22:47:18,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17565338-99112654 passed 2024-12-30 22:47:18,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:18,735 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17565338-99112654, IP 149.16.102.67, Port 22 2024-12-30 22:47:18,894 - DEBUG - VM ctest-TestRoutersBasic-17565338-99112654 is ready for SSH connections 2024-12-30 22:47:18,894 - INFO - Waiting for VM ctest-TestRoutersBasic-17565338-77634305 to be up.. 2024-12-30 22:47:18,960 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:47:18,960 - INFO - VM name : ctest-TestRoutersBasic-17565338-77634305 2024-12-30 22:47:19,031 - DEBUG - VM ctest-TestRoutersBasic-17565338-77634305 ID is cf3a1e66-f7e8-4d01-a8a4-f815d803704a 2024-12-30 22:47:19,031 - DEBUG - VM ctest-TestRoutersBasic-17565338-77634305 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:47:19,096 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/cf3a1e66-f7e8-4d01-a8a4-f815d803704a 2024-12-30 22:47:19,104 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/4a0bb751-a0ce-4ee7-a911-58312de9ba30 2024-12-30 22:47:20,335 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 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.513/1.620/2.728/1.107 ms') 2024-12-30 22:47:20,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17565338-77634305 passed 2024-12-30 22:47:20,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:20,491 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17565338-77634305, IP 93.233.219.131, Port 22 2024-12-30 22:47:20,646 - DEBUG - VM ctest-TestRoutersBasic-17565338-77634305 is ready for SSH connections 2024-12-30 22:47:20,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:47:20,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.233.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-12-30 22:47:20,646 - DEBUG - ping -s 56 -c 3 -W 1 93.233.219.131 2024-12-30 22:47:24,302 - DEBUG - PING 93.233.219.131 (93.233.219.131): 56 data bytes 64 bytes from 93.233.219.131: seq=0 ttl=62 time=7.203 ms 64 bytes from 93.233.219.131: seq=1 ttl=62 time=0.873 ms 64 bytes from 93.233.219.131: seq=2 ttl=62 time=0.737 ms --- 93.233.219.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/2.937/7.203 ms 2024-12-30 22:47:24,302 - INFO - Ping to IP 93.233.219.131 from VM ctest-TestRoutersBasic-17565338-99112654 passed 2024-12-30 22:47:24,302 - INFO - Deleting interface with subnet_id e6a0a97e-f314-4867-b71c-3f4302441e13, port_id None from router 79b5b4a7-8923-4d15-9918-c7baf7d98c9c 2024-12-30 22:47:24,463 - INFO - Deleting VM ctest-TestRoutersBasic-17565338-77634305 2024-12-30 22:47:24,518 - INFO - Deleting VM ctest-TestRoutersBasic-17565338-99112654 2024-12-30 22:47:24,583 - INFO - Deleting VN ctest-ext_vn-83974177 2024-12-30 22:47:24,644 - DEBUG - VN 5fe98b55-ce11-4d78-8ec8-a082b0f9e375 still in use: Unable to complete operation on network 5fe98b55-ce11-4d78-8ec8-a082b0f9e375. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c273e98a-90c3-46d6-9735-29ab84af5fbb'] 2024-12-30 22:47:24,644 - WARNING - Deleting VN ctest-ext_vn-83974177 failed..Will retry 2024-12-30 22:47:26,753 - DEBUG - Response for deleting network () 2024-12-30 22:47:26,753 - INFO - Deleting VN ctest-vn-82252049 2024-12-30 22:47:26,848 - DEBUG - Response for deleting network () 2024-12-30 22:47:27,100 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 22:47:27,100 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2024-12-30 22:47:27,100 - INFO - -------------------------------------------------------------------------------- 2024-12-30 22:47:27,736 - INFO - Deleted project: ctest-TestRoutersBasic-17565338, ID : 96e56077-a8cb-4686-863e-84367e197b05