[
https://issues.jboss.org/browse/JBIDE-25446?page=com.atlassian.jira.plugi...
]
Ondrej Dockal commented on JBIDE-25446:
---------------------------------------
I see two main causes that are resulting in slave to be disconnected: Network glitch or
machine that is being restarted.
In the second case, that covers windows cases, it is very likely to be caused with windows
automatic update service, that installs new update and restarts PC right away. If true,
this is quite "nasty" behavior because at the time there is devstudio running
and other user's processes. Nevertheless, I have send a PR, tried to provision some
win 10 images with patch (turning off win update service), images have suffix
"-nowu", applied to jenkins node labels: win10vbox16gb and win10-x64, I am
running some tests and will monitor jenkins jobs to see if issue occurs again.
Windows/Mac slave gets disconnected during job execution
--------------------------------------------------------
Key: JBIDE-25446
URL:
https://issues.jboss.org/browse/JBIDE-25446
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: qa
Affects Versions: 4.5.2.AM2
Reporter: Ondrej Dockal
Assignee: Ondrej Dockal
Priority: Blocker
Labels: jenkins
Fix For: 4.6.0.AM1, 4.6.x
During jenkins job execution slaves is disconnected with exception
{code}
19:09:27 19:09:27.096 DEBUG [WorkbenchTestable][AbstractWait] Waiting until shell
matching Matcher matching when all matchers match: [Matcher matching widget which text
matches: "Problem Occured"] is available....
19:09:32 FATAL: command execution failed
19:09:32 java.io.IOException: Backing channel 'Channel to /10.8.247.148' is
disconnected.
19:09:32 at
hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:191)
19:09:32 at
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:256)
19:09:32 at com.sun.proxy.$Proxy68.isAlive(Unknown Source)
19:09:32 at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1043)
19:09:32 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1035)
19:09:32 at hudson.Launcher$ProcStarter.join(Launcher.java:399)
19:09:32 at hudson.tasks.Maven.perform(Maven.java:367)
19:09:32 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
19:09:32 at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
19:09:32 at hudson.model.Build$BuildExecution.build(Build.java:205)
19:09:32 at hudson.model.Build$BuildExecution.doRun(Build.java:162)
19:09:32 at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
19:09:32 at hudson.model.Run.execute(Run.java:1728)
19:09:32 at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
19:09:32 at hudson.model.ResourceController.execute(ResourceController.java:98)
19:09:32 at hudson.model.Executor.run(Executor.java:404)
19:09:32 Caused by: java.io.IOException: Connection aborted:
org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@5af9151e[name=Channel to
/10.8.247.148]
19:09:32 at
org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:210)
19:09:32 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:635)
19:09:32 at
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
19:09:32 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
19:09:32 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
19:09:32 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
19:09:32 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
19:09:32 at java.lang.Thread.run(Thread.java:748)
19:09:32 Caused by: java.io.IOException: Connection reset by peer
19:09:32 at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
19:09:32 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
19:09:32 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
19:09:32 at sun.nio.ch.IOUtil.read(IOUtil.java:197)
19:09:32 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
19:09:32 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:142)
19:09:32 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:359)
19:09:32 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:564)
19:09:32 ... 6 more
19:09:32 Build step 'Invoke top-level Maven targets' marked build as failure
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)