2026-01-16 14:11:44,403 - INFO - Domain Default found not creating 2026-01-16 14:11:44,569 - INFO - Project ctest-TestRoutersBasic-57202477 not found, creating it 2026-01-16 14:11:45,009 - INFO - Created Project:ctest-TestRoutersBasic-57202477, ID : ec1ab19a-d21e-4a7a-a7b3-192608eabed6 2026-01-16 14:11:46,424 - INFO - ================================================================================ 2026-01-16 14:11:46,424 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-16 14:11:46,424 - 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-16 14:11:46,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-16 14:11:46,685 - INFO - Initial checks done. Running the testcase now 2026-01-16 14:11:46,685 - INFO - 2026-01-16 14:11:47,399 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57202477 2026-01-16 14:11:47,503 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57202477 2026-01-16 14:11:47,827 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57202477', 'default']} 2026-01-16 14:11:48,121 - DEBUG - Response for create_network : {'network': {'id': '80f4ee9f-4267-47e8-a6fe-b0831265265a', 'name': 'ctest-vn-61537520', 'tenant_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'project_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57202477', 'ctest-vn-61537520'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:11:48,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aae23c01-6d69-4621-98e7-94328bc031df', 'name': '', 'tenant_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'network_id': '80f4ee9f-4267-47e8-a6fe-b0831265265a', 'ip_version': 4, 'cidr': '5.3.148.192/26', 'allocation_pools': [{'start': '5.3.148.194', 'end': '5.3.148.254'}], 'gateway_ip': '5.3.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.3.148.194', 'tags': [], 'project_id': 'ec1ab19ad21e4a7aa7b3192608eabed6'}} 2026-01-16 14:11:48,292 - INFO - Created VN ctest-vn-61537520 2026-01-16 14:11:48,343 - DEBUG - VN ctest-vn-61537520 UUID is 80f4ee9f-4267-47e8-a6fe-b0831265265a 2026-01-16 14:11:48,668 - DEBUG - Response for create_network : {'network': {'id': '9d23a221-2eec-4609-b5ee-ca658b448797', 'name': 'ctest-ext_vn-72140080', 'tenant_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'project_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57202477', 'ctest-ext_vn-72140080'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:11:48,846 - DEBUG - Response for create_subnet : {'subnet': {'id': 'caa1f83c-1283-4edd-95f6-7c54fb3d744a', 'name': '', 'tenant_id': 'ec1ab19ad21e4a7aa7b3192608eabed6', 'network_id': '9d23a221-2eec-4609-b5ee-ca658b448797', 'ip_version': 4, 'cidr': '170.21.223.128/26', 'allocation_pools': [{'start': '170.21.223.130', 'end': '170.21.223.190'}], 'gateway_ip': '170.21.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.21.223.130', 'tags': [], 'project_id': 'ec1ab19ad21e4a7aa7b3192608eabed6'}} 2026-01-16 14:11:48,861 - INFO - Created VN ctest-ext_vn-72140080 2026-01-16 14:11:48,915 - DEBUG - VN ctest-ext_vn-72140080 UUID is 9d23a221-2eec-4609-b5ee-ca658b448797 2026-01-16 14:11:49,115 - DEBUG - Services list from nova: [, , ] 2026-01-16 14:11:50,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5033-1) 2026-01-16 14:11:51,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5033-1) 2026-01-16 14:11:51,267 - INFO - Setting gateway for router e7541493-e9f0-4fc6-aff2-0c72982226a8 to network 9d23a221-2eec-4609-b5ee-ca658b448797 2026-01-16 14:11:51,331 - INFO - Adding interface with subnet_id aae23c01-6d69-4621-98e7-94328bc031df, port_id None to router e7541493-e9f0-4fc6-aff2-0c72982226a8 2026-01-16 14:11:51,696 - INFO - Waiting for VM ctest-TestRoutersBasic-57202477-55216521 to be up.. 2026-01-16 14:11:51,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 14:11:56,933 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:11:56,934 - INFO - VM name : ctest-TestRoutersBasic-57202477-55216521 2026-01-16 14:11:57,005 - DEBUG - VM ctest-TestRoutersBasic-57202477-55216521 ID is a0969edf-1de0-41b4-a096-6ccc8f2ce9d2 2026-01-16 14:11:57,025 - DEBUG - VM ctest-TestRoutersBasic-57202477-55216521 launched on Node cn-jenkins-deploy-platform-ansible-os-5033-1 2026-01-16 14:11:57,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a0969edf-1de0-41b4-a096-6ccc8f2ce9d2 2026-01-16 14:11:57,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a0969edf-1de0-41b4-a096-6ccc8f2ce9d2 2026-01-16 14:11:57,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ec9a0035-324b-4250-ac26-aac7a4136634 2026-01-16 14:12:00,688 - 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 1019ms') 2026-01-16 14:12:00,688 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57202477-55216521 failed! 2026-01-16 14:12:00,743 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57202477:ctest-vn-61537520 is 5.3.148.193 and allocation pool is NOT set 2026-01-16 14:12:02,797 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/1.887/3.372/1.485 ms') 2026-01-16 14:12:02,797 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57202477-55216521 passed 2026-01-16 14:12:02,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:02,943 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57202477-55216521, IP 5.3.148.195, Port 22 2026-01-16 14:12:03,095 - DEBUG - VM ctest-TestRoutersBasic-57202477-55216521 is ready for SSH connections 2026-01-16 14:12:03,095 - INFO - Waiting for VM ctest-TestRoutersBasic-57202477-88978687 to be up.. 2026-01-16 14:12:03,170 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:12:03,170 - INFO - VM name : ctest-TestRoutersBasic-57202477-88978687 2026-01-16 14:12:03,245 - DEBUG - VM ctest-TestRoutersBasic-57202477-88978687 ID is 2eb7751a-3ea5-4f4f-b94d-64a0906a88c9 2026-01-16 14:12:03,245 - DEBUG - VM ctest-TestRoutersBasic-57202477-88978687 launched on Node cn-jenkins-deploy-platform-ansible-os-5033-1 2026-01-16 14:12:03,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2eb7751a-3ea5-4f4f-b94d-64a0906a88c9 2026-01-16 14:12:03,322 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/43b42e3e-db6f-4dfa-9810-62141e500696 2026-01-16 14:12:04,560 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.568/2.746/1.178 ms') 2026-01-16 14:12:04,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57202477-88978687 passed 2026-01-16 14:12:04,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:04,707 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57202477-88978687, IP 170.21.223.131, Port 22 2026-01-16 14:12:04,858 - DEBUG - VM ctest-TestRoutersBasic-57202477-88978687 is ready for SSH connections 2026-01-16 14:12:04,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:04,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.21.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-16 14:12:04,858 - DEBUG - ping -s 56 -c 3 -W 1 170.21.223.131 2026-01-16 14:12:08,912 - DEBUG - PING 170.21.223.131 (170.21.223.131): 56 data bytes 64 bytes from 170.21.223.131: seq=0 ttl=62 time=8.021 ms 64 bytes from 170.21.223.131: seq=1 ttl=62 time=0.890 ms 64 bytes from 170.21.223.131: seq=2 ttl=62 time=1.312 ms --- 170.21.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/3.407/8.021 ms 2026-01-16 14:12:08,912 - INFO - Ping to IP 170.21.223.131 from VM ctest-TestRoutersBasic-57202477-55216521 passed 2026-01-16 14:12:08,912 - INFO - Deleting interface with subnet_id aae23c01-6d69-4621-98e7-94328bc031df, port_id None from router e7541493-e9f0-4fc6-aff2-0c72982226a8 2026-01-16 14:12:09,090 - INFO - Deleting VM ctest-TestRoutersBasic-57202477-88978687 2026-01-16 14:12:09,164 - INFO - Deleting VM ctest-TestRoutersBasic-57202477-55216521 2026-01-16 14:12:09,249 - INFO - Deleting VN ctest-ext_vn-72140080 2026-01-16 14:12:09,309 - DEBUG - VN 9d23a221-2eec-4609-b5ee-ca658b448797 still in use: Unable to complete operation on network 9d23a221-2eec-4609-b5ee-ca658b448797. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-301f3864-d378-4e74-8a4e-c2b934437e2a'] 2026-01-16 14:12:09,309 - WARNING - Deleting VN ctest-ext_vn-72140080 failed..Will retry 2026-01-16 14:12:11,403 - DEBUG - Response for deleting network () 2026-01-16 14:12:11,403 - INFO - Deleting VN ctest-vn-61537520 2026-01-16 14:12:11,489 - DEBUG - Response for deleting network () 2026-01-16 14:12:11,743 - DEBUG - No XMPP flaps were noticed during the test
2026-01-16 14:12:11,744 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-16 14:12:11,744 - INFO - -------------------------------------------------------------------------------- 2026-01-16 14:12:12,397 - INFO - Deleted project: ctest-TestRoutersBasic-57202477, ID : ec1ab19a-d21e-4a7a-a7b3-192608eabed6