2026-08-25 23:25:41,532 - INFO - Domain Default found not creating
2026-08-25 23:25:41,699 - INFO - Project ctest-TestRoutersBasic-88821265 not found, creating it
2026-08-25 23:25:42,187 - INFO - Created Project:ctest-TestRoutersBasic-88821265, ID : 46102640-2d33-41c1-a6ff-78717828ad98
2026-08-25 23:25:43,934 - INFO - ================================================================================
2026-08-25 23:25:43,934 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-25 23:25:43,934 - 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-08-25 23:25:44,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-08-25 23:25:44,193 - INFO - Initial checks done. Running the testcase now
2026-08-25 23:25:44,193 - INFO -
2026-08-25 23:25:44,979 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88821265
2026-08-25 23:25:45,077 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88821265
2026-08-25 23:25:45,413 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88821265', 'default']}
2026-08-25 23:25:45,739 - DEBUG - Response for create_network : {'network': {'id': 'dd016e1a-d1b3-47b6-b3c9-a8e653b7dd8f', 'name': 'ctest-vn-47401330', 'tenant_id': '461026402d3341c1a6ff78717828ad98', 'project_id': '461026402d3341c1a6ff78717828ad98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88821265', 'ctest-vn-47401330'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:25:45,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebbb9223-1062-48c0-9e37-391ceb378c36', 'name': '', 'tenant_id': '461026402d3341c1a6ff78717828ad98', 'network_id': 'dd016e1a-d1b3-47b6-b3c9-a8e653b7dd8f', 'ip_version': 4, 'cidr': '178.203.91.128/26', 'allocation_pools': [{'start': '178.203.91.130', 'end': '178.203.91.190'}], 'gateway_ip': '178.203.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.203.91.130', 'tags': [], 'project_id': '461026402d3341c1a6ff78717828ad98'}}
2026-08-25 23:25:45,929 - INFO - Created VN ctest-vn-47401330
2026-08-25 23:25:45,981 - DEBUG - VN ctest-vn-47401330 UUID is dd016e1a-d1b3-47b6-b3c9-a8e653b7dd8f
2026-08-25 23:25:46,354 - DEBUG - Response for create_network : {'network': {'id': 'c08d7fa7-1035-456d-9b46-6c49c26873dc', 'name': 'ctest-ext_vn-04991341', 'tenant_id': '461026402d3341c1a6ff78717828ad98', 'project_id': '461026402d3341c1a6ff78717828ad98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88821265', 'ctest-ext_vn-04991341'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 23:25:46,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '493f1387-5913-44cb-ba7e-e13d8150c600', 'name': '', 'tenant_id': '461026402d3341c1a6ff78717828ad98', 'network_id': 'c08d7fa7-1035-456d-9b46-6c49c26873dc', 'ip_version': 4, 'cidr': '47.10.178.128/26', 'allocation_pools': [{'start': '47.10.178.130', 'end': '47.10.178.190'}], 'gateway_ip': '47.10.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.10.178.130', 'tags': [], 'project_id': '461026402d3341c1a6ff78717828ad98'}}
2026-08-25 23:25:46,593 - INFO - Created VN ctest-ext_vn-04991341
2026-08-25 23:25:46,649 - DEBUG - VN ctest-ext_vn-04991341 UUID is c08d7fa7-1035-456d-9b46-6c49c26873dc
2026-08-25 23:25:46,822 - DEBUG - Services list from nova: [, , ]
2026-08-25 23:25:47,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6229-1)
2026-08-25 23:25:47,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6229-1)
2026-08-25 23:25:47,677 - INFO - Setting gateway for router 7fe8278f-ebb9-4444-be36-b636cc9c261f to network c08d7fa7-1035-456d-9b46-6c49c26873dc
2026-08-25 23:25:47,774 - INFO - Adding interface with subnet_id ebbb9223-1062-48c0-9e37-391ceb378c36, port_id None to router 7fe8278f-ebb9-4444-be36-b636cc9c261f
2026-08-25 23:25:48,117 - INFO - Waiting for VM ctest-TestRoutersBasic-88821265-40380939 to be up..
2026-08-25 23:25:48,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:25:53,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:25:58,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:26:03,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:26:08,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:26:13,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:26:18,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 23:26:23,929 - DEBUG - VM is in ACTIVE state now
2026-08-25 23:26:23,929 - INFO - VM name : ctest-TestRoutersBasic-88821265-40380939
2026-08-25 23:26:24,015 - DEBUG - VM ctest-TestRoutersBasic-88821265-40380939 ID is 62e54423-e091-4483-8d3c-d887f12f1eb2
2026-08-25 23:26:24,041 - DEBUG - VM ctest-TestRoutersBasic-88821265-40380939 launched on Node cn-jenkins-deploy-platform-ansible-os-6229-1
2026-08-25 23:26:24,137 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/62e54423-e091-4483-8d3c-d887f12f1eb2
2026-08-25 23:26:24,471 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/62e54423-e091-4483-8d3c-d887f12f1eb2
2026-08-25 23:26:24,504 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/ed2efd72-a0e0-449b-b880-e3090c6d382a
2026-08-25 23:26:27,760 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-08-25 23:26:27,760 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88821265-40380939 failed!
2026-08-25 23:26:27,813 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88821265:ctest-vn-47401330 is 178.203.91.129 and allocation pool is NOT set
2026-08-25 23:26:29,882 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=5.06 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.31 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.307/3.183/5.060/1.876 ms')
2026-08-25 23:26:29,882 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88821265-40380939 passed
2026-08-25 23:26:30,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 23:26:30,050 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88821265-40380939, IP 178.203.91.131, Port 22
2026-08-25 23:26:30,115 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-25 23:26:30,207 - DEBUG - VM ctest-TestRoutersBasic-88821265-40380939 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-25 23:26:35,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 23:26:35,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88821265-40380939, IP 178.203.91.131, Port 22
2026-08-25 23:26:35,380 - DEBUG - VM ctest-TestRoutersBasic-88821265-40380939 is ready for SSH connections
2026-08-25 23:26:35,380 - INFO - Waiting for VM ctest-TestRoutersBasic-88821265-98322067 to be up..
2026-08-25 23:26:35,463 - DEBUG - VM is in ACTIVE state now
2026-08-25 23:26:35,463 - INFO - VM name : ctest-TestRoutersBasic-88821265-98322067
2026-08-25 23:26:35,551 - DEBUG - VM ctest-TestRoutersBasic-88821265-98322067 ID is 0616e7d0-48bb-4230-ac99-540f098a7221
2026-08-25 23:26:35,551 - DEBUG - VM ctest-TestRoutersBasic-88821265-98322067 launched on Node cn-jenkins-deploy-platform-ansible-os-6229-1
2026-08-25 23:26:35,630 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/0616e7d0-48bb-4230-ac99-540f098a7221
2026-08-25 23:26:35,639 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/85b7bff9-5a5e-4307-9a61-c5cf0dd11568
2026-08-25 23:26:36,891 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.76 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.467 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.467/2.112/3.758/1.645 ms')
2026-08-25 23:26:36,891 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-88821265-98322067 passed
2026-08-25 23:26:37,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 23:26:37,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88821265-98322067, IP 47.10.178.132, Port 22
2026-08-25 23:26:37,208 - DEBUG - VM ctest-TestRoutersBasic-88821265-98322067 is ready for SSH connections
2026-08-25 23:26:37,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 23:26:37,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.10.178.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-08-25 23:26:37,209 - DEBUG - ping -s 56 -c 3 -W 1 47.10.178.132
2026-08-25 23:26:40,296 - DEBUG - PING 47.10.178.132 (47.10.178.132): 56 data bytes
64 bytes from 47.10.178.132: seq=0 ttl=62 time=8.771 ms
64 bytes from 47.10.178.132: seq=1 ttl=62 time=1.307 ms
64 bytes from 47.10.178.132: seq=2 ttl=62 time=1.400 ms
--- 47.10.178.132 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.307/3.826/8.771 ms
2026-08-25 23:26:40,297 - INFO - Ping to IP 47.10.178.132 from VM ctest-TestRoutersBasic-88821265-40380939 passed
2026-08-25 23:26:40,297 - INFO - Deleting interface with subnet_id ebbb9223-1062-48c0-9e37-391ceb378c36, port_id None from router 7fe8278f-ebb9-4444-be36-b636cc9c261f
2026-08-25 23:26:40,564 - INFO - Deleting VM ctest-TestRoutersBasic-88821265-98322067
2026-08-25 23:26:40,651 - INFO - Deleting VM ctest-TestRoutersBasic-88821265-40380939
2026-08-25 23:26:40,727 - INFO - Deleting VN ctest-ext_vn-04991341
2026-08-25 23:26:40,810 - DEBUG - VN c08d7fa7-1035-456d-9b46-6c49c26873dc still in use: Unable to complete operation on network c08d7fa7-1035-456d-9b46-6c49c26873dc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e4532ef3-9032-4ba9-a004-a3a92f021a1c']
2026-08-25 23:26:40,810 - WARNING - Deleting VN ctest-ext_vn-04991341 failed..Will retry
2026-08-25 23:26:42,856 - DEBUG - VN c08d7fa7-1035-456d-9b46-6c49c26873dc still in use: Unable to complete operation on network c08d7fa7-1035-456d-9b46-6c49c26873dc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-51b8393e-bb10-4510-8c4f-06d0ab5d567b']
2026-08-25 23:26:42,856 - WARNING - Deleting VN ctest-ext_vn-04991341 failed..Will retry
2026-08-25 23:26:44,975 - DEBUG - Response for deleting network ()
2026-08-25 23:26:44,976 - INFO - Deleting VN ctest-vn-47401330
2026-08-25 23:26:45,099 - DEBUG - Response for deleting network ()
2026-08-25 23:26:45,375 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 23:26:45,375 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-08-25 23:26:45,375 - INFO - --------------------------------------------------------------------------------
2026-08-25 23:26:46,149 - INFO - Deleted project: ctest-TestRoutersBasic-88821265, ID : 46102640-2d33-41c1-a6ff-78717828ad98