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

DiskSpaceMonitor shows false positive in support bundles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • core:2.190
      support-core:2.61

      Generated support bundle shows false positive in the node-monitors.md. For example for a node that is totally fine and has a lot of free space under the configured threshold, the file shows:

      Free Disk Space
      ----
       - Is Ignored: false
       - Threshold: 1GB
       - Computers:
         * master: Disk space is too low. Only 3.654GB left on /var/jenkins_home.
      [...]
      Free Temp Space
      ----
       - Is Ignored: false
       - Threshold: 1GB
       - Computers:
         * master: Disk space is too low. Only 91.151GB left on /tmp.
      

      The UI does not show the problem, the toHtml(): https://github.com/jenkinsci/jenkins/blob/stable-2.190/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java#L104-L113
      This is only distinguishable when using toString(): https://github.com/jenkinsci/jenkins/blob/stable-2.190/core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java#L74

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: