Fwd: s3 UnboundLocalError

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

am following, the below given link :
https://github.com/ceph/s3-tests for my testing purpose ... and while
am executing the command as:

S3TEST_CONF=example.conf ./virtualenv/bin/nosetests

getting results with 2error , which is as follows:

 lokesh@lokesh:~/Downloads/ceph-teuthology-78b7b02$
S3TEST_CONF=example.conf ./virtualenv/bin/nosetests
................EES................................
======================================================================
ERROR: teuthology.orchestra.test.test_connection.test_connect
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/virtualenv/local/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/virtualenv/local/lib/python2.7/site-packages/fudge/__init__.py",
line 168, in apply_clear_and_verify
    method(*args, **kw)
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/orchestra/test/test_connection.py",
line 47, in test_connect
    _SSHClient=sshclient,
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/orchestra/connection.py",
line 30, in connect
    ssh.load_system_host_keys()
UnboundLocalError: local variable 'ssh' referenced before assignment

======================================================================
ERROR: teuthology.orchestra.test.test_connection.test_connect_override_hostkeys
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/virtualenv/local/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/virtualenv/local/lib/python2.7/site-packages/fudge/__init__.py",
line 168, in apply_clear_and_verify
    method(*args, **kw)
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/orchestra/test/test_connection.py",
line 78, in test_connect_override_hostkeys
    _create_key = create_key,
  File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/orchestra/connection.py",
line 33, in connect
    ssh.get_host_keys().add(
UnboundLocalError: local variable 'ssh' referenced before assignment

----------------------------------------------------------------------
Ran 50 tests in 1.822s

FAILED (SKIP=1, errors=2)

i thought it would be ssh login problem and tried to secure login, its
working fine .

pls tel me where i made wrong . if idea! pls ...

with regards ,

Lokesh K
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux