Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22692

Jenkins Windows-Slave throwing exception on shutdown causes connection reset issues

    Details

    • Similar Issues:

      Description

      Using the most recent build of Jenkins I have been seeing connection issues after issuing reboot commands to targets. After looking at some logs it looks like the slave service on Windows may not be shutting down correctly and is not disconnecting from the Jenkins Server. I suspect that this is causing the reconnect issues that I'm seeing after the machine comes back online. Below is the failure as reported by the Jenkins server and excerpts from log files on the slave machine when the issue reproduced.

      Error as reported from Jenkins Server:
      FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
      hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
      at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
      at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
      at hudson.remoting.Request.call(Request.java:174)
      at hudson.remoting.Channel.call(Channel.java:722)
      at hudson.FilePath.act(FilePath.java:1009)
      at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:44)
      at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:81)
      at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
      at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:575)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:481)
      at hudson.model.Run.execute(Run.java:1700)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
      at hudson.remoting.Request.abort(Request.java:299)
      at hudson.remoting.Channel.terminate(Channel.java:782)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
      Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:185)
      at java.io.FilterInputStream.read(FilterInputStream.java:133)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
      at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2265)
      at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2558)
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2568)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
      at hudson.remoting.Command.readFrom(Command.java:92)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

      From jenkins-slave.err.log:

      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main createEngine
      INFO: Setting up slave: <Slave Machine>
      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener <init>
      INFO: Jenkins agent is running in headless mode.
      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Locating server among http://<Jenkins Server>/
      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to <Jenkins Server>
      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Handshaking
      Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener error
      SEVERE: The server rejected the connection: <Slave Machine> is already connected to this master. Rejecting this connection.
      java.lang.Exception: The server rejected the connection: <Slave Machine> is already connected to this master. Rejecting this connection.
      at hudson.remoting.Engine.onConnectionRejected(Engine.java:303)
      at hudson.remoting.Engine.run(Engine.java:276)

      From jenkins-slave.wrapper.log:

      2014-04-19 23:52:14 - Stopping jenkinsslave-C__Jenkins
      2014-04-19 23:52:14 - ProcessKill 3088
      2014-04-19 23:52:15 - Shutdown exception
      Message:A system shutdown is in progress. (Exception from HRESULT: 0x8007045B)
      Stacktrace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
      at System.Management.ManagementScope.InitializeGuts(Object o)
      at System.Management.ManagementScope.Initialize()
      at System.Management.ManagementObjectSearcher.Initialize()
      at System.Management.ManagementObjectSearcher.Get()
      at winsw.WrapperService.StopProcessAndChildren(Int32 pid)
      at winsw.WrapperService.StopIt()
      at winsw.WrapperService.OnShutdown()

        Attachments

          Issue Links

            Activity

            Hide
            cg Christian Goetze added a comment - - edited

            I'm observing the same problem.

            I now run a groovy script to disconnect the slave first prior to rebooting the slave, but even then it somehow gets itself into that state.

            When I disconnect manually, then reboot, then it appears to work fine.

            Interestingly, this issue only started occurring on windows 7 in headless mode. I have some older slaves still running XP where this does not occur.

            Show
            cg Christian Goetze added a comment - - edited I'm observing the same problem. I now run a groovy script to disconnect the slave first prior to rebooting the slave, but even then it somehow gets itself into that state. When I disconnect manually, then reboot, then it appears to work fine. Interestingly, this issue only started occurring on windows 7 in headless mode. I have some older slaves still running XP where this does not occur.
            Hide
            cg Christian Goetze added a comment -

            So it appears that in my case, the problem is that the slave manages to reconnect prior to the reboot. So the way I need to code this is:

            • First kill the slave service (or power off the VM, or whatever works), making sure the slave is dead.
            • Then tell the master the slave is disconnected
            • Then do whatever operations you want on the slave machine and restart the slave service when ready
            • Then the master will allow the connection...
            Show
            cg Christian Goetze added a comment - So it appears that in my case, the problem is that the slave manages to reconnect prior to the reboot. So the way I need to code this is: First kill the slave service (or power off the VM, or whatever works), making sure the slave is dead. Then tell the master the slave is disconnected Then do whatever operations you want on the slave machine and restart the slave service when ready Then the master will allow the connection...
            Hide
            cbos Cees Bos added a comment -

            We face the same issue.

            We have a Linux master and a wide range of slaves. We see these issues with Windows slaves connected as Jenkins service.

            From the Console log of a job:

            Thu Jul 03 04:35:29 - Delete everything for instance: defaultInst
            FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
            	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
            	at hudson.remoting.Request.call(Request.java:174)
            	at hudson.remoting.Channel.call(Channel.java:722)
            	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167)
            	at sun.proxy.$Proxy55.join(Unknown Source)
            	at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951)
            	at hudson.Launcher$ProcStarter.join(Launcher.java:362)
            	at hudson.plugins.groovy.Groovy.perform(Groovy.java:117)
            	at hudson.plugins.templateproject.ProxyBuilder.perform(ProxyBuilder.java:87)
            	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
            	at hudson.model.Build$BuildExecution.build(Build.java:198)
            	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523)
            	at hudson.model.Run.execute(Run.java:1700)
            	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            	at hudson.model.ResourceController.execute(ResourceController.java:88)
            	at hudson.model.Executor.run(Executor.java:231)
            Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
            	at hudson.remoting.Request.abort(Request.java:299)
            	at hudson.remoting.Channel.terminate(Channel.java:782)
            	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
            Caused by: java.net.SocketException: Connection reset
            	at java.net.SocketInputStream.read(SocketInputStream.java:185)
            	at java.io.FilterInputStream.read(FilterInputStream.java:133)
            	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
            	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
            	at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
            	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2290)
            	at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2583)
            	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2593)
            	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
            	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
            	at hudson.remoting.Command.readFrom(Command.java:92)
            	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
            	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
            

            From the jenkins-slave-err.log

            Jul 03, 2014 4:35:57 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
            SEVERE: I/O error in channel channel
            java.net.SocketTimeoutException: Read timed out
            	at java.net.SocketInputStream.socketRead0(Native Method)
            	at java.net.SocketInputStream.read(Unknown Source)
            	at java.net.SocketInputStream.read(Unknown Source)
            	at java.io.FilterInputStream.read(Unknown Source)
            	at java.io.BufferedInputStream.fill(Unknown Source)
            	at java.io.BufferedInputStream.read(Unknown Source)
            	at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
            	at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
            	at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
            	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
            	at java.io.ObjectInputStream.readObject0(Unknown Source)
            	at java.io.ObjectInputStream.readObject(Unknown Source)
            	at hudson.remoting.Command.readFrom(Command.java:92)
            	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
            	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
            

            It happens on several slaves.
            For us there is no reboot involved.

            Show
            cbos Cees Bos added a comment - We face the same issue. We have a Linux master and a wide range of slaves. We see these issues with Windows slaves connected as Jenkins service. From the Console log of a job: Thu Jul 03 04:35:29 - Delete everything for instance: defaultInst FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) at hudson.remoting.Request.call(Request.java:174) at hudson.remoting.Channel.call(Channel.java:722) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167) at sun.proxy.$Proxy55.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:951) at hudson.Launcher$ProcStarter.join(Launcher.java:362) at hudson.plugins.groovy.Groovy.perform(Groovy.java:117) at hudson.plugins.templateproject.ProxyBuilder.perform(ProxyBuilder.java:87) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523) at hudson.model.Run.execute(Run.java:1700) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset at hudson.remoting.Request.abort(Request.java:299) at hudson.remoting.Channel.terminate(Channel.java:782) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:185) at java.io.FilterInputStream.read(FilterInputStream.java:133) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2290) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2583) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2593) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) From the jenkins-slave-err.log Jul 03, 2014 4:35:57 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) It happens on several slaves. For us there is no reboot involved.
            Hide
            ryan_croom Ryan Croom added a comment -

            So, I think this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-22932, updating to 1.568 (which contains this fix) seemed to fix the issue for me. Can anyone else confirm that it now works for them?

            Show
            ryan_croom Ryan Croom added a comment - So, I think this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-22932 , updating to 1.568 (which contains this fix) seemed to fix the issue for me. Can anyone else confirm that it now works for them?
            Hide
            haiqing7 Haiqing Zhang added a comment -

            I'm still seeing the problem. I have Mac slave with Windows Master. Jenkins version is 1.579.

            hudson.remoting.SynchronousCommandTransport$ReaderThread run
            SEVERE: I/O error in channel channel
            java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(SocketInputStream.java:196)
            at java.net.SocketInputStream.read(SocketInputStream.java:122)
            at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
            at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
            at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
            at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:67)
            at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:93)
            at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33)
            at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
            at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

            Show
            haiqing7 Haiqing Zhang added a comment - I'm still seeing the problem. I have Mac slave with Windows Master. Jenkins version is 1.579. hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82) at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:67) at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:93) at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The has been caused by an issue in WinSW: https://github.com/kohsuke/winsw/issues/59

            WinSW cannot get PIDs of child processes on the shutdown stage. API calls showuld be reworked

            Show
            oleg_nenashev Oleg Nenashev added a comment - The has been caused by an issue in WinSW: https://github.com/kohsuke/winsw/issues/59 WinSW cannot get PIDs of child processes on the shutdown stage. API calls showuld be reworked
            Hide
            morlajb morlajb added a comment -

            I have the same problem using Mater on windows 2012 version 1.580.1 and windows slaves :

            I can add any more needed info to solve this one - it happens every 6-7 hours ...

            Feb 26, 2015 11:37:54 AM org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger log
            INFO: CLI: executing statement: CREATE TRIGGER nodes_update_checksum_trigger AFTER UPDATE OF checksum ON nodes WHEN NEW.checksum IS NOT OLD.checksum BEGIN UPDATE pristine SET refcount = refcount + 1 WHERE checksum = NEW.checksum; UPDATE pristine SET refcount = refcount - 1 WHERE checksum = OLD.checksum; END;
            Feb 26, 2015 12:21:09 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
            SEVERE: I/O error in channel channel
            java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(SocketInputStream.java:196)
            at java.net.SocketInputStream.read(SocketInputStream.java:122)
            at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
            at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
            at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
            at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
            at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
            at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33)
            at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
            at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

            Show
            morlajb morlajb added a comment - I have the same problem using Mater on windows 2012 version 1.580.1 and windows slaves : I can add any more needed info to solve this one - it happens every 6-7 hours ... Feb 26, 2015 11:37:54 AM org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger log INFO: CLI: executing statement: CREATE TRIGGER nodes_update_checksum_trigger AFTER UPDATE OF checksum ON nodes WHEN NEW.checksum IS NOT OLD.checksum BEGIN UPDATE pristine SET refcount = refcount + 1 WHERE checksum = NEW.checksum; UPDATE pristine SET refcount = refcount - 1 WHERE checksum = OLD.checksum; END; Feb 26, 2015 12:21:09 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel channel java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82) at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72) at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103) at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:33) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Created https://github.com/kohsuke/winsw/pull/172
            The issue needs some reviews.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Created https://github.com/kohsuke/winsw/pull/172 The issue needs some reviews.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The change is going to be integrated soon: https://github.com/jenkinsci/windows-slave-installer-module/pull/5

            Show
            oleg_nenashev Oleg Nenashev added a comment - The change is going to be integrated soon: https://github.com/jenkinsci/windows-slave-installer-module/pull/5
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            pom.xml
            http://jenkins-ci.org/commit/windows-slave-installer-module/e7e5cfb57e7289376e542d680004a763be55033b
            Log:
            Update Windows Service Wrapper from 1.18 to 2.0.1

            Addresses JENKINS-22692, JENKINS-23487 and several others.
            Full changelog: https://github.com/kohsuke/winsw/blob/master/CHANGELOG.md

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/windows-slave-installer-module/e7e5cfb57e7289376e542d680004a763be55033b Log: Update Windows Service Wrapper from 1.18 to 2.0.1 Addresses JENKINS-22692 , JENKINS-23487 and several others. Full changelog: https://github.com/kohsuke/winsw/blob/master/CHANGELOG.md
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/pom.xml
            core/src/main/resources/windows-service/jenkins-slave.xml
            core/src/main/resources/windows-service/jenkins.xml
            war/pom.xml
            http://jenkins-ci.org/commit/jenkins/e698d1de41d4311bf5f8b1d2c40b591109e696e2
            Log:
            Update Windows Agent Installer to 1.7 and WinSW to 2.0.2 (#2765)

                1. WinSW changes

            The update includes many fixes and improvements, the full list is provided in the [WinSW changelog](https://github.com/kohsuke/winsw/blob/master/CHANGELOG.md). There are several issues referenced in Jenkins bugtracker:

                1. Windows Agent Installer changes
            • Adapt the default configurations to pick fixes above
            • Slave => Agent renaming where possible
                1. Jenkins core changes
            • Modify the configuration template, reference advanced options
            • Enable Runaway Process Killer by default
            • Update Windows Agent Installer to 1.7
            • Remove the obsolete jenkins-slave.xml file from the core.

            Now it is within windows-slave-installer

            • Use the deployed Snapshot for CI
            • Pick the release version of windows-slave-installer-1.7
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/pom.xml core/src/main/resources/windows-service/jenkins-slave.xml core/src/main/resources/windows-service/jenkins.xml war/pom.xml http://jenkins-ci.org/commit/jenkins/e698d1de41d4311bf5f8b1d2c40b591109e696e2 Log: Update Windows Agent Installer to 1.7 and WinSW to 2.0.2 (#2765) WinSW changes The update includes many fixes and improvements, the full list is provided in the [WinSW changelog] ( https://github.com/kohsuke/winsw/blob/master/CHANGELOG.md ). There are several issues referenced in Jenkins bugtracker: JENKINS-22692 ( https://issues.jenkins-ci.org/browse/JENKINS-22692 ) - Connection reset issues when WinSW gets terminated due to the system shutdown JENKINS-23487 ( https://issues.jenkins-ci.org/browse/JENKINS-23487)- Support of shared directories in WinSW JENKINS-39231 ( https://issues.jenkins-ci.org/browse/JENKINS-39231 ) - Enable Runaway Process Killer by default JENKINS-39237 ( https://issues.jenkins-ci.org/browse/JENKINS-39237 ) - Auto-upgrade of JNLP agent versions on the slaves Windows Agent Installer changes Adapt the default configurations to pick fixes above Slave => Agent renaming where possible Jenkins core changes Modify the configuration template, reference advanced options Enable Runaway Process Killer by default Update Windows Agent Installer to 1.7 Remove the obsolete jenkins-slave.xml file from the core. Now it is within windows-slave-installer Use the deployed Snapshot for CI Pick the release version of windows-slave-installer-1.7
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been released in Jenkins 2.50. Since it is a big chunk of changes in WinSW, there is no plan to backport this fix to 2.46.x I suppose.

            Marking as Release-candidate in order to discuss with Oliver Gondža

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix has been released in Jenkins 2.50. Since it is a big chunk of changes in WinSW, there is no plan to backport this fix to 2.46.x I suppose. Marking as Release-candidate in order to discuss with Oliver Gondža
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Rejecting from LTS 2.46.1 due to the JENKINS-42744 regression reported to 2.50

            Show
            oleg_nenashev Oleg Nenashev added a comment - Rejecting from LTS 2.46.1 due to the JENKINS-42744 regression reported to 2.50

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                ryan_croom Ryan Croom
              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: