2025-06-10 12:23:04,515 - INFO - Domain Default found not creating
2025-06-10 12:23:04,660 - INFO - Project ctest-TestRoutersBasic-32375720 not found, creating it
2025-06-10 12:23:05,113 - INFO - Created Project:ctest-TestRoutersBasic-32375720, ID : 37637ec7-df94-4c71-a5a2-917b4c3ac296
2025-06-10 12:23:06,617 - INFO - ================================================================================
2025-06-10 12:23:06,617 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-06-10 12:23:06,617 - 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-06-10 12:23:06,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with
2025-06-10 12:23:06,876 - INFO - Initial checks done. Running the testcase now
2025-06-10 12:23:06,876 - INFO -
2025-06-10 12:23:07,661 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32375720
2025-06-10 12:23:07,762 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32375720
2025-06-10 12:23:08,085 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375720', 'default']}
2025-06-10 12:23:08,383 - DEBUG - Response for create_network : {'network': {'id': '494048e9-afa3-4446-91b8-66eaba5df33d', 'name': 'ctest-vn-48640304', 'tenant_id': '37637ec7df944c71a5a2917b4c3ac296', 'project_id': '37637ec7df944c71a5a2917b4c3ac296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375720', 'ctest-vn-48640304'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 12:23:08,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de1ca71d-5a45-4298-8de7-fec0872656cf', 'name': '', 'tenant_id': '37637ec7df944c71a5a2917b4c3ac296', 'network_id': '494048e9-afa3-4446-91b8-66eaba5df33d', 'ip_version': 4, 'cidr': '209.68.38.192/26', 'allocation_pools': [{'start': '209.68.38.194', 'end': '209.68.38.254'}], 'gateway_ip': '209.68.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.68.38.194', 'tags': [], 'project_id': '37637ec7df944c71a5a2917b4c3ac296'}}
2025-06-10 12:23:08,575 - INFO - Created VN ctest-vn-48640304
2025-06-10 12:23:08,629 - DEBUG - VN ctest-vn-48640304 UUID is 494048e9-afa3-4446-91b8-66eaba5df33d
2025-06-10 12:23:08,948 - DEBUG - Response for create_network : {'network': {'id': '6b6df751-d20f-4143-ab02-7a14cf7c39bf', 'name': 'ctest-ext_vn-59667429', 'tenant_id': '37637ec7df944c71a5a2917b4c3ac296', 'project_id': '37637ec7df944c71a5a2917b4c3ac296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32375720', 'ctest-ext_vn-59667429'], 'port_security_enabled': True, 'description': ''}}
2025-06-10 12:23:09,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f40e7994-4826-4055-a95f-96e46fd7392d', 'name': '', 'tenant_id': '37637ec7df944c71a5a2917b4c3ac296', 'network_id': '6b6df751-d20f-4143-ab02-7a14cf7c39bf', 'ip_version': 4, 'cidr': '221.177.17.192/26', 'allocation_pools': [{'start': '221.177.17.194', 'end': '221.177.17.254'}], 'gateway_ip': '221.177.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.177.17.194', 'tags': [], 'project_id': '37637ec7df944c71a5a2917b4c3ac296'}}
2025-06-10 12:23:09,165 - INFO - Created VN ctest-ext_vn-59667429
2025-06-10 12:23:09,221 - DEBUG - VN ctest-ext_vn-59667429 UUID is 6b6df751-d20f-4143-ab02-7a14cf7c39bf
2025-06-10 12:23:09,391 - DEBUG - Services list from nova: [, , ]
2025-06-10 12:23:10,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1)
2025-06-10 12:23:11,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3432-1)
2025-06-10 12:23:11,791 - INFO - Setting gateway for router ca5b8b8d-25f2-4734-a9d7-0997e2f7d413 to network 6b6df751-d20f-4143-ab02-7a14cf7c39bf
2025-06-10 12:23:11,862 - INFO - Adding interface with subnet_id de1ca71d-5a45-4298-8de7-fec0872656cf, port_id None to router ca5b8b8d-25f2-4734-a9d7-0997e2f7d413
2025-06-10 12:23:12,352 - INFO - Waiting for VM ctest-TestRoutersBasic-32375720-81672686 to be up..
2025-06-10 12:23:12,555 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-10 12:23:17,636 - DEBUG - VM is in ACTIVE state now
2025-06-10 12:23:17,636 - INFO - VM name : ctest-TestRoutersBasic-32375720-81672686
2025-06-10 12:23:17,715 - DEBUG - VM ctest-TestRoutersBasic-32375720-81672686 ID is a67ef8dd-2249-4061-a588-aa32f790e8b7
2025-06-10 12:23:17,740 - DEBUG - VM ctest-TestRoutersBasic-32375720-81672686 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1
2025-06-10 12:23:17,824 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a67ef8dd-2249-4061-a588-aa32f790e8b7
2025-06-10 12:23:18,168 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a67ef8dd-2249-4061-a588-aa32f790e8b7
2025-06-10 12:23:18,213 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/36a855e3-ccff-48e7-b9e5-3e158b0bd2e3
2025-06-10 12:23:21,476 - 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 1020ms')
2025-06-10 12:23:21,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32375720-81672686 failed!
2025-06-10 12:23:21,529 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32375720:ctest-vn-48640304 is 209.68.38.193 and allocation pool is NOT set
2025-06-10 12:23:23,591 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 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.766/3.099/4.432/1.333 ms')
2025-06-10 12:23:23,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32375720-81672686 passed
2025-06-10 12:23:23,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 12:23:23,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375720-81672686, IP 209.68.38.195, Port 22
2025-06-10 12:23:23,800 - 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-06-10 12:23:23,882 - DEBUG - VM ctest-TestRoutersBasic-32375720-81672686 is NOT ready for SSH connections, VM status: ACTIVE
2025-06-10 12:23:28,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 12:23:28,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375720-81672686, IP 209.68.38.195, Port 22
2025-06-10 12:23:29,042 - DEBUG - VM ctest-TestRoutersBasic-32375720-81672686 is ready for SSH connections
2025-06-10 12:23:29,042 - INFO - Waiting for VM ctest-TestRoutersBasic-32375720-74337681 to be up..
2025-06-10 12:23:29,140 - DEBUG - VM is in ACTIVE state now
2025-06-10 12:23:29,141 - INFO - VM name : ctest-TestRoutersBasic-32375720-74337681
2025-06-10 12:23:29,245 - DEBUG - VM ctest-TestRoutersBasic-32375720-74337681 ID is 88685f24-0393-465a-91e9-be7adf5ca437
2025-06-10 12:23:29,245 - DEBUG - VM ctest-TestRoutersBasic-32375720-74337681 launched on Node cn-jenkins-deploy-platform-ansible-os-3432-1
2025-06-10 12:23:29,345 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/88685f24-0393-465a-91e9-be7adf5ca437
2025-06-10 12:23:29,356 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0cbc9058-a2dd-4b57-9fdc-d4affcf72e50
2025-06-10 12:23:30,603 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/1.866/3.242/1.376 ms')
2025-06-10 12:23:30,603 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32375720-74337681 passed
2025-06-10 12:23:30,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 12:23:30,753 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32375720-74337681, IP 221.177.17.195, Port 22
2025-06-10 12:23:30,913 - DEBUG - VM ctest-TestRoutersBasic-32375720-74337681 is ready for SSH connections
2025-06-10 12:23:30,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-10 12:23:30,913 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.177.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-06-10 12:23:30,913 - DEBUG - ping -s 56 -c 3 -W 1 221.177.17.195
2025-06-10 12:23:34,953 - DEBUG - PING 221.177.17.195 (221.177.17.195): 56 data bytes
64 bytes from 221.177.17.195: seq=0 ttl=62 time=6.314 ms
64 bytes from 221.177.17.195: seq=1 ttl=62 time=0.766 ms
64 bytes from 221.177.17.195: seq=2 ttl=62 time=0.888 ms
--- 221.177.17.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.766/2.656/6.314 ms
2025-06-10 12:23:34,953 - INFO - Ping to IP 221.177.17.195 from VM ctest-TestRoutersBasic-32375720-81672686 passed
2025-06-10 12:23:34,953 - INFO - Deleting interface with subnet_id de1ca71d-5a45-4298-8de7-fec0872656cf, port_id None from router ca5b8b8d-25f2-4734-a9d7-0997e2f7d413
2025-06-10 12:23:35,187 - INFO - Deleting VM ctest-TestRoutersBasic-32375720-74337681
2025-06-10 12:23:35,254 - INFO - Deleting VM ctest-TestRoutersBasic-32375720-81672686
2025-06-10 12:23:35,364 - INFO - Deleting VN ctest-ext_vn-59667429
2025-06-10 12:23:35,470 - DEBUG - VN 6b6df751-d20f-4143-ab02-7a14cf7c39bf still in use: Unable to complete operation on network 6b6df751-d20f-4143-ab02-7a14cf7c39bf. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-907ebd43-9a2a-4e12-966a-69a6decc780d']
2025-06-10 12:23:35,470 - WARNING - Deleting VN ctest-ext_vn-59667429 failed..Will retry
2025-06-10 12:23:37,598 - DEBUG - Response for deleting network ()
2025-06-10 12:23:37,598 - INFO - Deleting VN ctest-vn-48640304
2025-06-10 12:23:37,702 - DEBUG - Response for deleting network ()
2025-06-10 12:23:37,956 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 12:23:37,957 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-06-10 12:23:37,957 - INFO - --------------------------------------------------------------------------------
2025-06-10 12:23:38,667 - INFO - Deleted project: ctest-TestRoutersBasic-32375720, ID : 37637ec7-df94-4c71-a5a2-917b4c3ac296