2026-02-09 21:50:36,967 - INFO - Domain Default found not creating 2026-02-09 21:50:37,110 - INFO - Project ctest-TestRoutersBasic-16701747 not found, creating it 2026-02-09 21:50:37,539 - INFO - Created Project:ctest-TestRoutersBasic-16701747, ID : cf3a9f11-076e-4d40-8d45-cd12fb77e8d0 2026-02-09 21:50:38,982 - INFO - ================================================================================ 2026-02-09 21:50:38,982 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 21:50:38,982 - 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-02-09 21:50:39,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-09 21:50:39,256 - INFO - Initial checks done. Running the testcase now 2026-02-09 21:50:39,256 - INFO - 2026-02-09 21:50:39,960 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16701747 2026-02-09 21:50:40,055 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16701747 2026-02-09 21:50:40,375 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16701747', 'default']} 2026-02-09 21:50:40,639 - DEBUG - Response for create_network : {'network': {'id': 'c1c7dadd-eea0-403e-92a6-a772b511ad49', 'name': 'ctest-vn-93075271', 'tenant_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'project_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16701747', 'ctest-vn-93075271'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:50:40,831 - DEBUG - Response for create_subnet : {'subnet': {'id': '28b9639b-0a26-4bbd-a8f8-0eef04428707', 'name': '', 'tenant_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'network_id': 'c1c7dadd-eea0-403e-92a6-a772b511ad49', 'ip_version': 4, 'cidr': '118.154.173.192/26', 'allocation_pools': [{'start': '118.154.173.194', 'end': '118.154.173.254'}], 'gateway_ip': '118.154.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.154.173.194', 'tags': [], 'project_id': 'cf3a9f11076e4d408d45cd12fb77e8d0'}} 2026-02-09 21:50:40,849 - INFO - Created VN ctest-vn-93075271 2026-02-09 21:50:40,899 - DEBUG - VN ctest-vn-93075271 UUID is c1c7dadd-eea0-403e-92a6-a772b511ad49 2026-02-09 21:50:41,219 - DEBUG - Response for create_network : {'network': {'id': '0ec683fc-ef6f-4925-8fcb-a60a0411aa5f', 'name': 'ctest-ext_vn-50620651', 'tenant_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'project_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16701747', 'ctest-ext_vn-50620651'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 21:50:41,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '57b7fbdb-273f-44c5-aa0e-ba8e0b527609', 'name': '', 'tenant_id': 'cf3a9f11076e4d408d45cd12fb77e8d0', 'network_id': '0ec683fc-ef6f-4925-8fcb-a60a0411aa5f', 'ip_version': 4, 'cidr': '195.185.100.128/26', 'allocation_pools': [{'start': '195.185.100.130', 'end': '195.185.100.190'}], 'gateway_ip': '195.185.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.185.100.130', 'tags': [], 'project_id': 'cf3a9f11076e4d408d45cd12fb77e8d0'}} 2026-02-09 21:50:41,416 - INFO - Created VN ctest-ext_vn-50620651 2026-02-09 21:50:41,467 - DEBUG - VN ctest-ext_vn-50620651 UUID is 0ec683fc-ef6f-4925-8fcb-a60a0411aa5f 2026-02-09 21:50:41,653 - DEBUG - Services list from nova: [, , ] 2026-02-09 21:50:42,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1) 2026-02-09 21:50:43,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1) 2026-02-09 21:50:43,751 - INFO - Setting gateway for router 787f7a28-0a56-4cc5-8fcc-697e5178effb to network 0ec683fc-ef6f-4925-8fcb-a60a0411aa5f 2026-02-09 21:50:43,802 - INFO - Adding interface with subnet_id 28b9639b-0a26-4bbd-a8f8-0eef04428707, port_id None to router 787f7a28-0a56-4cc5-8fcc-697e5178effb 2026-02-09 21:50:44,087 - INFO - Waiting for VM ctest-TestRoutersBasic-16701747-79879898 to be up.. 2026-02-09 21:50:44,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 21:50:49,310 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:50:49,310 - INFO - VM name : ctest-TestRoutersBasic-16701747-79879898 2026-02-09 21:50:49,374 - DEBUG - VM ctest-TestRoutersBasic-16701747-79879898 ID is 4ef197c4-5c56-4a35-9333-604812ec4bcb 2026-02-09 21:50:49,391 - DEBUG - VM ctest-TestRoutersBasic-16701747-79879898 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1 2026-02-09 21:50:49,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ef197c4-5c56-4a35-9333-604812ec4bcb 2026-02-09 21:50:49,763 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ef197c4-5c56-4a35-9333-604812ec4bcb 2026-02-09 21:50:49,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ff54418f-4bab-4479-aca8-e60bdaf151ab 2026-02-09 21:50:53,034 - 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 1015ms') 2026-02-09 21:50:53,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16701747-79879898 failed! 2026-02-09 21:50:53,087 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16701747:ctest-vn-93075271 is 118.154.173.193 and allocation pool is NOT set 2026-02-09 21:50:55,146 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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.553/1.888/3.224/1.335 ms') 2026-02-09 21:50:55,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16701747-79879898 passed 2026-02-09 21:50:55,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:50:55,247 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16701747-79879898, IP 118.154.173.195, Port 22 2026-02-09 21:50:55,419 - DEBUG - VM ctest-TestRoutersBasic-16701747-79879898 is ready for SSH connections 2026-02-09 21:50:55,419 - INFO - Waiting for VM ctest-TestRoutersBasic-16701747-85280851 to be up.. 2026-02-09 21:50:55,484 - DEBUG - VM is in ACTIVE state now 2026-02-09 21:50:55,485 - INFO - VM name : ctest-TestRoutersBasic-16701747-85280851 2026-02-09 21:50:55,544 - DEBUG - VM ctest-TestRoutersBasic-16701747-85280851 ID is 89477294-7312-4e52-ad50-51ffbb6ec2a1 2026-02-09 21:50:55,544 - DEBUG - VM ctest-TestRoutersBasic-16701747-85280851 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1 2026-02-09 21:50:55,605 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/89477294-7312-4e52-ad50-51ffbb6ec2a1 2026-02-09 21:50:55,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4c9baec0-3948-4267-b301-b6eba7ed460a 2026-02-09 21:50:56,842 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.397/1.589/2.782/1.192 ms') 2026-02-09 21:50:56,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16701747-85280851 passed 2026-02-09 21:50:56,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:50:56,991 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16701747-85280851, IP 195.185.100.131, Port 22 2026-02-09 21:50:57,147 - DEBUG - VM ctest-TestRoutersBasic-16701747-85280851 is ready for SSH connections 2026-02-09 21:50:57,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 21:50:57,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.185.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 21:50:57,147 - DEBUG - ping -s 56 -c 3 -W 1 195.185.100.131 2026-02-09 21:51:00,828 - DEBUG - PING 195.185.100.131 (195.185.100.131): 56 data bytes 64 bytes from 195.185.100.131: seq=0 ttl=62 time=7.322 ms 64 bytes from 195.185.100.131: seq=1 ttl=62 time=0.869 ms 64 bytes from 195.185.100.131: seq=2 ttl=62 time=0.957 ms --- 195.185.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/3.049/7.322 ms 2026-02-09 21:51:00,828 - INFO - Ping to IP 195.185.100.131 from VM ctest-TestRoutersBasic-16701747-79879898 passed 2026-02-09 21:51:00,829 - INFO - Deleting interface with subnet_id 28b9639b-0a26-4bbd-a8f8-0eef04428707, port_id None from router 787f7a28-0a56-4cc5-8fcc-697e5178effb 2026-02-09 21:51:01,008 - INFO - Deleting VM ctest-TestRoutersBasic-16701747-85280851 2026-02-09 21:51:01,082 - INFO - Deleting VM ctest-TestRoutersBasic-16701747-79879898 2026-02-09 21:51:01,150 - INFO - Deleting VN ctest-ext_vn-50620651 2026-02-09 21:51:01,228 - DEBUG - VN 0ec683fc-ef6f-4925-8fcb-a60a0411aa5f still in use: Unable to complete operation on network 0ec683fc-ef6f-4925-8fcb-a60a0411aa5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be8f7708-e04c-4d63-aab0-730c4c84f43e'] 2026-02-09 21:51:01,229 - WARNING - Deleting VN ctest-ext_vn-50620651 failed..Will retry 2026-02-09 21:51:03,322 - DEBUG - Response for deleting network () 2026-02-09 21:51:03,322 - INFO - Deleting VN ctest-vn-93075271 2026-02-09 21:51:03,415 - DEBUG - Response for deleting network () 2026-02-09 21:51:03,667 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 21:51:03,668 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-09 21:51:03,668 - INFO - -------------------------------------------------------------------------------- 2026-02-09 21:51:04,329 - INFO - Deleted project: ctest-TestRoutersBasic-16701747, ID : cf3a9f11-076e-4d40-8d45-cd12fb77e8d0