-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.73, Windows Server 2008 R2 Standard, java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) Client VM (build 25.20-b23, mixed mode), active directory, Windows service running as an active directory user (not local system account). Slaves are Jnlp connected Windows 10 and SSH connected Linux slavesJenkins 2.73, Windows Server 2008 R2 Standard, java version "1.8.0_20" Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot(TM) Client VM (build 25.20-b23, mixed mode), active directory, Windows service running as an active directory user (not local system account). Slaves are Jnlp connected Windows 10 and SSH connected Linux slaves
I see this issue at every single restart, safeRestart or not. It seems to be related to the connected slaves:
aug. 10, 2017 1:00:08 PM jenkins.model.Jenkins$26 run
INFO: Restart in 10 seconds
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$26 run
SEVERE: Restarting VM as requested by nkj
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$21 onAttained
INFO: Started termination
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins$21 onAttained
INFO: Completed termination
aug. 10, 2017 1:00:18 PM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
aug. 10, 2017 1:00:18 PM jenkins.slaves.DefaultJnlpSlaveReceiver channelClosed
WARNING: safe-restart thread for EAC3 Win10 (dtdkcphpw200044) terminated
java.nio.channels.ClosedChannelException
Please NOTE: The Jenkins service runs as an Active Directory user, not a local system account (using "Log on as").
The result is that Jenkins stops, but never restarts:
INFO: Waiting for node disconnection completion
aug. 10, 2017 1:00:20 PM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
If I look at the service state at this point (after INFO: Jenkins stopped) using "Services", Jenkins appear to be running. A "Restart the service" brings it back up without giving any passwords (password for the user is stored).