2025-06-22 14:16:37,146 - INFO - Domain Default found not creating 2025-06-22 14:16:37,307 - INFO - Project ctest-TestRoutersBasic-07561065 not found, creating it 2025-06-22 14:16:37,766 - INFO - Created Project:ctest-TestRoutersBasic-07561065, ID : 82064570-5d91-4172-bde8-14be7697906c 2025-06-22 14:16:39,156 - INFO - ================================================================================ 2025-06-22 14:16:39,156 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-22 14:16:39,156 - 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-06-22 14:16:39,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-22 14:16:39,417 - INFO - Initial checks done. Running the testcase now 2025-06-22 14:16:39,417 - INFO - 2025-06-22 14:16:40,112 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07561065 2025-06-22 14:16:40,206 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07561065 2025-06-22 14:16:40,530 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07561065', 'default']} 2025-06-22 14:16:40,825 - DEBUG - Response for create_network : {'network': {'id': '7fb798c9-903e-4de0-acf8-2a69490d0c0d', 'name': 'ctest-vn-89064495', 'tenant_id': '820645705d914172bde814be7697906c', 'project_id': '820645705d914172bde814be7697906c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07561065', 'ctest-vn-89064495'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:16:40,977 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c33a806-cab5-46ef-972f-6c40f6b7c0a6', 'name': '', 'tenant_id': '820645705d914172bde814be7697906c', 'network_id': '7fb798c9-903e-4de0-acf8-2a69490d0c0d', 'ip_version': 4, 'cidr': '193.153.176.192/26', 'allocation_pools': [{'start': '193.153.176.194', 'end': '193.153.176.254'}], 'gateway_ip': '193.153.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.153.176.194', 'tags': [], 'project_id': '820645705d914172bde814be7697906c'}} 2025-06-22 14:16:40,994 - INFO - Created VN ctest-vn-89064495 2025-06-22 14:16:41,046 - DEBUG - VN ctest-vn-89064495 UUID is 7fb798c9-903e-4de0-acf8-2a69490d0c0d 2025-06-22 14:16:41,369 - DEBUG - Response for create_network : {'network': {'id': 'e69a7fdc-de00-40b8-925d-c88ad0c694f7', 'name': 'ctest-ext_vn-17542235', 'tenant_id': '820645705d914172bde814be7697906c', 'project_id': '820645705d914172bde814be7697906c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07561065', 'ctest-ext_vn-17542235'], 'port_security_enabled': True, 'description': ''}} 2025-06-22 14:16:41,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '918b669f-c8dc-4879-9eb0-21e5ae29a922', 'name': '', 'tenant_id': '820645705d914172bde814be7697906c', 'network_id': 'e69a7fdc-de00-40b8-925d-c88ad0c694f7', 'ip_version': 4, 'cidr': '167.181.143.64/26', 'allocation_pools': [{'start': '167.181.143.66', 'end': '167.181.143.126'}], 'gateway_ip': '167.181.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.181.143.66', 'tags': [], 'project_id': '820645705d914172bde814be7697906c'}} 2025-06-22 14:16:41,583 - INFO - Created VN ctest-ext_vn-17542235 2025-06-22 14:16:41,638 - DEBUG - VN ctest-ext_vn-17542235 UUID is e69a7fdc-de00-40b8-925d-c88ad0c694f7 2025-06-22 14:16:41,842 - DEBUG - Services list from nova: [, , ] 2025-06-22 14:16:42,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3513-1) 2025-06-22 14:16:44,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3513-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3513-1) 2025-06-22 14:16:44,102 - INFO - Setting gateway for router 1628062e-2ee8-430d-8f80-e68d999bff05 to network e69a7fdc-de00-40b8-925d-c88ad0c694f7 2025-06-22 14:16:44,199 - INFO - Adding interface with subnet_id 5c33a806-cab5-46ef-972f-6c40f6b7c0a6, port_id None to router 1628062e-2ee8-430d-8f80-e68d999bff05 2025-06-22 14:16:44,563 - INFO - Waiting for VM ctest-TestRoutersBasic-07561065-59349938 to be up.. 2025-06-22 14:16:44,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-22 14:16:49,798 - DEBUG - VM is in ACTIVE state now 2025-06-22 14:16:49,798 - INFO - VM name : ctest-TestRoutersBasic-07561065-59349938 2025-06-22 14:16:49,878 - DEBUG - VM ctest-TestRoutersBasic-07561065-59349938 ID is 9dc0ba56-d0a5-4e41-bc8e-4cd3ad0f763e 2025-06-22 14:16:49,902 - DEBUG - VM ctest-TestRoutersBasic-07561065-59349938 launched on Node cn-jenkins-deploy-platform-ansible-os-3513-1 2025-06-22 14:16:49,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9dc0ba56-d0a5-4e41-bc8e-4cd3ad0f763e 2025-06-22 14:16:50,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9dc0ba56-d0a5-4e41-bc8e-4cd3ad0f763e 2025-06-22 14:16:50,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14fae248-f8ea-4c82-bfc0-87d42ad97e68 2025-06-22 14:16:53,571 - 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') 2025-06-22 14:16:53,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07561065-59349938 failed! 2025-06-22 14:16:53,650 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07561065:ctest-vn-89064495 is 193.153.176.193 and allocation pool is NOT set 2025-06-22 14:16:55,713 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.390/1.591/2.792/1.201 ms') 2025-06-22 14:16:55,714 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07561065-59349938 passed 2025-06-22 14:16:55,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:16:55,866 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07561065-59349938, IP 193.153.176.195, Port 22 2025-06-22 14:16:56,021 - DEBUG - VM ctest-TestRoutersBasic-07561065-59349938 is ready for SSH connections 2025-06-22 14:16:56,021 - INFO - Waiting for VM ctest-TestRoutersBasic-07561065-38090675 to be up.. 2025-06-22 14:16:56,097 - DEBUG - VM is in ACTIVE state now 2025-06-22 14:16:56,097 - INFO - VM name : ctest-TestRoutersBasic-07561065-38090675 2025-06-22 14:16:56,170 - DEBUG - VM ctest-TestRoutersBasic-07561065-38090675 ID is cca78670-0fe1-494e-b7d5-60d32a83d22f 2025-06-22 14:16:56,170 - DEBUG - VM ctest-TestRoutersBasic-07561065-38090675 launched on Node cn-jenkins-deploy-platform-ansible-os-3513-1 2025-06-22 14:16:56,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cca78670-0fe1-494e-b7d5-60d32a83d22f 2025-06-22 14:16:56,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e4f3564-ad83-4769-a84c-2f280a4a9b54 2025-06-22 14:16:57,500 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.271 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.271/1.731/3.191/1.460 ms') 2025-06-22 14:16:57,500 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-07561065-38090675 passed 2025-06-22 14:16:57,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:16:57,650 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07561065-38090675, IP 167.181.143.67, Port 22 2025-06-22 14:16:57,806 - DEBUG - VM ctest-TestRoutersBasic-07561065-38090675 is ready for SSH connections 2025-06-22 14:16:57,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-22 14:16:57,806 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.181.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-22 14:16:57,806 - DEBUG - ping -s 56 -c 3 -W 1 167.181.143.67 2025-06-22 14:17:01,468 - DEBUG - PING 167.181.143.67 (167.181.143.67): 56 data bytes 64 bytes from 167.181.143.67: seq=0 ttl=62 time=5.902 ms 64 bytes from 167.181.143.67: seq=1 ttl=62 time=1.041 ms 64 bytes from 167.181.143.67: seq=2 ttl=62 time=1.197 ms --- 167.181.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.713/5.902 ms 2025-06-22 14:17:01,468 - INFO - Ping to IP 167.181.143.67 from VM ctest-TestRoutersBasic-07561065-59349938 passed 2025-06-22 14:17:01,468 - INFO - Deleting interface with subnet_id 5c33a806-cab5-46ef-972f-6c40f6b7c0a6, port_id None from router 1628062e-2ee8-430d-8f80-e68d999bff05 2025-06-22 14:17:01,704 - INFO - Deleting VM ctest-TestRoutersBasic-07561065-38090675 2025-06-22 14:17:01,790 - INFO - Deleting VM ctest-TestRoutersBasic-07561065-59349938 2025-06-22 14:17:01,854 - INFO - Deleting VN ctest-ext_vn-17542235 2025-06-22 14:17:01,940 - DEBUG - VN e69a7fdc-de00-40b8-925d-c88ad0c694f7 still in use: Unable to complete operation on network e69a7fdc-de00-40b8-925d-c88ad0c694f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31707c2f-1a6b-40ff-964c-2b21b3996bb6'] 2025-06-22 14:17:01,941 - WARNING - Deleting VN ctest-ext_vn-17542235 failed..Will retry 2025-06-22 14:17:04,043 - DEBUG - Response for deleting network () 2025-06-22 14:17:04,043 - INFO - Deleting VN ctest-vn-89064495 2025-06-22 14:17:04,147 - DEBUG - Response for deleting network () 2025-06-22 14:17:04,400 - DEBUG - No XMPP flaps were noticed during the test
2025-06-22 14:17:04,400 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-22 14:17:04,400 - INFO - -------------------------------------------------------------------------------- 2025-06-22 14:17:05,058 - INFO - Deleted project: ctest-TestRoutersBasic-07561065, ID : 82064570-5d91-4172-bde8-14be7697906c