TestBasicVMVNx.test_vm_file_trf_scp_tests[ci_contrail_go_kolla_ocata_sanity,ci_sanity,quick_sanity,vrouter_gw] | Failure | Details
Traceback (most recent call last): testtools.testresult.real._StringException: stdout: {{{ [cirros@169.254.0.3] run: dd bs=1303 count=1 if=/dev/zero of=testfile [cirros@169.254.0.3] run: dd bs=1303 count=1 if=/dev/zero of=testfile [cirros@169.254.0.3] out: 1+0 records in [cirros@169.254.0.3] out: 1+0 records out [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: EOF Python 3.6.8: /usr/bin/python3 Tue May 27 14:38:42 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.vm_regression.test_vm.TestBasicVMVNx.te...anity,quick_sanity,vrouter_gw] id=0x7f9202aea2e8>, *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 TestBasicVMVNx.test_vm_file_trf_scp_tests> self = <scripts.vm_regression.test_vm.TestBasicVMVNx.te...anity,quick_sanity,vrouter_gw] id=0x7f9202aea2e8> args = () kwargs = {}
/contrail-test/scripts/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=<scripts.vm_regression.test_vm.TestBasicVMVNx.te...anity,quick_sanity,vrouter_gw] id=0x7f9202aea2e8>) 2874 if self.inputs.is_ci_setup() and self.inputs.get_af() == 'v4': 2875 if is_ip_mine(vm1_fixture.vm_node_ip): 2876 assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg 2877 else: 2878 self.skipTest('scp_file_transfer_cirros not posible here') vm1_fixture = <VMFixture: ctest-TestBasicVMVNx-26553598-29896786> vm1_fixture.scp_file_transfer_cirros = <bound method VMFixture.scp_file_transfer_cirros...Fixture: ctest-TestBasicVMVNx-26553598-29896786>> vm2_fixture = <VMFixture: ctest-TestBasicVMVNx-26553598-33052304> size = '1303' msg = 'File of size 1303B not transferred via scp '
/contrail-test/fixtures/vm_test.py in scp_file_transfer_cirros(self=<VMFixture: ctest-TestBasicVMVNx-26553598-29896786>, dest_vm_fixture=<VMFixture: ctest-TestBasicVMVNx-26553598-33052304>, fip=None, size='1303') 2411 '%s@%s') % (self.vm_username, self.local_ip)) 2412 handle.timeout = int(timeout) 2413 i = handle.expect(['\$ ', 'password:']) 2414 if i == 0: 2415 pass i undefined handle = <pexpect.pty_spawn.spawn object> handle.expect = <bound method SpawnBase.expect of <pexpect.pty_spawn.spawn object>>
/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py in expect(self=<pexpect.pty_spawn.spawn object>, pattern=[r'\$ ', 'password:'], timeout=-1, searchwindowsize=-1, async_=False, **kw={}) 339 compiled_pattern_list = self.compile_pattern_list(pattern) 340 return self.expect_list(compiled_pattern_list, 341 timeout, searchwindowsize, async_) 342 343 def expect_list(self, pattern_list, timeout=-1, searchwindowsize=-1, timeout = -1 searchwindowsize = -1 async_ = False
/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py in expect_list(self=<pexpect.pty_spawn.spawn object>, pattern_list=[re.compile(b'\\$ ', re.DOTALL), re.compile(b'password:', re.DOTALL)], timeout=40, searchwindowsize=-1, async_=False, **kw={}) 367 return expect_async(exp, timeout) 368 else: 369 return exp.expect_loop(timeout) 370 371 def expect_exact(self, pattern_list, timeout=-1, searchwindowsize=-1, exp = <pexpect.expect.Expecter object> exp.expect_loop = <bound method Expecter.expect_loop of <pexpect.expect.Expecter object>> timeout = 40
/usr/local/lib/python3.6/site-packages/pexpect/expect.py in expect_loop(self=<pexpect.expect.Expecter object>, timeout=39.99699687957764) 115 timeout = end_time - time.time() 116 except EOF as e: 117 return self.eof(e) 118 except TIMEOUT as e: 119 return self.timeout(e) self = <pexpect.expect.Expecter object> self.eof = <bound method Expecter.eof of <pexpect.expect.Expecter object>> e undefined
/usr/local/lib/python3.6/site-packages/pexpect/expect.py in eof(self=<pexpect.expect.Expecter object>, err=EOF('End Of File (EOF). Exception style platform.',)) 61 if err is not None: 62 msg = str(err) + '\n' + msg 63 raise EOF(msg) 64 65 def timeout(self, err=None): global EOF = <class 'pexpect.exceptions.EOF'> msg = "End Of File (EOF). Exception style platform.\n<pe....compile(b'\\\\$ ')\n 1: re.compile(b'password:')" EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f9200ae36d8> command: /usr/bin/ssh args: ['/usr/bin/ssh', '-F', '/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1', '-o', 'HostKeyAlgorithms=+ssh-rsa,ssh-dss', '-o', 'PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-dss', 'cirros@169.254.0.3'] buffer (last 100 chars): b'' before (last 100 chars): b'command-line: line 0: Bad configuration option: pubkeyacceptedalgorithms\r\r\n' after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 255 flag_eof: True pid: 119 child_fd: 102 closed: False timeout: 40 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'\\$ ') 1: re.compile(b'password:') __cause__ = None __class__ = <class 'pexpect.exceptions.EOF'> __context__ = EOF('End Of File (EOF). Exception style platform.',) __delattr__ = <method-wrapper '__delattr__' of EOF object> __dict__ = {'value': "End Of File (EOF). Exception style platform.\n<pe....compile(b'\\\\$ ')\n 1: re.compile(b'password:')"} __dir__ = <built-in method __dir__ of EOF object> __doc__ = 'Raised when EOF is read from a child.\n This usually means the child has exited.' __eq__ = <method-wrapper '__eq__' of EOF object> __format__ = <built-in method __format__ of EOF object> __ge__ = <method-wrapper '__ge__' of EOF object> __getattribute__ = <method-wrapper '__getattribute__' of EOF object> __gt__ = <method-wrapper '__gt__' of EOF object> __hash__ = <method-wrapper '__hash__' of EOF object> __init__ = <bound method ExceptionPexpect.__init__ of EOF("...e(b'\\\\$ ')\n 1: re.compile(b'password:')",)> __init_subclass__ = <built-in method __init_subclass__ of type object> __le__ = <method-wrapper '__le__' of EOF object> __lt__ = <method-wrapper '__lt__' of EOF object> __module__ = 'pexpect.exceptions' __ne__ = <method-wrapper '__ne__' of EOF object> __new__ = <built-in method __new__ of type object> __reduce__ = <built-in method __reduce__ of EOF object> __reduce_ex__ = <built-in method __reduce_ex__ of EOF object> __repr__ = <method-wrapper '__repr__' of EOF object> __setattr__ = <method-wrapper '__setattr__' of EOF object> __setstate__ = <built-in method __setstate__ of EOF object> __sizeof__ = <built-in method __sizeof__ of EOF object> __str__ = <bound method ExceptionPexpect.__str__ of EOF("E...e(b'\\\\$ ')\n 1: re.compile(b'password:')",)> __subclasshook__ = <built-in method __subclasshook__ of type object> __suppress_context__ = False __traceback__ = <traceback object> __weakref__ = None args = ("End Of File (EOF). Exception style platform.\n<pe....compile(b'\\\\$ ')\n 1: re.compile(b'password:')",) get_trace = <bound method ExceptionPexpect.get_trace of EOF(...e(b'\\\\$ ')\n 1: re.compile(b'password:')",)> value = "End Of File (EOF). Exception style platform.\n<pe....compile(b'\\\\$ ')\n 1: re.compile(b'password:')" with_traceback = <built-in method with_traceback of EOF object>
The above is a description of an error in a Python program. Here is the original traceback:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 166, in read_nonblocking s = os.read(self.child_fd, size) OSError: [Errno 5] Input/output error
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 111, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/usr/local/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 459, in read_nonblocking incoming = super(spawn, self).read_nonblocking(size) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 171, in read_nonblocking raise EOF('End Of File (EOF). Exception style platform.') pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm.py", line 2876, in test_vm_file_trf_scp_tests assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg File "/contrail-test/fixtures/vm_test.py", line 2413, in scp_file_transfer_cirros i = handle.expect(['\$ ', 'password:']) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 341, in expect timeout, searchwindowsize, async_) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 369, in expect_list return exp.expect_loop(timeout) File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 117, in expect_loop return self.eof(e) File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 63, in eof raise EOF(msg) pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. <pexpect.pty_spawn.spawn object at 0x7f9200ae36d8> command: /usr/bin/ssh args: ['/usr/bin/ssh', '-F', '/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1', '-o', 'HostKeyAlgorithms=+ssh-rsa,ssh-dss', '-o', 'PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-dss', 'cirros@169.254.0.3'] buffer (last 100 chars): b'' before (last 100 chars): b'command-line: line 0: Bad configuration option: pubkeyacceptedalgorithms\r\r\n' after: <class 'pexpect.exceptions.EOF'> match: None match_index: None exitstatus: 255 flag_eof: True pid: 119 child_fd: 102 closed: False timeout: 40 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'\\$ ') 1: re.compile(b'password:')
| 21.926 |
Log File
|