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.Via Parini 1, 40033 Casalecchio di Reno BO, Italymailto: s.perticoni@scsitaly.com
_______________________________________________
30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete script file /tmp/hudson7088876974817491254.sh hudson.util.IOException2: remote file operation failed: /tmp/hudson7088876974817491254.sh at hudson.remoting.Channel@10a1001:SCSSVN01 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.delete(FilePath.java:1129) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) 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.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:492) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:663) at hudson.FilePath.act(FilePath.java:831) ... 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 channel hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call(Request.java:174) at hudson.remoting.Channel.call(Channel.java:663) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) 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)
Dear Jenkins users,we are running Jenkins 1.472and we are experiencing this strange error from some time on a linux build node:Error first line:
30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete script file /tmp/hudson7088876974817491254.shFull 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.Via Parini 1, 40033 Casalecchio di Reno BO, Italy
mailto: s.per...@scsitaly.com
_______________________________________________
From: JanneG <janne...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Friday, August 31, 2012 6:56 AM
Subject: Re: Build failing because Jenkins is unable to delete a tmp file
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.472and we are experiencing this strange error from some time on a linux build node:Error first line:
30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete script file /tmp/ hudson7088876974817491254.shFull 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.
Via Parini 1, 40033 Casalecchio di Reno BO, Italymailto: s.per...@scsitaly. com
______________________________ _________________
30-Aug-2012 11:50:56 ---> Debug: ("mafPluginOutFATAL: Unable to delete script file /tmp/ hudson7088876974817491254.sh
hudson.util.IOException2: remote file operation failed: /tmp/ hudson7088876974817491254.sh at hudson.remoting.Channel@ 10a1001:SCSSVN01 at hudson.FilePath.act(FilePath. java:838) at hudson.FilePath.act(FilePath. java:824) at hudson.FilePath.delete( FilePath.java:1129) at hudson.tasks. CommandInterpreter.perform( CommandInterpreter.java:92) 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. ChannelClosedException: channel is already closed at hudson.remoting.Channel.send( Channel.java:492)
... 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 channel hudson.remoting. RequestAbortedException: hudson.remoting. RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call( Request.java:174) at hudson.remoting.Channel.call( Channel.java:663) at hudson.remoting. RemoteInvocationHandler. invoke( RemoteInvocationHandler.java: 158) 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)