2025-10-30 18:19:59,755 - INFO - Domain Default found not creating 2025-10-30 18:19:59,889 - INFO - Project ctest-TestRoutersBasic-55603612 not found, creating it 2025-10-30 18:20:00,312 - INFO - Created Project:ctest-TestRoutersBasic-55603612, ID : bcb75d47-8963-49fb-ae59-99aaf539d918 2025-10-30 18:20:02,321 - INFO - ================================================================================ 2025-10-30 18:20:02,321 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 18:20:02,321 - 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-30 18:20:02,575 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 18:20:02,575 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:20:02,575 - INFO - 2025-10-30 18:20:03,262 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55603612 2025-10-30 18:20:03,358 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55603612 2025-10-30 18:20:03,678 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55603612', 'default']} 2025-10-30 18:20:03,950 - DEBUG - Response for create_network : {'network': {'id': '598b2192-a774-47ca-84ed-06ab90d3d3e7', 'name': 'ctest-vn-57211776', 'tenant_id': 'bcb75d47896349fbae5999aaf539d918', 'project_id': 'bcb75d47896349fbae5999aaf539d918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55603612', 'ctest-vn-57211776'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:04,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df1d18eb-a37c-4602-8c0b-77ca25067e8e', 'name': '', 'tenant_id': 'bcb75d47896349fbae5999aaf539d918', 'network_id': '598b2192-a774-47ca-84ed-06ab90d3d3e7', 'ip_version': 4, 'cidr': '79.135.108.0/26', 'allocation_pools': [{'start': '79.135.108.2', 'end': '79.135.108.62'}], 'gateway_ip': '79.135.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.135.108.2', 'tags': [], 'project_id': 'bcb75d47896349fbae5999aaf539d918'}} 2025-10-30 18:20:04,139 - INFO - Created VN ctest-vn-57211776 2025-10-30 18:20:04,194 - DEBUG - VN ctest-vn-57211776 UUID is 598b2192-a774-47ca-84ed-06ab90d3d3e7 2025-10-30 18:20:04,501 - DEBUG - Response for create_network : {'network': {'id': '967b4b7f-7189-4659-9fd8-0636f86ab028', 'name': 'ctest-ext_vn-83869389', 'tenant_id': 'bcb75d47896349fbae5999aaf539d918', 'project_id': 'bcb75d47896349fbae5999aaf539d918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55603612', 'ctest-ext_vn-83869389'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:04,681 - DEBUG - Response for create_subnet : {'subnet': {'id': '5abec46d-8dd3-4ff2-86d7-739999d5060e', 'name': '', 'tenant_id': 'bcb75d47896349fbae5999aaf539d918', 'network_id': '967b4b7f-7189-4659-9fd8-0636f86ab028', 'ip_version': 4, 'cidr': '109.40.246.0/26', 'allocation_pools': [{'start': '109.40.246.2', 'end': '109.40.246.62'}], 'gateway_ip': '109.40.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.40.246.2', 'tags': [], 'project_id': 'bcb75d47896349fbae5999aaf539d918'}} 2025-10-30 18:20:04,698 - INFO - Created VN ctest-ext_vn-83869389 2025-10-30 18:20:04,754 - DEBUG - VN ctest-ext_vn-83869389 UUID is 967b4b7f-7189-4659-9fd8-0636f86ab028 2025-10-30 18:20:04,953 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:20:05,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:20:07,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:20:07,178 - INFO - Setting gateway for router 4784b88f-e892-4eae-9cca-5880d79163f5 to network 967b4b7f-7189-4659-9fd8-0636f86ab028 2025-10-30 18:20:07,254 - INFO - Adding interface with subnet_id df1d18eb-a37c-4602-8c0b-77ca25067e8e, port_id None to router 4784b88f-e892-4eae-9cca-5880d79163f5 2025-10-30 18:20:07,690 - INFO - Waiting for VM ctest-TestRoutersBasic-55603612-34165393 to be up.. 2025-10-30 18:20:07,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:20:12,874 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:20:12,874 - INFO - VM name : ctest-TestRoutersBasic-55603612-34165393 2025-10-30 18:20:12,943 - DEBUG - VM ctest-TestRoutersBasic-55603612-34165393 ID is 3ea41e00-80d9-4091-b458-79069d37f154 2025-10-30 18:20:12,963 - DEBUG - VM ctest-TestRoutersBasic-55603612-34165393 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:20:13,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ea41e00-80d9-4091-b458-79069d37f154 2025-10-30 18:20:13,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3ea41e00-80d9-4091-b458-79069d37f154 2025-10-30 18:20:13,350 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f3fb1c2-f0d1-4ad5-ad71-11359b35b0f8 2025-10-30 18:20:16,605 - 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 1022ms') 2025-10-30 18:20:16,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55603612-34165393 failed! 2025-10-30 18:20:16,658 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55603612:ctest-vn-57211776 is 79.135.108.1 and allocation pool is NOT set 2025-10-30 18:20:18,719 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/1.632/2.872/1.240 ms') 2025-10-30 18:20:18,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55603612-34165393 passed 2025-10-30 18:20:18,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:20:18,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55603612-34165393, IP 79.135.108.3, Port 22 2025-10-30 18:20:19,053 - DEBUG - VM ctest-TestRoutersBasic-55603612-34165393 is ready for SSH connections 2025-10-30 18:20:19,053 - INFO - Waiting for VM ctest-TestRoutersBasic-55603612-35407449 to be up.. 2025-10-30 18:20:19,124 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:20:19,125 - INFO - VM name : ctest-TestRoutersBasic-55603612-35407449 2025-10-30 18:20:19,191 - DEBUG - VM ctest-TestRoutersBasic-55603612-35407449 ID is 79d5a34f-0260-4220-ad93-e7ad68790726 2025-10-30 18:20:19,191 - DEBUG - VM ctest-TestRoutersBasic-55603612-35407449 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:20:19,258 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79d5a34f-0260-4220-ad93-e7ad68790726 2025-10-30 18:20:19,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ee0e2d0-6032-4509-99f2-04aaa0390464 2025-10-30 18:20:20,498 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/1.729/3.067/1.338 ms') 2025-10-30 18:20:20,499 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55603612-35407449 passed 2025-10-30 18:20:20,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:20:20,646 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55603612-35407449, IP 109.40.246.3, Port 22 2025-10-30 18:20:20,801 - DEBUG - VM ctest-TestRoutersBasic-55603612-35407449 is ready for SSH connections 2025-10-30 18:20:20,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:20:20,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.40.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 18:20:20,802 - DEBUG - ping -s 56 -c 3 -W 1 109.40.246.3 2025-10-30 18:20:24,498 - DEBUG - PING 109.40.246.3 (109.40.246.3): 56 data bytes 64 bytes from 109.40.246.3: seq=0 ttl=62 time=5.981 ms 64 bytes from 109.40.246.3: seq=1 ttl=62 time=0.875 ms 64 bytes from 109.40.246.3: seq=2 ttl=62 time=0.896 ms --- 109.40.246.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/2.584/5.981 ms 2025-10-30 18:20:24,499 - INFO - Ping to IP 109.40.246.3 from VM ctest-TestRoutersBasic-55603612-34165393 passed 2025-10-30 18:20:24,499 - INFO - Deleting interface with subnet_id df1d18eb-a37c-4602-8c0b-77ca25067e8e, port_id None from router 4784b88f-e892-4eae-9cca-5880d79163f5 2025-10-30 18:20:24,661 - INFO - Deleting VM ctest-TestRoutersBasic-55603612-35407449 2025-10-30 18:20:24,723 - INFO - Deleting VM ctest-TestRoutersBasic-55603612-34165393 2025-10-30 18:20:24,804 - INFO - Deleting VN ctest-ext_vn-83869389 2025-10-30 18:20:24,861 - DEBUG - VN 967b4b7f-7189-4659-9fd8-0636f86ab028 still in use: Unable to complete operation on network 967b4b7f-7189-4659-9fd8-0636f86ab028. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-265313bb-f631-45a1-9e16-e26e1db8c38e'] 2025-10-30 18:20:24,861 - WARNING - Deleting VN ctest-ext_vn-83869389 failed..Will retry 2025-10-30 18:20:26,962 - DEBUG - Response for deleting network () 2025-10-30 18:20:26,962 - INFO - Deleting VN ctest-vn-57211776 2025-10-30 18:20:27,052 - DEBUG - Response for deleting network () 2025-10-30 18:20:27,311 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 18:20:27,311 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-30 18:20:27,311 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:20:27,979 - INFO - Deleted project: ctest-TestRoutersBasic-55603612, ID : bcb75d47-8963-49fb-ae59-99aaf539d918