2025-09-16 20:13:04,876 - INFO - Domain Default found not creating
2025-09-16 20:13:05,008 - INFO - Project ctest-TestRoutersBasic-73156944 not found, creating it
2025-09-16 20:13:05,428 - INFO - Created Project:ctest-TestRoutersBasic-73156944, ID : 1608603e-9384-4e6e-ada3-ad086d870bb2
2025-09-16 20:13:06,804 - INFO - ================================================================================
2025-09-16 20:13:06,804 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-16 20:13:06,804 - 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-09-16 20:13:07,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-09-16 20:13:07,056 - INFO - Initial checks done. Running the testcase now
2025-09-16 20:13:07,056 - INFO -
2025-09-16 20:13:07,745 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73156944
2025-09-16 20:13:07,844 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73156944
2025-09-16 20:13:08,164 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156944', 'default']}
2025-09-16 20:13:08,434 - DEBUG - Response for create_network : {'network': {'id': 'c8beb4f8-97f2-4af6-b4ea-620d2a661282', 'name': 'ctest-vn-60770169', 'tenant_id': '1608603e93844e6eada3ad086d870bb2', 'project_id': '1608603e93844e6eada3ad086d870bb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156944', 'ctest-vn-60770169'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:13:08,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb02ae41-63de-4169-9e58-d997bed0baa9', 'name': '', 'tenant_id': '1608603e93844e6eada3ad086d870bb2', 'network_id': 'c8beb4f8-97f2-4af6-b4ea-620d2a661282', 'ip_version': 4, 'cidr': '133.97.252.64/26', 'allocation_pools': [{'start': '133.97.252.66', 'end': '133.97.252.126'}], 'gateway_ip': '133.97.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.97.252.66', 'tags': [], 'project_id': '1608603e93844e6eada3ad086d870bb2'}}
2025-09-16 20:13:08,612 - INFO - Created VN ctest-vn-60770169
2025-09-16 20:13:08,664 - DEBUG - VN ctest-vn-60770169 UUID is c8beb4f8-97f2-4af6-b4ea-620d2a661282
2025-09-16 20:13:08,960 - DEBUG - Response for create_network : {'network': {'id': '7fb42264-fb28-418a-a9cd-36c19c3cd51c', 'name': 'ctest-ext_vn-72596647', 'tenant_id': '1608603e93844e6eada3ad086d870bb2', 'project_id': '1608603e93844e6eada3ad086d870bb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156944', 'ctest-ext_vn-72596647'], 'port_security_enabled': True, 'description': ''}}
2025-09-16 20:13:09,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '4059a4c3-b060-4ae9-ab9b-ae57f3268581', 'name': '', 'tenant_id': '1608603e93844e6eada3ad086d870bb2', 'network_id': '7fb42264-fb28-418a-a9cd-36c19c3cd51c', 'ip_version': 4, 'cidr': '85.28.18.64/26', 'allocation_pools': [{'start': '85.28.18.66', 'end': '85.28.18.126'}], 'gateway_ip': '85.28.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.28.18.66', 'tags': [], 'project_id': '1608603e93844e6eada3ad086d870bb2'}}
2025-09-16 20:13:09,169 - INFO - Created VN ctest-ext_vn-72596647
2025-09-16 20:13:09,224 - DEBUG - VN ctest-ext_vn-72596647 UUID is 7fb42264-fb28-418a-a9cd-36c19c3cd51c
2025-09-16 20:13:09,431 - DEBUG - Services list from nova: [, , ]
2025-09-16 20:13:10,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1)
2025-09-16 20:13:11,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4126-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4126-1)
2025-09-16 20:13:11,585 - INFO - Setting gateway for router 6d4a4e7c-2078-4faf-8371-b5aad80c34e0 to network 7fb42264-fb28-418a-a9cd-36c19c3cd51c
2025-09-16 20:13:11,650 - INFO - Adding interface with subnet_id cb02ae41-63de-4169-9e58-d997bed0baa9, port_id None to router 6d4a4e7c-2078-4faf-8371-b5aad80c34e0
2025-09-16 20:13:11,959 - INFO - Waiting for VM ctest-TestRoutersBasic-73156944-75362540 to be up..
2025-09-16 20:13:12,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-16 20:13:17,176 - DEBUG - VM is in ACTIVE state now
2025-09-16 20:13:17,176 - INFO - VM name : ctest-TestRoutersBasic-73156944-75362540
2025-09-16 20:13:17,257 - DEBUG - VM ctest-TestRoutersBasic-73156944-75362540 ID is 763f1d48-0cc0-43b5-b59e-ed6d2ad4ee8a
2025-09-16 20:13:17,278 - DEBUG - VM ctest-TestRoutersBasic-73156944-75362540 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1
2025-09-16 20:13:17,357 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/763f1d48-0cc0-43b5-b59e-ed6d2ad4ee8a
2025-09-16 20:13:17,657 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/763f1d48-0cc0-43b5-b59e-ed6d2ad4ee8a
2025-09-16 20:13:17,690 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/52ec8c29-c496-4880-acbb-bc055c2b6597
2025-09-16 20:13:20,944 - 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 1012ms')
2025-09-16 20:13:20,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73156944-75362540 failed!
2025-09-16 20:13:20,996 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73156944:ctest-vn-60770169 is 133.97.252.65 and allocation pool is NOT set
2025-09-16 20:13:23,058 - 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.454 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.454/1.663/2.872/1.209 ms')
2025-09-16 20:13:23,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73156944-75362540 passed
2025-09-16 20:13:23,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:13:23,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73156944-75362540, IP 133.97.252.67, Port 22
2025-09-16 20:13:23,363 - DEBUG - VM ctest-TestRoutersBasic-73156944-75362540 is ready for SSH connections
2025-09-16 20:13:23,363 - INFO - Waiting for VM ctest-TestRoutersBasic-73156944-16975543 to be up..
2025-09-16 20:13:23,458 - DEBUG - VM is in ACTIVE state now
2025-09-16 20:13:23,458 - INFO - VM name : ctest-TestRoutersBasic-73156944-16975543
2025-09-16 20:13:23,538 - DEBUG - VM ctest-TestRoutersBasic-73156944-16975543 ID is 53718baa-0a8c-4421-825b-07b6cb4471a0
2025-09-16 20:13:23,538 - DEBUG - VM ctest-TestRoutersBasic-73156944-16975543 launched on Node cn-jenkins-deploy-platform-ansible-os-4126-1
2025-09-16 20:13:23,613 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/53718baa-0a8c-4421-825b-07b6cb4471a0
2025-09-16 20:13:23,621 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8c0a60f4-dc9f-430a-8611-585c02488c36
2025-09-16 20:13:24,860 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/1.634/2.839/1.204 ms')
2025-09-16 20:13:24,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73156944-16975543 passed
2025-09-16 20:13:25,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:13:25,012 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73156944-16975543, IP 85.28.18.67, Port 22
2025-09-16 20:13:25,168 - DEBUG - VM ctest-TestRoutersBasic-73156944-16975543 is ready for SSH connections
2025-09-16 20:13:25,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-16 20:13:25,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.28.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-16 20:13:25,168 - DEBUG - ping -s 56 -c 3 -W 1 85.28.18.67
2025-09-16 20:13:29,222 - DEBUG - PING 85.28.18.67 (85.28.18.67): 56 data bytes
64 bytes from 85.28.18.67: seq=0 ttl=62 time=4.403 ms
64 bytes from 85.28.18.67: seq=1 ttl=62 time=1.192 ms
64 bytes from 85.28.18.67: seq=2 ttl=62 time=1.215 ms
--- 85.28.18.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.192/2.270/4.403 ms
2025-09-16 20:13:29,222 - INFO - Ping to IP 85.28.18.67 from VM ctest-TestRoutersBasic-73156944-75362540 passed
2025-09-16 20:13:29,223 - INFO - Deleting interface with subnet_id cb02ae41-63de-4169-9e58-d997bed0baa9, port_id None from router 6d4a4e7c-2078-4faf-8371-b5aad80c34e0
2025-09-16 20:13:29,486 - INFO - Deleting VM ctest-TestRoutersBasic-73156944-16975543
2025-09-16 20:13:29,565 - INFO - Deleting VM ctest-TestRoutersBasic-73156944-75362540
2025-09-16 20:13:29,646 - INFO - Deleting VN ctest-ext_vn-72596647
2025-09-16 20:13:29,712 - DEBUG - VN 7fb42264-fb28-418a-a9cd-36c19c3cd51c still in use: Unable to complete operation on network 7fb42264-fb28-418a-a9cd-36c19c3cd51c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-614d4fee-d735-446a-96d7-a3a97baec95c']
2025-09-16 20:13:29,712 - WARNING - Deleting VN ctest-ext_vn-72596647 failed..Will retry
2025-09-16 20:13:31,817 - DEBUG - Response for deleting network ()
2025-09-16 20:13:31,817 - INFO - Deleting VN ctest-vn-60770169
2025-09-16 20:13:31,952 - DEBUG - Response for deleting network ()
2025-09-16 20:13:32,221 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 20:13:32,221 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-16 20:13:32,221 - INFO - --------------------------------------------------------------------------------
2025-09-16 20:13:32,961 - INFO - Deleted project: ctest-TestRoutersBasic-73156944, ID : 1608603e-9384-4e6e-ada3-ad086d870bb2