{"action":"created","issue":{"url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/119","repository_url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin","labels_url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/119/comments","events_url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/119/events","html_url":"https://github.com/KostyaSha/yet-another-docker-plugin/issues/119","id":197605509,"number":119,"title":"Agents going offline during build","user":{"login":"deepraut89","id":18444934,"avatar_url":"https://avatars.githubusercontent.com/u/18444934?v=3","gravatar_id":"","url":"https://api.github.com/users/deepraut89","html_url":"https://github.com/deepraut89","followers_url":"https://api.github.com/users/deepraut89/followers","following_url":"https://api.github.com/users/deepraut89/following{/other_user}","gists_url":"https://api.github.com/users/deepraut89/gists{/gist_id}","starred_url":"https://api.github.com/users/deepraut89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepraut89/subscriptions","organizations_url":"https://api.github.com/users/deepraut89/orgs","repos_url":"https://api.github.com/users/deepraut89/repos","events_url":"https://api.github.com/users/deepraut89/events{/privacy}","received_events_url":"https://api.github.com/users/deepraut89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T17:08:28Z","updated_at":"2016-12-26T17:13:17Z","closed_at":null,"body":"I am facing sometimes build failures due to agent going offline midway. Currently I am using JNLP launcher and its easily making containers up and taking the builds. I am running continuous builds using this plugin however facing sometimes sudden build failures due to agent going offline. \r\nPlugin: 0.1.0-rc30\r\nJenkins: 2.19.4\r\nJava-8\r\n\r\n`09:43:04 Agent went offline during the build`\r\n`09:43:04 ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@42824b4c[name=cloud-zeus-62428d7df075]`\r\n`09:43:04 \tat org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)`\r\n`09:43:04 \tat org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)`\r\n`09:43:04 \tat jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)`\r\n`09:43:04 \tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)`\r\n`09:43:04 \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)`\r\n`09:43:04 \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)`\r\n`09:43:04 \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)`\r\n`09:43:04 \tat java.lang.Thread.run(Thread.java:745)`\r\n`09:43:04 Caused by: java.io.IOException: Connection reset by peer`\r\n`09:43:04 \tat sun.nio.ch.FileDispatcherImpl.read0(Native Method)`\r\n`09:43:04 \tat sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)`\r\n`09:43:04 \tat sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)`\r\n`09:43:04 \tat sun.nio.ch.IOUtil.read(IOUtil.java:197)`\r\n`09:43:04 \tat sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)`\r\n`09:43:04 \tat org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)`\r\n`09:43:04 \tat org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)`\r\n`09:43:04 \tat org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)`\r\n`09:43:04 \t... 6 more`\r\n`09:43:04 `\r\n`09:43:04 Build step 'Execute shell' marked build as failure`\r\n`09:43:04 FATAL: java.io.IOException: Backing channel is disconnected.`\r\n`09:43:04 hudson.remoting.RemotingSystemException: java.io.IOException: Backing channel is disconnected.`\r\n`09:43:04 \tat hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:268)`\r\n`09:43:04 \tat com.sun.proxy.$Proxy109.stop(Unknown Source)`\r\n`09:43:04 \tat com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.tearDown(SSHAgentBuildWrapper.java:414)`\r\n`09:43:04 \tat hudson.model.Build$BuildExecution.doRun(Build.java:173)`\r\n`09:43:04 \tat hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)`\r\n`09:43:04 \tat hudson.model.Run.execute(Run.java:1720)`\r\n`09:43:04 \tat hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)`\r\n`09:43:04 \tat hudson.model.ResourceController.execute(ResourceController.java:98)`\r\n`09:43:04 \tat hudson.model.Executor.run(Executor.java:404)`\r\n`09:43:04 Caused by: java.io.IOException: Backing channel is disconnected.`\r\n`09:43:04 \tat hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:187)`\r\n`09:43:04 \tat hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:252)`\r\n`09:43:04 \t... 8 more`\r\n`09:43:04 Stop Docker Containers is waiting for a checkpoint on continuous-integration #3809`\r\n`09:43:04 Stopping all containers`\r\n`09:43:04 Started calculate disk usage of build`\r\n`09:43:05 Finished Calculation of disk usage of build in 0 seconds`\r\n`09:43:05 Finished: FAILURE`"},"comment":{"url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/comments/269227963","html_url":"https://github.com/KostyaSha/yet-another-docker-plugin/issues/119#issuecomment-269227963","issue_url":"https://api.github.com/repos/KostyaSha/yet-another-docker-plugin/issues/119","id":269227963,"user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T17:13:17Z","updated_at":"2016-12-26T17:13:17Z","body":"What timeout settings do you have in cloud settings docker connector?"}}
{"actor":{"display_login":"KostyaSha"}}