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

beta forensics plugin reports no class def found for FilteredLog

XMLWordPrintable

    • 8.0.0-beta1

      When the freestyle job that I have defined for the Jenkins git client plugin attempts to generate next generation warnings results with the latest beta releases of the plugins, it reports a class not defined exception in the build log for the job.

      The log is:

      Recording test results
      [JaCoCo plugin] Collecting JaCoCo coverage data...
      [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured
      [JaCoCo plugin] Number of found exec files for pattern **/**.exec: 1
      [JaCoCo plugin] Saving matched execfiles:  /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/jacoco.exec
      [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes: 
      [JaCoCo plugin]  - /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/classes 83 files
      [JaCoCo plugin]  - /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/jenkins-for-test/WEB-INF/classes 0 files
      [JaCoCo plugin]  - /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/jenkins-for-testx/WEB-INF/classes 0 files
      [JaCoCo plugin]  - /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/jenkins-for-testxx/WEB-INF/classes 0 files
      [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java: 
      [JaCoCo plugin] Source Inclusions: **/*.java
      [JaCoCo plugin] Source Exclusions: 
      [JaCoCo plugin] - /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/src/main/java 48 files
      [JaCoCo plugin] Loading inclusions files..
      [JaCoCo plugin] inclusions: []
      [JaCoCo plugin] exclusions: []
      [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=0, maxClass=0, minMethod=0, maxMethod=0, minLine=0, maxLine=0, minBranch=0, maxBranch=0, minInstruction=0, maxInstruction=0, minComplexity=0, maxComplexity=0]
      [JaCoCo plugin] Publishing the results..
      [JaCoCo plugin] Loading packages..
      [JaCoCo plugin] Done.
      [JaCoCo plugin] Overall coverage: class: 92, method: 74, line: 78, branch: 71, instruction: 78
      [SpotBugs] Using default pattern '**/spotbugsXml.xml' since user defined pattern is not set
      [SpotBugs] Searching for all files in '/home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin' that match the pattern '**/spotbugsXml.xml'
      [SpotBugs] -> found 1 file
      [SpotBugs] Successfully parsed file /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/spotbugsXml.xml
      [SpotBugs] -> found 0 issues (skipped 0 duplicates)
      [SpotBugs] Attaching ResultAction with ID 'spotbugs' to run 'Git-Client-Folder/git-client-plugin #120'.
      [SpotBugs] Using reference build 'Git-Client-Folder/git-client-plugin #14' to compute new, fixed, and outstanding issues
      [SpotBugs] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
      [SpotBugs] No quality gates have been set - skipping
      [SpotBugs] Health report is disabled - skipping
      [SpotBugs] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
      [Java] Sleeping for 5 seconds due to JENKINS-32191...
      [Java] Parsing console log (workspace: '/home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin')
      [Java] Attaching ResultAction with ID 'java' to run 'Git-Client-Folder/git-client-plugin #120'.
      [Java] Using reference build 'Git-Client-Folder/git-client-plugin #14' to compute new, fixed, and outstanding issues
      [Java] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
      [Java] No quality gates have been set - skipping
      [Java] Health report is disabled - skipping
      [Java] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
      [JavaDoc] Sleeping for 5 seconds due to JENKINS-32191...
      [JavaDoc] Parsing console log (workspace: '/home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin')
      [JavaDoc] Attaching ResultAction with ID 'javadoc-warnings' to run 'Git-Client-Folder/git-client-plugin #120'.
      [JavaDoc] Using reference build 'Git-Client-Folder/git-client-plugin #14' to compute new, fixed, and outstanding issues
      [JavaDoc] Issues delta (vs. reference build): outstanding: 0, new: 0, fixed: 0
      [JavaDoc] No quality gates have been set - skipping
      [JavaDoc] Health report is disabled - skipping
      [JavaDoc] Created analysis result for 0 issues (found 0 new issues, fixed 0 issues)
      [CheckStyle] Using default pattern '**/checkstyle-result.xml' since user defined pattern is not set
      [CheckStyle] Searching for all files in '/home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin' that match the pattern '**/checkstyle-result.xml'
      [CheckStyle] -> found 1 file
      [CheckStyle] Successfully parsed file /home/jagent/mark-pc2.markwaite.net-agent/workspace/Git-Client-Folder/git-client-plugin/target/checkstyle-result.xml
      [CheckStyle] -> found 3456 issues (skipped 0 duplicates)
      ERROR: Step ‘Record compiler warnings and static analysis results’ aborted due to exception: 
      java.lang.NoClassDefFoundError: io/jenkins/plugins/forensics/util/FilteredLog
      	at io.jenkins.plugins.analysis.core.steps.IssuesScanner.createBlamer(IssuesScanner.java:157)
      	at io.jenkins.plugins.analysis.core.steps.IssuesScanner.postProcess(IssuesScanner.java:127)
      	at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:110)
      	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:631)
      	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:595)
      	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:565)
      	at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:552)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1878)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:427)
      

      That exception does not happen in the released versions of the plugins,, only in the pre-releases that are currently available from the experimental update center.

      Specific plugin versions are:

      ace-editor:1.1
      adoptopenjdk:1.2
      analysis-core:1.96
      analysis-model-api:8.0.0-beta1
      ant:1.10
      antisamy-markup-formatter:1.6
      apache-httpcomponents-client-4-api:4.5.10-2.0
      async-http-client:1.9.40.0
      atlassian-jira-software-cloud:1.0.4
      audit-trail:3.2
      authentication-tokens:1.3
      authorize-project:1.3.0
      badge:1.8
      basic-branch-build-strategies:1.3.2
      bitbucket:1.1.11
      blueocean:1.21.0
      blueocean-autofavorite:1.2.4
      blueocean-bitbucket-pipeline:1.21.0
      blueocean-commons:1.21.0
      blueocean-config:1.21.0
      blueocean-core-js:1.21.0
      blueocean-dashboard:1.21.0
      blueocean-display-url:2.3.0
      blueocean-events:1.21.0
      blueocean-executor-info:1.21.0
      blueocean-git-pipeline:1.21.0
      blueocean-github-pipeline:1.21.0
      blueocean-i18n:1.21.0
      blueocean-jira:1.21.0
      blueocean-jwt:1.21.0
      blueocean-personalization:1.21.0
      blueocean-pipeline-api-impl:1.21.0
      blueocean-pipeline-editor:1.21.0
      blueocean-pipeline-scm-api:1.21.0
      blueocean-rest:1.21.0
      blueocean-rest-impl:1.21.0
      blueocean-web:1.21.0
      bootstrap4-api:4.4.1-2-beta1
      bouncycastle-api:2.17
      branch-api:2.5.5
      build-blocker-plugin:1.7.3
      build-name-setter:2.0.3
      build-timeout:1.19
      buildresult-trigger:0.17
      cloudbees-bitbucket-branch-source:2.6.0
      cloudbees-devoptics-enabler:0.4
      cloudbees-folder:6.9
      cloudbees-jenkins-advisor:3.0
      command-launcher:1.4
      conditional-buildstep:1.3.6
      config-file-provider:3.6.2
      configuration-as-code:1.34
      configurationslicing:1.47
      copyartifact:1.43
      credentials:2.3.0
      credentials-binding:1.20
      cvs:2.14
      data-tables-api:1.10.20-2-beta1
      description-setter:1.10
      devoptics:1.1863
      display-url-api:2.3.2
      docker-commons:1.15
      docker-workflow:1.21
      dtkit-api:2.1.1-1
      durable-task:1.33
      echarts-api:4.4.0-3-beta1
      elastic-axis:1.2
      email-ext:2.68
      envinject:2.3.0
      envinject-api:1.7
      external-monitor-job:1.7
      favorite:2.3.2
      font-awesome-api:5.11.2-2-beta2
      forensics-api:0.7.0-beta2
      git:4.0.1-SNAPSHOT (private-ff4919a7-mwaite)
      git-bisect:1.3
      git-client:3.0.1-SNAPSHOT (private-a36c71e8-mwaite)
      git-parameter:0.9.11
      git-server:1.9
      git-userContent:1.4
      gitea:1.1.2
      github:1.29.5
      github-api:1.95
      github-branch-source:2.5.8
      github-scm-filter-aged-refs:0.2.0
      github-scm-trait-commit-skip:0.4.0
      gitlab-api:1.0.5
      gitlab-branch-source:1.4.1
      gitlab-plugin:1.5.13
      gradle:1.35
      groovy-postbuild:2.5
      h2-api:1.4.199
      handlebars:1.1.1
      handy-uri-templates-2-api:2.1.8-1.0
      htmlpublisher:1.22-beta-1
      implied-labels:0.5
      ivy:2.1
      jackson2-api:2.10.1
      jacoco:3.0.4
      javadoc:1.5
      jaxb:2.3.0.1
      jdk-tool:1.4
      jenkins-design-language:1.21.0
      jira:3.0.11
      job-dsl:1.76
      jquery:1.12.4-1
      jquery-detached:1.2.1
      jquery-ui:1.0.2
      jquery3-api:3.4.1-3-beta1
      jsch:0.1.55.1
      junit:1.28
      junit-attachments:1.6
      junit-realtime-test-reporter:0.6
      kubernetes:1.22.0
      kubernetes-client-api:4.6.4-1
      kubernetes-credentials:0.4.1
      label-verifier:1.4
      ldap:1.21
      leastload:2.0.1
      lockable-resources:2.7
      log-parser:2.1
      mailer:1.29
      mapdb-api:1.0.9.0
      matrix-auth:2.5
      matrix-project:1.14
      maven-plugin:3.4
      mercurial:2.8
      metrics:4.0.2.6
      momentjs:1.1.1
      multi-branch-project-plugin:0.7
      pam-auth:1.6
      parallel-test-executor:1.12
      parameterized-trigger:2.36
      pipeline-build-step:2.10
      pipeline-github-lib:1.0
      pipeline-graph-analysis:1.10
      pipeline-input-step:2.11
      pipeline-maven:3.8.2
      pipeline-milestone-step:1.3.1
      pipeline-model-api:1.5.0
      pipeline-model-declarative-agent:1.1.1
      pipeline-model-definition:1.5.0
      pipeline-model-extensions:1.5.0
      pipeline-rest-api:2.12
      pipeline-stage-step:2.3
      pipeline-stage-tags-metadata:1.5.0
      pipeline-stage-view:2.12
      pipeline-utility-steps:2.3.1
      plain-credentials:1.5
      platformlabeler:5.3
      plugin-util-api:0.1.0-beta1
      pollscm:1.3.1
      popper-api:1.15.0-2-beta1
      preSCMbuildstep:0.3
      PrioritySorter:3.6.0
      promoted-builds:3.5
      pubsub-light:1.13
      rebuild:1.31
      resource-disposer:0.14
      run-condition:1.2
      scm-api:2.6.3
      script-security:1.68
      sidebar-link:1.11.0
      sse-gateway:1.20
      ssh-agent:1.17
      ssh-credentials:1.18
      ssh-slaves:1.31.0
      structs:1.20
      subversion:2.12.2
      support-core:2.65
      text-finder:1.12
      throttle-concurrents:2.0.1
      timestamper:1.10
      token-macro:2.10
      trilead-api:1.0.5
      variant:1.3
      versioncolumn:2.1
      view-job-filters:2.1.1
      warnings-ng:7.2.2
      windows-slaves:1.5
      workflow-aggregator:2.6
      workflow-api:2.38
      workflow-basic-steps:2.18
      workflow-cps:2.78
      workflow-cps-global-lib:2.15
      workflow-durable-task-step:2.35
      workflow-job:2.36
      workflow-multibranch:2.21
      workflow-remote-loader:1.5
      workflow-scm-step:2.9
      workflow-step-api:2.21
      workflow-support:3.3
      ws-cleanup:0.37
      xshell:0.10
      xunit:2.3.7
      

      The job definition which shows the issue is available as config.xml.

            drulli Ulli Hafner
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: