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

Copyartifact-1.44: fix test failures with java11

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      • migrate_mavenmodule_to_pipeline - hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest
        Expected: is <SUCCESS>
             but: was <FAILURE>
        	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        	at org.junit.Assert.assertThat(Assert.java:956)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1247)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1253)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatusSuccess(JenkinsRule.java:1282)
        	at hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest.migrate_mavenmodule_to_pipeline(LegacyJobConfigMigrationMonitorMigrationTest.java:409)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:556)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        	at java.base/java.lang.Thread.run(Thread.java:834)
        
      • migrate_maven_to_pipeline - hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest
        ------
        Expected: is <SUCCESS>
             but: was <FAILURE>
        	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        	at org.junit.Assert.assertThat(Assert.java:956)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1247)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1253)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatusSuccess(JenkinsRule.java:1282)
        	at hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest.migrate_maven_to_pipeline(LegacyJobConfigMigrationMonitorMigrationTest.java:382)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:556)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        	at java.base/java.lang.Thread.run(Thread.java:834)
        
      • migrate_pipeline_to_maven - hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest
        Expected: is <SUCCESS>
             but: was <FAILURE>
        	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        	at org.junit.Assert.assertThat(Assert.java:956)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1247)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatus(JenkinsRule.java:1253)
        	at org.jvnet.hudson.test.JenkinsRule.assertBuildStatusSuccess(JenkinsRule.java:1282)
        	at hudson.plugins.copyartifact.monitor.LegacyJobConfigMigrationMonitorMigrationTest.migrate_pipeline_to_maven(LegacyJobConfigMigrationMonitorMigrationTest.java:449)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:556)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
        	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        	at java.base/java.lang.Thread.run(Thread.java:834)
        

      Looks regression of https://github.com/jenkinsci/copyartifact-plugin/pull/113 in copyartifact-1.44.

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/121

            People

            Assignee:
            ikedam ikedam
            Reporter:
            ikedam ikedam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: