2025-10-20 02:05:02,925 - INFO - Domain Default found not creating 2025-10-20 02:05:03,051 - INFO - Project ctest-TestRoutersBasic-33840117 not found, creating it 2025-10-20 02:05:03,473 - INFO - Created Project:ctest-TestRoutersBasic-33840117, ID : fd9f0edf-1193-4077-812a-02f464200042 2025-10-20 02:05:04,856 - INFO - ================================================================================ 2025-10-20 02:05:04,856 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 02:05:04,856 - 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-10-20 02:05:05,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-10-20 02:05:05,110 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:05:05,110 - INFO - 2025-10-20 02:05:05,789 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33840117 2025-10-20 02:05:05,885 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33840117 2025-10-20 02:05:06,205 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33840117', 'default']} 2025-10-20 02:05:06,485 - DEBUG - Response for create_network : {'network': {'id': '14594eb1-adc3-46d9-8bcf-064419ce9561', 'name': 'ctest-vn-37334534', 'tenant_id': 'fd9f0edf11934077812a02f464200042', 'project_id': 'fd9f0edf11934077812a02f464200042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33840117', 'ctest-vn-37334534'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:06,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c57813c-95eb-4388-9e99-bc1519d41476', 'name': '', 'tenant_id': 'fd9f0edf11934077812a02f464200042', 'network_id': '14594eb1-adc3-46d9-8bcf-064419ce9561', 'ip_version': 4, 'cidr': '166.11.40.64/26', 'allocation_pools': [{'start': '166.11.40.66', 'end': '166.11.40.126'}], 'gateway_ip': '166.11.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.11.40.66', 'tags': [], 'project_id': 'fd9f0edf11934077812a02f464200042'}} 2025-10-20 02:05:06,664 - INFO - Created VN ctest-vn-37334534 2025-10-20 02:05:06,713 - DEBUG - VN ctest-vn-37334534 UUID is 14594eb1-adc3-46d9-8bcf-064419ce9561 2025-10-20 02:05:07,049 - DEBUG - Response for create_network : {'network': {'id': 'f3294bcd-dc6e-4c21-9855-d666fc0bdfec', 'name': 'ctest-ext_vn-95972592', 'tenant_id': 'fd9f0edf11934077812a02f464200042', 'project_id': 'fd9f0edf11934077812a02f464200042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33840117', 'ctest-ext_vn-95972592'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:05:07,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ff779ef-3c23-4a44-b272-76e5dca69020', 'name': '', 'tenant_id': 'fd9f0edf11934077812a02f464200042', 'network_id': 'f3294bcd-dc6e-4c21-9855-d666fc0bdfec', 'ip_version': 4, 'cidr': '73.194.60.0/26', 'allocation_pools': [{'start': '73.194.60.2', 'end': '73.194.60.62'}], 'gateway_ip': '73.194.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.194.60.2', 'tags': [], 'project_id': 'fd9f0edf11934077812a02f464200042'}} 2025-10-20 02:05:07,267 - INFO - Created VN ctest-ext_vn-95972592 2025-10-20 02:05:07,317 - DEBUG - VN ctest-ext_vn-95972592 UUID is f3294bcd-dc6e-4c21-9855-d666fc0bdfec 2025-10-20 02:05:07,521 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:05:08,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:05:09,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:05:09,644 - INFO - Setting gateway for router d30b656f-175b-4ed2-9b7b-6ad700d0a277 to network f3294bcd-dc6e-4c21-9855-d666fc0bdfec 2025-10-20 02:05:09,701 - INFO - Adding interface with subnet_id 2c57813c-95eb-4388-9e99-bc1519d41476, port_id None to router d30b656f-175b-4ed2-9b7b-6ad700d0a277 2025-10-20 02:05:10,068 - INFO - Waiting for VM ctest-TestRoutersBasic-33840117-35733794 to be up.. 2025-10-20 02:05:10,229 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:05:15,305 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:05:15,305 - INFO - VM name : ctest-TestRoutersBasic-33840117-35733794 2025-10-20 02:05:15,373 - DEBUG - VM ctest-TestRoutersBasic-33840117-35733794 ID is 5a7d7247-7708-4a0c-ad66-64fd82c6bfb3 2025-10-20 02:05:15,390 - DEBUG - VM ctest-TestRoutersBasic-33840117-35733794 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:05:15,456 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5a7d7247-7708-4a0c-ad66-64fd82c6bfb3 2025-10-20 02:05:15,748 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5a7d7247-7708-4a0c-ad66-64fd82c6bfb3 2025-10-20 02:05:15,777 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/979c3b1e-2a4d-4479-b044-75986c3f6cc8 2025-10-20 02:05:19,039 - 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 1031ms') 2025-10-20 02:05:19,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33840117-35733794 failed! 2025-10-20 02:05:19,093 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33840117:ctest-vn-37334534 is 166.11.40.65 and allocation pool is NOT set 2025-10-20 02:05:21,158 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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 = 0.455/1.573/2.692/1.118 ms') 2025-10-20 02:05:21,158 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33840117-35733794 passed 2025-10-20 02:05:21,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:05:21,309 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33840117-35733794, IP 166.11.40.67, Port 22 2025-10-20 02:05:21,475 - DEBUG - VM ctest-TestRoutersBasic-33840117-35733794 is ready for SSH connections 2025-10-20 02:05:21,476 - INFO - Waiting for VM ctest-TestRoutersBasic-33840117-70916859 to be up.. 2025-10-20 02:05:21,550 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:05:21,551 - INFO - VM name : ctest-TestRoutersBasic-33840117-70916859 2025-10-20 02:05:21,620 - DEBUG - VM ctest-TestRoutersBasic-33840117-70916859 ID is 609efe42-af6b-44df-a71d-215f1d496048 2025-10-20 02:05:21,620 - DEBUG - VM ctest-TestRoutersBasic-33840117-70916859 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:05:21,689 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/609efe42-af6b-44df-a71d-215f1d496048 2025-10-20 02:05:21,698 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/c30c1e7b-9f7d-4877-84c5-6f280cdfbcfd 2025-10-20 02:05:22,933 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.313 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.313/1.510/2.708/1.197 ms') 2025-10-20 02:05:22,934 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33840117-70916859 passed 2025-10-20 02:05:23,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:05:23,085 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33840117-70916859, IP 73.194.60.3, Port 22 2025-10-20 02:05:23,249 - DEBUG - VM ctest-TestRoutersBasic-33840117-70916859 is ready for SSH connections 2025-10-20 02:05:23,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:05:23,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.194.60.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-10-20 02:05:23,249 - DEBUG - ping -s 56 -c 3 -W 1 73.194.60.3 2025-10-20 02:05:26,955 - DEBUG - PING 73.194.60.3 (73.194.60.3): 56 data bytes 64 bytes from 73.194.60.3: seq=0 ttl=62 time=6.056 ms 64 bytes from 73.194.60.3: seq=1 ttl=62 time=0.888 ms 64 bytes from 73.194.60.3: seq=2 ttl=62 time=1.024 ms --- 73.194.60.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.656/6.056 ms 2025-10-20 02:05:26,955 - INFO - Ping to IP 73.194.60.3 from VM ctest-TestRoutersBasic-33840117-35733794 passed 2025-10-20 02:05:26,955 - INFO - Deleting interface with subnet_id 2c57813c-95eb-4388-9e99-bc1519d41476, port_id None from router d30b656f-175b-4ed2-9b7b-6ad700d0a277 2025-10-20 02:05:27,133 - INFO - Deleting VM ctest-TestRoutersBasic-33840117-70916859 2025-10-20 02:05:27,215 - INFO - Deleting VM ctest-TestRoutersBasic-33840117-35733794 2025-10-20 02:05:27,282 - INFO - Deleting VN ctest-ext_vn-95972592 2025-10-20 02:05:27,346 - DEBUG - VN f3294bcd-dc6e-4c21-9855-d666fc0bdfec still in use: Unable to complete operation on network f3294bcd-dc6e-4c21-9855-d666fc0bdfec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d24d402d-6fb2-4e9f-96f3-a0a97f34798d'] 2025-10-20 02:05:27,346 - WARNING - Deleting VN ctest-ext_vn-95972592 failed..Will retry 2025-10-20 02:05:29,442 - DEBUG - Response for deleting network () 2025-10-20 02:05:29,443 - INFO - Deleting VN ctest-vn-37334534 2025-10-20 02:05:29,535 - DEBUG - Response for deleting network () 2025-10-20 02:05:29,790 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 02:05:29,791 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-20 02:05:29,791 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:05:30,461 - INFO - Deleted project: ctest-TestRoutersBasic-33840117, ID : fd9f0edf-1193-4077-812a-02f464200042