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

ERROR: Publisher com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyResultArchiver aborted due to exception

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Apologies about assigning this to core, but 'flaky-test-handler' is not in the list of components that I can assign to.

      A number of other bugs relating to this change have been recorded against other plugins:

      JENKINS-24478 and JENKINS-25405

      ERROR: Publisher com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyResultArchiver aborted due to exception
      java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
      at com.google.jenkins.flakyTestHandler.plugin.FlakyTestResultAction.<init>(FlakyTestResultAction.java:78)
      at com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyResultArchiver.perform(JUnitFlakyResultArchiver.java:89)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1784)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Added the component.

            Of course, I doubt it'll help getting this resolved if the authors haven't bothered to set up a component to begin with.

            Show
            danielbeck Daniel Beck added a comment - Added the component. Of course, I doubt it'll help getting this resolved if the authors haven't bothered to set up a component to begin with.
            Hide
            jglick Jesse Glick added a comment -

            Also when using the injected behavior in the JUnit publisher in 1.580.1:

            … hudson.model.Run execute
            INFO: … main build action completed: SUCCESS
            … hudson.model.AbstractBuild$AbstractBuildExecution reportError
            WARNING: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception
            java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
            	at com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyTestDataPublisher.getTestData(JUnitFlakyTestDataPublisher.java:49)
            	at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:160)
            	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
            	at hudson.model.Build$BuildExecution.post2(Build.java:183)
            	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
            	at hudson.model.Run.execute(Run.java:1770)
            	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            	at hudson.model.ResourceController.execute(ResourceController.java:89)
            	at hudson.model.Executor.run(Executor.java:240)
            
            Show
            jglick Jesse Glick added a comment - Also when using the injected behavior in the JUnit publisher in 1.580.1: … hudson.model.Run execute INFO: … main build action completed: SUCCESS … hudson.model.AbstractBuild$AbstractBuildExecution reportError WARNING: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction; at com.google.jenkins.flakyTestHandler.plugin.JUnitFlakyTestDataPublisher.getTestData(JUnitFlakyTestDataPublisher.java:49) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:160) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1770) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
            Hide
            seriousamlqz Qingzhou Luo added a comment -

            Thanks Daniel!

            Right now I am having some injury on my right wrist, plus the school is quite busy, so I couldn't do much work these days. I will try to resolve that as soon as I get a chance.

            Show
            seriousamlqz Qingzhou Luo added a comment - Thanks Daniel! Right now I am having some injury on my right wrist, plus the school is quite busy, so I couldn't do much work these days. I will try to resolve that as soon as I get a chance.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: seriousamlqz
            Path:
            pom.xml
            src/main/java/com/google/jenkins/flakyTestHandler/plugin/FlakyTestResultAction.java
            src/main/java/com/google/jenkins/flakyTestHandler/plugin/JUnitFlakyTestDataPublisher.java
            src/main/java/com/google/jenkins/flakyTestHandler/plugin/deflake/DeflakeListener.java
            src/test/java/hudson/plugins/git/AbstractGitTestCase.java
            http://jenkins-ci.org/commit/flaky-test-handler-plugin/c68997a67353d2b62ae3ab32fb2de89de64c2620
            Log:
            Merge pull request #1 from jglick/1.580

            [FIXED JENKINS-25446] Make this runnable against 1.580.x

            Compare: https://github.com/jenkinsci/flaky-test-handler-plugin/compare/9ad189748d7f...c68997a67353

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: seriousamlqz Path: pom.xml src/main/java/com/google/jenkins/flakyTestHandler/plugin/FlakyTestResultAction.java src/main/java/com/google/jenkins/flakyTestHandler/plugin/JUnitFlakyTestDataPublisher.java src/main/java/com/google/jenkins/flakyTestHandler/plugin/deflake/DeflakeListener.java src/test/java/hudson/plugins/git/AbstractGitTestCase.java http://jenkins-ci.org/commit/flaky-test-handler-plugin/c68997a67353d2b62ae3ab32fb2de89de64c2620 Log: Merge pull request #1 from jglick/1.580 [FIXED JENKINS-25446] Make this runnable against 1.580.x Compare: https://github.com/jenkinsci/flaky-test-handler-plugin/compare/9ad189748d7f...c68997a67353

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                lorenzhawkes Lorenz Bateman
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: