[ 
https://issues.apache.org/jira/browse/SAMZA-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268369#comment-14268369
 ] 

Yan Fang commented on SAMZA-468:
--------------------------------

OK. fix this by giving "sudo"... Now seems I have the ssh problem as well:

{code}
 File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/site-packages/zopkio/test_runner.py",
 line 107, in run
    self.deployment_module.setup_suite()
  File "/tmp/samza-tests/scripts/deployment.py", line 76, in setup_suite
    'hostname': host
  File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/site-packages/zopkio/deployer.py",
 line 77, in deploy
    self.install(unique_id, configs)
  File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/site-packages/zopkio/adhoc_deployer.py",
 line 100, in install
    with get_ssh_client(hostname, username=runtime.get_username(), 
password=runtime.get_password()) as ssh:
  File "/usr/lib64/python2.6/contextlib.py", line 16, in __enter__
    return self.gen.next()
  File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/site-packages/zopkio/remote_host_helper.py",
 line 182, in get_ssh_client
    ssh.connect(hostname, username=username, password=password)
  File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/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.6/site-packages/paramiko/client.py",
 line 519, in _auth
    raise saved_exception
AuthenticationException: Authentication failed.
{code}

Is this the same as yours?

> Create an integration test suite
> --------------------------------
>
>                 Key: SAMZA-468
>                 URL: https://issues.apache.org/jira/browse/SAMZA-468
>             Project: Samza
>          Issue Type: Test
>          Components: test
>            Reporter: Navina Ramesh
>            Assignee: Navina Ramesh
>         Attachments: SAMZA-468-1.patch, SAMZA-468-2.patch, SAMZA-468-3.patch, 
> SAMZA-468-4.patch, SAMZA-468-5.patch, SAMZA-468-6.patch, SAMZA-468-7.patch, 
> SAMZA-INT-TEST.patch, zopkio1.png, zopkio2.png, zopkio3.png, zopkio4.png, 
> zopkio5.png
>
>
> We don't have a standardized test framework for integration tests. This task 
> explores Zopkio as a potential test framework and prototypes a simple 
> functional integration test for Samza.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to