Ok we traced the issue: it was not a Jenkins one but a gperftool multi thread profiling issue.
http://code.google.com/p/gperftools/?redir=1 We're switching to Valgrind (gperftool seems quite dead anyway...) Thank you very much for your help, Regards, Stefano Il giorno lunedì 3 settembre 2012 10:59:58 UTC+2, stefano perticoni ha scritto: > > Hi, > > We did some investigation and the error message ie the strange stack trace > with the space under Jenkins 1472 is related to the integration of the > profiling tool gperftool in our codebase: > > http://code.google.com/p/gperftools/?redir=1 > > By disabling it the dashboard runs succesfully. > > We just upgraded Jenkins to the latest build 1479 to see if we can get > around this problem. > > http://scs03.cineca.it:9090/about/? > > Regards, > Stefano > > > Il giorno venerdì 31 agosto 2012 18:30:35 UTC+2, Richard J ha scritto: >> >> I see the same problem when running a "Windows batch file" type build >> step on Windows slaves. >> Maybe 1 out of 100 runs. >> >> There was talk about this a year ago, but it was claimed to be fixed. (I >> see it in ver 1.466.1) >> >> On Friday, August 31, 2012 5:56:59 AM UTC-7, JanneG wrote: >> >>> We're experiencing the same problem, seems like no one can give a hint >>> on what is causing it to randomly fail once a week. >>> We're running Jenkins 1.467. >>> >>> BR, >>> >>> /Janne >>> >>> Den fredagen den 31:e augusti 2012 kl. 14:15:05 UTC+2 skrev Stefano >>> Perticoni: >>>> >>>> Dear Jenkins users, >>>> >>>> we are running Jenkins 1.472 >>>> http://scs03.cineca.it:9090/about/? >>>> >>>> and we are experiencing this strange error from some time on a linux >>>> build node: >>>> http://scs03.cineca.it:9090/job/SCSSVN01_CI_LIB_MAF3_GCCDBG/: >>>> >>>> Error first line: >>>> >>>> 30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete >>>> script file /tmp/hudson7088876974817491254.sh >>>> >>>> >>>> Full log is available at the end of the email. >>>> >>>> >>>> It seems that Jenkins is not able to delete a file even if Jenkins login >>>> user can do that: in fact by ssh the Jenkins user can both delete the file >>>> and run a successful build. >>>> >>>> >>>> Any idea? >>>> >>>> >>>> Thank you very much for your help. >>>> >>>> >>>> Regards, >>>> >>>> Stefano >>>> >>>> >>>> _______________________________________________ >>>> >>>> Ing. Stefano Perticoni >>>> Super Computing Solutions s.r.l. >>>> http://www.scsitaly.com >>>> Via Parini 1, 40033 Casalecchio di Reno BO, Italy >>>> mailto: s.per...@scsitaly.com >>>> _______________________________________________ >>>> >>>> >>>> 30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete >>>> script file /tmp/hudson7088876974817491254.shhudson.util.IOException2 >>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2>: >>>> remote file operation failed: /tmp/hudson7088876974817491254.sh at >>>> hudson.remoting.Channel@10a1001:SCSSVN01 >>>> at hudson.FilePath.act(FilePath.java:838) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> >>>> at hudson.FilePath.act(FilePath.java:824) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> >>>> at hudson.FilePath.delete(FilePath.java:1129) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.delete&entity=method> >>>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method> >>>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.CommandInterpreter.perform&entity=method> >>>> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method> >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) >>>> >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method> >>>> at hudson.model.Build$BuildExecution.build(Build.java:199) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method> >>>> at hudson.model.Build$BuildExecution.doRun(Build.java:160) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method> >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) >>>> >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> >>>> at hudson.model.Run.execute(Run.java:1488) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >>>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> >>>> at hudson.model.ResourceController.execute(ResourceController.java:88) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >>>> at hudson.model.Executor.run(Executor.java:236) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >>>> Caused by: hudson.remoting.ChannelClosedException >>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.ChannelClosedException>: >>>> channel is already closed >>>> at hudson.remoting.Channel.send(Channel.java:492) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.send&entity=method> >>>> at hudson.remoting.Request.call(Request.java:129) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.call&entity=method> >>>> at hudson.remoting.Channel.call(Channel.java:663) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method> >>>> at hudson.FilePath.act(FilePath.java:831) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> >>>> ... 13 more >>>> Caused by: java.io.IOException: Unexpected termination of the channel >>>> at >>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) >>>> Caused by: java.io.EOFException >>>> at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown >>>> Source) >>>> at java.io.ObjectInputStream.readObject0(Unknown Source) >>>> at java.io.ObjectInputStream.readObject(Unknown Source) >>>> at hudson.remoting.Command.readFrom(Command.java:90) >>>> at >>>> hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) >>>> at >>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) >>>> FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: >>>> Unexpected termination of the >>>> channelhudson.remoting.RequestAbortedException >>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.RequestAbortedException>: >>>> hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected >>>> termination of the channel >>>> at hudson.remoting.Request.call(Request.java:174) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.call&entity=method> >>>> at hudson.remoting.Channel.call(Channel.java:663) >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method> >>>> at >>>> hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) >>>> >>>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.RemoteInvocationHandler.invoke&entity=method> >>>> at $Proxy35.join(Unknown Source) >>>> at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:861) >>>> at hudson.Launcher$ProcStarter.join(Launcher.java:345) >>>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:82) >>>> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) >>>> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) >>>> at hudson.model.Build$BuildExecution.build(Build.java:199) >>>> at hudson.model.Build$BuildExecution.doRun(Build.java:160) >>>> at >>>> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) >>>> at hudson.model.Run.execute(Run.java:1488) >>>> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) >>>> at hudson.model.ResourceController.execute(ResourceController.java:88) >>>> at hudson.model.Executor.run(Executor.java:236) >>>> Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: >>>> Unexpected termination of the channel >>>> at hudson.remoting.Request.abort(Request.java:299) >>>> at hudson.remoting.Channel.terminate(Channel.java:719) >>>> at >>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) >>>> Caused by: java.io.IOException: Unexpected termination of the channel >>>> at >>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) >>>> Caused by: java.io.EOFException >>>> at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown >>>> Source) >>>> at java.io.ObjectInputStream.readObject0(Unknown Source) >>>> at java.io.ObjectInputStream.readObject(Unknown Source) >>>> at hudson.remoting.Command.readFrom(Command.java:90) >>>> at >>>> hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) >>>> at >>>> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) >>>> >>>> >>>>