2025-12-19 17:07:57,706 - INFO - Domain Default found not creating 2025-12-19 17:07:57,881 - INFO - Project ctest-TestRoutersBasic-74643425 not found, creating it 2025-12-19 17:07:58,365 - INFO - Created Project:ctest-TestRoutersBasic-74643425, ID : b0f169d6-a700-4442-a26d-1139801463ec 2025-12-19 17:07:59,999 - INFO - ================================================================================ 2025-12-19 17:07:59,999 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-19 17:07:59,999 - 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-12-19 17:08:00,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-12-19 17:08:00,253 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:08:00,253 - INFO - 2025-12-19 17:08:01,044 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74643425 2025-12-19 17:08:01,143 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74643425 2025-12-19 17:08:01,467 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74643425', 'default']} 2025-12-19 17:08:01,768 - DEBUG - Response for create_network : {'network': {'id': 'd59b392c-a8ff-4c94-b213-3ce87d464357', 'name': 'ctest-vn-40154685', 'tenant_id': 'b0f169d6a7004442a26d1139801463ec', 'project_id': 'b0f169d6a7004442a26d1139801463ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74643425', 'ctest-vn-40154685'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:01,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e903bf72-7f6e-4da8-aa3d-fa3b12029a37', 'name': '', 'tenant_id': 'b0f169d6a7004442a26d1139801463ec', 'network_id': 'd59b392c-a8ff-4c94-b213-3ce87d464357', 'ip_version': 4, 'cidr': '211.43.180.192/26', 'allocation_pools': [{'start': '211.43.180.194', 'end': '211.43.180.254'}], 'gateway_ip': '211.43.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.43.180.194', 'tags': [], 'project_id': 'b0f169d6a7004442a26d1139801463ec'}} 2025-12-19 17:08:01,961 - INFO - Created VN ctest-vn-40154685 2025-12-19 17:08:02,011 - DEBUG - VN ctest-vn-40154685 UUID is d59b392c-a8ff-4c94-b213-3ce87d464357 2025-12-19 17:08:02,330 - DEBUG - Response for create_network : {'network': {'id': 'd0d4b5b7-6f2a-4bf4-b059-4f06dde43aef', 'name': 'ctest-ext_vn-89462142', 'tenant_id': 'b0f169d6a7004442a26d1139801463ec', 'project_id': 'b0f169d6a7004442a26d1139801463ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74643425', 'ctest-ext_vn-89462142'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:02,516 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c66a793-a01e-40e0-bea0-8b51afc0d227', 'name': '', 'tenant_id': 'b0f169d6a7004442a26d1139801463ec', 'network_id': 'd0d4b5b7-6f2a-4bf4-b059-4f06dde43aef', 'ip_version': 4, 'cidr': '34.13.95.64/26', 'allocation_pools': [{'start': '34.13.95.66', 'end': '34.13.95.126'}], 'gateway_ip': '34.13.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.13.95.66', 'tags': [], 'project_id': 'b0f169d6a7004442a26d1139801463ec'}} 2025-12-19 17:08:02,536 - INFO - Created VN ctest-ext_vn-89462142 2025-12-19 17:08:02,591 - DEBUG - VN ctest-ext_vn-89462142 UUID is d0d4b5b7-6f2a-4bf4-b059-4f06dde43aef 2025-12-19 17:08:02,764 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:08:03,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:08:05,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:08:05,259 - INFO - Setting gateway for router abd6c3f8-c0d5-4e5e-8fe7-4ead2127a755 to network d0d4b5b7-6f2a-4bf4-b059-4f06dde43aef 2025-12-19 17:08:05,352 - INFO - Adding interface with subnet_id e903bf72-7f6e-4da8-aa3d-fa3b12029a37, port_id None to router abd6c3f8-c0d5-4e5e-8fe7-4ead2127a755 2025-12-19 17:08:05,812 - INFO - Waiting for VM ctest-TestRoutersBasic-74643425-61021389 to be up.. 2025-12-19 17:08:05,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:08:11,047 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:08:11,047 - INFO - VM name : ctest-TestRoutersBasic-74643425-61021389 2025-12-19 17:08:11,130 - DEBUG - VM ctest-TestRoutersBasic-74643425-61021389 ID is 39d91b28-2e36-4761-924d-b1e70c30db63 2025-12-19 17:08:11,150 - DEBUG - VM ctest-TestRoutersBasic-74643425-61021389 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:08:11,227 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/39d91b28-2e36-4761-924d-b1e70c30db63 2025-12-19 17:08:11,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/39d91b28-2e36-4761-924d-b1e70c30db63 2025-12-19 17:08:11,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05eb5a90-2b89-4584-84a8-4553a8cdc7ad 2025-12-19 17:08:14,842 - 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 1002ms') 2025-12-19 17:08:14,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74643425-61021389 failed! 2025-12-19 17:08:14,895 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74643425:ctest-vn-40154685 is 211.43.180.193 and allocation pool is NOT set 2025-12-19 17:08:16,952 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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.572/2.970/4.369/1.398 ms') 2025-12-19 17:08:16,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74643425-61021389 passed 2025-12-19 17:08:17,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:08:17,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74643425-61021389, IP 211.43.180.195, Port 22 2025-12-19 17:08:17,259 - DEBUG - VM ctest-TestRoutersBasic-74643425-61021389 is ready for SSH connections 2025-12-19 17:08:17,259 - INFO - Waiting for VM ctest-TestRoutersBasic-74643425-70978902 to be up.. 2025-12-19 17:08:17,351 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:08:17,351 - INFO - VM name : ctest-TestRoutersBasic-74643425-70978902 2025-12-19 17:08:17,443 - DEBUG - VM ctest-TestRoutersBasic-74643425-70978902 ID is 8b1b1a11-f2d5-471b-ba6c-1e0f801e73ed 2025-12-19 17:08:17,443 - DEBUG - VM ctest-TestRoutersBasic-74643425-70978902 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:08:17,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b1b1a11-f2d5-471b-ba6c-1e0f801e73ed 2025-12-19 17:08:17,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7f5a9a55-ad99-4487-a2ce-bfe0f6cf003b 2025-12-19 17:08:18,783 - 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=6.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.18 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 = 3.181/4.722/6.264/1.541 ms') 2025-12-19 17:08:18,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74643425-70978902 passed 2025-12-19 17:08:18,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:08:18,943 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74643425-70978902, IP 34.13.95.67, Port 22 2025-12-19 17:08:19,099 - DEBUG - VM ctest-TestRoutersBasic-74643425-70978902 is ready for SSH connections 2025-12-19 17:08:19,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:08:19,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.13.95.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:08:19,099 - DEBUG - ping -s 56 -c 3 -W 1 34.13.95.67 2025-12-19 17:08:22,869 - DEBUG - PING 34.13.95.67 (34.13.95.67): 56 data bytes 64 bytes from 34.13.95.67: seq=0 ttl=62 time=8.715 ms 64 bytes from 34.13.95.67: seq=1 ttl=62 time=0.915 ms 64 bytes from 34.13.95.67: seq=2 ttl=62 time=1.236 ms --- 34.13.95.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/3.622/8.715 ms 2025-12-19 17:08:22,870 - INFO - Ping to IP 34.13.95.67 from VM ctest-TestRoutersBasic-74643425-61021389 passed 2025-12-19 17:08:22,870 - INFO - Deleting interface with subnet_id e903bf72-7f6e-4da8-aa3d-fa3b12029a37, port_id None from router abd6c3f8-c0d5-4e5e-8fe7-4ead2127a755 2025-12-19 17:08:23,070 - INFO - Deleting VM ctest-TestRoutersBasic-74643425-70978902 2025-12-19 17:08:23,140 - INFO - Deleting VM ctest-TestRoutersBasic-74643425-61021389 2025-12-19 17:08:23,231 - INFO - Deleting VN ctest-ext_vn-89462142 2025-12-19 17:08:23,297 - DEBUG - VN d0d4b5b7-6f2a-4bf4-b059-4f06dde43aef still in use: Unable to complete operation on network d0d4b5b7-6f2a-4bf4-b059-4f06dde43aef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d685c8c5-1acc-4bf1-a672-768d7035c14c'] 2025-12-19 17:08:23,297 - WARNING - Deleting VN ctest-ext_vn-89462142 failed..Will retry 2025-12-19 17:08:25,402 - DEBUG - Response for deleting network () 2025-12-19 17:08:25,402 - INFO - Deleting VN ctest-vn-40154685 2025-12-19 17:08:25,498 - DEBUG - Response for deleting network () 2025-12-19 17:08:25,752 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:08:25,752 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-19 17:08:25,752 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:08:26,500 - INFO - Deleted project: ctest-TestRoutersBasic-74643425, ID : b0f169d6-a700-4442-a26d-1139801463ec