2026-02-03 07:08:46,903 - INFO - Reading existing Domain with UUID a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:08:46,914 - INFO - Using existing domain ['admin_domain'](a20a955c-6c44-478d-8a7f-02c90676183f) 2026-02-03 07:08:47,117 - INFO - Project ctest-TestRoutersBasic-99721985 not found, creating it 2026-02-03 07:08:47,615 - INFO - Created Project:ctest-TestRoutersBasic-99721985, ID : 91cceac0-1f6c-40f1-b42b-822a706ced73 2026-02-03 07:08:49,232 - INFO - ================================================================================ 2026-02-03 07:08:49,232 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 07:08:49,233 - 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-03 07:08:49,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-02-03 07:08:49,628 - INFO - Initial checks done. Running the testcase now 2026-02-03 07:08:49,628 - INFO - 2026-02-03 07:08:50,382 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99721985 2026-02-03 07:08:50,478 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99721985 2026-02-03 07:08:50,814 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99721985', 'default']} 2026-02-03 07:08:51,291 - DEBUG - Response for create_network : {'network': {'id': 'c2ea77fe-34bc-40dd-b865-cb938a515ee6', 'name': 'ctest-vn-91320244', 'tenant_id': '91cceac01f6c40f1b42b822a706ced73', 'project_id': '91cceac01f6c40f1b42b822a706ced73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99721985', 'ctest-vn-91320244'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-03 07:08:51,531 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a80b57d5-f5c9-496c-892e-2ce751f064a5', 'name': '', 'tenant_id': '91cceac01f6c40f1b42b822a706ced73', 'network_id': 'c2ea77fe-34bc-40dd-b865-cb938a515ee6', 'ip_version': 4, 'cidr': '171.144.38.0/26', 'allocation_pools': [{'start': '171.144.38.2', 'end': '171.144.38.62'}], 'gateway_ip': '171.144.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:08:51.441864', 'updated_at': '2026-02-03T07:08:51.441864', 'dns_server_address': '171.144.38.2', 'tags': [], 'project_id': '91cceac01f6c40f1b42b822a706ced73'}} 2026-02-03 07:08:51,592 - INFO - Created VN ctest-vn-91320244 2026-02-03 07:08:51,646 - DEBUG - VN ctest-vn-91320244 UUID is c2ea77fe-34bc-40dd-b865-cb938a515ee6 2026-02-03 07:08:52,210 - DEBUG - Response for create_network : {'network': {'id': '9c53ab78-1a42-4c21-a466-2cc916338528', 'name': 'ctest-ext_vn-41442576', 'tenant_id': '91cceac01f6c40f1b42b822a706ced73', 'project_id': '91cceac01f6c40f1b42b822a706ced73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-99721985', 'ctest-ext_vn-41442576'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-03 07:08:52,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '255ed096-d8d1-42da-ba06-d1c118b052b6', 'name': '', 'tenant_id': '91cceac01f6c40f1b42b822a706ced73', 'network_id': '9c53ab78-1a42-4c21-a466-2cc916338528', 'ip_version': 4, 'cidr': '59.11.175.64/26', 'allocation_pools': [{'start': '59.11.175.66', 'end': '59.11.175.126'}], 'gateway_ip': '59.11.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:08:52.378357', 'updated_at': '2026-02-03T07:08:52.378357', 'dns_server_address': '59.11.175.66', 'tags': [], 'project_id': '91cceac01f6c40f1b42b822a706ced73'}} 2026-02-03 07:08:52,544 - INFO - Created VN ctest-ext_vn-41442576 2026-02-03 07:08:52,598 - DEBUG - VN ctest-ext_vn-41442576 UUID is 9c53ab78-1a42-4c21-a466-2cc916338528 2026-02-03 07:08:52,851 - DEBUG - Services list from nova: [, , ] 2026-02-03 07:08:53,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1) 2026-02-03 07:08:55,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1) 2026-02-03 07:08:55,367 - INFO - Setting gateway for router 8b2ad834-3399-45ee-a6ed-967e16772334 to network 9c53ab78-1a42-4c21-a466-2cc916338528 2026-02-03 07:08:55,563 - INFO - Adding interface with subnet_id a80b57d5-f5c9-496c-892e-2ce751f064a5, port_id None to router 8b2ad834-3399-45ee-a6ed-967e16772334 2026-02-03 07:08:56,112 - INFO - Waiting for VM ctest-TestRoutersBasic-99721985-49061913 to be up.. 2026-02-03 07:08:56,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 07:09:01,397 - DEBUG - VM is in ACTIVE state now 2026-02-03 07:09:01,397 - INFO - VM name : ctest-TestRoutersBasic-99721985-49061913 2026-02-03 07:09:01,545 - DEBUG - VM ctest-TestRoutersBasic-99721985-49061913 ID is 59156634-0052-4cfc-b173-e72b2c6be345 2026-02-03 07:09:01,575 - DEBUG - VM ctest-TestRoutersBasic-99721985-49061913 launched on Node cn-jenkins-deploy-platform-juju-os-668-1 2026-02-03 07:09:01,737 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/59156634-0052-4cfc-b173-e72b2c6be345 2026-02-03 07:09:02,087 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/59156634-0052-4cfc-b173-e72b2c6be345 2026-02-03 07:09:02,172 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/8c52bab8-8866-46eb-bc81-443f2f8de979 2026-02-03 07:09:05,643 - 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 1007ms') 2026-02-03 07:09:05,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99721985-49061913 failed! 2026-02-03 07:09:05,698 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-99721985:ctest-vn-91320244 is 171.144.38.1 and allocation pool is NOT set 2026-02-03 07:09:07,783 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.372 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 = 0.372/1.481/2.591/1.109 ms') 2026-02-03 07:09:07,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99721985-49061913 passed 2026-02-03 07:09:07,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:09:07,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99721985-49061913, IP 171.144.38.3, Port 22 2026-02-03 07:09:08,141 - DEBUG - VM ctest-TestRoutersBasic-99721985-49061913 is ready for SSH connections 2026-02-03 07:09:08,141 - INFO - Waiting for VM ctest-TestRoutersBasic-99721985-64548766 to be up.. 2026-02-03 07:09:08,273 - DEBUG - VM is in ACTIVE state now 2026-02-03 07:09:08,273 - INFO - VM name : ctest-TestRoutersBasic-99721985-64548766 2026-02-03 07:09:08,415 - DEBUG - VM ctest-TestRoutersBasic-99721985-64548766 ID is 9648099b-11ea-423d-8d6a-63f18351f4e7 2026-02-03 07:09:08,415 - DEBUG - VM ctest-TestRoutersBasic-99721985-64548766 launched on Node cn-jenkins-deploy-platform-juju-os-668-1 2026-02-03 07:09:08,544 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/9648099b-11ea-423d-8d6a-63f18351f4e7 2026-02-03 07:09:08,599 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/10348c1b-853e-4f00-be78-0450cc4a1930 2026-02-03 07:09:10,042 - 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.357 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.357/1.554/2.751/1.197 ms') 2026-02-03 07:09:10,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99721985-64548766 passed 2026-02-03 07:09:10,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:09:10,190 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99721985-64548766, IP 59.11.175.67, Port 22 2026-02-03 07:09:10,404 - DEBUG - VM ctest-TestRoutersBasic-99721985-64548766 is ready for SSH connections 2026-02-03 07:09:10,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:09:10,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.11.175.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-03 07:09:10,405 - DEBUG - ping -s 56 -c 3 -W 1 59.11.175.67 2026-02-03 07:09:14,436 - DEBUG - PING 59.11.175.67 (59.11.175.67): 56 data bytes 64 bytes from 59.11.175.67: seq=0 ttl=62 time=7.452 ms 64 bytes from 59.11.175.67: seq=1 ttl=62 time=0.826 ms 64 bytes from 59.11.175.67: seq=2 ttl=62 time=0.806 ms --- 59.11.175.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/3.028/7.452 ms 2026-02-03 07:09:14,436 - INFO - Ping to IP 59.11.175.67 from VM ctest-TestRoutersBasic-99721985-49061913 passed 2026-02-03 07:09:14,436 - INFO - Deleting interface with subnet_id a80b57d5-f5c9-496c-892e-2ce751f064a5, port_id None from router 8b2ad834-3399-45ee-a6ed-967e16772334 2026-02-03 07:09:14,770 - INFO - Deleting VM ctest-TestRoutersBasic-99721985-64548766 2026-02-03 07:09:14,865 - INFO - Deleting VM ctest-TestRoutersBasic-99721985-49061913 2026-02-03 07:09:14,977 - INFO - Deleting VN ctest-ext_vn-41442576 2026-02-03 07:09:15,165 - DEBUG - VN 9c53ab78-1a42-4c21-a466-2cc916338528 still in use: Unable to complete operation on network 9c53ab78-1a42-4c21-a466-2cc916338528. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc039901-59c3-4841-9cef-bb5ef6536ae3'] 2026-02-03 07:09:15,166 - WARNING - Deleting VN ctest-ext_vn-41442576 failed..Will retry 2026-02-03 07:09:17,342 - DEBUG - Response for deleting network () 2026-02-03 07:09:17,343 - INFO - Deleting VN ctest-vn-91320244 2026-02-03 07:09:17,531 - DEBUG - Response for deleting network () 2026-02-03 07:09:17,932 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 07:09:17,932 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-02-03 07:09:17,932 - INFO - -------------------------------------------------------------------------------- 2026-02-03 07:09:18,650 - INFO - Deleted project: ctest-TestRoutersBasic-99721985, ID : 91cceac0-1f6c-40f1-b42b-822a706ced73