2025-10-09 10:32:33,008 - INFO - Reading existing Domain with UUID dfa458d1-aaf5-4c71-9ede-e49be62ab991 2025-10-09 10:32:33,019 - INFO - Using existing domain ['admin_domain'](dfa458d1-aaf5-4c71-9ede-e49be62ab991) 2025-10-09 10:32:33,240 - INFO - Project ctest-TestRoutersBasic-03648398 not found, creating it 2025-10-09 10:32:33,762 - INFO - Created Project:ctest-TestRoutersBasic-03648398, ID : 9cf365be-c7d0-4881-839f-6d0f75bf775d 2025-10-09 10:32:35,559 - INFO - ================================================================================ 2025-10-09 10:32:35,560 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 10:32:35,560 - 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 2025-10-09 10:32:35,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-10-09 10:32:35,941 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:32:35,941 - INFO - 2025-10-09 10:32:36,775 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03648398 2025-10-09 10:32:36,872 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03648398 2025-10-09 10:32:37,199 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-03648398', 'default']} 2025-10-09 10:32:37,720 - DEBUG - Response for create_network : {'network': {'id': 'ec809a00-2bcb-4fc0-9297-581bb45a32fd', 'name': 'ctest-vn-14960974', 'tenant_id': '9cf365bec7d04881839f6d0f75bf775d', 'project_id': '9cf365bec7d04881839f6d0f75bf775d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-03648398', 'ctest-vn-14960974'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 10:32:37,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd4ea1bc-cc86-4304-a0f1-93b77ca64c47', 'name': '', 'tenant_id': '9cf365bec7d04881839f6d0f75bf775d', 'network_id': 'ec809a00-2bcb-4fc0-9297-581bb45a32fd', 'ip_version': 4, 'cidr': '14.179.174.0/26', 'allocation_pools': [{'start': '14.179.174.2', 'end': '14.179.174.62'}], 'gateway_ip': '14.179.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:32:37.844757', 'updated_at': '2025-10-09T10:32:37.844757', 'dns_server_address': '14.179.174.2', 'tags': [], 'project_id': '9cf365bec7d04881839f6d0f75bf775d'}} 2025-10-09 10:32:38,017 - INFO - Created VN ctest-vn-14960974 2025-10-09 10:32:38,071 - DEBUG - VN ctest-vn-14960974 UUID is ec809a00-2bcb-4fc0-9297-581bb45a32fd 2025-10-09 10:32:38,603 - DEBUG - Response for create_network : {'network': {'id': '609993a4-9c90-4e60-8241-c7ba467d8996', 'name': 'ctest-ext_vn-34155382', 'tenant_id': '9cf365bec7d04881839f6d0f75bf775d', 'project_id': '9cf365bec7d04881839f6d0f75bf775d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-03648398', 'ctest-ext_vn-34155382'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 10:32:38,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '45524e81-d76d-44b8-887d-15e923d21e8c', 'name': '', 'tenant_id': '9cf365bec7d04881839f6d0f75bf775d', 'network_id': '609993a4-9c90-4e60-8241-c7ba467d8996', 'ip_version': 4, 'cidr': '99.193.115.64/26', 'allocation_pools': [{'start': '99.193.115.66', 'end': '99.193.115.126'}], 'gateway_ip': '99.193.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:32:38.757655', 'updated_at': '2025-10-09T10:32:38.757655', 'dns_server_address': '99.193.115.66', 'tags': [], 'project_id': '9cf365bec7d04881839f6d0f75bf775d'}} 2025-10-09 10:32:38,921 - INFO - Created VN ctest-ext_vn-34155382 2025-10-09 10:32:38,975 - DEBUG - VN ctest-ext_vn-34155382 UUID is 609993a4-9c90-4e60-8241-c7ba467d8996 2025-10-09 10:32:39,264 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:32:40,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1) 2025-10-09 10:32:41,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1) 2025-10-09 10:32:41,831 - INFO - Setting gateway for router 9e207a7b-e265-467d-a3d6-09995c05482e to network 609993a4-9c90-4e60-8241-c7ba467d8996 2025-10-09 10:32:41,999 - INFO - Adding interface with subnet_id dd4ea1bc-cc86-4304-a0f1-93b77ca64c47, port_id None to router 9e207a7b-e265-467d-a3d6-09995c05482e 2025-10-09 10:32:42,589 - INFO - Waiting for VM ctest-TestRoutersBasic-03648398-96630575 to be up.. 2025-10-09 10:32:42,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:32:47,875 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:32:47,875 - INFO - VM name : ctest-TestRoutersBasic-03648398-96630575 2025-10-09 10:32:48,010 - DEBUG - VM ctest-TestRoutersBasic-03648398-96630575 ID is fdd97341-dd50-4393-84f0-c7d497cf3085 2025-10-09 10:32:48,037 - DEBUG - VM ctest-TestRoutersBasic-03648398-96630575 launched on Node cn-jenkins-deploy-platform-juju-os-587-1 2025-10-09 10:32:48,176 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/fdd97341-dd50-4393-84f0-c7d497cf3085 2025-10-09 10:32:48,531 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/fdd97341-dd50-4393-84f0-c7d497cf3085 2025-10-09 10:32:48,620 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/60790fb6-c7d3-4791-ae11-9e13d36ef157 2025-10-09 10:32:52,094 - 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 1014ms') 2025-10-09 10:32:52,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03648398-96630575 failed! 2025-10-09 10:32:52,159 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-03648398:ctest-vn-14960974 is 14.179.174.1 and allocation pool is NOT set 2025-10-09 10:32:54,253 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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.714/2.938/4.162/1.224 ms') 2025-10-09 10:32:54,254 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03648398-96630575 passed 2025-10-09 10:32:54,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:32:54,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03648398-96630575, IP 14.179.174.3, Port 22 2025-10-09 10:32:54,621 - DEBUG - VM ctest-TestRoutersBasic-03648398-96630575 is ready for SSH connections 2025-10-09 10:32:54,621 - INFO - Waiting for VM ctest-TestRoutersBasic-03648398-89543005 to be up.. 2025-10-09 10:32:54,761 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:32:54,761 - INFO - VM name : ctest-TestRoutersBasic-03648398-89543005 2025-10-09 10:32:54,892 - DEBUG - VM ctest-TestRoutersBasic-03648398-89543005 ID is 772be61e-15a3-409e-b618-b05c23cd1e1b 2025-10-09 10:32:54,892 - DEBUG - VM ctest-TestRoutersBasic-03648398-89543005 launched on Node cn-jenkins-deploy-platform-juju-os-587-1 2025-10-09 10:32:55,029 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/772be61e-15a3-409e-b618-b05c23cd1e1b 2025-10-09 10:32:55,084 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/a9444cb6-f0da-4631-b76e-9d407b2139e6 2025-10-09 10:32:56,551 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.47 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 = 2.468/3.200/3.933/0.732 ms') 2025-10-09 10:32:56,551 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03648398-89543005 passed 2025-10-09 10:32:56,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:32:56,707 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03648398-89543005, IP 99.193.115.67, Port 22 2025-10-09 10:32:56,919 - DEBUG - VM ctest-TestRoutersBasic-03648398-89543005 is ready for SSH connections 2025-10-09 10:32:56,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:32:56,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.193.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 10:32:56,920 - DEBUG - ping -s 56 -c 3 -W 1 99.193.115.67 2025-10-09 10:33:00,626 - DEBUG - PING 99.193.115.67 (99.193.115.67): 56 data bytes 64 bytes from 99.193.115.67: seq=0 ttl=62 time=10.327 ms 64 bytes from 99.193.115.67: seq=1 ttl=62 time=0.922 ms 64 bytes from 99.193.115.67: seq=2 ttl=62 time=1.009 ms --- 99.193.115.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/4.086/10.327 ms 2025-10-09 10:33:00,626 - INFO - Ping to IP 99.193.115.67 from VM ctest-TestRoutersBasic-03648398-96630575 passed 2025-10-09 10:33:00,626 - INFO - Deleting interface with subnet_id dd4ea1bc-cc86-4304-a0f1-93b77ca64c47, port_id None from router 9e207a7b-e265-467d-a3d6-09995c05482e 2025-10-09 10:33:00,986 - INFO - Deleting VM ctest-TestRoutersBasic-03648398-89543005 2025-10-09 10:33:01,091 - INFO - Deleting VM ctest-TestRoutersBasic-03648398-96630575 2025-10-09 10:33:01,214 - INFO - Deleting VN ctest-ext_vn-34155382 2025-10-09 10:33:01,414 - DEBUG - VN 609993a4-9c90-4e60-8241-c7ba467d8996 still in use: Unable to complete operation on network 609993a4-9c90-4e60-8241-c7ba467d8996. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5f7e6bb-fca2-43b4-afbf-8f14badcfd94'] 2025-10-09 10:33:01,414 - WARNING - Deleting VN ctest-ext_vn-34155382 failed..Will retry 2025-10-09 10:33:03,572 - DEBUG - Response for deleting network () 2025-10-09 10:33:03,572 - INFO - Deleting VN ctest-vn-14960974 2025-10-09 10:33:03,741 - DEBUG - Response for deleting network () 2025-10-09 10:33:04,124 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 10:33:04,124 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-10-09 10:33:04,124 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:33:04,872 - INFO - Deleted project: ctest-TestRoutersBasic-03648398, ID : 9cf365be-c7d0-4881-839f-6d0f75bf775d