Tuesday, 15 September 2015

Jenkins throws ClosedInterruptExceptions -



Jenkins throws ClosedInterruptExceptions -

we run resonably big jenkins server. 200 + jobs ran @ different times. number of jobs have grown encountered exception thrown fails jobs instantly.i can not see why happen intermittently (mostly noticed @ busier times)

any thought ?

we on jenkins 1.565 latest stable version. here trace:

fatal: hudson.remoting.requestabortedexception: java.nio.channels.closedbyinterruptexception hudson.remoting.requestabortedexception: hudson.remoting.requestabortedexception: java.nio.channels.closedbyinterruptexception @ hudson.remoting.requestabortedexception.wrapforrethrow(requestabortedexception.java:41) @ hudson.remoting.requestabortedexception.wrapforrethrow(requestabortedexception.java:34) @ hudson.remoting.request.call(request.java:174) @ hudson.remoting.channel.call(channel.java:742) @ hudson.remoting.remoteinvocationhandler.invoke(remoteinvocationhandler.java:168) @ $proxy61.join(unknown source) @ hudson.launcher$remotelauncher$procimpl.join(launcher.java:956) @ hudson.tasks.commandinterpreter.join(commandinterpreter.java:137) @ hudson.tasks.commandinterpreter.perform(commandinterpreter.java:97) @ hudson.tasks.commandinterpreter.perform(commandinterpreter.java:66) @ hudson.tasks.buildstepmonitor$1.perform(buildstepmonitor.java:20) @ hudson.model.abstractbuild$abstractbuildexecution.perform(abstractbuild.java:756) @ hudson.model.build$buildexecution.build(build.java:198) @ hudson.model.build$buildexecution.dorun(build.java:159) @ hudson.model.abstractbuild$abstractbuildexecution.run(abstractbuild.java:529) @ hudson.model.run.execute(run.java:1706) @ hudson.model.freestylebuild.run(freestylebuild.java:43) @ hudson.model.resourcecontroller.execute(resourcecontroller.java:88) @ hudson.model.executor.run(executor.java:232) caused by: hudson.remoting.requestabortedexception: java.nio.channels.closedbyinterruptexception @ hudson.remoting.request.abort(request.java:299) @ hudson.remoting.channel.terminate(channel.java:805) @ hudson.remoting.synchronouscommandtransport$readerthread.run(synchronouscommandtransport.java:69) caused by: java.nio.channels.closedbyinterruptexception @ java.nio.channels.spi.abstractinterruptiblechannel.end(unknown source) @ sun.nio.ch.socketchannelimpl.read(unknown source) @ hudson.remoting.socketchannelstream$1.read(socketchannelstream.java:35) @ sun.nio.ch.channelinputstream.read(unknown source) @ sun.nio.ch.channelinputstream.read(unknown source) @ sun.nio.ch.channelinputstream.read(unknown source) @ java.io.inputstream.read(unknown source) @ sun.nio.ch.channelinputstream.read(unknown source) @ hudson.remoting.flightrecorderinputstream.read(flightrecorderinputstream.java:82) @ java.io.objectinputstream$peekinputstream.peek(unknown source) @ java.io.objectinputstream$blockdatainputstream.peek(unknown source) @ java.io.objectinputstream$blockdatainputstream.peekbyte(unknown source) @ java.io.objectinputstream.readobject0(unknown source) @ java.io.objectinputstream.readobject(unknown source) @ hudson.remoting.command.readfrom(command.java:92) @ hudson.remoting.classiccommandtransport.read(classiccommandtransport.java:70) @ hudson.remoting.synchronouscommandtransport$readerthread.run(synchronouscommandtransport.java:48)

what version using? there bug in 1.560 (and perchance earlier) patched in 1.575. basically, when have lot of jobs, start time of next job on master, after initial request made slave, exceeds timeout of slave slave closes connection , job on master fails.

jenkins

No comments:

Post a Comment