Failing builds

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Failing builds

Kristian-2
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.pingIntervalSec=-1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Djenkins.slaves.NioChannelSelector.disabled=true
  to /etc/sysconfig/jenkins file into JENKINS_JAVA_OPTIONS

But nothing helped. Error is still occurring. Jenkins version is Jenkins ver. 2.46.2.

What else can I do to solve this problem?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhOkdfq6cXddYb_MKvS8itSv%2BaGwYJe6tNw-f_f7d1sd5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Fwd: Failing builds

Kristian-2
Sorry, the error message was not correct. Correct error message is this:


FATAL: command execution failed
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: 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 <[hidden email]>
Date: 2017-05-08 14:43 GMT+02:00
Subject: Failing builds
To: [hidden email]


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.pingIntervalSec=-1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Djenkins.slaves.NioChannelSelector.disabled=true
  to /etc/sysconfig/jenkins file into JENKINS_JAVA_OPTIONS

But nothing helped. Error is still occurring. Jenkins version is Jenkins ver. 2.46.2.

What else can I do to solve this problem?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhNCPEA6knrDQ4m9RHVHmCsY4LabVHuVEUk8PdgMvxBCeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Failing builds

Kristian-2
Does really nobody have an idea what to do here?

2017-05-08 14:46 GMT+02:00 Kristian <[hidden email]>:
Sorry, the error message was not correct. Correct error message is this:


FATAL: command execution failed
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: 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 <[hidden email]>
Date: 2017-05-08 14:43 GMT+02:00
Subject: Failing builds
To: [hidden email]


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.pingIntervalSec=-1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Djenkins.slaves.NioChannelSelector.disabled=true
  to /etc/sysconfig/jenkins file into JENKINS_JAVA_OPTIONS

But nothing helped. Error is still occurring. Jenkins version is Jenkins ver. 2.46.2.

What else can I do to solve this problem?


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhP5Z%2BEvH7%2BpqhqjSDCWmQG8YWoYqmdUqt7dZVn9p8YngA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Failing builds

Alex B
Kristian,

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.

On Friday, May 19, 2017 at 7:00:47 AM UTC-5, Kristian X wrote:
Does really nobody have an idea what to do here?

2017-05-08 14:46 GMT+02:00 Kristian <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="O92OkEohAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">kristian...@...>:
Sorry, the error message was not correct. Correct error message is this:


FATAL: command execution failed
<a href="http://stacktrace.jenkins-ci.org/search?query=java.nio.channels.ClosedChannelException" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%3Fquery%3Djava.nio.channels.ClosedChannelException\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEnjhxZR3ae9NmKYqYmuZieKbdSLQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%3Fquery%3Djava.nio.channels.ClosedChannelException\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEnjhxZR3ae9NmKYqYmuZieKbdSLQ&#39;;return true;">java.nio.channels.ClosedChannelException
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEXSPOcoNKB4KSmK9baXDJCyTAt0g&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEXSPOcoNKB4KSmK9baXDJCyTAt0g&#39;;return true;">org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw4BQWHcgzxIE6DEQamxPpN7Joag&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFw4BQWHcgzxIE6DEQamxPpN7Joag&#39;;return true;">org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ProtocolStack%24Ptr.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhTAD67sUonys9OtBJDzT3d96IIg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ProtocolStack%24Ptr.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGhTAD67sUonys9OtBJDzT3d96IIg&#39;;return true;">org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHSRZ5fn0Ovv1yaTcRHrFysGGTTig&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHSRZ5fn0Ovv1yaTcRHrFysGGTTig&#39;;return true;">org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF8EHFNTU_osnLQjhbooZMj-TLQiA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF8EHFNTU_osnLQjhbooZMj-TLQiA&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEfugOP0Si-4dv_DQ30eYuIoq5OHg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEfugOP0Si-4dv_DQ30eYuIoq5OHg&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFG0AAzGCHpGGeCjnPF0_IDx4tX0Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFG0AAzGCHpGGeCjnPF0_IDx4tX0Q&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEV9DzNx-VDmHHhV8NojkdOpVAeJA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEV9DzNx-VDmHHhV8NojkdOpVAeJA&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF67zaZGQm7PIvSVoIY3la0QacSIA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF67zaZGQm7PIvSVoIY3la0QacSIA&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG62WvIN4HZIG5U6rJTU0HK7DsrmQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG62WvIN4HZIG5U6rJTU0HK7DsrmQ&#39;;return true;">org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ProtocolStack%24Ptr.doCloseSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEEoQW-BZf4dBRZmm6XnNKHZUJJkg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ProtocolStack%24Ptr.doCloseSend%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEEoQW-BZf4dBRZmm6XnNKHZUJJkg&#39;;return true;">org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEJ7rPuInhUbzMhom7X47FQJsykSw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEJ7rPuInhUbzMhom7X47FQJsykSw&#39;;return true;">org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer%24ByteBufferCommandTransport.closeWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF9caNyTDKBDIKc7_YT_l-oAdyvnA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dorg.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer%24ByteBufferCommandTransport.closeWrite%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF9caNyTDKBDIKc7_YT_l-oAdyvnA&#39;;return true;">org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.close&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.Channel.close%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF9OzDih5EOzFB1Wf_wa_-Tfu6Eng&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.Channel.close%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF9OzDih5EOzFB1Wf_wa_-Tfu6Eng&#39;;return true;">hudson.remoting.Channel.close(Channel.java:1295)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.ChannelPinger$1.onDead&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.slaves.ChannelPinger%241.onDead%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGPrRQpA-tuQLIcLUoFjuTGxDA86Q&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.slaves.ChannelPinger%241.onDead%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGPrRQpA-tuQLIcLUoFjuTGxDA86Q&#39;;return true;">hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.PingThread.ping&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.PingThread.ping%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHsSiXazOOxibbMpcUd4uNLfQ5Esw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.PingThread.ping%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHsSiXazOOxibbMpcUd4uNLfQ5Esw&#39;;return true;">hudson.remoting.PingThread.ping(PingThread.java:130)
	at <a href="http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.PingThread.run&amp;entity=method" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.PingThread.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE4jjv2JcAi79mXjWp4pcY4SAHTdw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacktrace.jenkins-ci.org%2Fsearch%2F%3Fquery%3Dhudson.remoting.PingThread.run%26entity%3Dmethod\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE4jjv2JcAi79mXjWp4pcY4SAHTdw&#39;;return true;">hudson.remoting.PingThread.run(PingThread.java:86)
