2026-02-19 23:36:34,117 - INFO - Domain Default found not creating
2026-02-19 23:36:34,250 - INFO - Project ctest-TestvDNSBasic0-38694328 not found, creating it
2026-02-19 23:36:34,699 - INFO - Created Project:ctest-TestvDNSBasic0-38694328, ID : 1e61e14f-0f44-47d0-93bf-c466a271da74
2026-02-19 23:36:36,106 - INFO - ================================================================================
2026-02-19 23:36:36,106 - INFO - STARTING TEST : test_vdns_ping_same_vn
2026-02-19 23:36:36,106 - INFO - TEST DESCRIPTION :
Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent
1. Create vDNS server
2. Create IPAM using above vDNS data
3. Create VN using above IPAM and launch 2 VM's within it
4. Ping between these 2 VM's using dns name
5. Try to delete vDNS server which has IPAM back-reference[Negative case]
6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name
Pass criteria: Step 4,5 and 6 should pass
Maintainer: cf-test@juniper.net
2026-02-19 23:36:36,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-19 23:36:36,377 - INFO - Initial checks done. Running the testcase now
2026-02-19 23:36:36,377 - INFO -
2026-02-19 23:36:37,060 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-38694328'](1e61e14f-0f44-47d0-93bf-c466a271da74)
2026-02-19 23:36:37,108 - DEBUG - Creating VDNS : ctest-vdns1-91906620
2026-02-19 23:36:37,309 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-91906620'] created succesfully
2026-02-19 23:36:37,309 - DEBUG - Verify VDNS entry is shown in control node
2026-02-19 23:36:37,316 - DEBUG - Verify VDNS entry is shown in the API server
2026-02-19 23:36:37,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:36:37,613 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 23:36:37,651 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-19 23:36:37,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-DNS/18f17342-c1c2-402e-a6bc-9a9a57e4512c
2026-02-19 23:36:38,227 - DEBUG - Response for create_network : {'network': {'id': '89e162f6-7031-43c5-bca8-8af87ed22404', 'name': 'ctest-vn1-vdns-01468073', 'tenant_id': '1e61e14f0f4447d093bfc466a271da74', 'project_id': '1e61e14f0f4447d093bfc466a271da74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvDNSBasic0-38694328', 'ctest-vn1-vdns-01468073'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 23:36:38,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b89963fd-ccb3-4247-b4a6-468444b65ea6', 'name': '', 'tenant_id': '1e61e14f0f4447d093bfc466a271da74', 'network_id': '89e162f6-7031-43c5-bca8-8af87ed22404', 'ip_version': 4, 'cidr': '10.10.10.0/24', 'allocation_pools': [{'start': '10.10.10.2', 'end': '10.10.10.254'}], 'gateway_ip': '10.10.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': '1e61e14f0f4447d093bfc466a271da74'}}
2026-02-19 23:36:38,393 - INFO - Created VN ctest-vn1-vdns-01468073
2026-02-19 23:36:38,441 - DEBUG - VN ctest-vn1-vdns-01468073 UUID is 89e162f6-7031-43c5-bca8-8af87ed22404
2026-02-19 23:36:38,620 - DEBUG - Services list from nova: [, , ]
2026-02-19 23:36:39,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1)
2026-02-19 23:36:39,696 - INFO - Waiting for VM ctest-vm1-test-12774955 to be up..
2026-02-19 23:36:39,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-19 23:36:44,797 - DEBUG - VM is in ACTIVE state now
2026-02-19 23:36:44,797 - INFO - VM name : ctest-vm1-test-12774955
2026-02-19 23:36:44,857 - DEBUG - VM ctest-vm1-test-12774955 ID is 4c06dbc3-80a2-44e2-a9d6-03f54611b7b1
2026-02-19 23:36:44,857 - DEBUG - VM ctest-vm1-test-12774955 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1
2026-02-19 23:36:44,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c06dbc3-80a2-44e2-a9d6-03f54611b7b1
2026-02-19 23:36:44,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d60d029-96e1-4d72-ab02-c58c5a31db0a
2026-02-19 23:36:48,186 - 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 1031ms')
2026-02-19 23:36:48,186 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-12774955 failed!
2026-02-19 23:36:48,237 - DEBUG - Gateway for vn default-domain:ctest-TestvDNSBasic0-38694328:ctest-vn1-vdns-01468073 is 10.10.10.1 and allocation pool is NOT set
2026-02-19 23:36:50,301 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.635 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.635/1.692/2.749/1.057 ms')
2026-02-19 23:36:50,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm1-test-12774955 passed
2026-02-19 23:36:50,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 23:36:50,453 - DEBUG - Waiting to SSH to VM ctest-vm1-test-12774955, IP 10.10.10.3, Port 22
2026-02-19 23:36:50,605 - DEBUG - VM ctest-vm1-test-12774955 is ready for SSH connections
2026-02-19 23:36:50,605 - DEBUG - Running remote_cmd, Cmd : ifconfig | grep 10.10.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:36:50,605 - DEBUG - ifconfig | grep 10.10.10.3
2026-02-19 23:36:52,258 - DEBUG - inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0
2026-02-19 23:36:52,259 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:36:52,259 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:38:52,277 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:38:53,280 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:38:53,280 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:40:53,353 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:40:54,354 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:40:54,354 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:42:54,438 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:42:55,439 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:42:55,440 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:44:55,441 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:44:56,442 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:44:56,442 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:46:56,495 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:46:57,496 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:46:57,496 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:48:57,517 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:48:58,518 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:48:58,518 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:50:58,612 - ERROR - Exception occured while trying ping from VM
Traceback (most recent call last):
File "/contrail-test/fixtures/vm_test.py", line 1342, in ping_to_ip
output = remote_cmd(
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 420, in _open_session
session = transport.open_session(timeout=env.timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 919, in open_session
return self.open_channel(
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 1054, in open_channel
raise SSHException("Timeout opening channel.")
paramiko.ssh_exception.SSHException: Timeout opening channel.
2026-02-19 23:50:59,613 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:50:59,614 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:54:52,206 - DEBUG - Running remote_cmd, Cmd : ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:54:52,206 - DEBUG - ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955
2026-02-19 23:57:02,373 - ERROR - Unable to run command ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955: 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')
2026-02-19 23:57:07,375 - DEBUG - None
2026-02-19 23:57:07,375 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2026-02-19 23:57:08,376 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:57:08,376 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-19 23:59:19,590 - ERROR - Unable to run command python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)': 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')
2026-02-19 23:59:24,590 - DEBUG - Running remote_cmd, Cmd : ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-19 23:59:24,590 - DEBUG - ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955
2026-02-20 00:01:34,757 - ERROR - Unable to run command ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955: 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')
2026-02-20 00:01:39,758 - DEBUG - None
2026-02-20 00:01:39,758 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2026-02-20 00:01:40,759 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-20 00:01:40,759 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-20 00:03:51,973 - ERROR - Unable to run command python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)': 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')
2026-02-20 00:03:56,974 - DEBUG - Running remote_cmd, Cmd : ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-20 00:03:56,974 - DEBUG - ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955
2026-02-20 00:06:07,141 - ERROR - Unable to run command ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955: 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')
2026-02-20 00:06:12,143 - DEBUG - None
2026-02-20 00:06:12,143 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2026-02-20 00:06:13,144 - DEBUG - Running remote_cmd, Cmd : python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)', host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-20 00:06:13,144 - DEBUG - python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)'
2026-02-20 00:08:24,357 - ERROR - Unable to run command python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-12774955", None, socket.AF_INET6)': 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')
2026-02-20 00:08:29,359 - DEBUG - Running remote_cmd, Cmd : ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-20 00:08:29,359 - DEBUG - ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955
2026-02-20 00:10:39,525 - ERROR - Unable to run command ping6 -s 56 -c 3 -W 1 ctest-vm1-test-12774955: 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')
2026-02-20 00:10:44,526 - DEBUG - None
2026-02-20 00:10:44,526 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable
2026-02-20 00:10:44,530 - INFO - Deleting VM ctest-vm1-test-12774955
2026-02-20 00:10:44,664 - INFO - Deleting VN ctest-vn1-vdns-01468073
2026-02-20 00:10:44,724 - DEBUG - VN 89e162f6-7031-43c5-bca8-8af87ed22404 still in use: Unable to complete operation on network 89e162f6-7031-43c5-bca8-8af87ed22404. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3f004267-80b7-4b94-9d60-3bee30763919']
2026-02-20 00:10:44,724 - WARNING - Deleting VN ctest-vn1-vdns-01468073 failed..Will retry
2026-02-20 00:10:46,959 - DEBUG - Response for deleting network ()
2026-02-20 00:10:47,015 - DEBUG - Deleting VDNS Entry: ctest-vdns1-91906620
2026-02-20 00:10:47,085 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-91906620'] deleted successfully.
2026-02-20 00:10:47,085 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-20 00:10:47,121 - DEBUG - Requesting: http://10.0.0.38:8082/domain/450ed921-8d8f-4102-99ca-22982e027b58
2026-02-20 00:10:47,130 - DEBUG - VDNS information not found in API server
2026-02-20 00:10:47,130 - INFO - VDNS information ctest-vdns1-91906620 removed from the API Server
2026-02-20 00:10:47,136 - INFO - VDNS information ctest-vdns1-91906620 removed in the Control node
2026-02-20 00:10:47,136 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-38694328']
2026-02-20 00:10:47,385 - ERROR - AssertionError
Python 3.9.25: /usr/bin/python3
Fri Feb 20 00:10:44 2026
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/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=)
104 msg = "Ping by using name %s is failed. Dns server should resolve VM name to IP" % (
105 vm_name)
106 self.assertTrue(vm_fixture[vm_name]
107 .ping_with_certainty(ip=vm_name), msg)
108 # Frame the Expected DNS data for VM, one for 'A' record and
self =
self.assertTrue = >
vm_fixture = {'ctest-vm1-test-12774955': }
vm_name = 'ctest-vm1-test-12774955'
.ping_with_certainty undefined
global ip =
msg = 'Ping by using name ctest-vm1-test-12774955 is failed. Dns server should resolve VM name to IP'
/usr/local/lib/python3.9/site-packages/unittest2/case.py in assertTrue(self=, expr=False, msg='False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP')
700 if not expr:
701 msg = self._formatMessage(msg, "%s is not true" % safe_repr(expr))
702 raise self.failureException(msg)
703
704 def _formatMessage(self, msg, standardMsg):
self =
self.failureException =
msg = 'False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP'
AssertionError: False is not true : Ping by using name ctest-vm1-test-12774955 is failed. Dns server should resolve VM name to IP
__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 = ('False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP',)
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/vdns/test_vdns_basic.py", line 106, in test_vdns_ping_same_vn
self.assertTrue(vm_fixture[vm_name]
File "/usr/local/lib/python3.9/site-packages/unittest2/case.py", line 702, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true : Ping by using name ctest-vm1-test-12774955 is failed. Dns server should resolve VM name to IP
2026-02-20 00:10:47,394 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 00:10:47,394 - INFO -
2026-02-20 00:10:47,394 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:34:11]
2026-02-20 00:10:47,394 - INFO - --------------------------------------------------------------------------------
2026-02-20 00:10:48,051 - INFO - Deleted project: ctest-TestvDNSBasic0-38694328, ID : 1e61e14f-0f44-47d0-93bf-c466a271da74