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

support-core doesn't take into account %t on GC logs


    • Similar Issues:
    • Released As:


      When you specify %t in the log file for garbage collection:
      Xloggc:$path/gc%t.log: specifies where the verbose GC data is written to. The %t in the gc log file path will cause the JVM to generate a new file with each JVM restart with a timestamp.
      From: https://go.cloudbees.com/docs/solutions/jvm-troubleshooting/

      The support-core plugin cannot find the log file used for that, so it doesn't include the file in the bundle. It throws the warning:

      Jun 24, 2019 3:42:25 PM com.cloudbees.jenkins.support.impl.GCLogs addContents
      WARNING: [Support Bundle] GC Logging apparently configured, but file '/JENKINS HOME PATH/gc-%t.log' not found

      The reason is that the code looks for the exact file name, but it should be a pattern:


          Issue Links


            mramonleon Ramon Leon created issue -
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Field Original Value New Value
            Assignee Emilio Escobar [ escoem ] Allan BURDAJEWICZ [ allan_burdajewicz ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Remote Link This issue links to "support-core #182 (Web Link)" [ 23409 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            allan_burdajewicz Allan BURDAJEWICZ made changes -
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            Resolution Fixed [ 1 ]
            egutierrez Evaristo Gutierrez made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            Released As support-core-2.62
            aheritier Arnaud Héritier made changes -
            Status Resolved [ 5 ] Closed [ 6 ]


              • Assignee:
                allan_burdajewicz Allan BURDAJEWICZ
                mramonleon Ramon Leon
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: