TestvDNSBasic0.test_vdns_ping_same_vn[ci_sanity,sanity,suite1] | Failure | Details
Traceback (most recent call last): testtools.testresult.real._StringException: stderr: {{{ Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 1 while executing 'ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679'! }}}
stdout: {{{ [cirros@169.254.0.3] run: ifconfig | grep 10.10.10.3 [cirros@169.254.0.3] run: ifconfig | grep 10.10.10.3 [cirros@169.254.0.3] out: inet addr:10.10.10.3 Bcast:10.10.10.255 Mask:255.255.255.0 [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-66234679", None, socket.AF_INET6)' [cirros@169.254.0.3] out: /bin/sh: python: not found [cirros@169.254.0.3] out:
[cirros@169.254.0.3] sudo: ping -s 56 -c 3 -W 1 ctest-vm1-test-66234679 [cirros@169.254.0.3] out: ping: bad address 'ctest-vm1-test-66234679' [cirros@169.254.0.3] out: }}}
Traceback (most recent call last): File "/contrail-test/tcutils/util.py", line 1041, in wrapper return f(self, *func_args, **func_kwargs) File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper raise TestFailed("\n ".join(errmsg)) tcutils.cores.TestFailed: Test failed: AssertionError Python 3.6.8: /usr/bin/python3 Fri Jan 10 09:46:11 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=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...me_vn[ci_sanity,sanity,suite1] id=0x7f30cd801588>, *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 = <function TestvDNSBasic0.test_vdns_ping_same_vn> self = <scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...me_vn[ci_sanity,sanity,suite1] id=0x7f30cd801588> args = () kwargs = {}
/contrail-test/scripts/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...me_vn[ci_sanity,sanity,suite1] id=0x7f30cd801588>) 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 109 # another 'PTR' record. global ip = <module 'netaddr.ip' from '/usr/local/lib/python3.6/site-packages/netaddr/ip/__init__.py'> vm_name = 'ctest-vm1-test-66234679' msg = 'Ping by using name ctest-vm1-test-66234679 is failed. Dns server should resolve VM name to IP'
/usr/local/lib/python3.6/site-packages/unittest2/case.py in assertTrue(self=<scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...me_vn[ci_sanity,sanity,suite1] id=0x7f30cd801588>, 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 = <scripts.vdns.test_vdns_basic.TestvDNSBasic0.tes...me_vn[ci_sanity,sanity,suite1] id=0x7f30cd801588> self.failureException = <class 'AssertionError'> 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-66234679 is failed. Dns server should resolve VM name to IP __cause__ = None __class__ = <class 'AssertionError'> __context__ = None __delattr__ = <method-wrapper '__delattr__' of AssertionError object> __dict__ = {} __dir__ = <built-in method __dir__ of AssertionError object> __doc__ = 'Assertion failed.' __eq__ = <method-wrapper '__eq__' of AssertionError object> __format__ = <built-in method __format__ of AssertionError object> __ge__ = <method-wrapper '__ge__' of AssertionError object> __getattribute__ = <method-wrapper '__getattribute__' of AssertionError object> __gt__ = <method-wrapper '__gt__' of AssertionError object> __hash__ = <method-wrapper '__hash__' of AssertionError object> __init__ = <method-wrapper '__init__' of AssertionError object> __init_subclass__ = <built-in method __init_subclass__ of type object> __le__ = <method-wrapper '__le__' of AssertionError object> __lt__ = <method-wrapper '__lt__' of AssertionError object> __ne__ = <method-wrapper '__ne__' of AssertionError object> __new__ = <built-in method __new__ of type object> __reduce__ = <built-in method __reduce__ of AssertionError object> __reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object> __repr__ = <method-wrapper '__repr__' of AssertionError object> __setattr__ = <method-wrapper '__setattr__' of AssertionError object> __setstate__ = <built-in method __setstate__ of AssertionError object> __sizeof__ = <built-in method __sizeof__ of AssertionError object> __str__ = <method-wrapper '__str__' of AssertionError object> __subclasshook__ = <built-in method __subclasshook__ of type object> __suppress_context__ = False __traceback__ = <traceback object> args = ('False is not true : Ping by using name ctest-vm1...s failed. Dns server should resolve VM name to IP',) with_traceback = <built-in method with_traceback of AssertionError object>
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 107, in test_vdns_ping_same_vn .ping_with_certainty(ip=vm_name), msg) File "/usr/local/lib/python3.6/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-66234679 is failed. Dns server should resolve VM name to IP
| 42.893 |
Log File
|