2025-01-20 02:15:13,278 - INFO - Domain Default found not creating 2025-01-20 02:15:13,428 - INFO - Project ctest-TestRoutersBasic-93421586 not found, creating it 2025-01-20 02:15:13,900 - INFO - Created Project:ctest-TestRoutersBasic-93421586, ID : b9172896-a456-4a08-a6c6-2d0a57e2172a 2025-01-20 02:15:15,273 - INFO - ================================================================================ 2025-01-20 02:15:15,274 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-20 02:15:15,274 - 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-20 02:15:15,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.28': '0'}} with 2025-01-20 02:15:15,534 - INFO - Initial checks done. Running the testcase now 2025-01-20 02:15:15,534 - INFO - 2025-01-20 02:15:16,223 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93421586 2025-01-20 02:15:16,321 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93421586 2025-01-20 02:15:16,656 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93421586', 'default']} 2025-01-20 02:15:17,063 - DEBUG - Response for create_network : {'network': {'id': 'eb48e103-12cb-4df8-b99b-ff9d1f6550af', 'name': 'ctest-vn-99864031', 'tenant_id': 'b9172896a4564a08a6c62d0a57e2172a', 'project_id': 'b9172896a4564a08a6c62d0a57e2172a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93421586', 'ctest-vn-99864031'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:17,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c550b848-025a-4b80-ae42-87c0b78c1f33', 'name': '', 'tenant_id': 'b9172896a4564a08a6c62d0a57e2172a', 'network_id': 'eb48e103-12cb-4df8-b99b-ff9d1f6550af', 'ip_version': 4, 'cidr': '25.21.138.64/26', 'allocation_pools': [{'start': '25.21.138.66', 'end': '25.21.138.126'}], 'gateway_ip': '25.21.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.21.138.66', 'tags': [], 'project_id': 'b9172896a4564a08a6c62d0a57e2172a'}} 2025-01-20 02:15:17,309 - INFO - Created VN ctest-vn-99864031 2025-01-20 02:15:17,364 - DEBUG - VN ctest-vn-99864031 UUID is eb48e103-12cb-4df8-b99b-ff9d1f6550af 2025-01-20 02:15:17,734 - DEBUG - Response for create_network : {'network': {'id': '5fd2418e-3137-4279-9ada-f4af30e20a31', 'name': 'ctest-ext_vn-25444387', 'tenant_id': 'b9172896a4564a08a6c62d0a57e2172a', 'project_id': 'b9172896a4564a08a6c62d0a57e2172a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93421586', 'ctest-ext_vn-25444387'], 'port_security_enabled': True, 'description': ''}} 2025-01-20 02:15:17,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '440aa40a-63ed-423b-9453-6455165963ee', 'name': '', 'tenant_id': 'b9172896a4564a08a6c62d0a57e2172a', 'network_id': '5fd2418e-3137-4279-9ada-f4af30e20a31', 'ip_version': 4, 'cidr': '87.178.38.64/26', 'allocation_pools': [{'start': '87.178.38.66', 'end': '87.178.38.126'}], 'gateway_ip': '87.178.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.178.38.66', 'tags': [], 'project_id': 'b9172896a4564a08a6c62d0a57e2172a'}} 2025-01-20 02:15:17,956 - INFO - Created VN ctest-ext_vn-25444387 2025-01-20 02:15:18,008 - DEBUG - VN ctest-ext_vn-25444387 UUID is 5fd2418e-3137-4279-9ada-f4af30e20a31 2025-01-20 02:15:18,197 - DEBUG - Services list from nova: [, , ] 2025-01-20 02:15:19,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1) 2025-01-20 02:15:20,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2653-1) 2025-01-20 02:15:20,404 - INFO - Setting gateway for router 052904c5-5f1c-4e8c-a1cf-32f26fb7989c to network 5fd2418e-3137-4279-9ada-f4af30e20a31 2025-01-20 02:15:20,484 - INFO - Adding interface with subnet_id c550b848-025a-4b80-ae42-87c0b78c1f33, port_id None to router 052904c5-5f1c-4e8c-a1cf-32f26fb7989c 2025-01-20 02:15:20,961 - INFO - Waiting for VM ctest-TestRoutersBasic-93421586-82001786 to be up.. 2025-01-20 02:15:21,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-20 02:15:26,276 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:15:26,276 - INFO - VM name : ctest-TestRoutersBasic-93421586-82001786 2025-01-20 02:15:26,346 - DEBUG - VM ctest-TestRoutersBasic-93421586-82001786 ID is a56fdffa-60f2-495c-bd76-13440297ebc7 2025-01-20 02:15:26,363 - DEBUG - VM ctest-TestRoutersBasic-93421586-82001786 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1 2025-01-20 02:15:26,432 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a56fdffa-60f2-495c-bd76-13440297ebc7 2025-01-20 02:15:26,725 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a56fdffa-60f2-495c-bd76-13440297ebc7 2025-01-20 02:15:26,755 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/8d642c86-3180-42a1-aba4-2f1e7a1e324a 2025-01-20 02:15:30,022 - 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=9.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 9.439/9.439/9.439/0.000 ms') 2025-01-20 02:15:30,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93421586-82001786 passed 2025-01-20 02:15:30,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:15:30,173 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93421586-82001786, IP 25.21.138.67, Port 22 2025-01-20 02:15:30,331 - DEBUG - VM ctest-TestRoutersBasic-93421586-82001786 is ready for SSH connections 2025-01-20 02:15:30,332 - INFO - Waiting for VM ctest-TestRoutersBasic-93421586-21402624 to be up.. 2025-01-20 02:15:30,403 - DEBUG - VM is in ACTIVE state now 2025-01-20 02:15:30,403 - INFO - VM name : ctest-TestRoutersBasic-93421586-21402624 2025-01-20 02:15:30,478 - DEBUG - VM ctest-TestRoutersBasic-93421586-21402624 ID is 3f723fe4-10ab-4065-9780-34a5fba152e0 2025-01-20 02:15:30,478 - DEBUG - VM ctest-TestRoutersBasic-93421586-21402624 launched on Node cn-jenkins-deploy-platform-ansible-os-2653-1 2025-01-20 02:15:30,546 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3f723fe4-10ab-4065-9780-34a5fba152e0 2025-01-20 02:15:30,555 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/4eb9187f-1b19-48f7-9fec-8aca723d9689 2025-01-20 02:15:31,788 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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.715/2.598/4.482/1.883 ms') 2025-01-20 02:15:31,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93421586-21402624 passed 2025-01-20 02:15:31,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:15:31,936 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93421586-21402624, IP 87.178.38.67, Port 22 2025-01-20 02:15:32,088 - DEBUG - VM ctest-TestRoutersBasic-93421586-21402624 is ready for SSH connections 2025-01-20 02:15:32,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-20 02:15:32,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.178.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-20 02:15:32,088 - DEBUG - ping -s 56 -c 3 -W 1 87.178.38.67 2025-01-20 02:15:35,744 - DEBUG - PING 87.178.38.67 (87.178.38.67): 56 data bytes 64 bytes from 87.178.38.67: seq=0 ttl=62 time=4.909 ms 64 bytes from 87.178.38.67: seq=1 ttl=62 time=0.805 ms 64 bytes from 87.178.38.67: seq=2 ttl=62 time=1.045 ms --- 87.178.38.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/2.253/4.909 ms 2025-01-20 02:15:35,744 - INFO - Ping to IP 87.178.38.67 from VM ctest-TestRoutersBasic-93421586-82001786 passed 2025-01-20 02:15:35,744 - INFO - Deleting interface with subnet_id c550b848-025a-4b80-ae42-87c0b78c1f33, port_id None from router 052904c5-5f1c-4e8c-a1cf-32f26fb7989c 2025-01-20 02:15:35,959 - INFO - Deleting VM ctest-TestRoutersBasic-93421586-21402624 2025-01-20 02:15:36,020 - INFO - Deleting VM ctest-TestRoutersBasic-93421586-82001786 2025-01-20 02:15:36,097 - INFO - Deleting VN ctest-ext_vn-25444387 2025-01-20 02:15:36,173 - DEBUG - VN 5fd2418e-3137-4279-9ada-f4af30e20a31 still in use: Unable to complete operation on network 5fd2418e-3137-4279-9ada-f4af30e20a31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d9f4920b-26e4-4582-b5e0-7f25fa2bb17e'] 2025-01-20 02:15:36,173 - WARNING - Deleting VN ctest-ext_vn-25444387 failed..Will retry 2025-01-20 02:15:38,274 - DEBUG - Response for deleting network () 2025-01-20 02:15:38,274 - INFO - Deleting VN ctest-vn-99864031 2025-01-20 02:15:38,379 - DEBUG - Response for deleting network () 2025-01-20 02:15:38,634 - DEBUG - No XMPP flaps were noticed during the test 2025-01-20 02:15:38,634 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-01-20 02:15:38,634 - INFO - -------------------------------------------------------------------------------- 2025-01-20 02:15:39,286 - INFO - Deleted project: ctest-TestRoutersBasic-93421586, ID : b9172896-a456-4a08-a6c6-2d0a57e2172a