-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.428
-
-
2.434
The diskspace monitoring is broken and not taking offline/online agents by itself in the background. It only happens when one visits the .../computer page.
Steps to reproduce
- start Jenkins with -Dhudson.node_monitors.AbstractNodeMonitorDescriptor=3 (so that the monitors run every 3 minutes)
- add an agent
- configure free/temp disk space monitor to a value that is slightly above the current free space
- verify agent is online
- create a file on the agent so that the free space gets below threshold
- wait 3 minutes, do not visit the .../computer page during that time
Similarly when the agent is already offline, it is not taken online again unless one visits .../computer
Expected Result
The agents is taken offline with a message about not enough disk space
Actual Result
The agent is still online
When one now visits .../computer, the agent is taken offline immediately. Another way to trigger that an agent is taken offline/online is to visit the api endpoint of an agent