2026-01-28 17:02:43,020 - INFO - Domain Default found not creating 2026-01-28 17:02:43,219 - INFO - Project ctest-TestRoutersBasic-15566928 not found, creating it 2026-01-28 17:02:43,725 - INFO - Created Project:ctest-TestRoutersBasic-15566928, ID : a4f11bc8-4672-49b0-bcb8-10f15489a37e 2026-01-28 17:02:45,336 - INFO - ================================================================================ 2026-01-28 17:02:45,337 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 17:02:45,337 - 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-01-28 17:02:45,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-01-28 17:02:45,599 - INFO - Initial checks done. Running the testcase now 2026-01-28 17:02:45,599 - INFO - 2026-01-28 17:02:46,411 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15566928 2026-01-28 17:02:46,505 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15566928 2026-01-28 17:02:46,820 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15566928', 'default']} 2026-01-28 17:02:47,115 - DEBUG - Response for create_network : {'network': {'id': '3fcd1c6e-cbd4-4b4b-93b9-60a74b6b8a6c', 'name': 'ctest-vn-14015576', 'tenant_id': 'a4f11bc8467249b0bcb810f15489a37e', 'project_id': 'a4f11bc8467249b0bcb810f15489a37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15566928', 'ctest-vn-14015576'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:02:47,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '16ad0112-3370-4731-8bd9-6de9af0e2f23', 'name': '', 'tenant_id': 'a4f11bc8467249b0bcb810f15489a37e', 'network_id': '3fcd1c6e-cbd4-4b4b-93b9-60a74b6b8a6c', 'ip_version': 4, 'cidr': '27.212.220.128/26', 'allocation_pools': [{'start': '27.212.220.130', 'end': '27.212.220.190'}], 'gateway_ip': '27.212.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.212.220.130', 'tags': [], 'project_id': 'a4f11bc8467249b0bcb810f15489a37e'}} 2026-01-28 17:02:47,294 - INFO - Created VN ctest-vn-14015576 2026-01-28 17:02:47,345 - DEBUG - VN ctest-vn-14015576 UUID is 3fcd1c6e-cbd4-4b4b-93b9-60a74b6b8a6c 2026-01-28 17:02:47,664 - DEBUG - Response for create_network : {'network': {'id': '51f01e1d-7e7c-4fec-b4a0-396012e4c7f8', 'name': 'ctest-ext_vn-10848073', 'tenant_id': 'a4f11bc8467249b0bcb810f15489a37e', 'project_id': 'a4f11bc8467249b0bcb810f15489a37e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15566928', 'ctest-ext_vn-10848073'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:02:47,836 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b30806c8-e4f2-4b68-87dc-e5ae8849e21e', 'name': '', 'tenant_id': 'a4f11bc8467249b0bcb810f15489a37e', 'network_id': '51f01e1d-7e7c-4fec-b4a0-396012e4c7f8', 'ip_version': 4, 'cidr': '85.246.39.192/26', 'allocation_pools': [{'start': '85.246.39.194', 'end': '85.246.39.254'}], 'gateway_ip': '85.246.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.246.39.194', 'tags': [], 'project_id': 'a4f11bc8467249b0bcb810f15489a37e'}} 2026-01-28 17:02:47,853 - INFO - Created VN ctest-ext_vn-10848073 2026-01-28 17:02:47,904 - DEBUG - VN ctest-ext_vn-10848073 UUID is 51f01e1d-7e7c-4fec-b4a0-396012e4c7f8 2026-01-28 17:02:48,113 - DEBUG - Services list from nova: [, , ] 2026-01-28 17:02:49,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5098-1) 2026-01-28 17:02:50,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5098-1) 2026-01-28 17:02:50,445 - INFO - Setting gateway for router 1a7d8f81-f1b4-4889-91aa-f6130feb4048 to network 51f01e1d-7e7c-4fec-b4a0-396012e4c7f8 2026-01-28 17:02:50,522 - INFO - Adding interface with subnet_id 16ad0112-3370-4731-8bd9-6de9af0e2f23, port_id None to router 1a7d8f81-f1b4-4889-91aa-f6130feb4048 2026-01-28 17:02:50,837 - INFO - Waiting for VM ctest-TestRoutersBasic-15566928-54225367 to be up.. 2026-01-28 17:02:50,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 17:02:56,032 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:02:56,032 - INFO - VM name : ctest-TestRoutersBasic-15566928-54225367 2026-01-28 17:02:56,120 - DEBUG - VM ctest-TestRoutersBasic-15566928-54225367 ID is f283c2d1-e1df-4874-97ff-96e8d2a82511 2026-01-28 17:02:56,142 - DEBUG - VM ctest-TestRoutersBasic-15566928-54225367 launched on Node cn-jenkins-deploy-platform-ansible-os-5098-1 2026-01-28 17:02:56,220 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f283c2d1-e1df-4874-97ff-96e8d2a82511 2026-01-28 17:02:56,528 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f283c2d1-e1df-4874-97ff-96e8d2a82511 2026-01-28 17:02:56,571 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5cf70f14-141d-4b63-93bc-1beebd18535a 2026-01-28 17:02:59,819 - 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 1002ms') 2026-01-28 17:02:59,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15566928-54225367 failed! 2026-01-28 17:02:59,873 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15566928:ctest-vn-14015576 is 27.212.220.129 and allocation pool is NOT set 2026-01-28 17:03:01,933 - 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=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 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.521/2.214/3.908/1.693 ms') 2026-01-28 17:03:01,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15566928-54225367 passed 2026-01-28 17:03:02,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:02,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15566928-54225367, IP 27.212.220.131, Port 22 2026-01-28 17:03:02,248 - DEBUG - VM ctest-TestRoutersBasic-15566928-54225367 is ready for SSH connections 2026-01-28 17:03:02,248 - INFO - Waiting for VM ctest-TestRoutersBasic-15566928-14785413 to be up.. 2026-01-28 17:03:02,334 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:03:02,334 - INFO - VM name : ctest-TestRoutersBasic-15566928-14785413 2026-01-28 17:03:02,417 - DEBUG - VM ctest-TestRoutersBasic-15566928-14785413 ID is f839d1f8-a98d-4e3d-8b41-5b80888e341d 2026-01-28 17:03:02,417 - DEBUG - VM ctest-TestRoutersBasic-15566928-14785413 launched on Node cn-jenkins-deploy-platform-ansible-os-5098-1 2026-01-28 17:03:02,498 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f839d1f8-a98d-4e3d-8b41-5b80888e341d 2026-01-28 17:03:02,511 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/923861b3-20f3-40c0-9660-19246afbc097 2026-01-28 17:03:03,754 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.035/2.636/4.237/1.601 ms') 2026-01-28 17:03:03,754 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15566928-14785413 passed 2026-01-28 17:03:03,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:03,905 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15566928-14785413, IP 85.246.39.195, Port 22 2026-01-28 17:03:04,064 - DEBUG - VM ctest-TestRoutersBasic-15566928-14785413 is ready for SSH connections 2026-01-28 17:03:04,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:04,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.246.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-01-28 17:03:04,065 - DEBUG - ping -s 56 -c 3 -W 1 85.246.39.195 2026-01-28 17:03:07,822 - DEBUG - PING 85.246.39.195 (85.246.39.195): 56 data bytes 64 bytes from 85.246.39.195: seq=0 ttl=62 time=5.522 ms 64 bytes from 85.246.39.195: seq=1 ttl=62 time=0.890 ms 64 bytes from 85.246.39.195: seq=2 ttl=62 time=0.922 ms --- 85.246.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.444/5.522 ms 2026-01-28 17:03:07,822 - INFO - Ping to IP 85.246.39.195 from VM ctest-TestRoutersBasic-15566928-54225367 passed 2026-01-28 17:03:07,822 - INFO - Deleting interface with subnet_id 16ad0112-3370-4731-8bd9-6de9af0e2f23, port_id None from router 1a7d8f81-f1b4-4889-91aa-f6130feb4048 2026-01-28 17:03:08,003 - INFO - Deleting VM ctest-TestRoutersBasic-15566928-14785413 2026-01-28 17:03:08,098 - INFO - Deleting VM ctest-TestRoutersBasic-15566928-54225367 2026-01-28 17:03:08,185 - INFO - Deleting VN ctest-ext_vn-10848073 2026-01-28 17:03:08,267 - DEBUG - VN 51f01e1d-7e7c-4fec-b4a0-396012e4c7f8 still in use: Unable to complete operation on network 51f01e1d-7e7c-4fec-b4a0-396012e4c7f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ee7a240-6b5c-4bcb-9a7a-589e600b677e'] 2026-01-28 17:03:08,267 - WARNING - Deleting VN ctest-ext_vn-10848073 failed..Will retry 2026-01-28 17:03:10,373 - DEBUG - Response for deleting network () 2026-01-28 17:03:10,373 - INFO - Deleting VN ctest-vn-14015576 2026-01-28 17:03:10,479 - DEBUG - Response for deleting network () 2026-01-28 17:03:10,738 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 17:03:10,738 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-28 17:03:10,738 - INFO - -------------------------------------------------------------------------------- 2026-01-28 17:03:11,435 - INFO - Deleted project: ctest-TestRoutersBasic-15566928, ID : a4f11bc8-4672-49b0-bcb8-10f15489a37e