You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2015/01/16 03:50:34 UTC
[jira] [Updated] (SAMZA-512) Integration tests don't work with
interactive authentication
[ https://issues.apache.org/jira/browse/SAMZA-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Riccomini updated SAMZA-512:
----------------------------------
Assignee: Chris Riccomini
> Integration tests don't work with interactive authentication
> ------------------------------------------------------------
>
> Key: SAMZA-512
> URL: https://issues.apache.org/jira/browse/SAMZA-512
> Project: Samza
> Issue Type: Bug
> Components: test
> Affects Versions: 0.9.0
> Reporter: Chris Riccomini
> Assignee: Chris Riccomini
> Labels: newbie
> Fix For: 0.9.0
>
> Attachments: SAMZA-512-0.patch
>
>
> Executing Zopkio with my SSH password, and no ~/.ssh/authorized_keys leads to:
> {noformat}
> 2015-01-14 10:03:02,437 zopkio.test_runner [ERROR] Aborting smoke-tests due to setup_suite failure:
> Traceback (most recent call last):
> File "/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/test_runner.py", line 107, in run
> self.deployment_module.setup_suite()
> File "/tmp/samza-tests/scripts/deployment.py", line 88, in setup_suite
> 'executable': c('samza_executable'),
> File "/tmp/samza-tests/scripts/samza_job_yarn_deployer.py", line 77, in install
> with get_ssh_client(host) as ssh:
> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
> return self.gen.next()
> File "/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/zopkio/remote_host_helper.py", line 200, in get_ssh_client
> ssh.connect(hostname, username=username, password=password)
> File "/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/paramiko/client.py", line 307, in connect
> look_for_keys, gss_auth, gss_kex, gss_deleg_creds, gss_host)
> File "/tmp/samza-tests/samza-integration-tests/lib/python2.7/site-packages/paramiko/client.py", line 519, in _auth
> raise saved_exception
> PasswordRequiredException: Private key file is encrypted
> Running the same tests with --nopassword, and authroized_keys containing my public key works.
> {noformat}
> _NOTE: some of my deployment HAS already passed at the point that this failure occurs, so it appears that SFTP and SSH do work, but somehow this specific invocation is causing a problem._
> Solution is listed [here|https://github.com/linkedin/Zopkio/issues/47]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)