2026-03-05 01:57:22,395 - INFO - Domain Default found not creating 2026-03-05 01:57:22,550 - INFO - Project ctest-TestRoutersBasic-87763281 not found, creating it 2026-03-05 01:57:22,991 - INFO - Created Project:ctest-TestRoutersBasic-87763281, ID : a88a4fe4-4659-4b00-a417-7df277e697f1 2026-03-05 01:57:24,441 - INFO - ================================================================================ 2026-03-05 01:57:24,441 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-05 01:57:24,442 - 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-03-05 01:57:24,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.193': '0'}} with 2026-03-05 01:57:24,699 - INFO - Initial checks done. Running the testcase now 2026-03-05 01:57:24,699 - INFO - 2026-03-05 01:57:25,390 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87763281 2026-03-05 01:57:25,485 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87763281 2026-03-05 01:57:25,801 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87763281', 'default']} 2026-03-05 01:57:26,081 - DEBUG - Response for create_network : {'network': {'id': '405fc208-3784-4672-8f11-3c6bd084d5bf', 'name': 'ctest-vn-53425689', 'tenant_id': 'a88a4fe446594b00a4177df277e697f1', 'project_id': 'a88a4fe446594b00a4177df277e697f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87763281', 'ctest-vn-53425689'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 01:57:26,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a32df9c-f50b-4090-8009-8a8e4dec7d97', 'name': '', 'tenant_id': 'a88a4fe446594b00a4177df277e697f1', 'network_id': '405fc208-3784-4672-8f11-3c6bd084d5bf', 'ip_version': 4, 'cidr': '203.168.63.64/26', 'allocation_pools': [{'start': '203.168.63.66', 'end': '203.168.63.126'}], 'gateway_ip': '203.168.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.168.63.66', 'tags': [], 'project_id': 'a88a4fe446594b00a4177df277e697f1'}} 2026-03-05 01:57:26,280 - INFO - Created VN ctest-vn-53425689 2026-03-05 01:57:26,329 - DEBUG - VN ctest-vn-53425689 UUID is 405fc208-3784-4672-8f11-3c6bd084d5bf 2026-03-05 01:57:26,664 - DEBUG - Response for create_network : {'network': {'id': 'ae7c2fd1-a572-47a3-b249-8017c06083f2', 'name': 'ctest-ext_vn-63057788', 'tenant_id': 'a88a4fe446594b00a4177df277e697f1', 'project_id': 'a88a4fe446594b00a4177df277e697f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87763281', 'ctest-ext_vn-63057788'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 01:57:26,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6de3c82-6037-4172-bc92-9acd37c45e28', 'name': '', 'tenant_id': 'a88a4fe446594b00a4177df277e697f1', 'network_id': 'ae7c2fd1-a572-47a3-b249-8017c06083f2', 'ip_version': 4, 'cidr': '42.90.144.0/26', 'allocation_pools': [{'start': '42.90.144.2', 'end': '42.90.144.62'}], 'gateway_ip': '42.90.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.90.144.2', 'tags': [], 'project_id': 'a88a4fe446594b00a4177df277e697f1'}} 2026-03-05 01:57:26,853 - INFO - Created VN ctest-ext_vn-63057788 2026-03-05 01:57:26,905 - DEBUG - VN ctest-ext_vn-63057788 UUID is ae7c2fd1-a572-47a3-b249-8017c06083f2 2026-03-05 01:57:27,110 - DEBUG - Services list from nova: [, , ] 2026-03-05 01:57:28,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5436-1) 2026-03-05 01:57:29,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5436-1) 2026-03-05 01:57:29,291 - INFO - Setting gateway for router f51dd2ba-65a7-4e7b-8f13-b56cba52f23f to network ae7c2fd1-a572-47a3-b249-8017c06083f2 2026-03-05 01:57:29,348 - INFO - Adding interface with subnet_id 2a32df9c-f50b-4090-8009-8a8e4dec7d97, port_id None to router f51dd2ba-65a7-4e7b-8f13-b56cba52f23f 2026-03-05 01:57:29,608 - INFO - Waiting for VM ctest-TestRoutersBasic-87763281-62469533 to be up.. 2026-03-05 01:57:29,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 01:57:34,833 - DEBUG - VM is in ACTIVE state now 2026-03-05 01:57:34,833 - INFO - VM name : ctest-TestRoutersBasic-87763281-62469533 2026-03-05 01:57:34,901 - DEBUG - VM ctest-TestRoutersBasic-87763281-62469533 ID is ba0c2fb7-f76e-413d-913a-4604ab9b9f08 2026-03-05 01:57:34,919 - DEBUG - VM ctest-TestRoutersBasic-87763281-62469533 launched on Node cn-jenkins-deploy-platform-ansible-os-5436-1 2026-03-05 01:57:34,991 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ba0c2fb7-f76e-413d-913a-4604ab9b9f08 2026-03-05 01:57:35,304 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ba0c2fb7-f76e-413d-913a-4604ab9b9f08 2026-03-05 01:57:35,334 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f0f9d47f-e038-4055-8e8f-7059e2fa49cc 2026-03-05 01:57:38,591 - 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 1024ms') 2026-03-05 01:57:38,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87763281-62469533 failed! 2026-03-05 01:57:38,645 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87763281:ctest-vn-53425689 is 203.168.63.65 and allocation pool is NOT set 2026-03-05 01:57:40,707 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/2.230/4.010/1.779 ms') 2026-03-05 01:57:40,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87763281-62469533 passed 2026-03-05 01:57:40,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 01:57:40,857 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87763281-62469533, IP 203.168.63.67, Port 22 2026-03-05 01:57:40,912 - 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': ''} 2026-03-05 01:57:40,990 - DEBUG - VM ctest-TestRoutersBasic-87763281-62469533 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-05 01:57:45,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 01:57:45,992 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87763281-62469533, IP 203.168.63.67, Port 22 2026-03-05 01:57:46,156 - DEBUG - VM ctest-TestRoutersBasic-87763281-62469533 is ready for SSH connections 2026-03-05 01:57:46,156 - INFO - Waiting for VM ctest-TestRoutersBasic-87763281-60743778 to be up.. 2026-03-05 01:57:46,229 - DEBUG - VM is in ACTIVE state now 2026-03-05 01:57:46,229 - INFO - VM name : ctest-TestRoutersBasic-87763281-60743778 2026-03-05 01:57:46,298 - DEBUG - VM ctest-TestRoutersBasic-87763281-60743778 ID is 06b1a280-0d3d-4997-bc78-1c751f262328 2026-03-05 01:57:46,298 - DEBUG - VM ctest-TestRoutersBasic-87763281-60743778 launched on Node cn-jenkins-deploy-platform-ansible-os-5436-1 2026-03-05 01:57:46,369 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/06b1a280-0d3d-4997-bc78-1c751f262328 2026-03-05 01:57:46,377 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/10f8abb2-e888-465a-9fc9-e7e38abdad1c 2026-03-05 01:57:47,618 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.661/2.984/1.323 ms') 2026-03-05 01:57:47,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87763281-60743778 passed 2026-03-05 01:57:47,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 01:57:47,765 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87763281-60743778, IP 42.90.144.3, Port 22 2026-03-05 01:57:47,920 - DEBUG - VM ctest-TestRoutersBasic-87763281-60743778 is ready for SSH connections 2026-03-05 01:57:47,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 01:57:47,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.90.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-03-05 01:57:47,920 - DEBUG - ping -s 56 -c 3 -W 1 42.90.144.3 2026-03-05 01:57:51,603 - DEBUG - PING 42.90.144.3 (42.90.144.3): 56 data bytes 64 bytes from 42.90.144.3: seq=0 ttl=62 time=8.539 ms 64 bytes from 42.90.144.3: seq=1 ttl=62 time=1.094 ms 64 bytes from 42.90.144.3: seq=2 ttl=62 time=0.920 ms --- 42.90.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/3.517/8.539 ms 2026-03-05 01:57:51,603 - INFO - Ping to IP 42.90.144.3 from VM ctest-TestRoutersBasic-87763281-62469533 passed 2026-03-05 01:57:51,603 - INFO - Deleting interface with subnet_id 2a32df9c-f50b-4090-8009-8a8e4dec7d97, port_id None from router f51dd2ba-65a7-4e7b-8f13-b56cba52f23f 2026-03-05 01:57:51,784 - INFO - Deleting VM ctest-TestRoutersBasic-87763281-60743778 2026-03-05 01:57:51,855 - INFO - Deleting VM ctest-TestRoutersBasic-87763281-62469533 2026-03-05 01:57:51,938 - INFO - Deleting VN ctest-ext_vn-63057788 2026-03-05 01:57:52,014 - DEBUG - VN ae7c2fd1-a572-47a3-b249-8017c06083f2 still in use: Unable to complete operation on network ae7c2fd1-a572-47a3-b249-8017c06083f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-058de1c6-9713-41bd-a7af-6efd3332b437'] 2026-03-05 01:57:52,014 - WARNING - Deleting VN ctest-ext_vn-63057788 failed..Will retry 2026-03-05 01:57:54,120 - DEBUG - Response for deleting network () 2026-03-05 01:57:54,120 - INFO - Deleting VN ctest-vn-53425689 2026-03-05 01:57:54,228 - DEBUG - Response for deleting network () 2026-03-05 01:57:54,485 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 01:57:54,486 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-03-05 01:57:54,486 - INFO - -------------------------------------------------------------------------------- 2026-03-05 01:57:55,152 - INFO - Deleted project: ctest-TestRoutersBasic-87763281, ID : a88a4fe4-4659-4b00-a417-7df277e697f1