Travis failing with "paramiko.ssh_exception.SSHException: No hostkey"

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ====================================================================== ERROR: Tries to upload a file to an sftp file ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/nose/case.py", line 198, in runTest self.test(*self.arg) File "/home/travis/build/cbare/synapsePythonClient/tests/integration/test_sftp_upload.py", line 118, in test_utils_sftp_upload_and_download url = syn._sftpUploadFile(filepath, url=serverURL) File "/home/travis/build/cbare/synapsePythonClient/synapseclient/client.py", line 2025, in _sftpUploadFile with pysftp.Connection(parsedURL.hostname, username=username, password=password) as sftp: File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/pysftp/__init__.py", line 132, in __init__ self._tconnect['hostkey'] = self._cnopts.get_hostkey(host) File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/pysftp/__init__.py", line 71, in get_hostkey raise SSHException("No hostkey for host %s found." % host) paramiko.ssh_exception.SSHException: No hostkey for host ec2-54-212-85-156.us-west-2.compute.amazonaws.com found.

...from travis.

Environment

None

Status

Assignee

Larsson Omberg

Reporter

Chris Bare

Labels

Validator

None

Release Version History

None

Components

Fix versions

Affects versions

py-1.5

Priority

Major