2026-05-28 01:52:05,131 - INFO - Reading existing Domain with UUID 1d5ccdab-3b8a-46cd-977b-65a3c3aa09af 2026-05-28 01:52:05,149 - INFO - Using existing domain ['admin_domain'](1d5ccdab-3b8a-46cd-977b-65a3c3aa09af) 2026-05-28 01:52:05,336 - INFO - Project ctest-TestRoutersBasic-50137278 not found, creating it 2026-05-28 01:52:05,859 - INFO - Created Project:ctest-TestRoutersBasic-50137278, ID : e54a2311-1496-44b4-815f-ac06f0385c36 2026-05-28 01:52:07,532 - INFO - ================================================================================ 2026-05-28 01:52:07,532 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 01:52:07,532 - 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-05-28 01:52:07,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2026-05-28 01:52:07,927 - INFO - Initial checks done. Running the testcase now 2026-05-28 01:52:07,927 - INFO - 2026-05-28 01:52:08,722 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50137278 2026-05-28 01:52:08,818 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50137278 2026-05-28 01:52:09,234 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50137278', 'default']} 2026-05-28 01:52:09,722 - DEBUG - Response for create_network : {'network': {'id': '89c0e574-5b31-4b42-a9d9-d8f0467d635b', 'name': 'ctest-vn-68934076', 'tenant_id': 'e54a2311149644b4815fac06f0385c36', 'project_id': 'e54a2311149644b4815fac06f0385c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50137278', 'ctest-vn-68934076'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-28 01:52:09,923 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2b76c23-9892-4be9-b04e-24652acb0d0a', 'name': '', 'tenant_id': 'e54a2311149644b4815fac06f0385c36', 'network_id': '89c0e574-5b31-4b42-a9d9-d8f0467d635b', 'ip_version': 4, 'cidr': '178.226.36.128/26', 'allocation_pools': [{'start': '178.226.36.130', 'end': '178.226.36.190'}], 'gateway_ip': '178.226.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-28T01:52:09.817338', 'updated_at': '2026-05-28T01:52:09.817338', 'dns_server_address': '178.226.36.130', 'tags': [], 'project_id': 'e54a2311149644b4815fac06f0385c36'}} 2026-05-28 01:52:09,988 - INFO - Created VN ctest-vn-68934076 2026-05-28 01:52:10,042 - DEBUG - VN ctest-vn-68934076 UUID is 89c0e574-5b31-4b42-a9d9-d8f0467d635b 2026-05-28 01:52:10,550 - DEBUG - Response for create_network : {'network': {'id': '1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc', 'name': 'ctest-ext_vn-78236275', 'tenant_id': 'e54a2311149644b4815fac06f0385c36', 'project_id': 'e54a2311149644b4815fac06f0385c36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-50137278', 'ctest-ext_vn-78236275'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-28 01:52:10,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7849f6f-6d35-489c-a1b9-0e706cf395f2', 'name': '', 'tenant_id': 'e54a2311149644b4815fac06f0385c36', 'network_id': '1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc', 'ip_version': 4, 'cidr': '176.214.190.128/26', 'allocation_pools': [{'start': '176.214.190.130', 'end': '176.214.190.190'}], 'gateway_ip': '176.214.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-28T01:52:10.716571', 'updated_at': '2026-05-28T01:52:10.716571', 'dns_server_address': '176.214.190.130', 'tags': [], 'project_id': 'e54a2311149644b4815fac06f0385c36'}} 2026-05-28 01:52:10,896 - INFO - Created VN ctest-ext_vn-78236275 2026-05-28 01:52:10,950 - DEBUG - VN ctest-ext_vn-78236275 UUID is 1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc 2026-05-28 01:52:11,227 - DEBUG - Services list from nova: [, , ] 2026-05-28 01:52:12,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-707-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-707-1) 2026-05-28 01:52:13,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-707-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-707-1) 2026-05-28 01:52:13,866 - INFO - Setting gateway for router f99c29d9-a6e9-4f8f-9a3d-11b84be4794f to network 1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc 2026-05-28 01:52:14,034 - INFO - Adding interface with subnet_id f2b76c23-9892-4be9-b04e-24652acb0d0a, port_id None to router f99c29d9-a6e9-4f8f-9a3d-11b84be4794f 2026-05-28 01:52:14,668 - INFO - Waiting for VM ctest-TestRoutersBasic-50137278-14157707 to be up.. 2026-05-28 01:52:14,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:52:20,074 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:52:20,074 - INFO - VM name : ctest-TestRoutersBasic-50137278-14157707 2026-05-28 01:52:20,215 - DEBUG - VM ctest-TestRoutersBasic-50137278-14157707 ID is 075d97a8-cd65-4d79-8ff3-77c9f65da2d4 2026-05-28 01:52:20,243 - DEBUG - VM ctest-TestRoutersBasic-50137278-14157707 launched on Node cn-jenkins-deploy-platform-juju-os-707-1 2026-05-28 01:52:20,388 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/075d97a8-cd65-4d79-8ff3-77c9f65da2d4 2026-05-28 01:52:20,756 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/075d97a8-cd65-4d79-8ff3-77c9f65da2d4 2026-05-28 01:52:20,842 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/0f17f756-d574-41b9-aa44-45b777b37886 2026-05-28 01:52:24,323 - 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-05-28 01:52:24,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50137278-14157707 failed! 2026-05-28 01:52:24,394 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-50137278:ctest-vn-68934076 is 178.226.36.129 and allocation pool is NOT set 2026-05-28 01:52:26,495 - 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=2.56 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 1002ms\r\nrtt min/avg/max/mdev = 1.249/1.904/2.559/0.655 ms') 2026-05-28 01:52:26,495 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50137278-14157707 passed 2026-05-28 01:52:26,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:52:26,650 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50137278-14157707, IP 178.226.36.131, Port 22 2026-05-28 01:52:26,868 - DEBUG - VM ctest-TestRoutersBasic-50137278-14157707 is ready for SSH connections 2026-05-28 01:52:26,868 - INFO - Waiting for VM ctest-TestRoutersBasic-50137278-91631828 to be up.. 2026-05-28 01:52:27,020 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:52:27,020 - INFO - VM name : ctest-TestRoutersBasic-50137278-91631828 2026-05-28 01:52:27,158 - DEBUG - VM ctest-TestRoutersBasic-50137278-91631828 ID is 8c423778-1c5f-46d7-9ea3-e21638ef5d9b 2026-05-28 01:52:27,158 - DEBUG - VM ctest-TestRoutersBasic-50137278-91631828 launched on Node cn-jenkins-deploy-platform-juju-os-707-1 2026-05-28 01:52:27,287 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/8c423778-1c5f-46d7-9ea3-e21638ef5d9b 2026-05-28 01:52:27,347 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/bb8bacaf-62f7-461c-9914-6f039a42dfd6 2026-05-28 01:52:28,811 - 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=4.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.068/2.845/4.622/1.777 ms') 2026-05-28 01:52:28,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50137278-91631828 passed 2026-05-28 01:52:28,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:52:28,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50137278-91631828, IP 176.214.190.131, Port 22 2026-05-28 01:52:29,183 - DEBUG - VM ctest-TestRoutersBasic-50137278-91631828 is ready for SSH connections 2026-05-28 01:52:29,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:52:29,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.214.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-05-28 01:52:29,184 - DEBUG - ping -s 56 -c 3 -W 1 176.214.190.131 2026-05-28 01:52:32,871 - DEBUG - PING 176.214.190.131 (176.214.190.131): 56 data bytes 64 bytes from 176.214.190.131: seq=0 ttl=62 time=6.749 ms 64 bytes from 176.214.190.131: seq=1 ttl=62 time=0.890 ms 64 bytes from 176.214.190.131: seq=2 ttl=62 time=1.058 ms --- 176.214.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.899/6.749 ms 2026-05-28 01:52:32,872 - INFO - Ping to IP 176.214.190.131 from VM ctest-TestRoutersBasic-50137278-14157707 passed 2026-05-28 01:52:32,872 - INFO - Deleting interface with subnet_id f2b76c23-9892-4be9-b04e-24652acb0d0a, port_id None from router f99c29d9-a6e9-4f8f-9a3d-11b84be4794f 2026-05-28 01:52:33,241 - INFO - Deleting VM ctest-TestRoutersBasic-50137278-91631828 2026-05-28 01:52:33,355 - INFO - Deleting VM ctest-TestRoutersBasic-50137278-14157707 2026-05-28 01:52:33,481 - INFO - Deleting VN ctest-ext_vn-78236275 2026-05-28 01:52:33,697 - DEBUG - VN 1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc still in use: Unable to complete operation on network 1ccc2065-e54a-4a84-a2db-3b77e8cdd8dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a32de307-7a7f-44d4-b38c-f713679faba3'] 2026-05-28 01:52:33,697 - WARNING - Deleting VN ctest-ext_vn-78236275 failed..Will retry 2026-05-28 01:52:35,850 - DEBUG - Response for deleting network () 2026-05-28 01:52:35,851 - INFO - Deleting VN ctest-vn-68934076 2026-05-28 01:52:36,001 - DEBUG - Response for deleting network () 2026-05-28 01:52:36,399 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 01:52:36,399 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-05-28 01:52:36,399 - INFO - -------------------------------------------------------------------------------- 2026-05-28 01:52:37,153 - INFO - Deleted project: ctest-TestRoutersBasic-50137278, ID : e54a2311-1496-44b4-815f-ac06f0385c36