2026-06-11 17:07:11,082 - INFO - Domain Default found not creating 2026-06-11 17:07:11,223 - INFO - Project ctest-TestRoutersBasic-13400806 not found, creating it 2026-06-11 17:07:11,792 - INFO - Created Project:ctest-TestRoutersBasic-13400806, ID : a4c6d7ed-7391-44e4-aabe-6d17613570ac 2026-06-11 17:07:13,203 - INFO - ================================================================================ 2026-06-11 17:07:13,203 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-11 17:07:13,203 - 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-06-11 17:07:13,455 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-06-11 17:07:13,455 - INFO - Initial checks done. Running the testcase now 2026-06-11 17:07:13,455 - INFO - 2026-06-11 17:07:14,189 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13400806 2026-06-11 17:07:14,282 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13400806 2026-06-11 17:07:14,610 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13400806', 'default']} 2026-06-11 17:07:14,890 - DEBUG - Response for create_network : {'network': {'id': '33eb85b2-bc99-453e-a993-ac5062573479', 'name': 'ctest-vn-02191132', 'tenant_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'project_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13400806', 'ctest-vn-02191132'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 17:07:15,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '225eb815-0aae-4469-a291-a1ff9d9db67d', 'name': '', 'tenant_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'network_id': '33eb85b2-bc99-453e-a993-ac5062573479', 'ip_version': 4, 'cidr': '72.90.231.128/26', 'allocation_pools': [{'start': '72.90.231.130', 'end': '72.90.231.190'}], 'gateway_ip': '72.90.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.90.231.130', 'tags': [], 'project_id': 'a4c6d7ed739144e4aabe6d17613570ac'}} 2026-06-11 17:07:15,061 - INFO - Created VN ctest-vn-02191132 2026-06-11 17:07:15,118 - DEBUG - VN ctest-vn-02191132 UUID is 33eb85b2-bc99-453e-a993-ac5062573479 2026-06-11 17:07:15,470 - DEBUG - Response for create_network : {'network': {'id': 'baafa43b-d706-48b7-b98e-e3f1f45ea9f8', 'name': 'ctest-ext_vn-07643343', 'tenant_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'project_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13400806', 'ctest-ext_vn-07643343'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 17:07:15,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ae230f4-2183-4a86-a0dd-0cdbb542535f', 'name': '', 'tenant_id': 'a4c6d7ed739144e4aabe6d17613570ac', 'network_id': 'baafa43b-d706-48b7-b98e-e3f1f45ea9f8', 'ip_version': 4, 'cidr': '28.16.29.64/26', 'allocation_pools': [{'start': '28.16.29.66', 'end': '28.16.29.126'}], 'gateway_ip': '28.16.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.16.29.66', 'tags': [], 'project_id': 'a4c6d7ed739144e4aabe6d17613570ac'}} 2026-06-11 17:07:15,672 - INFO - Created VN ctest-ext_vn-07643343 2026-06-11 17:07:15,722 - DEBUG - VN ctest-ext_vn-07643343 UUID is baafa43b-d706-48b7-b98e-e3f1f45ea9f8 2026-06-11 17:07:15,907 - DEBUG - Services list from nova: [, , ] 2026-06-11 17:07:16,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5935-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5935-1) 2026-06-11 17:07:17,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5935-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5935-1) 2026-06-11 17:07:17,951 - INFO - Setting gateway for router 80175f24-63e0-4f4f-b7c3-a56fc8880b23 to network baafa43b-d706-48b7-b98e-e3f1f45ea9f8 2026-06-11 17:07:17,992 - INFO - Adding interface with subnet_id 225eb815-0aae-4469-a291-a1ff9d9db67d, port_id None to router 80175f24-63e0-4f4f-b7c3-a56fc8880b23 2026-06-11 17:07:18,195 - INFO - Waiting for VM ctest-TestRoutersBasic-13400806-39661101 to be up.. 2026-06-11 17:07:18,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 17:07:23,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 17:07:28,392 - DEBUG - VM is in ACTIVE state now 2026-06-11 17:07:28,393 - INFO - VM name : ctest-TestRoutersBasic-13400806-39661101 2026-06-11 17:07:28,463 - DEBUG - VM ctest-TestRoutersBasic-13400806-39661101 ID is 6f98070a-f171-43fd-a5a0-2cd9de3e15d4 2026-06-11 17:07:28,481 - DEBUG - VM ctest-TestRoutersBasic-13400806-39661101 launched on Node cn-jenkins-deploy-platform-ansible-os-5935-1 2026-06-11 17:07:28,549 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6f98070a-f171-43fd-a5a0-2cd9de3e15d4 2026-06-11 17:07:28,868 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6f98070a-f171-43fd-a5a0-2cd9de3e15d4 2026-06-11 17:07:28,894 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3c0f33a8-cde8-43dd-8080-cb8f83491661 2026-06-11 17:07:32,140 - 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 1011ms') 2026-06-11 17:07:32,140 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13400806-39661101 failed! 2026-06-11 17:07:32,194 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13400806:ctest-vn-02191132 is 72.90.231.129 and allocation pool is NOT set 2026-06-11 17:07:34,250 - 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=3.09 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.409 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.409/1.749/3.090/1.340 ms') 2026-06-11 17:07:34,250 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13400806-39661101 passed 2026-06-11 17:07:34,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 17:07:34,402 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13400806-39661101, IP 72.90.231.131, Port 22 2026-06-11 17:07:34,557 - DEBUG - VM ctest-TestRoutersBasic-13400806-39661101 is ready for SSH connections 2026-06-11 17:07:34,557 - INFO - Waiting for VM ctest-TestRoutersBasic-13400806-98750004 to be up.. 2026-06-11 17:07:34,621 - DEBUG - VM is in ACTIVE state now 2026-06-11 17:07:34,621 - INFO - VM name : ctest-TestRoutersBasic-13400806-98750004 2026-06-11 17:07:34,679 - DEBUG - VM ctest-TestRoutersBasic-13400806-98750004 ID is d2c53abf-255b-4738-8674-9ba33daa8e3b 2026-06-11 17:07:34,680 - DEBUG - VM ctest-TestRoutersBasic-13400806-98750004 launched on Node cn-jenkins-deploy-platform-ansible-os-5935-1 2026-06-11 17:07:34,742 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d2c53abf-255b-4738-8674-9ba33daa8e3b 2026-06-11 17:07:34,750 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/681078b6-900c-4914-ac64-962ffcdcc80e 2026-06-11 17:07:35,985 - 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=6.93 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.89 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 = 2.892/4.909/6.927/2.017 ms') 2026-06-11 17:07:35,986 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-13400806-98750004 passed 2026-06-11 17:07:36,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 17:07:36,134 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13400806-98750004, IP 28.16.29.68, Port 22 2026-06-11 17:07:36,189 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-11 17:07:36,253 - DEBUG - VM ctest-TestRoutersBasic-13400806-98750004 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-11 17:07:41,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 17:07:41,255 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13400806-98750004, IP 28.16.29.68, Port 22 2026-06-11 17:07:41,414 - DEBUG - VM ctest-TestRoutersBasic-13400806-98750004 is ready for SSH connections 2026-06-11 17:07:41,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 17:07:41,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.16.29.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-11 17:07:41,414 - DEBUG - ping -s 56 -c 3 -W 1 28.16.29.68 2026-06-11 17:07:43,994 - DEBUG - PING 28.16.29.68 (28.16.29.68): 56 data bytes 64 bytes from 28.16.29.68: seq=0 ttl=62 time=6.678 ms 64 bytes from 28.16.29.68: seq=1 ttl=62 time=0.894 ms 64 bytes from 28.16.29.68: seq=2 ttl=62 time=0.897 ms --- 28.16.29.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/2.823/6.678 ms 2026-06-11 17:07:43,994 - INFO - Ping to IP 28.16.29.68 from VM ctest-TestRoutersBasic-13400806-39661101 passed 2026-06-11 17:07:43,994 - INFO - Deleting interface with subnet_id 225eb815-0aae-4469-a291-a1ff9d9db67d, port_id None from router 80175f24-63e0-4f4f-b7c3-a56fc8880b23 2026-06-11 17:07:44,146 - INFO - Deleting VM ctest-TestRoutersBasic-13400806-98750004 2026-06-11 17:07:44,209 - INFO - Deleting VM ctest-TestRoutersBasic-13400806-39661101 2026-06-11 17:07:44,272 - INFO - Deleting VN ctest-ext_vn-07643343 2026-06-11 17:07:44,324 - DEBUG - VN baafa43b-d706-48b7-b98e-e3f1f45ea9f8 still in use: Unable to complete operation on network baafa43b-d706-48b7-b98e-e3f1f45ea9f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c05914cf-3a92-4d0e-88d7-4cde0d78b48c'] 2026-06-11 17:07:44,325 - WARNING - Deleting VN ctest-ext_vn-07643343 failed..Will retry 2026-06-11 17:07:46,415 - DEBUG - Response for deleting network () 2026-06-11 17:07:46,415 - INFO - Deleting VN ctest-vn-02191132 2026-06-11 17:07:46,502 - DEBUG - Response for deleting network () 2026-06-11 17:07:46,754 - DEBUG - No XMPP flaps were noticed during the test
2026-06-11 17:07:46,754 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-06-11 17:07:46,754 - INFO - -------------------------------------------------------------------------------- 2026-06-11 17:07:47,432 - INFO - Deleted project: ctest-TestRoutersBasic-13400806, ID : a4c6d7ed-7391-44e4-aabe-6d17613570ac