[JENKINS-62409] Copyartifact: use plugin-pom 4.0 and bom

        ikedam added a comment -

        Hmm... it requires upgrading the target Jenkins version.

        ikedam added a comment - Hmm... it requires upgrading the target Jenkins version.

        ikedam added a comment -

        Just upgrading the parent pom and removing versions results build failure:
        https://github.com/ikedam/copyartifact-plugin/commit/dbe2d2a7585ae53a04e9bcb4dc322bdda363166a

        [ERROR] The build could not read 1 project -> [Help 1]
        [ERROR]
        [ERROR]   The project org.jenkins-ci.plugins:copyartifact:1.45-SNAPSHOT (C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml) has 25 errors
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.main:maven-plugin:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 47, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:structs:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 52, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:apache-httpcomponents-client-4-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 56, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.main:jenkins-test-harness-tools:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 61, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:cloudbees-folder:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 66, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:matrix-project:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 71, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:matrix-auth:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 75, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-support:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 80, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-job:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 85, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-basic-steps:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 90, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-cps:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 95, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-cps:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 100, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-durable-task-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 107, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-step-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 112, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 117, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:pipeline-build-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 122, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:compress-artifacts:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 127, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-api:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 132, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:branch-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 139, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-multibranch:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 144, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-multibranch:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 149, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:git:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 156, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins:git:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 161, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-scm-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 168, column 19
        [ERROR]     'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-scm-step:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 173, column 19
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [ERROR]
        [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
        

        plugin-pom looks including the definition to use bom.
        bom looks including the version for maven-plugin (for example), but it doesn't look defining dependency version.
        I may misunderstand usage of bom.

        ikedam added a comment - Just upgrading the parent pom and removing versions results build failure: https://github.com/ikedam/copyartifact-plugin/commit/dbe2d2a7585ae53a04e9bcb4dc322bdda363166a [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.jenkins-ci.plugins:copyartifact:1.45-SNAPSHOT (C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml) has 25 errors [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.main:maven-plugin:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 47, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:structs:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 52, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:apache-httpcomponents-client-4-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 56, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.main:jenkins-test-harness-tools:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 61, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:cloudbees-folder:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 66, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:matrix-project:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 71, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:matrix-auth:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 75, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-support:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 80, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-job:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 85, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-basic-steps:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 90, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-cps:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 95, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-cps:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 100, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-durable-task-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 107, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-step-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 112, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 117, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:pipeline-build-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 122, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:compress-artifacts:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 127, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-api:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 132, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:branch-api:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 139, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-multibranch:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 144, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-multibranch:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 149, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:git:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 156, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins:git:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 161, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-scm-step:jar is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 168, column 19 [ERROR] 'dependencies.dependency.version' for org.jenkins-ci.plugins.workflow:workflow-scm-step:jar:tests is missing. @ org.jenkins-ci.plugins:copyartifact:${revision}${changelist}, C:\Users\ikedam\Desktop\workspace\copyartifact-plugin\pom.xml, line 173, column 19 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch . [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException plugin-pom looks including the definition to use bom. bom looks including the version for maven-plugin (for example), but it doesn't look defining dependency version. I may misunderstand usage of bom.

        ikedam added a comment -

        jenkins-bom and bom-2.xxx.x might be unrelated.

        ikedam added a comment - jenkins-bom and bom-2.xxx.x might be unrelated.

        ikedam added a comment -

        BOM looks get work. Some plugins aren't defined.

        • maven-plugin
          • maven-plugin might be split and renamed.
        • jenkins-test-harness-tools
        • matrix-auth
        • compress-artifacts
        • workflow-multibranch
        • workflow-scm-step:test

        And RequireUpperBoundDeps still annoys me for artifacts that aren't Jenkins plugins, like commons-net, bcprov-jdk15on.

        Anyway, requires some more work.

        ikedam added a comment - BOM looks get work. Some plugins aren't defined. maven-plugin maven-plugin might be split and renamed. jenkins-test-harness-tools matrix-auth compress-artifacts workflow-multibranch workflow-scm-step:test And RequireUpperBoundDeps still annoys me for artifacts that aren't Jenkins plugins, like commons-net, bcprov-jdk15on. Anyway, requires some more work.

        ikedam added a comment -

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

        ikedam added a comment -

        still requires useBeta:

        [ERROR] hudson/plugins/copyartifact/CopyArtifact:671 jenkins/util/VirtualFile.list(Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/Collection; is still in beta
        [ERROR] hudson/plugins/copyartifact/CopyArtifact:689 jenkins/util/VirtualFile.readLink()Ljava/lang/String; is still in beta
        [ERROR] hudson/plugins/copyartifact/CopyArtifact:696 jenkins/util/VirtualFile.toExternalURL()Ljava/net/URL; is still in beta
        [ERROR] hudson/plugins/copyartifact/CopyArtifact:725 jenkins/util/VirtualFile.mode()I is still in beta
        

        ikedam added a comment - still requires useBeta: [ERROR] hudson/plugins/copyartifact/CopyArtifact:671 jenkins/util/VirtualFile.list(Ljava/lang/ String ;Ljava/lang/ String ;Z)Ljava/util/Collection; is still in beta [ERROR] hudson/plugins/copyartifact/CopyArtifact:689 jenkins/util/VirtualFile.readLink()Ljava/lang/ String ; is still in beta [ERROR] hudson/plugins/copyartifact/CopyArtifact:696 jenkins/util/VirtualFile.toExternalURL()Ljava/net/URL; is still in beta [ERROR] hudson/plugins/copyartifact/CopyArtifact:725 jenkins/util/VirtualFile.mode()I is still in beta

        ikedam added a comment -
        [ERROR] org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive  Time elapsed: 0.037 s  <<< ERROR!
        java.lang.Error: Plugin junit failed to start
                at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:99)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at junit.framework.TestCase.runTest(TestCase.java:177)
                at junit.framework.TestCase.runBare(TestCase.java:142)
                at junit.framework.TestResult$1.protect(TestResult.java:122)
                at junit.framework.TestResult.runProtected(TestResult.java:142)
                at junit.framework.TestResult.run(TestResult.java:125)
                at junit.framework.TestCase.run(TestCase.java:130)
                at junit.framework.TestSuite.runTest(TestSuite.java:241)
                at junit.framework.TestSuite.run(TestSuite.java:236)
                at org.jvnet.hudson.test.junit.GroupedTest.runGroupedTests(GroupedTest.java:67)
                at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.doTests(JellyTestSuiteBuilder.java:152)
                at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.access$100(JellyTestSuiteBuilder.java:138)
                at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite$2.call(JellyTestSuiteBuilder.java:160)
                at org.jvnet.hudson.test.HudsonTestCase$WebClient$5.run(HudsonTestCase.java:1516)
                at org.jvnet.hudson.test.ClosureExecuterAction.doIndex(ClosureExecuterAction.java:53)
                at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
                at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
                at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
                at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
                at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
                at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:27)
                at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739)
                at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870)
                at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:458)
                at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739)
                at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870)
                at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668)
                at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
                at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631)
                at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
                at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
                at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
                at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
                at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
                at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
                at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
                at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
                at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
                at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
                at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
                at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1363)
                at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
                at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489)
                at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
                at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
                at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1278)
                at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
                at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
                at org.eclipse.jetty.server.Server.handle(Server.java:500)
                at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
                at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
                at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
                at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
                at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
                at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
                at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
                at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
                at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
                at java.lang.Thread.run(Thread.java:748)
        Caused by: java.io.IOException: JUnit Plugin version 1.29 failed to load.
         - You must update Jenkins from version 2.164.1 to version 2.164.3 or later to run this plugin.
                at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:821)
                at hudson.PluginManager$2$1$1.run(PluginManager.java:544)
                at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
                at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
                at jenkins.model.Jenkins$5.runTask(Jenkins.java:1096)
                at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
                at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                ... 1 more
        

        junit-1.29 is come via maven-3.1.2.

        ikedam added a comment - [ERROR] org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive Time elapsed: 0.037 s <<< ERROR! java.lang.Error: Plugin junit failed to start at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at junit.framework.TestCase.runTest(TestCase.java:177) at junit.framework.TestCase.runBare(TestCase.java:142) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:130) at junit.framework.TestSuite.runTest(TestSuite.java:241) at junit.framework.TestSuite.run(TestSuite.java:236) at org.jvnet.hudson.test.junit.GroupedTest.runGroupedTests(GroupedTest.java:67) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.doTests(JellyTestSuiteBuilder.java:152) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.access$100(JellyTestSuiteBuilder.java:138) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite$2.call(JellyTestSuiteBuilder.java:160) at org.jvnet.hudson.test.HudsonTestCase$WebClient$5.run(HudsonTestCase.java:1516) at org.jvnet.hudson.test.ClosureExecuterAction.doIndex(ClosureExecuterAction.java:53) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:27) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:458) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:870) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:105) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1363) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1278) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:500) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.lang. Thread .run( Thread .java:748) Caused by: java.io.IOException: JUnit Plugin version 1.29 failed to load. - You must update Jenkins from version 2.164.1 to version 2.164.3 or later to run this plugin. at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:821) at hudson.PluginManager$2$1$1.run(PluginManager.java:544) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1096) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ... 1 more junit-1.29 is come via maven-3.1.2.

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

            Created:
            Updated:
            Resolved: