Status: Resolved (View Workflow)
When the master goes out of disk space, it is put offline by the hudson.node_monitors.AbstractDiskSpaceMonitor system.
The message has a blank where the node name should be:
Putting back online as there is enough disk space again
I think this is just because c.getName() returns an empty string in https://github.com/jenkinsci/jenkins/blob/9d61a9a13171c94e55779d166d81599cdd0f9cb7/core/src/main/java/hudson/node_monitors/AbstractDiskSpaceMonitor.java#L43-L71.
- This should show master instead of a space as the node name, i.e.
Putting back master online as there is enough disk space
I am attaching the screenshot of message after the fix.
And I think the issue is solved as per acceptance criteria.
I am attaching the screenshot of the message before the fix :
I have marked the issue with red marker.
nisarg14 the goal here is to fix the message explained in the description.
See the acceptance criteria above.
You need to see how Jenkins reacts when you remove the big files and have enough disk space again.
I have tested he fix and attaching screenshot of the output of Jenkins Window and CLI.
And I think this fix has resolved the issue of displaying null message.
The fix has been released in Jenkins 2.164. Thanks nisarg14!