2025-12-09 09:33:27,136 - INFO - Domain Default found not creating
2025-12-09 09:33:27,297 - INFO - Project ctest-TestRoutersBasic-87907700 not found, creating it
2025-12-09 09:33:27,757 - INFO - Created Project:ctest-TestRoutersBasic-87907700, ID : 46ff9120-fef4-4600-b51d-5700a61e2034
2025-12-09 09:33:29,185 - INFO - ================================================================================
2025-12-09 09:33:29,185 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-12-09 09:33:29,185 - 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-12-09 09:33:29,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with
2025-12-09 09:33:29,440 - INFO - Initial checks done. Running the testcase now
2025-12-09 09:33:29,440 - INFO -
2025-12-09 09:33:30,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87907700
2025-12-09 09:33:30,227 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87907700
2025-12-09 09:33:30,543 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87907700', 'default']}
2025-12-09 09:33:30,821 - DEBUG - Response for create_network : {'network': {'id': 'd88b2bcd-6adb-4f3f-9537-0b744e0916e2', 'name': 'ctest-vn-26511487', 'tenant_id': '46ff9120fef44600b51d5700a61e2034', 'project_id': '46ff9120fef44600b51d5700a61e2034', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87907700', 'ctest-vn-26511487'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 09:33:30,981 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c30ef3a3-427e-4f75-8615-acb98f2d8d44', 'name': '', 'tenant_id': '46ff9120fef44600b51d5700a61e2034', 'network_id': 'd88b2bcd-6adb-4f3f-9537-0b744e0916e2', 'ip_version': 4, 'cidr': '173.124.197.0/26', 'allocation_pools': [{'start': '173.124.197.2', 'end': '173.124.197.62'}], 'gateway_ip': '173.124.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.124.197.2', 'tags': [], 'project_id': '46ff9120fef44600b51d5700a61e2034'}}
2025-12-09 09:33:30,998 - INFO - Created VN ctest-vn-26511487
2025-12-09 09:33:31,051 - DEBUG - VN ctest-vn-26511487 UUID is d88b2bcd-6adb-4f3f-9537-0b744e0916e2
2025-12-09 09:33:31,377 - DEBUG - Response for create_network : {'network': {'id': '74611c04-b807-4863-88c6-fd92e10a939e', 'name': 'ctest-ext_vn-35010334', 'tenant_id': '46ff9120fef44600b51d5700a61e2034', 'project_id': '46ff9120fef44600b51d5700a61e2034', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87907700', 'ctest-ext_vn-35010334'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 09:33:31,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc84620f-fcb2-4478-b515-4f5e8b2d0f33', 'name': '', 'tenant_id': '46ff9120fef44600b51d5700a61e2034', 'network_id': '74611c04-b807-4863-88c6-fd92e10a939e', 'ip_version': 4, 'cidr': '79.114.45.128/26', 'allocation_pools': [{'start': '79.114.45.130', 'end': '79.114.45.190'}], 'gateway_ip': '79.114.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.114.45.130', 'tags': [], 'project_id': '46ff9120fef44600b51d5700a61e2034'}}
2025-12-09 09:33:31,568 - INFO - Created VN ctest-ext_vn-35010334
2025-12-09 09:33:31,619 - DEBUG - VN ctest-ext_vn-35010334 UUID is 74611c04-b807-4863-88c6-fd92e10a939e
2025-12-09 09:33:31,810 - DEBUG - Services list from nova: [, , ]
2025-12-09 09:33:32,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1)
2025-12-09 09:33:33,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1)
2025-12-09 09:33:33,947 - INFO - Setting gateway for router 9de0f579-3c3f-400f-bc3d-48a21724d2e6 to network 74611c04-b807-4863-88c6-fd92e10a939e
2025-12-09 09:33:34,011 - INFO - Adding interface with subnet_id c30ef3a3-427e-4f75-8615-acb98f2d8d44, port_id None to router 9de0f579-3c3f-400f-bc3d-48a21724d2e6
2025-12-09 09:33:34,334 - INFO - Waiting for VM ctest-TestRoutersBasic-87907700-47920019 to be up..
2025-12-09 09:33:34,472 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-09 09:33:39,539 - DEBUG - VM is in ACTIVE state now
2025-12-09 09:33:39,539 - INFO - VM name : ctest-TestRoutersBasic-87907700-47920019
2025-12-09 09:33:39,610 - DEBUG - VM ctest-TestRoutersBasic-87907700-47920019 ID is e6d106bc-b130-4376-99f1-e2eb7cefc5b7
2025-12-09 09:33:39,629 - DEBUG - VM ctest-TestRoutersBasic-87907700-47920019 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1
2025-12-09 09:33:39,695 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e6d106bc-b130-4376-99f1-e2eb7cefc5b7
2025-12-09 09:33:39,985 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e6d106bc-b130-4376-99f1-e2eb7cefc5b7
2025-12-09 09:33:40,021 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3eb1102d-de6f-4e6d-a27a-c4c6d06e8593
2025-12-09 09:33:43,279 - 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 1027ms')
2025-12-09 09:33:43,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87907700-47920019 failed!
2025-12-09 09:33:43,339 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87907700:ctest-vn-26511487 is 173.124.197.1 and allocation pool is NOT set
2025-12-09 09:33:45,399 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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 = 0.529/1.614/2.700/1.085 ms')
2025-12-09 09:33:45,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87907700-47920019 passed
2025-12-09 09:33:45,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 09:33:45,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87907700-47920019, IP 173.124.197.3, Port 22
2025-12-09 09:33:45,698 - DEBUG - VM ctest-TestRoutersBasic-87907700-47920019 is ready for SSH connections
2025-12-09 09:33:45,698 - INFO - Waiting for VM ctest-TestRoutersBasic-87907700-43686149 to be up..
2025-12-09 09:33:45,768 - DEBUG - VM is in ACTIVE state now
2025-12-09 09:33:45,768 - INFO - VM name : ctest-TestRoutersBasic-87907700-43686149
2025-12-09 09:33:45,842 - DEBUG - VM ctest-TestRoutersBasic-87907700-43686149 ID is da2ad700-1de4-4fec-b7be-9e75d58c7a6b
2025-12-09 09:33:45,842 - DEBUG - VM ctest-TestRoutersBasic-87907700-43686149 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1
2025-12-09 09:33:45,911 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/da2ad700-1de4-4fec-b7be-9e75d58c7a6b
2025-12-09 09:33:45,918 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/6136202a-6f7d-4754-a3bd-56e5e5129c73
2025-12-09 09:33:47,144 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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 = 0.466/1.679/2.892/1.213 ms')
2025-12-09 09:33:47,144 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87907700-43686149 passed
2025-12-09 09:33:47,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 09:33:47,291 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87907700-43686149, IP 79.114.45.131, Port 22
2025-12-09 09:33:47,442 - DEBUG - VM ctest-TestRoutersBasic-87907700-43686149 is ready for SSH connections
2025-12-09 09:33:47,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 09:33:47,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:33:47,443 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:35:53,720 - DEBUG - None
2025-12-09 09:35:53,720 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:35:54,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:35:54,721 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:38:05,779 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:38:10,781 - DEBUG - None
2025-12-09 09:38:10,781 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:38:11,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:38:11,782 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:40:22,995 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:40:27,996 - DEBUG - None
2025-12-09 09:40:27,996 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:40:28,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:40:28,997 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:42:40,211 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:42:45,212 - DEBUG - None
2025-12-09 09:42:45,213 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:42:46,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:42:46,213 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:44:57,427 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:45:02,428 - DEBUG - None
2025-12-09 09:45:02,429 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:45:03,429 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:45:03,429 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:47:14,643 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:47:19,644 - DEBUG - None
2025-12-09 09:47:19,644 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:47:20,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:47:20,645 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:49:31,863 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:49:36,864 - DEBUG - None
2025-12-09 09:49:36,864 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:49:37,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:49:37,865 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:51:49,075 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:51:54,076 - DEBUG - None
2025-12-09 09:51:54,076 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:51:55,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:51:55,077 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:54:06,291 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:54:11,292 - DEBUG - None
2025-12-09 09:54:11,292 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:54:12,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:54:12,293 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:56:23,507 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:56:28,508 - DEBUG - None
2025-12-09 09:56:28,509 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:56:29,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.114.45.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-12-09 09:56:29,510 - DEBUG - ping -s 56 -c 3 -W 1 79.114.45.131
2025-12-09 09:58:40,723 - ERROR - Unable to run command ping -s 56 -c 3 -W 1 79.114.45.131: ChannelException(2, 'Connect failed')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 455, in connect
sock = get_gateway(host, port, cache, replace=tries > 0)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 95, in get_gateway
sock = direct_tcpip(dict.__getitem__(cache, gateway), host, port)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 38, in direct_tcpip
return client.get_transport().open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1061, in open_channel
raise e
paramiko.ssh_exception.ChannelException: ChannelException(2, 'Connect failed')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/contrail-test/tcutils/fabutils.py", line 169, in remote_cmd
output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 1148, in sudo
return _run_command(
File "/usr/local/lib/python3.9/site-packages/fabric/operations.py", line 935, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 435, in default_channel
chan = _open_session()
File "/usr/local/lib/python3.9/site-packages/fabric/state.py", line 416, in _open_session
transport = connections[env.host_string].get_transport()
File "/contrail-test/tcutils/fabutils.py", line 47, in __getitem__
self.connect(key)
File "/contrail-test/tcutils/fabutils.py", line 33, in connect
self[key] = connect(
File "/usr/local/lib/python3.9/site-packages/fabric/network.py", line 508, in connect
raise NetworkError(msg, e)
fabric.exceptions.NetworkError: ChannelException(2, 'Connect failed')
2025-12-09 09:58:45,724 - DEBUG - None
2025-12-09 09:58:45,724 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2025-12-09 09:58:45,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 09:58:45,729 - INFO - Deleting interface with subnet_id c30ef3a3-427e-4f75-8615-acb98f2d8d44, port_id None from router 9de0f579-3c3f-400f-bc3d-48a21724d2e6
2025-12-09 09:58:46,006 - INFO - Deleting VM ctest-TestRoutersBasic-87907700-43686149
2025-12-09 09:58:46,077 - INFO - Deleting VM ctest-TestRoutersBasic-87907700-47920019
2025-12-09 09:58:46,155 - INFO - Deleting VN ctest-ext_vn-35010334
2025-12-09 09:58:46,205 - DEBUG - VN 74611c04-b807-4863-88c6-fd92e10a939e still in use: Unable to complete operation on network 74611c04-b807-4863-88c6-fd92e10a939e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-0e2be5f4-eb64-4a90-9c12-113f1947b49a']
2025-12-09 09:58:46,205 - WARNING - Deleting VN ctest-ext_vn-35010334 failed..Will retry
2025-12-09 09:58:48,304 - DEBUG - Response for deleting network ()
2025-12-09 09:58:48,305 - INFO - Deleting VN ctest-vn-26511487
2025-12-09 09:58:48,396 - DEBUG - Response for deleting network ()
2025-12-09 09:58:48,642 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Tue Dec 9 09:58:45 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/neutron/test_routers_basic.py in test_basic_snat_behavior_without_external_connectivity(self=)
49 vm1_fixture.wait_till_vm_is_up()
50 vm2_fixture.wait_till_vm_is_up()
51 assert vm1_fixture.ping_with_certainty(
52 vm2_fixture.vm_ip), 'Ping from vm_left to vm_right through snat failed'
53 return True
vm1_fixture =
vm1_fixture.ping_with_certainty = .deco_retry....xture: ctest-TestRoutersBasic-87907700-47920019>>
vm2_fixture =
vm2_fixture.vm_ip = '79.114.45.131'
AssertionError: Ping from vm_left to vm_right through snat failed
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('Ping from vm_left to vm_right through snat failed',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/neutron/test_routers_basic.py", line 51, in test_basic_snat_behavior_without_external_connectivity
assert vm1_fixture.ping_with_certainty(
AssertionError: Ping from vm_left to vm_right through snat failed
2025-12-09 09:58:48,647 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 09:58:48,647 - INFO -
2025-12-09 09:58:48,648 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : FAILED[0:25:19]
2025-12-09 09:58:48,648 - INFO - --------------------------------------------------------------------------------
2025-12-09 09:58:49,332 - INFO - Deleted project: ctest-TestRoutersBasic-87907700, ID : 46ff9120-fef4-4600-b51d-5700a61e2034