2026-11-08 21:07:44,199 - INFO - Domain Default found not creating
2026-11-08 21:07:44,437 - INFO - Project ctest-TestRoutersBasic-92688600 not found, creating it
2026-11-08 21:07:45,255 - INFO - Created Project:ctest-TestRoutersBasic-92688600, ID : 101a8bf3-669d-42bc-b9bd-2027c8964d19
2026-11-08 21:07:47,545 - INFO - ================================================================================
2026-11-08 21:07:47,545 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-11-08 21:07:47,546 - 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-11-08 21:07:47,806 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-11-08 21:07:47,806 - INFO - Initial checks done. Running the testcase now
2026-11-08 21:07:47,806 - INFO -
2026-11-08 21:07:48,671 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92688600
2026-11-08 21:07:48,774 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92688600
2026-11-08 21:07:49,098 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92688600', 'default']}
2026-11-08 21:07:49,405 - DEBUG - Response for create_network : {'network': {'id': 'c8b39d0e-1c4f-42e6-85ab-1c5fd0ef60de', 'name': 'ctest-vn-21750529', 'tenant_id': '101a8bf3669d42bcb9bd2027c8964d19', 'project_id': '101a8bf3669d42bcb9bd2027c8964d19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92688600', 'ctest-vn-21750529'], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:07:49,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d1e81d6-8c58-4821-a689-290035ded6fa', 'name': '', 'tenant_id': '101a8bf3669d42bcb9bd2027c8964d19', 'network_id': 'c8b39d0e-1c4f-42e6-85ab-1c5fd0ef60de', 'ip_version': 4, 'cidr': '148.195.138.0/26', 'allocation_pools': [{'start': '148.195.138.2', 'end': '148.195.138.62'}], 'gateway_ip': '148.195.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.195.138.2', 'tags': [], 'project_id': '101a8bf3669d42bcb9bd2027c8964d19'}}
2026-11-08 21:07:49,578 - INFO - Created VN ctest-vn-21750529
2026-11-08 21:07:49,631 - DEBUG - VN ctest-vn-21750529 UUID is c8b39d0e-1c4f-42e6-85ab-1c5fd0ef60de
2026-11-08 21:07:49,982 - DEBUG - Response for create_network : {'network': {'id': 'f4860c92-bfb5-41dd-9ffc-95b98e257550', 'name': 'ctest-ext_vn-90117196', 'tenant_id': '101a8bf3669d42bcb9bd2027c8964d19', 'project_id': '101a8bf3669d42bcb9bd2027c8964d19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92688600', 'ctest-ext_vn-90117196'], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:07:50,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '2248e209-f5da-4dd5-9a86-8281488c5634', 'name': '', 'tenant_id': '101a8bf3669d42bcb9bd2027c8964d19', 'network_id': 'f4860c92-bfb5-41dd-9ffc-95b98e257550', 'ip_version': 4, 'cidr': '88.78.250.0/26', 'allocation_pools': [{'start': '88.78.250.2', 'end': '88.78.250.62'}], 'gateway_ip': '88.78.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.78.250.2', 'tags': [], 'project_id': '101a8bf3669d42bcb9bd2027c8964d19'}}
2026-11-08 21:07:50,208 - INFO - Created VN ctest-ext_vn-90117196
2026-11-08 21:07:50,262 - DEBUG - VN ctest-ext_vn-90117196 UUID is f4860c92-bfb5-41dd-9ffc-95b98e257550
2026-11-08 21:07:50,449 - DEBUG - Services list from nova: [, , ]
2026-11-08 21:07:51,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6498-1)
2026-11-08 21:07:51,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6498-1)
2026-11-08 21:07:51,574 - INFO - Setting gateway for router 8d1028ce-1ae9-4152-8efe-98426d34c3e3 to network f4860c92-bfb5-41dd-9ffc-95b98e257550
2026-11-08 21:07:51,682 - INFO - Adding interface with subnet_id 3d1e81d6-8c58-4821-a689-290035ded6fa, port_id None to router 8d1028ce-1ae9-4152-8efe-98426d34c3e3
2026-11-08 21:07:52,009 - INFO - Waiting for VM ctest-TestRoutersBasic-92688600-76159509 to be up..
2026-11-08 21:07:52,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:07:57,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:02,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:07,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:12,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:17,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:22,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:27,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-08 21:08:32,791 - DEBUG - VM is in ACTIVE state now
2026-11-08 21:08:32,792 - INFO - VM name : ctest-TestRoutersBasic-92688600-76159509
2026-11-08 21:08:32,884 - DEBUG - VM ctest-TestRoutersBasic-92688600-76159509 ID is fb3163e2-0747-40f3-9c1a-a4260a02670a
2026-11-08 21:08:32,909 - DEBUG - VM ctest-TestRoutersBasic-92688600-76159509 launched on Node cn-jenkins-deploy-platform-ansible-os-6498-1
2026-11-08 21:08:33,007 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/fb3163e2-0747-40f3-9c1a-a4260a02670a
2026-11-08 21:08:33,387 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/fb3163e2-0747-40f3-9c1a-a4260a02670a
2026-11-08 21:08:33,419 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/c3b2ede1-dc34-4f2b-afdf-9866bdd5b2a4
2026-11-08 21:08:36,702 - 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 1027ms')
2026-11-08 21:08:36,702 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-92688600-76159509 failed!
2026-11-08 21:08:36,762 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92688600:ctest-vn-21750529 is 148.195.138.1 and allocation pool is NOT set
2026-11-08 21:08:38,825 - 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=12.7 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.037/6.864/12.691/5.827 ms')
2026-11-08 21:08:38,825 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-92688600-76159509 passed
2026-11-08 21:08:38,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-08 21:08:38,990 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92688600-76159509, IP 148.195.138.3, Port 22
2026-11-08 21:08:39,060 - 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-11-08 21:08:39,157 - DEBUG - VM ctest-TestRoutersBasic-92688600-76159509 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-08 21:08:44,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-08 21:08:44,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92688600-76159509, IP 148.195.138.3, Port 22
2026-11-08 21:08:44,332 - DEBUG - VM ctest-TestRoutersBasic-92688600-76159509 is ready for SSH connections
2026-11-08 21:08:44,332 - INFO - Waiting for VM ctest-TestRoutersBasic-92688600-66855991 to be up..
2026-11-08 21:08:44,418 - DEBUG - VM is in ACTIVE state now
2026-11-08 21:08:44,418 - INFO - VM name : ctest-TestRoutersBasic-92688600-66855991
2026-11-08 21:08:44,504 - DEBUG - VM ctest-TestRoutersBasic-92688600-66855991 ID is 6713dd32-b862-49cf-9dec-b147a21267d4
2026-11-08 21:08:44,504 - DEBUG - VM ctest-TestRoutersBasic-92688600-66855991 launched on Node cn-jenkins-deploy-platform-ansible-os-6498-1
2026-11-08 21:08:44,587 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/6713dd32-b862-49cf-9dec-b147a21267d4
2026-11-08 21:08:44,596 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5663f51c-67ae-47fa-ae18-48905994c125
2026-11-08 21:08:45,833 - 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.86 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.550 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.550/2.206/3.863/1.656 ms')
2026-11-08 21:08:45,833 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-92688600-66855991 passed
2026-11-08 21:08:45,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-08 21:08:45,987 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92688600-66855991, IP 88.78.250.4, Port 22
2026-11-08 21:08:46,161 - DEBUG - VM ctest-TestRoutersBasic-92688600-66855991 is ready for SSH connections
2026-11-08 21:08:46,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-08 21:08:46,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.78.250.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123
2026-11-08 21:08:46,161 - DEBUG - ping -s 56 -c 3 -W 1 88.78.250.4
2026-11-08 21:08:49,332 - DEBUG - PING 88.78.250.4 (88.78.250.4): 56 data bytes
64 bytes from 88.78.250.4: seq=0 ttl=62 time=6.925 ms
64 bytes from 88.78.250.4: seq=1 ttl=62 time=1.292 ms
64 bytes from 88.78.250.4: seq=2 ttl=62 time=1.245 ms
--- 88.78.250.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.245/3.154/6.925 ms
2026-11-08 21:08:49,333 - INFO - Ping to IP 88.78.250.4 from VM ctest-TestRoutersBasic-92688600-76159509 passed
2026-11-08 21:08:49,333 - INFO - Deleting interface with subnet_id 3d1e81d6-8c58-4821-a689-290035ded6fa, port_id None from router 8d1028ce-1ae9-4152-8efe-98426d34c3e3
2026-11-08 21:08:49,540 - INFO - Deleting VM ctest-TestRoutersBasic-92688600-66855991
2026-11-08 21:08:49,633 - INFO - Deleting VM ctest-TestRoutersBasic-92688600-76159509
2026-11-08 21:08:49,713 - INFO - Deleting VN ctest-ext_vn-90117196
2026-11-08 21:08:49,798 - DEBUG - VN f4860c92-bfb5-41dd-9ffc-95b98e257550 still in use: Unable to complete operation on network f4860c92-bfb5-41dd-9ffc-95b98e257550. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8a7706b6-a01a-4592-997c-282e264caf6c']
2026-11-08 21:08:49,798 - WARNING - Deleting VN ctest-ext_vn-90117196 failed..Will retry
2026-11-08 21:08:51,840 - DEBUG - VN f4860c92-bfb5-41dd-9ffc-95b98e257550 still in use: Unable to complete operation on network f4860c92-bfb5-41dd-9ffc-95b98e257550. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-502efe9b-6206-4c13-b950-7b48d4fa1900']
2026-11-08 21:08:51,840 - WARNING - Deleting VN ctest-ext_vn-90117196 failed..Will retry
2026-11-08 21:08:53,953 - DEBUG - Response for deleting network ()
2026-11-08 21:08:53,953 - INFO - Deleting VN ctest-vn-21750529
2026-11-08 21:08:54,096 - DEBUG - Response for deleting network ()
2026-11-08 21:08:54,370 - DEBUG - No XMPP flaps were noticed during the test
2026-11-08 21:08:54,370 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:07]
2026-11-08 21:08:54,371 - INFO - --------------------------------------------------------------------------------
2026-11-08 21:08:55,161 - INFO - Deleted project: ctest-TestRoutersBasic-92688600, ID : 101a8bf3-669d-42bc-b9bd-2027c8964d19