net.schmizz.sshj.connection.ConnectionException: Timeout expired

grokbase.com | 4 months ago
  1. 0

    GitHub comment 98#133226289

    GitHub | 1 year ago | kamalhakim
    net.schmizz.sshj.connection.ConnectionException: Timeout expired
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 98#133632744

    GitHub | 1 year ago | kamalhakim
    net.schmizz.sshj.connection.ConnectionException: Timeout expired
  4. 0

    TestNG output: com.vmware.qe.aurora.tests.smoke.SmokeTest:connectionTest Cannot connect to the host: connection refused com.vmware.qe.aurora.framework.impl.cli.Cli.validate(Cli.java:298) at com.vmware.qe.aurora.framework.impl.cli.Cli.connect(Cli.java:48) at com.vmware.qe.aurora.framework.impl.cli.Cli.connect(Cli.java:39) at com.vmware.qe.aurora.tests.smoke.SmokeTest.connectionTest(SmokeTest.java:49) 25 lines not shown back to summary Console output: http://bdc-jenkins.eng.vmware.com/view/Re-Architecture/job/serengeti-dawn-smoke/192/console 2013-02-28 10:41:00,541 | INFO | TransportImpl | Server identity string: SSH-2.0-OpenSSH_4.3 2013-02-28 10:41:00,541 | INFO | TransportImpl | Server identity string: SSH-2.0-OpenSSH_4.3 2013-02-28 10:41:02,267 | INFO | SessionChannel | Will request to exec `rm -rf /home/serengeti//install` 2013-02-28 10:41:02,267 | INFO | SessionChannel | Will request to exec `rm -rf /home/serengeti//install` 2013-02-28 10:41:02,438 | INFO | SerengetiApp | Thread-1: Uploading local directory from /var/lib/jenkins/workspace/serengeti-dawn-smoke/../../jobs/serengeti-dawn-smoke/builds/192/install to remote: /home/serengeti/ 2013-02-28 10:41:02,463 | INFO | SessionChannel | Will request to exec `scp -t -r -p '/home/serengeti/'` 2013-02-28 10:41:02,463 | INFO | SessionChannel | Will request to exec `scp -t -r -p '/home/serengeti/'` 2013-02-28 10:41:46,037 | INFO | SessionChannel | Will request to exec `cd /home/serengeti//install; bash -x ./setup.sh smoke serengeti_dawn` 2013-02-28 10:41:46,037 | INFO | SessionChannel | Will request to exec `cd /home/serengeti//install; bash -x ./setup.sh smoke serengeti_dawn` 2013-02-28 10:46:46,043 | ERROR | SerengetiApp | Thread-1: Failed to execute remote command to upgrade serengeti server. net.schmizz.sshj.connection.ConnectionException: Timeout expired at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:32) at net.schmizz.sshj.connection.ConnectionException$1.chain(ConnectionException.java:26) at net.schmizz.concurrent.Promise.retrieve(Promise.java:139) at net.schmizz.concurrent.Event.await(Event.java:103) at net.schmizz.sshj.connection.channel.AbstractChannel.join(AbstractChannel.java:282) at com.vmware.qe.aurora.ci.engine.SerengetiApp.upgrade(SerengetiApp.java:180) at com.vmware.qe.aurora.tests.TestBase.vAppPrepare(TestBase.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.testng.TestNG.privateMain(TestNG.java:1301) at org.testng.TestNG.main(TestNG.java:1265) Caused by: java.util.concurrent.TimeoutException: Timeout expired ... 22 more 2013-02-28 10:46:46,046 | INFO | TransportImpl | Disconnected - BY_APPLICATION 2013-02-28 10:46:46,046 | INFO | TransportImpl | Disconnected - BY_APPLICATION

    SpringSource Issue Tracker | 4 years ago | Binbin Zhao
    net.schmizz.sshj.connection.ConnectionException: Timeout expired

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.concurrent.TimeoutException

      Timeout expired

      at net.schmizz.concurrent.Promise.retrieve()
    2. sshj
      SSHClient.startSession
      1. net.schmizz.concurrent.Promise.retrieve(Promise.java:139)
      2. net.schmizz.concurrent.Event.await(Event.java:103)
      3. net.schmizz.sshj.connection.channel.direct.AbstractDirectChannel.open(AbstractDirectChannel.java:68)
      4. net.schmizz.sshj.SSHClient.startSession(SSHClient.java:643)
      4 frames
    3. jclouds sshj ssh client
      SshjSshClient.exec
      1. org.jclouds.sshj.SshjSshClient$4.create(SshjSshClient.java:447)
      2. org.jclouds.sshj.SshjSshClient$4.create(SshjSshClient.java:434)
      3. org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:220)
      4. org.jclouds.sshj.SshjSshClient$ExecConnection.create(SshjSshClient.java:477)
      5. org.jclouds.sshj.SshjSshClient$ExecConnection.create(SshjSshClient.java:460)
      6. org.jclouds.sshj.SshjSshClient.acquire(SshjSshClient.java:220)
      7. org.jclouds.sshj.SshjSshClient.exec(SshjSshClient.java:496)
      7 frames
    4. jclouds compute core
      BlockUntilInitScriptStatusIsZeroThenReturnOutput$1.apply
      1. org.jclouds.compute.callables.SudoAwareInitManager.runCommand(SudoAwareInitManager.java:103)
      2. org.jclouds.compute.callables.SudoAwareInitManager.runAction(SudoAwareInitManager.java:85)
      3. org.jclouds.compute.callables.BlockUntilInitScriptStatusIsZeroThenReturnOutput$1.apply(BlockUntilInitScriptStatusIsZeroThenReturnOutput.java:79)
      4. org.jclouds.compute.callables.BlockUntilInitScriptStatusIsZeroThenReturnOutput$1.apply(BlockUntilInitScriptStatusIsZeroThenReturnOutput.java:75)
      4 frames
    5. jclouds Components Core
      RetryablePredicate.apply
      1. org.jclouds.predicates.RetryablePredicate.apply(RetryablePredicate.java:70)
      1 frame
    6. jclouds compute core
      BlockUntilInitScriptStatusIsZeroThenReturnOutput$3.run
      1. org.jclouds.compute.callables.BlockUntilInitScriptStatusIsZeroThenReturnOutput$3.run(BlockUntilInitScriptStatusIsZeroThenReturnOutput.java:113)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:680)
      6 frames