2026-06-01 18:30:12,254 - INFO - Domain Default found not creating 2026-06-01 18:30:12,448 - INFO - Project ctest-TestRoutersBasic-28015399 not found, creating it 2026-06-01 18:30:12,918 - INFO - Created Project:ctest-TestRoutersBasic-28015399, ID : b0be3623-9ad6-45fb-a7e1-0fbdc0c6f312 2026-06-01 18:30:14,503 - INFO - ================================================================================ 2026-06-01 18:30:14,503 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-01 18:30:14,503 - 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-01 18:30:14,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2026-06-01 18:30:14,764 - INFO - Initial checks done. Running the testcase now 2026-06-01 18:30:14,764 - INFO - 2026-06-01 18:30:15,494 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28015399 2026-06-01 18:30:15,588 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28015399 2026-06-01 18:30:15,908 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015399', 'default']} 2026-06-01 18:30:16,211 - DEBUG - Response for create_network : {'network': {'id': 'e381e287-ada2-4a37-81f9-903b37e4ffa3', 'name': 'ctest-vn-52999440', 'tenant_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'project_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015399', 'ctest-vn-52999440'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:30:16,397 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3218713-62d6-4f8d-9d0e-64ad2579389c', 'name': '', 'tenant_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'network_id': 'e381e287-ada2-4a37-81f9-903b37e4ffa3', 'ip_version': 4, 'cidr': '113.133.57.128/26', 'allocation_pools': [{'start': '113.133.57.130', 'end': '113.133.57.190'}], 'gateway_ip': '113.133.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.133.57.130', 'tags': [], 'project_id': 'b0be36239ad645fba7e10fbdc0c6f312'}} 2026-06-01 18:30:16,416 - INFO - Created VN ctest-vn-52999440 2026-06-01 18:30:16,468 - DEBUG - VN ctest-vn-52999440 UUID is e381e287-ada2-4a37-81f9-903b37e4ffa3 2026-06-01 18:30:16,814 - DEBUG - Response for create_network : {'network': {'id': 'dbc299d7-bdc8-4998-96fa-cb75d3e83707', 'name': 'ctest-ext_vn-53667854', 'tenant_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'project_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28015399', 'ctest-ext_vn-53667854'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 18:30:17,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '89a11d65-2f88-4e58-a520-ece694b3e73c', 'name': '', 'tenant_id': 'b0be36239ad645fba7e10fbdc0c6f312', 'network_id': 'dbc299d7-bdc8-4998-96fa-cb75d3e83707', 'ip_version': 4, 'cidr': '176.146.5.128/26', 'allocation_pools': [{'start': '176.146.5.130', 'end': '176.146.5.190'}], 'gateway_ip': '176.146.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.146.5.130', 'tags': [], 'project_id': 'b0be36239ad645fba7e10fbdc0c6f312'}} 2026-06-01 18:30:17,051 - INFO - Created VN ctest-ext_vn-53667854 2026-06-01 18:30:17,108 - DEBUG - VN ctest-ext_vn-53667854 UUID is dbc299d7-bdc8-4998-96fa-cb75d3e83707 2026-06-01 18:30:17,295 - DEBUG - Services list from nova: [, , ] 2026-06-01 18:30:18,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5874-1) 2026-06-01 18:30:19,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5874-1) 2026-06-01 18:30:19,626 - INFO - Setting gateway for router db7c4cd1-aca9-41f9-b4a3-c99e2194133d to network dbc299d7-bdc8-4998-96fa-cb75d3e83707 2026-06-01 18:30:19,684 - INFO - Adding interface with subnet_id d3218713-62d6-4f8d-9d0e-64ad2579389c, port_id None to router db7c4cd1-aca9-41f9-b4a3-c99e2194133d 2026-06-01 18:30:20,042 - INFO - Waiting for VM ctest-TestRoutersBasic-28015399-41016486 to be up.. 2026-06-01 18:30:20,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 18:30:25,283 - DEBUG - VM is in ACTIVE state now 2026-06-01 18:30:25,283 - INFO - VM name : ctest-TestRoutersBasic-28015399-41016486 2026-06-01 18:30:25,362 - DEBUG - VM ctest-TestRoutersBasic-28015399-41016486 ID is c73caa50-b308-4a2c-8db9-aed3fede6e2b 2026-06-01 18:30:25,382 - DEBUG - VM ctest-TestRoutersBasic-28015399-41016486 launched on Node cn-jenkins-deploy-platform-ansible-os-5874-1 2026-06-01 18:30:25,454 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c73caa50-b308-4a2c-8db9-aed3fede6e2b 2026-06-01 18:30:25,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c73caa50-b308-4a2c-8db9-aed3fede6e2b 2026-06-01 18:30:25,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/85301a55-72ff-4af8-8a19-4d01bc22b82a 2026-06-01 18:30:29,033 - 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 1001ms') 2026-06-01 18:30:29,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28015399-41016486 failed! 2026-06-01 18:30:29,088 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28015399:ctest-vn-52999440 is 113.133.57.129 and allocation pool is NOT set 2026-06-01 18:30:31,145 - 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=4.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.252/2.779/4.306/1.527 ms') 2026-06-01 18:30:31,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28015399-41016486 passed 2026-06-01 18:30:31,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:30:31,292 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28015399-41016486, IP 113.133.57.131, Port 22 2026-06-01 18:30:31,447 - DEBUG - VM ctest-TestRoutersBasic-28015399-41016486 is ready for SSH connections 2026-06-01 18:30:31,448 - INFO - Waiting for VM ctest-TestRoutersBasic-28015399-13970118 to be up.. 2026-06-01 18:30:31,544 - DEBUG - VM is in ACTIVE state now 2026-06-01 18:30:31,544 - INFO - VM name : ctest-TestRoutersBasic-28015399-13970118 2026-06-01 18:30:31,631 - DEBUG - VM ctest-TestRoutersBasic-28015399-13970118 ID is ef7b791a-747b-49aa-b60e-30703bf4381c 2026-06-01 18:30:31,631 - DEBUG - VM ctest-TestRoutersBasic-28015399-13970118 launched on Node cn-jenkins-deploy-platform-ansible-os-5874-1 2026-06-01 18:30:31,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef7b791a-747b-49aa-b60e-30703bf4381c 2026-06-01 18:30:31,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a09bef1c-762c-4d28-a566-7691bdd4d869 2026-06-01 18:30:32,969 - 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=3.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.594 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.594/1.908/3.223/1.314 ms') 2026-06-01 18:30:32,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28015399-13970118 passed 2026-06-01 18:30:33,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:30:33,124 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28015399-13970118, IP 176.146.5.131, Port 22 2026-06-01 18:30:33,279 - DEBUG - VM ctest-TestRoutersBasic-28015399-13970118 is ready for SSH connections 2026-06-01 18:30:33,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 18:30:33,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.146.5.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-01 18:30:33,280 - DEBUG - ping -s 56 -c 3 -W 1 176.146.5.131 2026-06-01 18:30:36,982 - DEBUG - PING 176.146.5.131 (176.146.5.131): 56 data bytes 64 bytes from 176.146.5.131: seq=0 ttl=62 time=4.855 ms 64 bytes from 176.146.5.131: seq=1 ttl=62 time=0.929 ms 64 bytes from 176.146.5.131: seq=2 ttl=62 time=0.971 ms --- 176.146.5.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/2.251/4.855 ms 2026-06-01 18:30:36,982 - INFO - Ping to IP 176.146.5.131 from VM ctest-TestRoutersBasic-28015399-41016486 passed 2026-06-01 18:30:36,982 - INFO - Deleting interface with subnet_id d3218713-62d6-4f8d-9d0e-64ad2579389c, port_id None from router db7c4cd1-aca9-41f9-b4a3-c99e2194133d 2026-06-01 18:30:37,174 - INFO - Deleting VM ctest-TestRoutersBasic-28015399-13970118 2026-06-01 18:30:37,255 - INFO - Deleting VM ctest-TestRoutersBasic-28015399-41016486 2026-06-01 18:30:37,349 - INFO - Deleting VN ctest-ext_vn-53667854 2026-06-01 18:30:37,443 - DEBUG - VN dbc299d7-bdc8-4998-96fa-cb75d3e83707 still in use: Unable to complete operation on network dbc299d7-bdc8-4998-96fa-cb75d3e83707. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f7ab1ad-7327-4dc8-be8e-422d7721abc6'] 2026-06-01 18:30:37,443 - WARNING - Deleting VN ctest-ext_vn-53667854 failed..Will retry 2026-06-01 18:30:39,559 - DEBUG - Response for deleting network () 2026-06-01 18:30:39,559 - INFO - Deleting VN ctest-vn-52999440 2026-06-01 18:30:39,687 - DEBUG - Response for deleting network () 2026-06-01 18:30:39,945 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 18:30:39,945 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-06-01 18:30:39,945 - INFO - -------------------------------------------------------------------------------- 2026-06-01 18:30:40,621 - INFO - Deleted project: ctest-TestRoutersBasic-28015399, ID : b0be3623-9ad6-45fb-a7e1-0fbdc0c6f312