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

Performance issue due to the bundle anonymization feature of the support-core plugin

XMLWordPrintable

      The CPU usage is peaking when filtering is enabled.

      [com.cloudbees.jenkins.support.filter.ContentFilters plugin="support-core@2.50"]
        [enabled]true[/enabled]
      [/com.cloudbees.jenkins.support.filter.ContentFilters]
      

      The logs are displaying stacktraces related to this anonymization

          at java.util.regex.Pattern$Start.match(Pattern.java:3463)
          at java.util.regex.Matcher.search(Matcher.java:1248)
          at java.util.regex.Matcher.find(Matcher.java:637)
          at java.util.regex.Matcher.replaceAll(Matcher.java:951)
          at com.cloudbees.jenkins.support.filter.ContentMapping.filter(ContentMapping.java:96)
          at com.cloudbees.jenkins.support.filter.SensitiveContentFilter.filter(SensitiveContentFilter.java:56)
          at com.cloudbees.jenkins.support.filter.AllContentFilters.filter(AllContentFilters.java:43)
          at com.cloudbees.jenkins.support.filter.FilteredOutputStream.filterFlushLines(FilteredOutputStream.java:185)
          at com.cloudbees.jenkins.support.filter.FilteredOutputStream.write(FilteredOutputStream.java:125)
      

      Workaround
      Disable the bundles anonymisation from the global settings

            fcojfernandez Francisco Fernández
            fcojfernandez Francisco Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: