2026-08-17 15:42:40,224 - INFO - Domain Default found not creating 2026-08-17 15:42:40,407 - INFO - Project ctest-TestRoutersBasic-97655551 not found, creating it 2026-08-17 15:42:40,893 - INFO - Created Project:ctest-TestRoutersBasic-97655551, ID : dfdff460-bed6-42c8-94d0-d0d9d7c9571e 2026-08-17 15:42:42,715 - INFO - ================================================================================ 2026-08-17 15:42:42,715 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 15:42:42,716 - 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-17 15:42:42,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-17 15:42:42,980 - INFO - Initial checks done. Running the testcase now 2026-08-17 15:42:42,980 - INFO - 2026-08-17 15:42:43,855 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97655551 2026-08-17 15:42:43,954 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97655551 2026-08-17 15:42:44,286 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97655551', 'default']} 2026-08-17 15:42:44,590 - DEBUG - Response for create_network : {'network': {'id': '7a0612b9-739e-41f4-a3a5-1fb41263b6f6', 'name': 'ctest-vn-17286256', 'tenant_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'project_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97655551', 'ctest-vn-17286256'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:42:44,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de497e23-c9be-424e-93d5-db907e599bff', 'name': '', 'tenant_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'network_id': '7a0612b9-739e-41f4-a3a5-1fb41263b6f6', 'ip_version': 4, 'cidr': '118.77.148.192/26', 'allocation_pools': [{'start': '118.77.148.194', 'end': '118.77.148.254'}], 'gateway_ip': '118.77.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.77.148.194', 'tags': [], 'project_id': 'dfdff460bed642c894d0d0d9d7c9571e'}} 2026-08-17 15:42:44,827 - INFO - Created VN ctest-vn-17286256 2026-08-17 15:42:44,878 - DEBUG - VN ctest-vn-17286256 UUID is 7a0612b9-739e-41f4-a3a5-1fb41263b6f6 2026-08-17 15:42:45,270 - DEBUG - Response for create_network : {'network': {'id': 'aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8', 'name': 'ctest-ext_vn-89930118', 'tenant_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'project_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97655551', 'ctest-ext_vn-89930118'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:42:45,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '65937229-a273-4aae-b176-c58ef2def937', 'name': '', 'tenant_id': 'dfdff460bed642c894d0d0d9d7c9571e', 'network_id': 'aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8', 'ip_version': 4, 'cidr': '101.188.204.64/26', 'allocation_pools': [{'start': '101.188.204.66', 'end': '101.188.204.126'}], 'gateway_ip': '101.188.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.188.204.66', 'tags': [], 'project_id': 'dfdff460bed642c894d0d0d9d7c9571e'}} 2026-08-17 15:42:45,527 - INFO - Created VN ctest-ext_vn-89930118 2026-08-17 15:42:45,582 - DEBUG - VN ctest-ext_vn-89930118 UUID is aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8 2026-08-17 15:42:45,750 - DEBUG - Services list from nova: [, , ] 2026-08-17 15:42:46,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1) 2026-08-17 15:42:46,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1) 2026-08-17 15:42:46,608 - INFO - Setting gateway for router e6d2478a-be98-4a52-9855-25564ddf4916 to network aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8 2026-08-17 15:42:46,678 - INFO - Adding interface with subnet_id de497e23-c9be-424e-93d5-db907e599bff, port_id None to router e6d2478a-be98-4a52-9855-25564ddf4916 2026-08-17 15:42:46,986 - INFO - Waiting for VM ctest-TestRoutersBasic-97655551-90295832 to be up.. 2026-08-17 15:42:47,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:42:52,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:42:57,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:02,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:07,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:12,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:17,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:22,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:43:27,774 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:43:27,774 - INFO - VM name : ctest-TestRoutersBasic-97655551-90295832 2026-08-17 15:43:27,873 - DEBUG - VM ctest-TestRoutersBasic-97655551-90295832 ID is db01f545-4b57-4e79-8842-481ef62dc3c2 2026-08-17 15:43:27,900 - DEBUG - VM ctest-TestRoutersBasic-97655551-90295832 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1 2026-08-17 15:43:27,998 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/db01f545-4b57-4e79-8842-481ef62dc3c2 2026-08-17 15:43:28,375 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/db01f545-4b57-4e79-8842-481ef62dc3c2 2026-08-17 15:43:28,414 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/23dd6333-c526-424e-bd29-f66e47d018d7 2026-08-17 15:43:31,689 - 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 1017ms') 2026-08-17 15:43:31,689 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97655551-90295832 failed! 2026-08-17 15:43:31,746 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97655551:ctest-vn-17286256 is 118.77.148.193 and allocation pool is NOT set 2026-08-17 15:43:33,807 - 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=10.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.927 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.927/5.498/10.070/4.571 ms') 2026-08-17 15:43:33,807 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97655551-90295832 passed 2026-08-17 15:43:33,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:43:33,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97655551-90295832, IP 118.77.148.195, Port 22 2026-08-17 15:43:34,033 - 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-17 15:43:34,115 - DEBUG - VM ctest-TestRoutersBasic-97655551-90295832 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 15:43:39,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:43:39,116 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97655551-90295832, IP 118.77.148.195, Port 22 2026-08-17 15:43:39,292 - DEBUG - VM ctest-TestRoutersBasic-97655551-90295832 is ready for SSH connections 2026-08-17 15:43:39,293 - INFO - Waiting for VM ctest-TestRoutersBasic-97655551-00400174 to be up.. 2026-08-17 15:43:39,373 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:43:39,373 - INFO - VM name : ctest-TestRoutersBasic-97655551-00400174 2026-08-17 15:43:39,445 - DEBUG - VM ctest-TestRoutersBasic-97655551-00400174 ID is 8cc7792a-fb21-43cd-80ad-cd1ad24e03f1 2026-08-17 15:43:39,445 - DEBUG - VM ctest-TestRoutersBasic-97655551-00400174 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1 2026-08-17 15:43:39,522 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8cc7792a-fb21-43cd-80ad-cd1ad24e03f1 2026-08-17 15:43:39,530 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/247e1fce-7b45-477d-9bc4-f47d31fa5ea8 2026-08-17 15:43:40,773 - 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=4.07 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.558 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.558/2.313/4.069/1.755 ms') 2026-08-17 15:43:40,773 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97655551-00400174 passed 2026-08-17 15:43:40,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:43:40,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97655551-00400174, IP 101.188.204.68, Port 22 2026-08-17 15:43:41,089 - DEBUG - VM ctest-TestRoutersBasic-97655551-00400174 is ready for SSH connections 2026-08-17 15:43:41,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:43:41,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.188.204.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-17 15:43:41,089 - DEBUG - ping -s 56 -c 3 -W 1 101.188.204.68 2026-08-17 15:43:44,073 - DEBUG - PING 101.188.204.68 (101.188.204.68): 56 data bytes 64 bytes from 101.188.204.68: seq=0 ttl=62 time=6.470 ms 64 bytes from 101.188.204.68: seq=1 ttl=62 time=1.086 ms 64 bytes from 101.188.204.68: seq=2 ttl=62 time=1.169 ms --- 101.188.204.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.086/2.908/6.470 ms 2026-08-17 15:43:44,073 - INFO - Ping to IP 101.188.204.68 from VM ctest-TestRoutersBasic-97655551-90295832 passed 2026-08-17 15:43:44,074 - INFO - Deleting interface with subnet_id de497e23-c9be-424e-93d5-db907e599bff, port_id None from router e6d2478a-be98-4a52-9855-25564ddf4916 2026-08-17 15:43:44,291 - INFO - Deleting VM ctest-TestRoutersBasic-97655551-00400174 2026-08-17 15:43:44,360 - INFO - Deleting VM ctest-TestRoutersBasic-97655551-90295832 2026-08-17 15:43:44,437 - INFO - Deleting VN ctest-ext_vn-89930118 2026-08-17 15:43:44,498 - DEBUG - VN aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8 still in use: Unable to complete operation on network aa8e38bc-5f6c-4ca5-a64c-bcd882350bb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71c93b3a-d1d0-4040-844e-f35e1eb05c8a'] 2026-08-17 15:43:44,498 - WARNING - Deleting VN ctest-ext_vn-89930118 failed..Will retry 2026-08-17 15:43:46,723 - DEBUG - Response for deleting network () 2026-08-17 15:43:46,724 - INFO - Deleting VN ctest-vn-17286256 2026-08-17 15:43:46,848 - DEBUG - Response for deleting network () 2026-08-17 15:43:47,119 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 15:43:47,119 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-08-17 15:43:47,119 - INFO - -------------------------------------------------------------------------------- 2026-08-17 15:43:47,907 - INFO - Deleted project: ctest-TestRoutersBasic-97655551, ID : dfdff460-bed6-42c8-94d0-d0d9d7c9571e