Yes, you need to turn it on to run the integration test. Fang, Yan yanfang...@gmail.com +1 (206) 849-4108
On Wed, Mar 25, 2015 at 5:40 PM, Roger Hoover <roger.hoo...@gmail.com> wrote: > That's what I was wondering. I can turn it on if necessary. > > Sent from my iPhone > > > On Mar 25, 2015, at 5:15 PM, Chris Riccomini <criccom...@apache.org> > wrote: > > > > Hey Roger, > > > > Are you able to run this command? > > > > ssh localhost > > > > This is effectively what Zopkio is doing. Wondering if you need to enable > > SSH on your laptop? I have "remote login" enabled on my OSX laptop. > > > > Cheers, > > Chris > > > > On Wed, Mar 25, 2015 at 4:29 PM, Roger Hoover <roger.hoo...@gmail.com> > > wrote: > > > >> Do I need to bring up sshd on my laptop or can the tests be made to not > >> ssh? > >> > >> On Wed, Mar 25, 2015 at 4:27 PM, Roger Hoover <roger.hoo...@gmail.com> > >> wrote: > >> > >>> Hi, > >>> > >>> I wanted to see if I could run the integration tests on the 0.9.0 > branch > >>> on my Mac. > >>> > >>> I cloned the 0.9.0 branch from the github mirror, built everything > >>> (./gradlew clean build), and tried to run the integration tests. > >>> > >>> ./bin/integration-tests.sh /tmp/roger > >>> I get an error when the test script tries to deploy ZooKeeper using > SSH. > >>> I'm running on Mac OS X. > >>> > >>> Any suggestions? > >>> > >>> Thanks, > >>> > >>> Roger > >>> > >>> 2015-03-25 16:11:40,368 zopkio.test_runner [ERROR] Aborting single > >>> execution due to setup_suite failure: > >>> > >>> Traceback (most recent call last): > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/zopkio/test_runner.py", > >>> line 107, in run > >>> > >>> self.deployment_module.setup_suite() > >>> > >>> File "/tmp/roger/scripts/deployment.py", line 76, in setup_suite > >>> > >>> 'hostname': host > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/zopkio/deployer.py", > >>> line 77, in deploy > >>> > >>> self.install(unique_id, configs) > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/zopkio/adhoc_deployer.py", > >>> line 129, in install > >>> > >>> with get_ssh_client(hostname, username=runtime.get_username(), > >>> password=runtime.get_password()) as ssh: > >>> > >>> File > >>> > >> > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", > >>> line 17, in __enter__ > >>> > >>> return self.gen.next() > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/zopkio/remote_host_helper.py", > >>> line 204, in get_ssh_client > >>> > >>> ssh.connect(hostname, username=username, password=password) > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/paramiko/client.py", > >>> line 251, in connect > >>> > >>> retry_on_signal(lambda: sock.connect(addr)) > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/paramiko/util.py", > >>> line 270, in retry_on_signal > >>> > >>> return function() > >>> > >>> File > >>> > >> > "/tmp/roger/samza-integration-tests/lib/python2.7/site-packages/paramiko/client.py", > >>> line 251, in <lambda> > >>> > >>> retry_on_signal(lambda: sock.connect(addr)) > >>> > >>> File > >>> > >> > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", > >>> line 224, in meth > >>> > >>> return getattr(self._sock,name)(*args) > >>> > >>> error: [Errno 61] Connection refused > >>> > >>> > >> >