TestvDNSBasic0.test_vdns_ping_same_vn[ci_sanity,sanity,suite1] | Failure | Details
Traceback (most recent call last): testtools.testresult.real._StringException: pythonlogging:'': {{{ 2025-04-18 14:33:10,366 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:35:25,530 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:37:42,746 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:39:57,914 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:42:15,130 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:44:30,298 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:46:47,514 Secsh channel 0 open FAILED: Connection timed out: Connect failed 2025-04-18 14:49:02,682 Secsh channel 0 open FAILED: Connection timed out: Connect failed }}}
stderr: {{{ Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm1-test-51610155", None, socket.AF_INET6)''!
Warning: sudo() received nonzero return code 127 while executing 'python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)''! }}}
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-51610155", 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-51610155 [cirros@169.254.0.3] out: PING ctest-vm1-test-51610155 (10.10.10.3): 56 data bytes [cirros@169.254.0.3] out: 64 bytes from 10.10.10.3: seq=0 ttl=64 time=3.819 ms [cirros@169.254.0.3] out: 64 bytes from 10.10.10.3: seq=1 ttl=64 time=0.546 ms [cirros@169.254.0.3] out: 64 bytes from 10.10.10.3: seq=2 ttl=64 time=0.733 ms [cirros@169.254.0.3] out: [cirros@169.254.0.3] out: --- ctest-vm1-test-51610155 ping statistics --- [cirros@169.254.0.3] out: 3 packets transmitted, 3 packets received, 0% packet loss [cirros@169.254.0.3] out: round-trip min/avg/max = 0.546/1.699/3.819 ms [cirros@169.254.0.3] out:
[cirros@169.254.0.4] run: ifconfig | grep 10.10.10.4 [cirros@169.254.0.4] out: inet addr:10.10.10.4 Bcast:10.10.10.255 Mask:255.255.255.0 [cirros@169.254.0.4] out:
[cirros@169.254.0.4] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.4] out: /bin/sh: python: not found [cirros@169.254.0.4] out:
[cirros@169.254.0.4] sudo: ping -s 56 -c 3 -W 1 ctest-vm2-test-34316544 [cirros@169.254.0.4] out: PING ctest-vm2-test-34316544 (10.10.10.4): 56 data bytes [cirros@169.254.0.4] out: 64 bytes from 10.10.10.4: seq=0 ttl=64 time=3.845 ms [cirros@169.254.0.4] out: 64 bytes from 10.10.10.4: seq=1 ttl=64 time=0.522 ms [cirros@169.254.0.4] out: 64 bytes from 10.10.10.4: seq=2 ttl=64 time=0.679 ms [cirros@169.254.0.4] out: [cirros@169.254.0.4] out: --- ctest-vm2-test-34316544 ping statistics --- [cirros@169.254.0.4] out: 3 packets transmitted, 3 packets received, 0% packet loss [cirros@169.254.0.4] out: round-trip min/avg/max = 0.522/1.682/3.845 ms [cirros@169.254.0.4] out:
[cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: ping6 -s 56 -c 3 -W 1 ctest-vm2-test-34316544 [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: ping6 -s 56 -c 3 -W 1 ctest-vm2-test-34316544 [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: ping6 -s 56 -c 3 -W 1 ctest-vm2-test-34316544 [cirros@169.254.0.3] sudo: python -c 'import socket;socket.getaddrinfo("ctest-vm2-test-34316544", None, socket.AF_INET6)' [cirros@169.254.0.3] sudo: ping6 -s 56 -c 3 -W 1 ctest-vm2-test-34316544 }}}
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 Apr 18 14:49:07 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=0x7f9ba062f518>, *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=0x7f9ba062f518> 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=0x7f9ba062f518>) 117 # ping between two vms which are in same subnets by using name. 118 self.assertTrue(vm_fixture[vm1_name] 119 .ping_with_certainty(ip=vm_list[1])) 120 # delete VDNS with ipam as back refrence. 121 self.logger.info( global ip = <module 'netaddr.ip' from '/usr/local/lib/python3.6/site-packages/netaddr/ip/__init__.py'> vm_list = ['ctest-vm1-test-51610155', 'ctest-vm2-test-34316544']
/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=0x7f9ba062f518>, expr=False, msg='False is not true') 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=0x7f9ba062f518> self.failureException = <class 'AssertionError'> msg = 'False is not true' AssertionError: False is not true __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',) 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 119, in test_vdns_ping_same_vn .ping_with_certainty(ip=vm_list[1])) File "/usr/local/lib/python3.6/site-packages/unittest2/case.py", line 702, in assertTrue raise self.failureException(msg) AssertionError: False is not true
| 2067.297 |
Log File
|