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

Jenkins cannot generate heap dumps on OpenJDK/HotSpot releases since 2017

      The diagnostic heap dump endpoint /heapDump/ cannot be used to download heap dumps anymore because it does not meet the requirements of https://github.com/openjdk/jdk/commit/fb87831bf8ffccc27c4f42e72d0beac4ef38a741: The temp file has a hprof suffix, not .hprof, so does not pass this check.

      This was introduced in:

      https://www.oracle.com/java/technologies/javase/7u151-relnotes.html

      https://www.oracle.com/java/technologies/javase/8u141-relnotes.html

      https://www.oracle.com/java/technologies/javase/9-relnotes.html

      A workaround would be to set the system property jdk.management.heapdump.allowAnyFileSuffix, which can be done while Jenkins is running, via the script console.

          [JENKINS-72579] Jenkins cannot generate heap dumps on OpenJDK/HotSpot releases since 2017

          Daniel Beck created issue -
          Basil Crow made changes -
          Labels New: hacktoberfest help-wanted
          Basil Crow made changes -
          Labels Original: hacktoberfest help-wanted New: hacktoberfest help-wanted newbie-friendly

          Balaji added a comment -

          I would like to work on this issue

          Balaji added a comment - I would like to work on this issue
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/8881 (Web Link)" [ 29446 ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Assignee Original: Daniel Beck [ danielbeck ] New: Balaji [ balaji_sivasakthi ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Released As New: https://www.jenkins.io/changelog/?query#v2.443
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            balaji_sivasakthi Balaji
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: