-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Fedora 12, Hudson over Tomcat6 (same problem with standalone Winstone container), connections to slaves via ssh, Hg v1.6
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 :
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)