2026-05-15 17:20:45,692 - INFO - Domain Default found not creating
2026-05-15 17:20:45,883 - INFO - Project ctest-TestRoutersBasic-41297562 not found, creating it
2026-05-15 17:20:46,357 - INFO - Created Project:ctest-TestRoutersBasic-41297562, ID : 3d01603e-2bdf-478e-a2bf-902b23087cdd
2026-05-15 17:20:47,833 - INFO - ================================================================================
2026-05-15 17:20:47,833 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-05-15 17:20:47,833 - 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
2026-05-15 17:20:48,089 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-05-15 17:20:48,089 - INFO - Initial checks done. Running the testcase now
2026-05-15 17:20:48,089 - INFO -
2026-05-15 17:20:48,790 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41297562
2026-05-15 17:20:48,884 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41297562
2026-05-15 17:20:49,203 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41297562', 'default']}
2026-05-15 17:20:49,478 - DEBUG - Response for create_network : {'network': {'id': '7ff79da3-ae92-4ef2-b10b-7fd7064effe5', 'name': 'ctest-vn-57220697', 'tenant_id': '3d01603e2bdf478ea2bf902b23087cdd', 'project_id': '3d01603e2bdf478ea2bf902b23087cdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41297562', 'ctest-vn-57220697'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:20:49,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '0aa9ee61-2205-4155-9713-de65b4d991c5', 'name': '', 'tenant_id': '3d01603e2bdf478ea2bf902b23087cdd', 'network_id': '7ff79da3-ae92-4ef2-b10b-7fd7064effe5', 'ip_version': 4, 'cidr': '16.98.149.128/26', 'allocation_pools': [{'start': '16.98.149.130', 'end': '16.98.149.190'}], 'gateway_ip': '16.98.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.98.149.130', 'tags': [], 'project_id': '3d01603e2bdf478ea2bf902b23087cdd'}}
2026-05-15 17:20:49,692 - INFO - Created VN ctest-vn-57220697
2026-05-15 17:20:49,743 - DEBUG - VN ctest-vn-57220697 UUID is 7ff79da3-ae92-4ef2-b10b-7fd7064effe5
2026-05-15 17:20:50,062 - DEBUG - Response for create_network : {'network': {'id': '5d111adb-6ccd-417e-895b-0d80e4e0dbb4', 'name': 'ctest-ext_vn-95095469', 'tenant_id': '3d01603e2bdf478ea2bf902b23087cdd', 'project_id': '3d01603e2bdf478ea2bf902b23087cdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41297562', 'ctest-ext_vn-95095469'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:20:50,211 - DEBUG - Response for create_subnet : {'subnet': {'id': '43ebeef5-c241-4063-9645-2826597b3942', 'name': '', 'tenant_id': '3d01603e2bdf478ea2bf902b23087cdd', 'network_id': '5d111adb-6ccd-417e-895b-0d80e4e0dbb4', 'ip_version': 4, 'cidr': '44.92.248.0/26', 'allocation_pools': [{'start': '44.92.248.2', 'end': '44.92.248.62'}], 'gateway_ip': '44.92.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.92.248.2', 'tags': [], 'project_id': '3d01603e2bdf478ea2bf902b23087cdd'}}
2026-05-15 17:20:50,229 - INFO - Created VN ctest-ext_vn-95095469
2026-05-15 17:20:50,284 - DEBUG - VN ctest-ext_vn-95095469 UUID is 5d111adb-6ccd-417e-895b-0d80e4e0dbb4
2026-05-15 17:20:50,493 - DEBUG - Services list from nova: [, , ]
2026-05-15 17:20:51,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5788-1)
2026-05-15 17:20:52,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5788-1)
2026-05-15 17:20:52,838 - INFO - Setting gateway for router 5e87dd96-56dc-4c14-9b28-24f4b4448b40 to network 5d111adb-6ccd-417e-895b-0d80e4e0dbb4
2026-05-15 17:20:52,931 - INFO - Adding interface with subnet_id 0aa9ee61-2205-4155-9713-de65b4d991c5, port_id None to router 5e87dd96-56dc-4c14-9b28-24f4b4448b40
2026-05-15 17:20:53,329 - INFO - Waiting for VM ctest-TestRoutersBasic-41297562-45162493 to be up..
2026-05-15 17:20:53,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-15 17:20:58,579 - DEBUG - VM is in ACTIVE state now
2026-05-15 17:20:58,579 - INFO - VM name : ctest-TestRoutersBasic-41297562-45162493
2026-05-15 17:20:58,654 - DEBUG - VM ctest-TestRoutersBasic-41297562-45162493 ID is 4bd5d6db-66eb-4f44-8283-66396592ebd9
2026-05-15 17:20:58,672 - DEBUG - VM ctest-TestRoutersBasic-41297562-45162493 launched on Node cn-jenkins-deploy-platform-ansible-os-5788-1
2026-05-15 17:20:58,743 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4bd5d6db-66eb-4f44-8283-66396592ebd9
2026-05-15 17:20:59,037 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4bd5d6db-66eb-4f44-8283-66396592ebd9
2026-05-15 17:20:59,069 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c9fcd1b3-57ce-4e22-ae27-ebbf95901e19
2026-05-15 17:21:02,313 - 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 1007ms')
2026-05-15 17:21:02,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41297562-45162493 failed!
2026-05-15 17:21:02,372 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41297562:ctest-vn-57220697 is 16.98.149.129 and allocation pool is NOT set
2026-05-15 17:21:04,431 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/1.558/2.610/1.052 ms')
2026-05-15 17:21:04,431 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41297562-45162493 passed
2026-05-15 17:21:04,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:21:04,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41297562-45162493, IP 16.98.149.131, Port 22
2026-05-15 17:21:04,736 - DEBUG - VM ctest-TestRoutersBasic-41297562-45162493 is ready for SSH connections
2026-05-15 17:21:04,736 - INFO - Waiting for VM ctest-TestRoutersBasic-41297562-26030322 to be up..
2026-05-15 17:21:04,815 - DEBUG - VM is in ACTIVE state now
2026-05-15 17:21:04,815 - INFO - VM name : ctest-TestRoutersBasic-41297562-26030322
2026-05-15 17:21:04,888 - DEBUG - VM ctest-TestRoutersBasic-41297562-26030322 ID is d42f4ea0-161b-4743-81e8-848c6281c856
2026-05-15 17:21:04,888 - DEBUG - VM ctest-TestRoutersBasic-41297562-26030322 launched on Node cn-jenkins-deploy-platform-ansible-os-5788-1
2026-05-15 17:21:04,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d42f4ea0-161b-4743-81e8-848c6281c856
2026-05-15 17:21:04,973 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7587ee46-faf1-4fe0-8323-a0a13d24b117
2026-05-15 17:21:06,215 - 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=5.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.120/3.572/5.025/1.452 ms')
2026-05-15 17:21:06,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41297562-26030322 passed
2026-05-15 17:21:06,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:21:06,368 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41297562-26030322, IP 44.92.248.3, Port 22
2026-05-15 17:21:06,424 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-05-15 17:21:06,497 - DEBUG - VM ctest-TestRoutersBasic-41297562-26030322 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-15 17:21:11,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:21:11,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41297562-26030322, IP 44.92.248.3, Port 22
2026-05-15 17:21:11,655 - DEBUG - VM ctest-TestRoutersBasic-41297562-26030322 is ready for SSH connections
2026-05-15 17:21:11,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:21:11,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.92.248.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-05-15 17:21:11,655 - DEBUG - ping -s 56 -c 3 -W 1 44.92.248.3
2026-05-15 17:21:15,522 - DEBUG - PING 44.92.248.3 (44.92.248.3): 56 data bytes
64 bytes from 44.92.248.3: seq=0 ttl=62 time=6.659 ms
64 bytes from 44.92.248.3: seq=1 ttl=62 time=0.949 ms
64 bytes from 44.92.248.3: seq=2 ttl=62 time=0.830 ms
--- 44.92.248.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.830/2.812/6.659 ms
2026-05-15 17:21:15,522 - INFO - Ping to IP 44.92.248.3 from VM ctest-TestRoutersBasic-41297562-45162493 passed
2026-05-15 17:21:15,522 - INFO - Deleting interface with subnet_id 0aa9ee61-2205-4155-9713-de65b4d991c5, port_id None from router 5e87dd96-56dc-4c14-9b28-24f4b4448b40
2026-05-15 17:21:15,731 - INFO - Deleting VM ctest-TestRoutersBasic-41297562-26030322
2026-05-15 17:21:15,826 - INFO - Deleting VM ctest-TestRoutersBasic-41297562-45162493
2026-05-15 17:21:15,900 - INFO - Deleting VN ctest-ext_vn-95095469
2026-05-15 17:21:15,983 - DEBUG - VN 5d111adb-6ccd-417e-895b-0d80e4e0dbb4 still in use: Unable to complete operation on network 5d111adb-6ccd-417e-895b-0d80e4e0dbb4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-27083401-0691-473d-829b-71429553db75']
2026-05-15 17:21:15,983 - WARNING - Deleting VN ctest-ext_vn-95095469 failed..Will retry
2026-05-15 17:21:18,081 - DEBUG - Response for deleting network ()
2026-05-15 17:21:18,081 - INFO - Deleting VN ctest-vn-57220697
2026-05-15 17:21:18,174 - DEBUG - Response for deleting network ()
2026-05-15 17:21:18,433 - DEBUG - No XMPP flaps were noticed during the test
2026-05-15 17:21:18,433 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-05-15 17:21:18,433 - INFO - --------------------------------------------------------------------------------
2026-05-15 17:21:19,113 - INFO - Deleted project: ctest-TestRoutersBasic-41297562, ID : 3d01603e-2bdf-478e-a2bf-902b23087cdd