2026-11-02 02:21:16,708 - INFO - Domain Default found not creating 2026-11-02 02:21:16,920 - INFO - Project ctest-TestRoutersBasic-54676533 not found, creating it 2026-11-02 02:21:17,405 - INFO - Created Project:ctest-TestRoutersBasic-54676533, ID : bb0d0b6e-5293-4289-abe7-55f032de9a3e 2026-11-02 02:21:19,300 - INFO - ================================================================================ 2026-11-02 02:21:19,300 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 02:21:19,300 - 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-02 02:21:19,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-11-02 02:21:19,571 - INFO - Initial checks done. Running the testcase now 2026-11-02 02:21:19,571 - INFO - 2026-11-02 02:21:20,424 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54676533 2026-11-02 02:21:20,518 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54676533 2026-11-02 02:21:20,850 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54676533', 'default']} 2026-11-02 02:21:21,139 - DEBUG - Response for create_network : {'network': {'id': 'bc3ed4ef-fe14-416e-805e-16bdd1cd092d', 'name': 'ctest-vn-10997599', 'tenant_id': 'bb0d0b6e52934289abe755f032de9a3e', 'project_id': 'bb0d0b6e52934289abe755f032de9a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54676533', 'ctest-vn-10997599'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-02 02:21:21,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7dff298-2b4c-49ac-b348-48a5b5060227', 'name': '', 'tenant_id': 'bb0d0b6e52934289abe755f032de9a3e', 'network_id': 'bc3ed4ef-fe14-416e-805e-16bdd1cd092d', 'ip_version': 4, 'cidr': '104.157.190.64/26', 'allocation_pools': [{'start': '104.157.190.66', 'end': '104.157.190.126'}], 'gateway_ip': '104.157.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:21:21.243883', 'updated_at': '2026-11-02T02:21:21.243883', 'dns_server_address': '104.157.190.66', 'tags': [], 'project_id': 'bb0d0b6e52934289abe755f032de9a3e'}} 2026-11-02 02:21:21,309 - INFO - Created VN ctest-vn-10997599 2026-11-02 02:21:21,366 - DEBUG - VN ctest-vn-10997599 UUID is bc3ed4ef-fe14-416e-805e-16bdd1cd092d 2026-11-02 02:21:21,723 - DEBUG - Response for create_network : {'network': {'id': 'c7a04b64-ea47-45c5-9b35-d4dafd99f000', 'name': 'ctest-ext_vn-68401737', 'tenant_id': 'bb0d0b6e52934289abe755f032de9a3e', 'project_id': 'bb0d0b6e52934289abe755f032de9a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54676533', 'ctest-ext_vn-68401737'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-02 02:21:21,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a3f33e-2281-490a-8f0d-a6a5dedc64e4', 'name': '', 'tenant_id': 'bb0d0b6e52934289abe755f032de9a3e', 'network_id': 'c7a04b64-ea47-45c5-9b35-d4dafd99f000', 'ip_version': 4, 'cidr': '20.193.92.0/26', 'allocation_pools': [{'start': '20.193.92.2', 'end': '20.193.92.62'}], 'gateway_ip': '20.193.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-02T02:21:21.850712', 'updated_at': '2026-11-02T02:21:21.850712', 'dns_server_address': '20.193.92.2', 'tags': [], 'project_id': 'bb0d0b6e52934289abe755f032de9a3e'}} 2026-11-02 02:21:21,934 - INFO - Created VN ctest-ext_vn-68401737 2026-11-02 02:21:21,986 - DEBUG - VN ctest-ext_vn-68401737 UUID is c7a04b64-ea47-45c5-9b35-d4dafd99f000 2026-11-02 02:21:22,190 - DEBUG - Services list from nova: [, , ] 2026-11-02 02:21:22,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6460-1) 2026-11-02 02:21:22,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6460-1) 2026-11-02 02:21:22,967 - INFO - Setting gateway for router 3be73e17-b56a-4941-b5a9-683d547db19e to network c7a04b64-ea47-45c5-9b35-d4dafd99f000 2026-11-02 02:21:23,031 - INFO - Adding interface with subnet_id d7dff298-2b4c-49ac-b348-48a5b5060227, port_id None to router 3be73e17-b56a-4941-b5a9-683d547db19e 2026-11-02 02:21:23,263 - INFO - Waiting for VM ctest-TestRoutersBasic-54676533-55849372 to be up.. 2026-11-02 02:21:23,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:28,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:33,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:38,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:43,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:48,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:54,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:21:59,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 02:22:04,159 - DEBUG - VM is in ACTIVE state now 2026-11-02 02:22:04,159 - INFO - VM name : ctest-TestRoutersBasic-54676533-55849372 2026-11-02 02:22:04,234 - DEBUG - VM ctest-TestRoutersBasic-54676533-55849372 ID is c5cfd821-4244-44eb-9479-4bd7428f29ee 2026-11-02 02:22:04,253 - DEBUG - VM ctest-TestRoutersBasic-54676533-55849372 launched on Node cn-jenkins-deploy-platform-ansible-os-6460-1 2026-11-02 02:22:04,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5cfd821-4244-44eb-9479-4bd7428f29ee 2026-11-02 02:22:04,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5cfd821-4244-44eb-9479-4bd7428f29ee 2026-11-02 02:22:04,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d6468b7-f51a-4b22-9418-51f1952b7dd2 2026-11-02 02:22:05,989 - 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=6.24 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.14 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.138/3.687/6.237/2.549 ms') 2026-11-02 02:22:05,989 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-54676533-55849372 passed 2026-11-02 02:22:06,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:22:06,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54676533-55849372, IP 104.157.190.67, Port 22 2026-11-02 02:22:06,208 - 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-02 02:22:06,281 - DEBUG - VM ctest-TestRoutersBasic-54676533-55849372 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 02:22:11,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:22:11,282 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54676533-55849372, IP 104.157.190.67, Port 22 2026-11-02 02:22:11,438 - DEBUG - VM ctest-TestRoutersBasic-54676533-55849372 is ready for SSH connections 2026-11-02 02:22:11,438 - INFO - Waiting for VM ctest-TestRoutersBasic-54676533-45931618 to be up.. 2026-11-02 02:22:11,510 - DEBUG - VM is in ACTIVE state now 2026-11-02 02:22:11,510 - INFO - VM name : ctest-TestRoutersBasic-54676533-45931618 2026-11-02 02:22:11,577 - DEBUG - VM ctest-TestRoutersBasic-54676533-45931618 ID is 0ee0e365-174e-489c-bd6d-c70be6cd4009 2026-11-02 02:22:11,577 - DEBUG - VM ctest-TestRoutersBasic-54676533-45931618 launched on Node cn-jenkins-deploy-platform-ansible-os-6460-1 2026-11-02 02:22:11,645 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0ee0e365-174e-489c-bd6d-c70be6cd4009 2026-11-02 02:22:11,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4814b7b5-e117-45ba-8702-8b03d97d01d1 2026-11-02 02:22:12,886 - 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=3.61 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.491 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.491/2.050/3.610/1.559 ms') 2026-11-02 02:22:12,886 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-54676533-45931618 passed 2026-11-02 02:22:13,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:22:13,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54676533-45931618, IP 20.193.92.4, Port 22 2026-11-02 02:22:13,260 - DEBUG - VM ctest-TestRoutersBasic-54676533-45931618 is ready for SSH connections 2026-11-02 02:22:13,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 02:22:13,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.193.92.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 02:22:13,260 - DEBUG - ping -s 56 -c 3 -W 1 20.193.92.4 2026-11-02 02:22:16,197 - DEBUG - PING 20.193.92.4 (20.193.92.4): 56 data bytes 64 bytes from 20.193.92.4: seq=0 ttl=62 time=6.149 ms 64 bytes from 20.193.92.4: seq=1 ttl=62 time=1.042 ms 64 bytes from 20.193.92.4: seq=2 ttl=62 time=1.253 ms --- 20.193.92.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/2.814/6.149 ms 2026-11-02 02:22:16,197 - INFO - Ping to IP 20.193.92.4 from VM ctest-TestRoutersBasic-54676533-55849372 passed 2026-11-02 02:22:16,197 - INFO - Deleting interface with subnet_id d7dff298-2b4c-49ac-b348-48a5b5060227, port_id None from router 3be73e17-b56a-4941-b5a9-683d547db19e 2026-11-02 02:22:16,398 - INFO - Deleting VM ctest-TestRoutersBasic-54676533-45931618 2026-11-02 02:22:16,470 - INFO - Deleting VM ctest-TestRoutersBasic-54676533-55849372 2026-11-02 02:22:16,540 - INFO - Deleting VN ctest-ext_vn-68401737 2026-11-02 02:22:16,597 - DEBUG - VN c7a04b64-ea47-45c5-9b35-d4dafd99f000 still in use: Unable to complete operation on network c7a04b64-ea47-45c5-9b35-d4dafd99f000. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-baebc76b-c085-41ee-9ee4-025c9e2b012e'] 2026-11-02 02:22:16,597 - WARNING - Deleting VN ctest-ext_vn-68401737 failed..Will retry 2026-11-02 02:22:18,628 - DEBUG - VN c7a04b64-ea47-45c5-9b35-d4dafd99f000 still in use: Unable to complete operation on network c7a04b64-ea47-45c5-9b35-d4dafd99f000. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab2ccd68-e91f-4d9a-bb3f-ce02bf875413'] 2026-11-02 02:22:18,628 - WARNING - Deleting VN ctest-ext_vn-68401737 failed..Will retry 2026-11-02 02:22:20,714 - DEBUG - Response for deleting network () 2026-11-02 02:22:20,715 - INFO - Deleting VN ctest-vn-10997599 2026-11-02 02:22:20,830 - DEBUG - Response for deleting network () 2026-11-02 02:22:21,083 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 02:22:21,083 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-11-02 02:22:21,084 - INFO - -------------------------------------------------------------------------------- 2026-11-02 02:22:21,967 - INFO - Deleted project: ctest-TestRoutersBasic-54676533, ID : bb0d0b6e-5293-4289-abe7-55f032de9a3e