2026-11-03 00:47:55,355 - INFO - Domain Default found not creating 2026-11-03 00:47:55,528 - INFO - Project ctest-TestRoutersBasic-12377217 not found, creating it 2026-11-03 00:47:55,986 - INFO - Created Project:ctest-TestRoutersBasic-12377217, ID : aed96535-7d9f-4810-be0b-146171d6b46c 2026-11-03 00:47:57,551 - INFO - ================================================================================ 2026-11-03 00:47:57,552 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-03 00:47:57,552 - 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-11-03 00:47:57,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.29': '0'}} with 2026-11-03 00:47:57,808 - INFO - Initial checks done. Running the testcase now 2026-11-03 00:47:57,808 - INFO - 2026-11-03 00:47:58,567 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12377217 2026-11-03 00:47:58,662 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12377217 2026-11-03 00:47:58,977 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12377217', 'default']} 2026-11-03 00:47:59,260 - DEBUG - Response for create_network : {'network': {'id': 'eda84206-ed8b-403f-9eb7-7f130179db6b', 'name': 'ctest-vn-58758857', 'tenant_id': 'aed965357d9f4810be0b146171d6b46c', 'project_id': 'aed965357d9f4810be0b146171d6b46c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12377217', 'ctest-vn-58758857'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:47:59,406 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf42338d-2741-4377-9518-a35ebacc3e6e', 'name': '', 'tenant_id': 'aed965357d9f4810be0b146171d6b46c', 'network_id': 'eda84206-ed8b-403f-9eb7-7f130179db6b', 'ip_version': 4, 'cidr': '18.240.157.192/26', 'allocation_pools': [{'start': '18.240.157.194', 'end': '18.240.157.254'}], 'gateway_ip': '18.240.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.240.157.194', 'tags': [], 'project_id': 'aed965357d9f4810be0b146171d6b46c'}} 2026-11-03 00:47:59,426 - INFO - Created VN ctest-vn-58758857 2026-11-03 00:47:59,478 - DEBUG - VN ctest-vn-58758857 UUID is eda84206-ed8b-403f-9eb7-7f130179db6b 2026-11-03 00:47:59,829 - DEBUG - Response for create_network : {'network': {'id': '3cbc709c-0a6e-43e5-ba9a-adff2ebb073a', 'name': 'ctest-ext_vn-43457203', 'tenant_id': 'aed965357d9f4810be0b146171d6b46c', 'project_id': 'aed965357d9f4810be0b146171d6b46c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12377217', 'ctest-ext_vn-43457203'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 00:48:00,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '200c75f1-1864-476a-b9a0-c167f90e6f1c', 'name': '', 'tenant_id': 'aed965357d9f4810be0b146171d6b46c', 'network_id': '3cbc709c-0a6e-43e5-ba9a-adff2ebb073a', 'ip_version': 4, 'cidr': '219.1.16.192/26', 'allocation_pools': [{'start': '219.1.16.194', 'end': '219.1.16.254'}], 'gateway_ip': '219.1.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.1.16.194', 'tags': [], 'project_id': 'aed965357d9f4810be0b146171d6b46c'}} 2026-11-03 00:48:00,043 - INFO - Created VN ctest-ext_vn-43457203 2026-11-03 00:48:00,094 - DEBUG - VN ctest-ext_vn-43457203 UUID is 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a 2026-11-03 00:48:00,316 - DEBUG - Services list from nova: [, , ] 2026-11-03 00:48:00,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6474-1) 2026-11-03 00:48:01,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6474-1) 2026-11-03 00:48:01,165 - INFO - Setting gateway for router 3e957be5-8183-4261-8269-295fcc04b7e2 to network 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a 2026-11-03 00:48:01,232 - INFO - Adding interface with subnet_id bf42338d-2741-4377-9518-a35ebacc3e6e, port_id None to router 3e957be5-8183-4261-8269-295fcc04b7e2 2026-11-03 00:48:01,534 - INFO - Waiting for VM ctest-TestRoutersBasic-12377217-54601119 to be up.. 2026-11-03 00:48:01,605 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:06,689 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:11,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:16,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:21,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:27,020 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:32,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:37,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 00:48:42,350 - DEBUG - VM is in ACTIVE state now 2026-11-03 00:48:42,350 - INFO - VM name : ctest-TestRoutersBasic-12377217-54601119 2026-11-03 00:48:42,424 - DEBUG - VM ctest-TestRoutersBasic-12377217-54601119 ID is 88a62b94-2e76-46c5-9372-99fe15a7892a 2026-11-03 00:48:42,444 - DEBUG - VM ctest-TestRoutersBasic-12377217-54601119 launched on Node cn-jenkins-deploy-platform-ansible-os-6474-1 2026-11-03 00:48:42,525 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/88a62b94-2e76-46c5-9372-99fe15a7892a 2026-11-03 00:48:42,855 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/88a62b94-2e76-46c5-9372-99fe15a7892a 2026-11-03 00:48:42,893 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/31dce90c-65aa-47bf-8272-5415cac2836a 2026-11-03 00:48:44,149 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.88 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.51 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.507/3.194/4.882/1.687 ms') 2026-11-03 00:48:44,149 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12377217-54601119 passed 2026-11-03 00:48:44,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:48:44,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12377217-54601119, IP 18.240.157.195, Port 22 2026-11-03 00:48:44,367 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-03 00:48:44,454 - DEBUG - VM ctest-TestRoutersBasic-12377217-54601119 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-03 00:48:49,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:48:49,455 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12377217-54601119, IP 18.240.157.195, Port 22 2026-11-03 00:48:49,613 - DEBUG - VM ctest-TestRoutersBasic-12377217-54601119 is ready for SSH connections 2026-11-03 00:48:49,613 - INFO - Waiting for VM ctest-TestRoutersBasic-12377217-85725761 to be up.. 2026-11-03 00:48:49,690 - DEBUG - VM is in ACTIVE state now 2026-11-03 00:48:49,690 - INFO - VM name : ctest-TestRoutersBasic-12377217-85725761 2026-11-03 00:48:49,761 - DEBUG - VM ctest-TestRoutersBasic-12377217-85725761 ID is a5195433-a212-4508-bec1-e44a890c2c64 2026-11-03 00:48:49,761 - DEBUG - VM ctest-TestRoutersBasic-12377217-85725761 launched on Node cn-jenkins-deploy-platform-ansible-os-6474-1 2026-11-03 00:48:49,850 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/a5195433-a212-4508-bec1-e44a890c2c64 2026-11-03 00:48:49,860 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/6b9cd6d3-6ab0-4381-a504-9dc7ec2d2ea2 2026-11-03 00:48:51,107 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.80 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.644 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.644/2.721/4.799/2.077 ms') 2026-11-03 00:48:51,107 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-12377217-85725761 passed 2026-11-03 00:48:51,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:48:51,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12377217-85725761, IP 219.1.16.196, Port 22 2026-11-03 00:48:51,422 - DEBUG - VM ctest-TestRoutersBasic-12377217-85725761 is ready for SSH connections 2026-11-03 00:48:51,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 00:48:51,422 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.1.16.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-03 00:48:51,422 - DEBUG - ping -s 56 -c 3 -W 1 219.1.16.196 2026-11-03 00:48:54,378 - DEBUG - PING 219.1.16.196 (219.1.16.196): 56 data bytes 64 bytes from 219.1.16.196: seq=0 ttl=62 time=7.117 ms 64 bytes from 219.1.16.196: seq=1 ttl=62 time=1.692 ms 64 bytes from 219.1.16.196: seq=2 ttl=62 time=1.144 ms --- 219.1.16.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.144/3.317/7.117 ms 2026-11-03 00:48:54,378 - INFO - Ping to IP 219.1.16.196 from VM ctest-TestRoutersBasic-12377217-54601119 passed 2026-11-03 00:48:54,378 - INFO - Deleting interface with subnet_id bf42338d-2741-4377-9518-a35ebacc3e6e, port_id None from router 3e957be5-8183-4261-8269-295fcc04b7e2 2026-11-03 00:48:54,693 - INFO - Deleting VM ctest-TestRoutersBasic-12377217-85725761 2026-11-03 00:48:54,778 - INFO - Deleting VM ctest-TestRoutersBasic-12377217-54601119 2026-11-03 00:48:54,854 - INFO - Deleting VN ctest-ext_vn-43457203 2026-11-03 00:48:54,907 - DEBUG - VN 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a still in use: Unable to complete operation on network 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f45e4e79-438e-44e0-9743-4c8ee808b63f'] 2026-11-03 00:48:54,907 - WARNING - Deleting VN ctest-ext_vn-43457203 failed..Will retry 2026-11-03 00:48:56,963 - DEBUG - VN 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a still in use: Unable to complete operation on network 3cbc709c-0a6e-43e5-ba9a-adff2ebb073a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4cf510a8-684c-493e-ba14-4ace60532b54'] 2026-11-03 00:48:56,963 - WARNING - Deleting VN ctest-ext_vn-43457203 failed..Will retry 2026-11-03 00:48:59,072 - DEBUG - Response for deleting network () 2026-11-03 00:48:59,072 - INFO - Deleting VN ctest-vn-58758857 2026-11-03 00:48:59,167 - DEBUG - Response for deleting network () 2026-11-03 00:48:59,428 - DEBUG - No XMPP flaps were noticed during the test
2026-11-03 00:48:59,429 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-11-03 00:48:59,429 - INFO - -------------------------------------------------------------------------------- 2026-11-03 00:49:00,155 - INFO - Deleted project: ctest-TestRoutersBasic-12377217, ID : aed96535-7d9f-4810-be0b-146171d6b46c