2025-12-15 02:32:16,433 - INFO - Domain Default found not creating
2025-12-15 02:32:16,586 - INFO - Project ctest-TestRoutersBasic-60222479 not found, creating it
2025-12-15 02:32:17,118 - INFO - Created Project:ctest-TestRoutersBasic-60222479, ID : 0f24ff7e-7485-4bcb-90a8-2263b88202a8
2025-12-15 02:32:18,592 - INFO - ================================================================================
2025-12-15 02:32:18,592 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-15 02:32:18,592 - 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-15 02:32:19,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.254': '0', '10.20.0.18': '0'}} with
2025-12-15 02:32:19,871 - INFO - Initial checks done. Running the testcase now
2025-12-15 02:32:19,871 - INFO -
2025-12-15 02:32:20,593 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60222479
2025-12-15 02:32:20,651 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60222479
2025-12-15 02:32:20,955 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60222479', 'default']}
2025-12-15 02:32:21,348 - DEBUG - Response for create_network : {'network': {'id': '5a7ca101-17fb-4c6e-acab-e5dee60d6a5b', 'name': 'ctest-vn-48838794', 'tenant_id': '0f24ff7e74854bcb90a82263b88202a8', 'project_id': '0f24ff7e74854bcb90a82263b88202a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60222479', 'ctest-vn-48838794'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:32:21,647 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3538cbf-9a0c-4003-a8b4-d2c2c07b0fbc', 'name': '', 'tenant_id': '0f24ff7e74854bcb90a82263b88202a8', 'network_id': '5a7ca101-17fb-4c6e-acab-e5dee60d6a5b', 'ip_version': 4, 'cidr': '20.147.25.192/26', 'allocation_pools': [{'start': '20.147.25.194', 'end': '20.147.25.254'}], 'gateway_ip': '20.147.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.147.25.194', 'tags': [], 'project_id': '0f24ff7e74854bcb90a82263b88202a8'}}
2025-12-15 02:32:21,674 - INFO - Created VN ctest-vn-48838794
2025-12-15 02:32:21,695 - DEBUG - VN ctest-vn-48838794 UUID is 5a7ca101-17fb-4c6e-acab-e5dee60d6a5b
2025-12-15 02:32:22,151 - DEBUG - Response for create_network : {'network': {'id': '27960afc-88ab-4181-8bce-603a2403a186', 'name': 'ctest-ext_vn-68663774', 'tenant_id': '0f24ff7e74854bcb90a82263b88202a8', 'project_id': '0f24ff7e74854bcb90a82263b88202a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60222479', 'ctest-ext_vn-68663774'], 'port_security_enabled': True, 'description': ''}}
2025-12-15 02:32:22,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7202cfe-558d-4361-ae06-1c651ca98f16', 'name': '', 'tenant_id': '0f24ff7e74854bcb90a82263b88202a8', 'network_id': '27960afc-88ab-4181-8bce-603a2403a186', 'ip_version': 4, 'cidr': '71.168.137.64/26', 'allocation_pools': [{'start': '71.168.137.66', 'end': '71.168.137.126'}], 'gateway_ip': '71.168.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.168.137.66', 'tags': [], 'project_id': '0f24ff7e74854bcb90a82263b88202a8'}}
2025-12-15 02:32:22,436 - INFO - Created VN ctest-ext_vn-68663774
2025-12-15 02:32:22,446 - DEBUG - VN ctest-ext_vn-68663774 UUID is 27960afc-88ab-4181-8bce-603a2403a186
2025-12-15 02:32:22,615 - DEBUG - Services list from nova: [, , , ]
2025-12-15 02:32:23,975 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-2)
2025-12-15 02:32:25,621 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4894-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4894-1)
2025-12-15 02:32:25,748 - INFO - Setting gateway for router 56268b3c-5c07-44be-8141-62c42043af98 to network 27960afc-88ab-4181-8bce-603a2403a186
2025-12-15 02:32:25,839 - INFO - Adding interface with subnet_id e3538cbf-9a0c-4003-a8b4-d2c2c07b0fbc, port_id None to router 56268b3c-5c07-44be-8141-62c42043af98
2025-12-15 02:32:26,341 - INFO - Waiting for VM ctest-TestRoutersBasic-60222479-18710177 to be up..
2025-12-15 02:32:26,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-15 02:32:31,606 - DEBUG - VM is in ACTIVE state now
2025-12-15 02:32:31,606 - INFO - VM name : ctest-TestRoutersBasic-60222479-18710177
2025-12-15 02:32:31,690 - DEBUG - VM ctest-TestRoutersBasic-60222479-18710177 ID is 7afa9f17-62f2-42d8-813f-1e6b01f2e95c
2025-12-15 02:32:31,713 - DEBUG - VM ctest-TestRoutersBasic-60222479-18710177 launched on Node an-jenkins-deploy-platform-ansible-os-4894-2
2025-12-15 02:32:31,789 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7afa9f17-62f2-42d8-813f-1e6b01f2e95c
2025-12-15 02:32:32,082 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7afa9f17-62f2-42d8-813f-1e6b01f2e95c
2025-12-15 02:32:32,119 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5d98648e-85b5-4b72-9115-dd3f6a46cd41
2025-12-15 02:32:35,281 - 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 1011ms')
2025-12-15 02:32:35,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60222479-18710177 failed!
2025-12-15 02:32:35,299 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60222479:ctest-vn-48838794 is 20.147.25.193 and allocation pool is NOT set
2025-12-15 02:32:37,359 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/1.679/2.823/1.144 ms')
2025-12-15 02:32:37,359 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60222479-18710177 passed
2025-12-15 02:32:37,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 02:32:37,430 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60222479-18710177, IP 20.147.25.195, Port 22
2025-12-15 02:32:37,601 - DEBUG - VM ctest-TestRoutersBasic-60222479-18710177 is ready for SSH connections
2025-12-15 02:32:37,601 - INFO - Waiting for VM ctest-TestRoutersBasic-60222479-62032474 to be up..
2025-12-15 02:32:37,684 - DEBUG - VM is in ACTIVE state now
2025-12-15 02:32:37,684 - INFO - VM name : ctest-TestRoutersBasic-60222479-62032474
2025-12-15 02:32:37,768 - DEBUG - VM ctest-TestRoutersBasic-60222479-62032474 ID is 729bc926-a993-475a-88c1-b0c170feabca
2025-12-15 02:32:37,768 - DEBUG - VM ctest-TestRoutersBasic-60222479-62032474 launched on Node an-jenkins-deploy-platform-ansible-os-4894-1
2025-12-15 02:32:37,849 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/729bc926-a993-475a-88c1-b0c170feabca
2025-12-15 02:32:37,859 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/11dae075-2ac1-4470-9e29-d6b69a90866b
2025-12-15 02:32:39,023 - 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=5.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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 = 1.907/3.717/5.527/1.810 ms')
2025-12-15 02:32:39,023 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60222479-62032474 passed
2025-12-15 02:32:39,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 02:32:39,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60222479-62032474, IP 71.168.137.67, Port 22
2025-12-15 02:32:39,159 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-15 02:32:39,248 - DEBUG - VM ctest-TestRoutersBasic-60222479-62032474 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-15 02:32:44,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 02:32:44,249 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60222479-62032474, IP 71.168.137.67, Port 22
2025-12-15 02:32:44,416 - DEBUG - VM ctest-TestRoutersBasic-60222479-62032474 is ready for SSH connections
2025-12-15 02:32:44,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-15 02:32:44,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.168.137.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-12-15 02:32:44,416 - DEBUG - ping -s 56 -c 3 -W 1 71.168.137.67
2025-12-15 02:32:48,086 - DEBUG - PING 71.168.137.67 (71.168.137.67): 56 data bytes
64 bytes from 71.168.137.67: seq=0 ttl=62 time=9.476 ms
64 bytes from 71.168.137.67: seq=1 ttl=62 time=1.368 ms
64 bytes from 71.168.137.67: seq=2 ttl=62 time=1.338 ms
--- 71.168.137.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.338/4.060/9.476 ms
2025-12-15 02:32:48,086 - INFO - Ping to IP 71.168.137.67 from VM ctest-TestRoutersBasic-60222479-18710177 passed
2025-12-15 02:32:48,086 - INFO - Deleting interface with subnet_id e3538cbf-9a0c-4003-a8b4-d2c2c07b0fbc, port_id None from router 56268b3c-5c07-44be-8141-62c42043af98
2025-12-15 02:32:48,420 - INFO - Deleting VM ctest-TestRoutersBasic-60222479-62032474
2025-12-15 02:32:48,586 - INFO - Deleting VM ctest-TestRoutersBasic-60222479-18710177
2025-12-15 02:32:48,761 - INFO - Deleting VN ctest-ext_vn-68663774
2025-12-15 02:32:48,936 - DEBUG - VN 27960afc-88ab-4181-8bce-603a2403a186 still in use: Unable to complete operation on network 27960afc-88ab-4181-8bce-603a2403a186. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-200679d2-87be-430e-ac32-28671a789b24']
2025-12-15 02:32:48,937 - WARNING - Deleting VN ctest-ext_vn-68663774 failed..Will retry
2025-12-15 02:32:51,109 - DEBUG - Response for deleting network ()
2025-12-15 02:32:51,109 - INFO - Deleting VN ctest-vn-48838794
2025-12-15 02:32:51,306 - DEBUG - Response for deleting network ()
2025-12-15 02:32:52,588 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 02:32:52,588 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2025-12-15 02:32:52,588 - INFO - --------------------------------------------------------------------------------
2025-12-15 02:32:53,308 - INFO - Deleted project: ctest-TestRoutersBasic-60222479, ID : 0f24ff7e-7485-4bcb-90a8-2263b88202a8