java.io.IOException: SSH channel is closed. (The connection is being shutdown)

jsystemtest | yehudit | 7 years ago
  1. 0

    "SSH channel is closed" exception

    jsystemtest | 7 years ago | yehudit
    java.io.IOException: SSH channel is closed. (The connection is being shutdown)
  2. 0

    INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,046 INFO [SocketListener0-1] [UpdateAndBuild] Dalx Server - Performance build was triggered by remote http call from 17.101.117.177 INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,156 INFO [BAM::BuildChangeDetector] [AbstractBuildStrategy] A build for "Dalx Server - Performance" has been triggered, checking source code for changes INFO | jvm 1 | 2007/02/19 14:41:24 | 2007-02-19 14:41:23,948 INFO [BAM::BuildChangeDetector] [SvnRepository] Updating subversion source code from version 88 to version 89 INFO | jvm 1 | 2007/02/19 14:41:25 | 2007-02-19 14:41:25,116 ERROR [BAM::BuildChangeDetector] [DefaultBuildChangeDetector] Failed to get the build source code INFO | jvm 1 | 2007/02/19 14:41:25 | com.atlassian.bamboo.repository.RepositoryException: Dalx Server - Performance INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:281) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.strategy.TriggeredBuildStrategy.requiresBuild(TriggeredBuildStrategy.java:89) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77) INFO | jvm 1 | 2007/02/19 14:41:25 | at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) INFO | jvm 1 | 2007/02/19 14:41:25 | at java.lang.Thread.run(Thread.java:613) INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: org.tmatesoft.svn.core.SVNException: svn: SSH channel is closed. (Closing all channels) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:147) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.write(SVNConnection.java:229) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.write(SVNRepositoryImpl.java:995) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:564) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:601) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:258) INFO | jvm 1 | 2007/02/19 14:41:25 | ... 6 more INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: java.io.IOException: SSH channel is closed. (Closing all channels) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelManager.sendData(ChannelManager.java:375) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:29) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:50) INFO | jvm 1 | 2007/02/19 14:41:25 | ... 12 more

    Atlassian JIRA | 10 years ago | Nick Chalko
    com.atlassian.bamboo.repository.RepositoryException: Dalx Server - Performance
  3. 0

    INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,046 INFO [SocketListener0-1] [UpdateAndBuild] Dalx Server - Performance build was triggered by remote http call from 17.101.117.177 INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,156 INFO [BAM::BuildChangeDetector] [AbstractBuildStrategy] A build for "Dalx Server - Performance" has been triggered, checking source code for changes INFO | jvm 1 | 2007/02/19 14:41:24 | 2007-02-19 14:41:23,948 INFO [BAM::BuildChangeDetector] [SvnRepository] Updating subversion source code from version 88 to version 89 INFO | jvm 1 | 2007/02/19 14:41:25 | 2007-02-19 14:41:25,116 ERROR [BAM::BuildChangeDetector] [DefaultBuildChangeDetector] Failed to get the build source code INFO | jvm 1 | 2007/02/19 14:41:25 | com.atlassian.bamboo.repository.RepositoryException: Dalx Server - Performance INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:281) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.strategy.TriggeredBuildStrategy.requiresBuild(TriggeredBuildStrategy.java:89) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77) INFO | jvm 1 | 2007/02/19 14:41:25 | at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) INFO | jvm 1 | 2007/02/19 14:41:25 | at java.lang.Thread.run(Thread.java:613) INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: org.tmatesoft.svn.core.SVNException: svn: SSH channel is closed. (Closing all channels) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:147) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.write(SVNConnection.java:229) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.write(SVNRepositoryImpl.java:995) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:564) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:601) INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:258) INFO | jvm 1 | 2007/02/19 14:41:25 | ... 6 more INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: java.io.IOException: SSH channel is closed. (Closing all channels) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelManager.sendData(ChannelManager.java:375) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:29) INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:50) INFO | jvm 1 | 2007/02/19 14:41:25 | ... 12 more

    Atlassian JIRA | 10 years ago | Nick Chalko
    com.atlassian.bamboo.repository.RepositoryException: Dalx Server - Performance
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have 2 related tasks on Hudson: 2_octopus_build and 3_octopus_test. The build task runs the test task when finished successfully. If I trigger the Build task manually, both tasks are executed correctly. Both tasks reference the same Hg repo (but use separate directories, by default in hudson). However, if I trigger the 3_octopus_test task manually, it always hangs on the "hg log" command. I cannot stop the task via hudson, I have to manually connect on the slave and kill the ssh session, thus the following trace : {noformat} Started by user lionelo Building remotely on dskgre1017l [3_octopus_unit_tests] $ /usr/bin/hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev fix_dlopen [3_octopus_unit_tests] $ /usr/bin/hg log --rev . --template {node} FATAL: SSH channel is closed. (The connection is being shutdown) java.io.IOException: SSH channel is closed. (The connection is being shutdown) at com.trilead.ssh2.channel.ChannelManager.sendData(ChannelManager.java:383) at com.trilead.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1855) at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1893) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1554) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.Channel.send(Channel.java:417) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:112) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:96) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:178) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:135) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:89) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122) at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351) at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356) at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137) at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149) at hudson.util.io.TarArchiver.close(TarArchiver.java:114) at hudson.FilePath.writeToTar(FilePath.java:1545) at hudson.FilePath.copyRecursiveTo(FilePath.java:1470) at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:71) at hudson.model.Build$RunnerImpl.doRun(Build.java:132) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1257) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) {noformat}

    Jenkins JIRA | 6 years ago | chickenkiller
    java.io.IOException: SSH channel is closed. (The connection is being shutdown)
  6. 0

    I have 2 related tasks on Hudson: 2_octopus_build and 3_octopus_test. The build task runs the test task when finished successfully. If I trigger the Build task manually, both tasks are executed correctly. Both tasks reference the same Hg repo (but use separate directories, by default in hudson). However, if I trigger the 3_octopus_test task manually, it always hangs on the "hg log" command. I cannot stop the task via hudson, I have to manually connect on the slave and kill the ssh session, thus the following trace : {noformat} Started by user lionelo Building remotely on dskgre1017l [3_octopus_unit_tests] $ /usr/bin/hg incoming --quiet --bundle hg.bundle --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev fix_dlopen [3_octopus_unit_tests] $ /usr/bin/hg log --rev . --template {node} FATAL: SSH channel is closed. (The connection is being shutdown) java.io.IOException: SSH channel is closed. (The connection is being shutdown) at com.trilead.ssh2.channel.ChannelManager.sendData(ChannelManager.java:383) at com.trilead.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63) at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1855) at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1893) at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1554) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.Channel.send(Channel.java:417) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:112) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:96) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:178) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:135) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:89) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122) at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410) at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351) at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356) at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137) at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149) at hudson.util.io.TarArchiver.close(TarArchiver.java:114) at hudson.FilePath.writeToTar(FilePath.java:1545) at hudson.FilePath.copyRecursiveTo(FilePath.java:1470) at com.michelin.cio.hudson.plugins.copytoslave.CopyToSlaveBuildWrapper.setUp(CopyToSlaveBuildWrapper.java:71) at hudson.model.Build$RunnerImpl.doRun(Build.java:132) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1257) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) {noformat}

    Jenkins JIRA | 6 years ago | chickenkiller
    java.io.IOException: SSH channel is closed. (The connection is being shutdown)

    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.io.IOException

      SSH channel is closed. (The connection is being shutdown)

      at ch.ethz.ssh2.channel.ChannelManager.sendData()
    2. ganymed-ssh-2
      ChannelOutputStream.write
      1. ch.ethz.ssh2.channel.ChannelManager.sendData(ChannelManager.java:375)
      2. ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63)
      3. ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:68)
      3 frames
    3. systemobject.terminal
      Cli.command
      1. systemobject.terminal.Terminal.sendString(Terminal.java:67)
      2. systemobject.terminal.Cli.command(Cli.java:233)
      3. systemobject.terminal.Cli.command(Cli.java:202)
      4. systemobject.terminal.Cli.command(Cli.java:186)
      4 frames
    4. com.aqua.sysobj
      CliConnectionImpl.handleCliCommand
      1. com.aqua.sysobj.conn.CliConnectionImpl.command(CliConnectionImpl.java:387)
      2. com.aqua.sysobj.conn.CliConnectionImpl.handleCliCommand(CliConnectionImpl.java:334)
      3. com.aqua.sysobj.conn.CliConnectionImpl.handleCliCommand(CliConnectionImpl.java:314)
      3 frames
    5. com.altor.vf
      EPVMOperations.testPing
      1. com.altor.vf.vm.VMMachine.cliCommand(VMMachine.java:127)
      2. com.altor.vf.vm.VMMachine.cliCommand(VMMachine.java:110)
      3. com.altor.vf.vm.EPVM.pingAnotherHost(EPVM.java:11)
      4. com.altor.vf.auto.EPVMOperations.testPing(EPVMOperations.java:29)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. JUnit
      SystemTestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.SystemTestCase.runBare(SystemTestCase.java:163)
      2 frames
    8. com.altor.vf
      AltorTestCase.runBare
      1. com.altor.vf.auto.AltorTestCase.runBare(AltorTestCase.java:35)
      1 frame
    9. JUnit
      SystemTestCase.run
      1. junit.framework.TestResult$1.protect(TestResult.java:110)
      2. junit.framework.TestResult.runProtected(TestResult.java:128)
      3. junit.framework.TestResult.run(TestResult.java:113)
      4. junit.framework.SystemTestCase.run(SystemTestCase.java:147)
      4 frames
    10. com.aqua.anttask
      JSystemTask.execute
      1. com.aqua.anttask.jsystem.JUnitTestRunner.run(JUnitTestRunner.java:457)
      2. com.aqua.anttask.jsystem.JSystemTask.executeInVM(JSystemTask.java:1352)
      3. com.aqua.anttask.jsystem.JSystemTask.execute(JSystemTask.java:921)
      4. com.aqua.anttask.jsystem.JSystemTask.executeOrQueue(JSystemTask.java:1766)
      5. com.aqua.anttask.jsystem.JSystemTask.execute(JSystemTask.java:870)
      5 frames
    11. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    13. Ant
      Ant.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
      7. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
      8 frames
    14. Ant-Contrib Tasks
      AntCallBack.execute
      1. net.sf.antcontrib.logic.AntCallBack.execute(AntCallBack.java:54)
      1 frame
    15. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    17. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      9. org.apache.tools.ant.Main.runBuild(Main.java:698)
      10. org.apache.tools.ant.Main.startAnt(Main.java:199)
      10 frames
    18. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      2 frames