Status: Open (View Workflow)
jenkins-slave.exe running on Windows 10 + jre 184.108.40.206 under local admin credentials.
We have noticed that our Windows 10 nodes have been intermittently failing to come back online after Jenkins / master restarts.
The following entries are shown in WinSw's Jenkins-slave.wrapper.log file at the time of the failures. In particular it appears that the unhandled COMException is preventing the service restarting successfully.
After some inspection of WinSw's source code we have determined that the exception is being thrown from the line "s = svc.Select(d.Id);" in the following snippet (found in the "Run" method in "src/Core/ServiceWrapper/Main.cs lines 687-704). When a secondary WinSw process is run with the "restart!" parameter by Jenkins.
We are currently able to work around the problem by restarting the service manually on affected nodes.