2025-10-08 16:47:58,996 - INFO - Domain Default found not creating
2025-10-08 16:47:59,141 - INFO - Project ctest-TestRoutersBasic-69449484 not found, creating it
2025-10-08 16:47:59,616 - INFO - Created Project:ctest-TestRoutersBasic-69449484, ID : 6eab3397-3329-4b1e-b91c-75ffad25904f
2025-10-08 16:48:01,081 - INFO - ================================================================================
2025-10-08 16:48:01,081 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 16:48:01,081 - 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-08 16:48:01,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0'}} with
2025-10-08 16:48:01,336 - INFO - Initial checks done. Running the testcase now
2025-10-08 16:48:01,336 - INFO -
2025-10-08 16:48:02,037 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69449484
2025-10-08 16:48:02,138 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69449484
2025-10-08 16:48:02,458 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69449484', 'default']}
2025-10-08 16:48:02,758 - DEBUG - Response for create_network : {'network': {'id': '39ecc276-26d2-4b40-b96e-a00240e6db3e', 'name': 'ctest-vn-47606757', 'tenant_id': '6eab339733294b1eb91c75ffad25904f', 'project_id': '6eab339733294b1eb91c75ffad25904f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69449484', 'ctest-vn-47606757'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:48:02,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '20d050a6-6a99-49a9-8059-0cff33e2a78a', 'name': '', 'tenant_id': '6eab339733294b1eb91c75ffad25904f', 'network_id': '39ecc276-26d2-4b40-b96e-a00240e6db3e', 'ip_version': 4, 'cidr': '176.130.120.0/26', 'allocation_pools': [{'start': '176.130.120.2', 'end': '176.130.120.62'}], 'gateway_ip': '176.130.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.130.120.2', 'tags': [], 'project_id': '6eab339733294b1eb91c75ffad25904f'}}
2025-10-08 16:48:03,001 - INFO - Created VN ctest-vn-47606757
2025-10-08 16:48:03,054 - DEBUG - VN ctest-vn-47606757 UUID is 39ecc276-26d2-4b40-b96e-a00240e6db3e
2025-10-08 16:48:03,367 - DEBUG - Response for create_network : {'network': {'id': 'ee0525ab-849a-4e49-93c3-e9f862dfb0e9', 'name': 'ctest-ext_vn-50904979', 'tenant_id': '6eab339733294b1eb91c75ffad25904f', 'project_id': '6eab339733294b1eb91c75ffad25904f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69449484', 'ctest-ext_vn-50904979'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 16:48:03,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '56c00df9-d219-4a6f-88ad-2687cd9db035', 'name': '', 'tenant_id': '6eab339733294b1eb91c75ffad25904f', 'network_id': 'ee0525ab-849a-4e49-93c3-e9f862dfb0e9', 'ip_version': 4, 'cidr': '115.112.4.0/26', 'allocation_pools': [{'start': '115.112.4.2', 'end': '115.112.4.62'}], 'gateway_ip': '115.112.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.112.4.2', 'tags': [], 'project_id': '6eab339733294b1eb91c75ffad25904f'}}
2025-10-08 16:48:03,581 - INFO - Created VN ctest-ext_vn-50904979
2025-10-08 16:48:03,634 - DEBUG - VN ctest-ext_vn-50904979 UUID is ee0525ab-849a-4e49-93c3-e9f862dfb0e9
2025-10-08 16:48:03,810 - DEBUG - Services list from nova: [, , ]
2025-10-08 16:48:04,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4240-1)
2025-10-08 16:48:06,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4240-1)
2025-10-08 16:48:06,094 - INFO - Setting gateway for router 4a206d09-6cc6-4b97-9d63-94de799b1ef3 to network ee0525ab-849a-4e49-93c3-e9f862dfb0e9
2025-10-08 16:48:06,184 - INFO - Adding interface with subnet_id 20d050a6-6a99-49a9-8059-0cff33e2a78a, port_id None to router 4a206d09-6cc6-4b97-9d63-94de799b1ef3
2025-10-08 16:48:06,534 - INFO - Waiting for VM ctest-TestRoutersBasic-69449484-95260715 to be up..
2025-10-08 16:48:06,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 16:48:11,792 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:48:11,792 - INFO - VM name : ctest-TestRoutersBasic-69449484-95260715
2025-10-08 16:48:11,878 - DEBUG - VM ctest-TestRoutersBasic-69449484-95260715 ID is eed3c91a-0570-4167-9b7f-e9de1c707d15
2025-10-08 16:48:11,899 - DEBUG - VM ctest-TestRoutersBasic-69449484-95260715 launched on Node cn-jenkins-deploy-platform-ansible-os-4240-1
2025-10-08 16:48:11,987 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eed3c91a-0570-4167-9b7f-e9de1c707d15
2025-10-08 16:48:12,283 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eed3c91a-0570-4167-9b7f-e9de1c707d15
2025-10-08 16:48:12,312 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d8148b64-4c78-4475-b06f-c194d274926c
2025-10-08 16:48:15,571 - 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 1015ms')
2025-10-08 16:48:15,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69449484-95260715 failed!
2025-10-08 16:48:15,626 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69449484:ctest-vn-47606757 is 176.130.120.1 and allocation pool is NOT set
2025-10-08 16:48:17,689 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/1.506/2.584/1.078 ms')
2025-10-08 16:48:17,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69449484-95260715 passed
2025-10-08 16:48:17,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:48:17,838 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69449484-95260715, IP 176.130.120.3, Port 22
2025-10-08 16:48:17,994 - DEBUG - VM ctest-TestRoutersBasic-69449484-95260715 is ready for SSH connections
2025-10-08 16:48:17,994 - INFO - Waiting for VM ctest-TestRoutersBasic-69449484-62692168 to be up..
2025-10-08 16:48:18,085 - DEBUG - VM is in ACTIVE state now
2025-10-08 16:48:18,085 - INFO - VM name : ctest-TestRoutersBasic-69449484-62692168
2025-10-08 16:48:18,171 - DEBUG - VM ctest-TestRoutersBasic-69449484-62692168 ID is a370655f-169e-4dee-b524-43ed04c2547a
2025-10-08 16:48:18,172 - DEBUG - VM ctest-TestRoutersBasic-69449484-62692168 launched on Node cn-jenkins-deploy-platform-ansible-os-4240-1
2025-10-08 16:48:18,252 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a370655f-169e-4dee-b524-43ed04c2547a
2025-10-08 16:48:18,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ae1cb42c-408f-4fa8-872a-4b4051519482
2025-10-08 16:48:19,504 - 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=4.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.50 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 = 1.495/3.206/4.918/1.711 ms')
2025-10-08 16:48:19,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69449484-62692168 passed
2025-10-08 16:48:19,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:48:19,654 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69449484-62692168, IP 115.112.4.3, Port 22
2025-10-08 16:48:19,710 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 16:48:19,799 - DEBUG - VM ctest-TestRoutersBasic-69449484-62692168 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 16:48:24,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:48:24,800 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69449484-62692168, IP 115.112.4.3, Port 22
2025-10-08 16:48:24,958 - DEBUG - VM ctest-TestRoutersBasic-69449484-62692168 is ready for SSH connections
2025-10-08 16:48:24,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 16:48:24,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.112.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-08 16:48:24,958 - DEBUG - ping -s 56 -c 3 -W 1 115.112.4.3
2025-10-08 16:48:28,685 - DEBUG - PING 115.112.4.3 (115.112.4.3): 56 data bytes
64 bytes from 115.112.4.3: seq=0 ttl=62 time=5.990 ms
64 bytes from 115.112.4.3: seq=1 ttl=62 time=0.955 ms
64 bytes from 115.112.4.3: seq=2 ttl=62 time=1.277 ms
--- 115.112.4.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.955/2.740/5.990 ms
2025-10-08 16:48:28,685 - INFO - Ping to IP 115.112.4.3 from VM ctest-TestRoutersBasic-69449484-95260715 passed
2025-10-08 16:48:28,685 - INFO - Deleting interface with subnet_id 20d050a6-6a99-49a9-8059-0cff33e2a78a, port_id None from router 4a206d09-6cc6-4b97-9d63-94de799b1ef3
2025-10-08 16:48:28,879 - INFO - Deleting VM ctest-TestRoutersBasic-69449484-62692168
2025-10-08 16:48:28,949 - INFO - Deleting VM ctest-TestRoutersBasic-69449484-95260715
2025-10-08 16:48:29,045 - INFO - Deleting VN ctest-ext_vn-50904979
2025-10-08 16:48:29,115 - DEBUG - VN ee0525ab-849a-4e49-93c3-e9f862dfb0e9 still in use: Unable to complete operation on network ee0525ab-849a-4e49-93c3-e9f862dfb0e9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7d618688-ec08-44dc-ad58-fd8eb147b5e1']
2025-10-08 16:48:29,115 - WARNING - Deleting VN ctest-ext_vn-50904979 failed..Will retry
2025-10-08 16:48:31,261 - DEBUG - Response for deleting network ()
2025-10-08 16:48:31,261 - INFO - Deleting VN ctest-vn-47606757
2025-10-08 16:48:31,369 - DEBUG - Response for deleting network ()
2025-10-08 16:48:31,623 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:48:31,624 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-08 16:48:31,624 - INFO - --------------------------------------------------------------------------------
2025-10-08 16:48:32,323 - INFO - Deleted project: ctest-TestRoutersBasic-69449484, ID : 6eab3397-3329-4b1e-b91c-75ffad25904f