Caused: java.io.IOException: Backing channel 'JNLP4-connect connection from hostname01/<a href="http://192.168.2.54:64007" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F192.168.2.54%3A64007\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG9ONKraIQmAl9hSl-obesrRO91Fw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F192.168.2.54%3A64007\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG9ONKraIQmAl9hSl-obesrRO91Fw&#39;;return true;">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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="O92OkEohAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">kristian...@...>
Date: 2017-05-08 14:43 GMT+02:00
Subject: Failing builds
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="O92OkEohAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">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.protoco<a href="http://l.impl.SSLEngineFilterLayer.pr" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;">l.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)
at org.jenkinsci.remoting.protoco<a href="http://l.impl.SSLEngineFilterLayer.pr" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;">l.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)
at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)
at org.jenkinsci.remoting.protoco<a href="http://l.impl.SSLEngineFilterLayer.do" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.do\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHhkhBlMU13i-m3e0WfWbq0D8pxRw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.do\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHhkhBlMU13i-m3e0WfWbq0D8pxRw&#39;;return true;">l.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.protoco<a href="http://l.impl.SSLEngineFilterLayer.pr" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;">l.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)
at org.jenkinsci.remoting.protoco<a href="http://l.impl.SSLEngineFilterLayer.pr" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.pr\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHqQ5P4g8kC5jHchAfnr3oRA41V5w&#39;;return true;">l.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)
at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)
at org.jenkinsci.remoting.protoco<a href="http://l.impl.SSLEngineFilterLayer.do" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.do\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHhkhBlMU13i-m3e0WfWbq0D8pxRw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fl.impl.SSLEngineFilterLayer.do\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHhkhBlMU13i-m3e0WfWbq0D8pxRw&#39;;return true;">l.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 <a href="http://hudson.model.FreeStyleBuild.ru" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fhudson.model.FreeStyleBuild.ru\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF3_Y76D8XJVHHJkFCqKDclwZG5Zg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fhudson.model.FreeStyleBuild.ru\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF3_Y76D8XJVHHJkFCqKDclwZG5Zg&#39;;return true;">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.pingIntervalSec=-1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Djenkins.slaves.NioChannelSelector.disabled=true
  to /etc/sysconfig/jenkins file into JENKINS_JAVA_OPTIONS

But nothing helped. Error is still occurring. Jenkins version is Jenkins ver. 2.46.2.

What else can I do to solve this problem?


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2af2322e-6d3a-434a-9ce0-4bcbc6ce74cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Failing builds

Simon Richter
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 [hidden email].
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 (499 bytes) Download Attachment