2025-02-12 03:04:45,327 - INFO - Domain Default found not creating 2025-02-12 03:04:45,484 - INFO - Project ctest-TestRoutersBasic-31352705 not found, creating it 2025-02-12 03:04:45,979 - INFO - Created Project:ctest-TestRoutersBasic-31352705, ID : 7385fcfd-476a-4eb3-ab1b-fbcf5a806c1a 2025-02-12 03:04:47,402 - INFO - ================================================================================ 2025-02-12 03:04:47,402 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-12 03:04:47,402 - 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-02-12 03:04:47,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.5': '0'}} with 2025-02-12 03:04:47,658 - INFO - Initial checks done. Running the testcase now 2025-02-12 03:04:47,658 - INFO - 2025-02-12 03:04:48,366 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31352705 2025-02-12 03:04:48,469 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31352705 2025-02-12 03:04:48,809 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31352705', 'default']} 2025-02-12 03:04:49,160 - DEBUG - Response for create_network : {'network': {'id': '0c6f2d48-1cce-42b5-8e05-ffe8b53cfd03', 'name': 'ctest-vn-88453896', 'tenant_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'project_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31352705', 'ctest-vn-88453896'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 03:04:49,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fd1f160-b41e-4ecc-b710-5e61314cde82', 'name': '', 'tenant_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'network_id': '0c6f2d48-1cce-42b5-8e05-ffe8b53cfd03', 'ip_version': 4, 'cidr': '57.250.46.64/26', 'allocation_pools': [{'start': '57.250.46.66', 'end': '57.250.46.126'}], 'gateway_ip': '57.250.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.250.46.66', 'tags': [], 'project_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a'}} 2025-02-12 03:04:49,403 - INFO - Created VN ctest-vn-88453896 2025-02-12 03:04:49,457 - DEBUG - VN ctest-vn-88453896 UUID is 0c6f2d48-1cce-42b5-8e05-ffe8b53cfd03 2025-02-12 03:04:49,848 - DEBUG - Response for create_network : {'network': {'id': '7ae96c54-4848-4d82-af3a-849d11d6d194', 'name': 'ctest-ext_vn-55042378', 'tenant_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'project_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31352705', 'ctest-ext_vn-55042378'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 03:04:50,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '93fcd602-a5a8-4a87-adc1-08a9e322be14', 'name': '', 'tenant_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a', 'network_id': '7ae96c54-4848-4d82-af3a-849d11d6d194', 'ip_version': 4, 'cidr': '130.113.98.192/26', 'allocation_pools': [{'start': '130.113.98.194', 'end': '130.113.98.254'}], 'gateway_ip': '130.113.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.113.98.194', 'tags': [], 'project_id': '7385fcfd476a4eb3ab1bfbcf5a806c1a'}} 2025-02-12 03:04:50,075 - INFO - Created VN ctest-ext_vn-55042378 2025-02-12 03:04:50,129 - DEBUG - VN ctest-ext_vn-55042378 UUID is 7ae96c54-4848-4d82-af3a-849d11d6d194 2025-02-12 03:04:50,302 - DEBUG - Services list from nova: [, , ] 2025-02-12 03:04:51,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2725-1) 2025-02-12 03:04:52,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2725-1) 2025-02-12 03:04:52,593 - INFO - Setting gateway for router 949a55cd-59ec-42ef-bb98-d9bf26c347e2 to network 7ae96c54-4848-4d82-af3a-849d11d6d194 2025-02-12 03:04:52,665 - INFO - Adding interface with subnet_id 0fd1f160-b41e-4ecc-b710-5e61314cde82, port_id None to router 949a55cd-59ec-42ef-bb98-d9bf26c347e2 2025-02-12 03:04:53,053 - INFO - Waiting for VM ctest-TestRoutersBasic-31352705-05862689 to be up.. 2025-02-12 03:04:53,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-12 03:04:58,321 - DEBUG - VM is in ACTIVE state now 2025-02-12 03:04:58,322 - INFO - VM name : ctest-TestRoutersBasic-31352705-05862689 2025-02-12 03:04:58,403 - DEBUG - VM ctest-TestRoutersBasic-31352705-05862689 ID is 4133bc8f-64ee-4490-8f7f-ed086b56d44b 2025-02-12 03:04:58,421 - DEBUG - VM ctest-TestRoutersBasic-31352705-05862689 launched on Node cn-jenkins-deploy-platform-ansible-os-2725-1 2025-02-12 03:04:58,493 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4133bc8f-64ee-4490-8f7f-ed086b56d44b 2025-02-12 03:04:58,789 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4133bc8f-64ee-4490-8f7f-ed086b56d44b 2025-02-12 03:04:58,821 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/104d711c-6592-4dd5-b950-27c9988d3737 2025-02-12 03:05:02,070 - 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 1007ms') 2025-02-12 03:05:02,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31352705-05862689 failed! 2025-02-12 03:05:02,129 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31352705:ctest-vn-88453896 is 57.250.46.65 and allocation pool is NOT set 2025-02-12 03:05:04,192 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.147/2.258/3.370/1.111 ms') 2025-02-12 03:05:04,192 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31352705-05862689 passed 2025-02-12 03:05:04,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 03:05:04,353 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31352705-05862689, IP 57.250.46.67, Port 22 2025-02-12 03:05:04,508 - DEBUG - VM ctest-TestRoutersBasic-31352705-05862689 is ready for SSH connections 2025-02-12 03:05:04,508 - INFO - Waiting for VM ctest-TestRoutersBasic-31352705-87822581 to be up.. 2025-02-12 03:05:04,594 - DEBUG - VM is in ACTIVE state now 2025-02-12 03:05:04,594 - INFO - VM name : ctest-TestRoutersBasic-31352705-87822581 2025-02-12 03:05:04,684 - DEBUG - VM ctest-TestRoutersBasic-31352705-87822581 ID is 9dbc9131-f7d1-4d38-9364-2898a619cff6 2025-02-12 03:05:04,684 - DEBUG - VM ctest-TestRoutersBasic-31352705-87822581 launched on Node cn-jenkins-deploy-platform-ansible-os-2725-1 2025-02-12 03:05:04,774 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/9dbc9131-f7d1-4d38-9364-2898a619cff6 2025-02-12 03:05:04,786 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/3d94b6f8-8363-4833-9998-09c4545f225e 2025-02-12 03:05:06,033 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.690 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 = 0.690/1.911/3.133/1.221 ms') 2025-02-12 03:05:06,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31352705-87822581 passed 2025-02-12 03:05:06,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 03:05:06,194 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31352705-87822581, IP 130.113.98.195, Port 22 2025-02-12 03:05:06,375 - DEBUG - VM ctest-TestRoutersBasic-31352705-87822581 is ready for SSH connections 2025-02-12 03:05:06,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 03:05:06,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.113.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-02-12 03:05:06,375 - DEBUG - ping -s 56 -c 3 -W 1 130.113.98.195 2025-02-12 03:05:10,465 - DEBUG - PING 130.113.98.195 (130.113.98.195): 56 data bytes 64 bytes from 130.113.98.195: seq=0 ttl=62 time=5.616 ms 64 bytes from 130.113.98.195: seq=1 ttl=62 time=1.022 ms 64 bytes from 130.113.98.195: seq=2 ttl=62 time=1.367 ms --- 130.113.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/2.668/5.616 ms 2025-02-12 03:05:10,466 - INFO - Ping to IP 130.113.98.195 from VM ctest-TestRoutersBasic-31352705-05862689 passed 2025-02-12 03:05:10,466 - INFO - Deleting interface with subnet_id 0fd1f160-b41e-4ecc-b710-5e61314cde82, port_id None from router 949a55cd-59ec-42ef-bb98-d9bf26c347e2 2025-02-12 03:05:10,699 - INFO - Deleting VM ctest-TestRoutersBasic-31352705-87822581 2025-02-12 03:05:10,776 - INFO - Deleting VM ctest-TestRoutersBasic-31352705-05862689 2025-02-12 03:05:10,859 - INFO - Deleting VN ctest-ext_vn-55042378 2025-02-12 03:05:10,960 - DEBUG - VN 7ae96c54-4848-4d82-af3a-849d11d6d194 still in use: Unable to complete operation on network 7ae96c54-4848-4d82-af3a-849d11d6d194. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41751532-9726-4828-8f24-5c4b6e930af4'] 2025-02-12 03:05:10,960 - WARNING - Deleting VN ctest-ext_vn-55042378 failed..Will retry 2025-02-12 03:05:13,086 - DEBUG - Response for deleting network () 2025-02-12 03:05:13,086 - INFO - Deleting VN ctest-vn-88453896 2025-02-12 03:05:13,199 - DEBUG - Response for deleting network () 2025-02-12 03:05:13,463 - DEBUG - No XMPP flaps were noticed during the test
2025-02-12 03:05:13,463 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-12 03:05:13,464 - INFO - -------------------------------------------------------------------------------- 2025-02-12 03:05:14,757 - INFO - Deleted project: ctest-TestRoutersBasic-31352705, ID : 7385fcfd-476a-4eb3-ab1b-fbcf5a806c1a