Re: Failing builds
On 25.09.2017 23:35, Alex B wrote: > Did you find a solution for this? Some of my builds have this while > others don't. I suspect this to be a timing issue but I haven't found a > solution. There are a few common causes for this: - Windows Update rebooting the machine - NAT gateway resetting the connection - Agent swapping and responding too slow to a ping - Agent transferring artifacts in another job and responding too slow to a ping. There is no easy way to avoid these, and fixing it would require changes in the Jenkins core. Simon -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2efe5666-7b04-d7d1-a25e-f79335e5d3a2%40hogyros.de. For more options, visit https://groups.google.com/d/optout. signature.asc Description: OpenPGP digital signature
Re: Failing builds
ingThread.run(PingThread.java:86) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.PingThread.run&entity=method> >> Caused: java.io.IOException: Backing channel 'JNLP4-connect connection from >> hostname01/192.168.2.54:64007' is disconnected. >> at >> hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:192) >> at >> hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257) >> at com.sun.proxy.$Proxy77.isAlive(Unknown Source) >> at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1043) >> at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1035) >> at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155) >> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109) >> at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) >> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) >> at hudson.model.Build$BuildExecution.build(Build.java:206) >> at hudson.model.Build$BuildExecution.doRun(Build.java:163) >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) >> at hudson.model.Run.execute(Run.java:1728) >> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) >> at hudson.model.ResourceController.execute(ResourceController.java:98) >> at hudson.model.Executor.run(Executor.java:405) >> >> >> >> -- Forwarded message -- >> From: Kristian > >> Date: 2017-05-08 14:43 GMT+02:00 >> Subject: Failing builds >> To: jenkins...@googlegroups.com >> >> >> Hi, >> >> at the moment, too much jobs are failing from time to time without any >> good reason. I get this error message mostly when a big job is running. >> >> The error message is this: >> >> # >> >> FATAL: java.nio.channels.ClosedChannelException >> java.nio.channels.ClosedChannelException >> at >> org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208) >> at >> org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) >> at >> org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) >> at >> org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) >> at >> org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) >> at >> org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283) >> at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr >> ocessWrite(SSLEngineFilterLayer.java:503) >> at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr >> ocessQueuedWrites(SSLEngineFilterLayer.java:248) >> at >> org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200) >> at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.do >> CloseSend(SSLEngineFilterLayer.java:213) >> at >> org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800) >> at >> org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173) >> at >> org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) >> at hudson.remoting.Channel.close(Channel.java:1295) >> at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) >> at hudson.remoting.PingThread.ping(PingThread.java:130) >> at hudson.remoting.PingThread.run(PingThread.java:86) >> Caused: hudson.remoting.RequestAbortedException >> at hudson.remoting.Request.abort(Request.java:307) >> at hudson.remoting.Channel.terminate(Channel.java:896) >> at >> org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208) >> at >> org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) >> at >> org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) >> at >> org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) >> at >> org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) >> at >> org.jenkinsci.remoting.protoc
Re: Failing builds
nHandler.java:257) > at com.sun.proxy.$Proxy77.isAlive(Unknown Source) > at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1043) > at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1035) > at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155) > at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109) > at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) > at > hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) > at hudson.model.Build$BuildExecution.build(Build.java:206) > at hudson.model.Build$BuildExecution.doRun(Build.java:163) > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) > at hudson.model.Run.execute(Run.java:1728) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) > at hudson.model.ResourceController.execute(ResourceController.java:98) > at hudson.model.Executor.run(Executor.java:405) > > > > -- Forwarded message -- > From: Kristian > Date: 2017-05-08 14:43 GMT+02:00 > Subject: Failing builds > To: jenkinsci-users@googlegroups.com > > > Hi, > > at the moment, too much jobs are failing from time to time without any > good reason. I get this error message mostly when a big job is running. > > The error message is this: > > # > > FATAL: java.nio.channels.ClosedChannelException > java.nio.channels.ClosedChannelException > at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer > .onReadClosed(ChannelApplicationLayer.java:208) > at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClose > d(ApplicationLayer.java:222) > at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClos > ed(ProtocolStack.java:832) > at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed( > FilterLayer.java:287) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.on > RecvClosed(SSLEngineFilterLayer.java:181) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.sw > itchToNoSecure(SSLEngineFilterLayer.java:283) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr > ocessWrite(SSLEngineFilterLayer.java:503) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr > ocessQueuedWrites(SSLEngineFilterLayer.java:248) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. > doSend(SSLEngineFilterLayer.java:200) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.do > CloseSend(SSLEngineFilterLayer.java:213) > at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSen > d(ProtocolStack.java:800) > at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrit > e(ApplicationLayer.java:173) > at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer > $ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) > at hudson.remoting.Channel.close(Channel.java:1295) > at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) > at hudson.remoting.PingThread.ping(PingThread.java:130) > at hudson.remoting.PingThread.run(PingThread.java:86) > Caused: hudson.remoting.RequestAbortedException > at hudson.remoting.Request.abort(Request.java:307) > at hudson.remoting.Channel.terminate(Channel.java:896) > at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer > .onReadClosed(ChannelApplicationLayer.java:208) > at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClose > d(ApplicationLayer.java:222) > at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClos > ed(ProtocolStack.java:832) > at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed( > FilterLayer.java:287) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.on > RecvClosed(SSLEngineFilterLayer.java:181) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.sw > itchToNoSecure(SSLEngineFilterLayer.java:283) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr > ocessWrite(SSLEngineFilterLayer.java:503) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.pr > ocessQueuedWrites(SSLEngineFilterLayer.java:248) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. > doSend(SSLEngineFilterLayer.java:200) > at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.do > CloseSend(SSLEngineFilterLayer.java:213) > at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSen > d(ProtocolStack.java:800) > at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrit > e(ApplicationLayer.java:173) > at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer > $ByteBufferCommandTrans
Fwd: Failing builds
:66) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:206) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1728) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405) -- Forwarded message -- From: Kristian Date: 2017-05-08 14:43 GMT+02:00 Subject: Failing builds To: jenkinsci-users@googlegroups.com Hi, at the moment, too much jobs are failing from time to time without any good reason. I get this error message mostly when a big job is running. The error message is this: # FATAL: java.nio.channels.ClosedChannelException java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer. onReadClosed(ChannelApplicationLayer.java:208) at org.jenkinsci.remoting.protocol.ApplicationLayer. onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr. onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer. onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed( SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite( SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend( SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend( SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr. doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer. doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) at hudson.remoting.Channel.close(Channel.java:1295) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) at hudson.remoting.PingThread.ping(PingThread.java:130) at hudson.remoting.PingThread.run(PingThread.java:86) Caused: hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort(Request.java:307) at hudson.remoting.Channel.terminate(Channel.java:896) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer. onReadClosed(ChannelApplicationLayer.java:208) at org.jenkinsci.remoting.protocol.ApplicationLayer. onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr. onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer. onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed( SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite( SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer. processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend( SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend( SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr. doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer. doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) at hudson.remoting.Channel.close(Channel.java:1295) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) at hudson.remoting.PingThread.ping(PingThread.java:130) at hudson.remoting.PingThread.run(PingThread.java:86) at ..remote call to JNLP4-connect connection from hostname01/192.168.2.54:49188(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545) at hudson.remoting.Request.call(Request.java:172) at hudson.remoting.Channel.call(Channel.java:829) at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:974) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:838) at hudson.scm.SCM.checkout(SCM.java:496) at hudson.model.AbstractProject.checkout(AbstractProject.java:1281) at hudson.model.AbstractBuild$AbstractBuildExecution. defaultCheckout(AbstractBuild.java:6
Failing builds
Hi, at the moment, too much jobs are failing from time to time without any good reason. I get this error message mostly when a big job is running. The error message is this: # FATAL: java.nio.channels.ClosedChannelException java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) at hudson.remoting.Channel.close(Channel.java:1295) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) at hudson.remoting.PingThread.ping(PingThread.java:130) at hudson.remoting.PingThread.run(PingThread.java:86) Caused: hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort(Request.java:307) at hudson.remoting.Channel.terminate(Channel.java:896) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800) at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311) at hudson.remoting.Channel.close(Channel.java:1295) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180) at hudson.remoting.PingThread.ping(PingThread.java:130) at hudson.remoting.PingThread.run(PingThread.java:86) at ..remote call to JNLP4-connect connection from hostname01/192.168.2.54:49188(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545) at hudson.remoting.Request.call(Request.java:172) at hudson.remoting.Channel.call(Channel.java:829) at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:974) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:838) at hudson.scm.SCM.checkout(SCM.java:496) at hudson.model.AbstractProject.checkout(AbstractProject.java:1281) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1728) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405) At the same time, the slave stops with the error message like in the picture: This occurrs only when building on Windows Slave machines with method "Start agent vie Java Web Start". I already tried a bunch of stuff: * Giving executables / processes which are important for the build higher IO and CPU priority * Restarting all machines (virtual + physical) * Adding -Dhudson.remoting.Launcher.pingIntervalSe
Retry only failing builds within the buildflow plugin
I know its depreciated and looking for support is most likely looked down upon but. With the buildflow plugin, if you have a set of parallel jobs in which one fails. Is there any way to just retrigger the job so it re-executes the faling one and continues accordingly? Thanks, Ian. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEJ3w4Vnaf8bkR4he5W9Xpy2Ujw9CBzLnqR4o7%3DO6OWx32gNFw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.