2026-03-06 13:12:52,555 - INFO - Reading existing Domain with UUID 18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:12:52,569 - INFO - Using existing domain ['admin_domain'](18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1) 2026-03-06 13:12:52,792 - INFO - Project ctest-TestRoutersBasic-84586515 not found, creating it 2026-03-06 13:12:53,320 - INFO - Created Project:ctest-TestRoutersBasic-84586515, ID : 4461756f-97a0-4b68-a283-7a629d9fdf91 2026-03-06 13:12:55,159 - INFO - ================================================================================ 2026-03-06 13:12:55,159 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-06 13:12:55,160 - 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-03-06 13:12:55,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-03-06 13:12:55,561 - INFO - Initial checks done. Running the testcase now 2026-03-06 13:12:55,562 - INFO - 2026-03-06 13:12:56,416 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84586515 2026-03-06 13:12:56,520 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84586515 2026-03-06 13:12:56,891 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-84586515', 'default']} 2026-03-06 13:12:57,713 - DEBUG - Response for create_network : {'network': {'id': '5b1a9dd8-633f-41ce-91e4-3d79249bc092', 'name': 'ctest-vn-26606064', 'tenant_id': '4461756f97a04b68a2837a629d9fdf91', 'project_id': '4461756f97a04b68a2837a629d9fdf91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-84586515', 'ctest-vn-26606064'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-06 13:12:58,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '850a8200-0d32-482a-a7f2-73a0312a2fc0', 'name': '', 'tenant_id': '4461756f97a04b68a2837a629d9fdf91', 'network_id': '5b1a9dd8-633f-41ce-91e4-3d79249bc092', 'ip_version': 4, 'cidr': '214.140.178.64/26', 'allocation_pools': [{'start': '214.140.178.66', 'end': '214.140.178.126'}], 'gateway_ip': '214.140.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:12:57.923632', 'updated_at': '2026-03-06T13:12:57.923632', 'dns_server_address': '214.140.178.66', 'tags': [], 'project_id': '4461756f97a04b68a2837a629d9fdf91'}} 2026-03-06 13:12:58,150 - INFO - Created VN ctest-vn-26606064 2026-03-06 13:12:58,208 - DEBUG - VN ctest-vn-26606064 UUID is 5b1a9dd8-633f-41ce-91e4-3d79249bc092 2026-03-06 13:12:58,952 - DEBUG - Response for create_network : {'network': {'id': 'd2b9b831-b618-40c0-b98f-b895a0f6fcfa', 'name': 'ctest-ext_vn-42873332', 'tenant_id': '4461756f97a04b68a2837a629d9fdf91', 'project_id': '4461756f97a04b68a2837a629d9fdf91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-84586515', 'ctest-ext_vn-42873332'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-06 13:12:59,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e0d6e92-189d-40cc-8481-8f4e4aaa05dc', 'name': '', 'tenant_id': '4461756f97a04b68a2837a629d9fdf91', 'network_id': 'd2b9b831-b618-40c0-b98f-b895a0f6fcfa', 'ip_version': 4, 'cidr': '7.54.141.128/26', 'allocation_pools': [{'start': '7.54.141.130', 'end': '7.54.141.190'}], 'gateway_ip': '7.54.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:12:59.099910', 'updated_at': '2026-03-06T13:12:59.099910', 'dns_server_address': '7.54.141.130', 'tags': [], 'project_id': '4461756f97a04b68a2837a629d9fdf91'}} 2026-03-06 13:12:59,286 - INFO - Created VN ctest-ext_vn-42873332 2026-03-06 13:12:59,339 - DEBUG - VN ctest-ext_vn-42873332 UUID is d2b9b831-b618-40c0-b98f-b895a0f6fcfa 2026-03-06 13:12:59,636 - DEBUG - Services list from nova: [, , ] 2026-03-06 13:13:00,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1) 2026-03-06 13:13:02,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1) 2026-03-06 13:13:02,752 - INFO - Setting gateway for router bde51916-9d15-49db-9ea3-4a2d73845bab to network d2b9b831-b618-40c0-b98f-b895a0f6fcfa 2026-03-06 13:13:02,921 - INFO - Adding interface with subnet_id 850a8200-0d32-482a-a7f2-73a0312a2fc0, port_id None to router bde51916-9d15-49db-9ea3-4a2d73845bab 2026-03-06 13:13:03,658 - INFO - Waiting for VM ctest-TestRoutersBasic-84586515-63585442 to be up.. 2026-03-06 13:13:03,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 13:13:09,025 - DEBUG - VM is in ACTIVE state now 2026-03-06 13:13:09,026 - INFO - VM name : ctest-TestRoutersBasic-84586515-63585442 2026-03-06 13:13:09,177 - DEBUG - VM ctest-TestRoutersBasic-84586515-63585442 ID is 23305d3d-08ef-40e9-95e0-942ba3af058d 2026-03-06 13:13:09,204 - DEBUG - VM ctest-TestRoutersBasic-84586515-63585442 launched on Node cn-jenkins-deploy-platform-juju-os-681-1 2026-03-06 13:13:09,364 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/23305d3d-08ef-40e9-95e0-942ba3af058d 2026-03-06 13:13:09,721 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/23305d3d-08ef-40e9-95e0-942ba3af058d 2026-03-06 13:13:09,812 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/6a148b92-803c-49fb-a212-b6bb4757e765 2026-03-06 13:13:13,312 - 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 1025ms') 2026-03-06 13:13:13,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84586515-63585442 failed! 2026-03-06 13:13:13,376 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-84586515:ctest-vn-26606064 is 214.140.178.65 and allocation pool is NOT set 2026-03-06 13:13:15,488 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.97 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 = 4.970/5.151/5.333/0.181 ms') 2026-03-06 13:13:15,489 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84586515-63585442 passed 2026-03-06 13:13:15,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:13:15,652 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84586515-63585442, IP 214.140.178.67, Port 22 2026-03-06 13:13:15,749 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-06 13:13:15,902 - DEBUG - VM ctest-TestRoutersBasic-84586515-63585442 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-06 13:13:20,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:13:20,902 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84586515-63585442, IP 214.140.178.67, Port 22 2026-03-06 13:13:21,141 - DEBUG - VM ctest-TestRoutersBasic-84586515-63585442 is ready for SSH connections 2026-03-06 13:13:21,141 - INFO - Waiting for VM ctest-TestRoutersBasic-84586515-46960746 to be up.. 2026-03-06 13:13:21,442 - DEBUG - VM is in ACTIVE state now 2026-03-06 13:13:21,442 - INFO - VM name : ctest-TestRoutersBasic-84586515-46960746 2026-03-06 13:13:21,601 - DEBUG - VM ctest-TestRoutersBasic-84586515-46960746 ID is 9b12e1e3-14d5-4ac2-afdc-83f8ea1fc341 2026-03-06 13:13:21,601 - DEBUG - VM ctest-TestRoutersBasic-84586515-46960746 launched on Node cn-jenkins-deploy-platform-juju-os-681-1 2026-03-06 13:13:21,755 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/9b12e1e3-14d5-4ac2-afdc-83f8ea1fc341 2026-03-06 13:13:21,820 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/dbde41ac-3c8c-4266-9e53-47d0c40aa51f 2026-03-06 13:13:23,298 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.815/3.181/1.365 ms') 2026-03-06 13:13:23,315 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84586515-46960746 passed 2026-03-06 13:13:23,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:13:23,488 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84586515-46960746, IP 7.54.141.131, Port 22 2026-03-06 13:13:23,720 - DEBUG - VM ctest-TestRoutersBasic-84586515-46960746 is ready for SSH connections 2026-03-06 13:13:23,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:13:23,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.54.141.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-06 13:13:23,721 - DEBUG - ping -s 56 -c 3 -W 1 7.54.141.131 2026-03-06 13:13:27,877 - DEBUG - PING 7.54.141.131 (7.54.141.131): 56 data bytes 64 bytes from 7.54.141.131: seq=0 ttl=62 time=8.445 ms 64 bytes from 7.54.141.131: seq=1 ttl=62 time=1.334 ms 64 bytes from 7.54.141.131: seq=2 ttl=62 time=1.080 ms --- 7.54.141.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.080/3.619/8.445 ms 2026-03-06 13:13:27,877 - INFO - Ping to IP 7.54.141.131 from VM ctest-TestRoutersBasic-84586515-63585442 passed 2026-03-06 13:13:27,877 - INFO - Deleting interface with subnet_id 850a8200-0d32-482a-a7f2-73a0312a2fc0, port_id None from router bde51916-9d15-49db-9ea3-4a2d73845bab 2026-03-06 13:13:28,310 - INFO - Deleting VM ctest-TestRoutersBasic-84586515-46960746 2026-03-06 13:13:28,431 - INFO - Deleting VM ctest-TestRoutersBasic-84586515-63585442 2026-03-06 13:13:28,603 - INFO - Deleting VN ctest-ext_vn-42873332 2026-03-06 13:13:28,800 - DEBUG - VN d2b9b831-b618-40c0-b98f-b895a0f6fcfa still in use: Unable to complete operation on network d2b9b831-b618-40c0-b98f-b895a0f6fcfa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9429f8bd-ec5c-44d0-9b13-9b2c69344860'] 2026-03-06 13:13:28,800 - WARNING - Deleting VN ctest-ext_vn-42873332 failed..Will retry 2026-03-06 13:13:30,988 - DEBUG - Response for deleting network () 2026-03-06 13:13:30,989 - INFO - Deleting VN ctest-vn-26606064 2026-03-06 13:13:31,171 - DEBUG - Response for deleting network () 2026-03-06 13:13:31,557 - DEBUG - No XMPP flaps were noticed during the test
2026-03-06 13:13:31,557 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2026-03-06 13:13:31,557 - INFO - -------------------------------------------------------------------------------- 2026-03-06 13:13:32,358 - INFO - Deleted project: ctest-TestRoutersBasic-84586515, ID : 4461756f-97a0-4b68-a283-7a629d9fdf91