2025-01-08 23:24:20,921 - INFO - Domain Default found not creating 2025-01-08 23:24:21,046 - INFO - Project ctest-TestRoutersBasic-12388452 not found, creating it 2025-01-08 23:24:21,486 - INFO - Created Project:ctest-TestRoutersBasic-12388452, ID : 4b7ec2d9-e7d0-4d37-a683-f35966da191a 2025-01-08 23:24:22,823 - INFO - ================================================================================ 2025-01-08 23:24:22,824 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-08 23:24:22,824 - 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-01-08 23:24:23,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with 2025-01-08 23:24:23,083 - INFO - Initial checks done. Running the testcase now 2025-01-08 23:24:23,083 - INFO - 2025-01-08 23:24:23,754 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12388452 2025-01-08 23:24:23,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12388452 2025-01-08 23:24:24,218 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12388452', 'default']} 2025-01-08 23:24:24,747 - DEBUG - Response for create_network : {'network': {'id': '30cdba6f-e872-438c-9117-d19bbe2e3555', 'name': 'ctest-vn-88616291', 'tenant_id': '4b7ec2d9e7d04d37a683f35966da191a', 'project_id': '4b7ec2d9e7d04d37a683f35966da191a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12388452', 'ctest-vn-88616291'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:24,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '75827551-df25-45d1-aec6-b8583b34d456', 'name': '', 'tenant_id': '4b7ec2d9e7d04d37a683f35966da191a', 'network_id': '30cdba6f-e872-438c-9117-d19bbe2e3555', 'ip_version': 4, 'cidr': '37.250.142.64/26', 'allocation_pools': [{'start': '37.250.142.66', 'end': '37.250.142.126'}], 'gateway_ip': '37.250.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.250.142.66', 'tags': [], 'project_id': '4b7ec2d9e7d04d37a683f35966da191a'}} 2025-01-08 23:24:24,958 - INFO - Created VN ctest-vn-88616291 2025-01-08 23:24:25,010 - DEBUG - VN ctest-vn-88616291 UUID is 30cdba6f-e872-438c-9117-d19bbe2e3555 2025-01-08 23:24:25,340 - DEBUG - Response for create_network : {'network': {'id': 'fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7', 'name': 'ctest-ext_vn-85260016', 'tenant_id': '4b7ec2d9e7d04d37a683f35966da191a', 'project_id': '4b7ec2d9e7d04d37a683f35966da191a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12388452', 'ctest-ext_vn-85260016'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:25,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7b1e2d8-1376-413e-bd43-7e045098901b', 'name': '', 'tenant_id': '4b7ec2d9e7d04d37a683f35966da191a', 'network_id': 'fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7', 'ip_version': 4, 'cidr': '161.231.91.128/26', 'allocation_pools': [{'start': '161.231.91.130', 'end': '161.231.91.190'}], 'gateway_ip': '161.231.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.231.91.130', 'tags': [], 'project_id': '4b7ec2d9e7d04d37a683f35966da191a'}} 2025-01-08 23:24:25,525 - INFO - Created VN ctest-ext_vn-85260016 2025-01-08 23:24:25,578 - DEBUG - VN ctest-ext_vn-85260016 UUID is fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7 2025-01-08 23:24:25,738 - DEBUG - Services list from nova: [, , ] 2025-01-08 23:24:26,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:24:27,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:24:27,822 - INFO - Setting gateway for router b4b29590-fddf-4cd6-9314-8e69757ee41f to network fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7 2025-01-08 23:24:27,886 - INFO - Adding interface with subnet_id 75827551-df25-45d1-aec6-b8583b34d456, port_id None to router b4b29590-fddf-4cd6-9314-8e69757ee41f 2025-01-08 23:24:28,270 - INFO - Waiting for VM ctest-TestRoutersBasic-12388452-88938410 to be up.. 2025-01-08 23:24:28,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 23:24:33,489 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:24:33,489 - INFO - VM name : ctest-TestRoutersBasic-12388452-88938410 2025-01-08 23:24:33,555 - DEBUG - VM ctest-TestRoutersBasic-12388452-88938410 ID is 6533c5a6-e6fd-43bd-a27b-67bca28cd20c 2025-01-08 23:24:33,571 - DEBUG - VM ctest-TestRoutersBasic-12388452-88938410 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:24:33,636 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6533c5a6-e6fd-43bd-a27b-67bca28cd20c 2025-01-08 23:24:33,924 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6533c5a6-e6fd-43bd-a27b-67bca28cd20c 2025-01-08 23:24:33,952 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/58bc2884-b1ad-4056-b4b1-d855f8a3dffa 2025-01-08 23:24:37,214 - 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=2 ttl=63 time=11.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 11.067/11.067/11.067/0.000 ms') 2025-01-08 23:24:37,214 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12388452-88938410 passed 2025-01-08 23:24:37,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:24:37,366 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12388452-88938410, IP 37.250.142.67, Port 22 2025-01-08 23:24:37,518 - DEBUG - VM ctest-TestRoutersBasic-12388452-88938410 is ready for SSH connections 2025-01-08 23:24:37,518 - INFO - Waiting for VM ctest-TestRoutersBasic-12388452-98473838 to be up.. 2025-01-08 23:24:37,587 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:24:37,587 - INFO - VM name : ctest-TestRoutersBasic-12388452-98473838 2025-01-08 23:24:37,655 - DEBUG - VM ctest-TestRoutersBasic-12388452-98473838 ID is 84824c73-a15f-4848-8ff8-9e1f3fbd3621 2025-01-08 23:24:37,655 - DEBUG - VM ctest-TestRoutersBasic-12388452-98473838 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:24:37,723 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/84824c73-a15f-4848-8ff8-9e1f3fbd3621 2025-01-08 23:24:37,732 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7a3c1184-1758-4ef2-b053-0de01c8b8a0b 2025-01-08 23:24:38,960 - 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=3.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.789 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.789/2.317/3.845/1.528 ms') 2025-01-08 23:24:38,960 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12388452-98473838 passed 2025-01-08 23:24:39,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:24:39,110 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12388452-98473838, IP 161.231.91.131, Port 22 2025-01-08 23:24:39,261 - DEBUG - VM ctest-TestRoutersBasic-12388452-98473838 is ready for SSH connections 2025-01-08 23:24:39,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:24:39,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.231.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 23:24:39,262 - DEBUG - ping -s 56 -c 3 -W 1 161.231.91.131 2025-01-08 23:24:42,911 - DEBUG - PING 161.231.91.131 (161.231.91.131): 56 data bytes 64 bytes from 161.231.91.131: seq=0 ttl=62 time=3.940 ms 64 bytes from 161.231.91.131: seq=1 ttl=62 time=0.773 ms 64 bytes from 161.231.91.131: seq=2 ttl=62 time=0.784 ms --- 161.231.91.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.832/3.940 ms 2025-01-08 23:24:42,911 - INFO - Ping to IP 161.231.91.131 from VM ctest-TestRoutersBasic-12388452-88938410 passed 2025-01-08 23:24:42,911 - INFO - Deleting interface with subnet_id 75827551-df25-45d1-aec6-b8583b34d456, port_id None from router b4b29590-fddf-4cd6-9314-8e69757ee41f 2025-01-08 23:24:43,091 - INFO - Deleting VM ctest-TestRoutersBasic-12388452-98473838 2025-01-08 23:24:43,148 - INFO - Deleting VM ctest-TestRoutersBasic-12388452-88938410 2025-01-08 23:24:43,213 - INFO - Deleting VN ctest-ext_vn-85260016 2025-01-08 23:24:43,281 - DEBUG - VN fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7 still in use: Unable to complete operation on network fa921ce1-8fb7-4fb5-b7bd-2dc7d2d62bc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11bcfac6-e847-426b-abb5-598e16137e97'] 2025-01-08 23:24:43,282 - WARNING - Deleting VN ctest-ext_vn-85260016 failed..Will retry 2025-01-08 23:24:45,384 - DEBUG - Response for deleting network () 2025-01-08 23:24:45,384 - INFO - Deleting VN ctest-vn-88616291 2025-01-08 23:24:45,476 - DEBUG - Response for deleting network () 2025-01-08 23:24:45,731 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 23:24:45,731 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-01-08 23:24:45,731 - INFO - -------------------------------------------------------------------------------- 2025-01-08 23:24:46,373 - INFO - Deleted project: ctest-TestRoutersBasic-12388452, ID : 4b7ec2d9-e7d0-4d37-a683-f35966da191a