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

Missing release notes for xunit-plugin 3.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      xunit-plugin 3.0
    • Similar Issues:

      Description

      I recently upgraded my xunit plugin to 3.0. I was presented with the following screen when upgrading:

      That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

      After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings.

      I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.

      I've reverted to the previous version for now.

        Attachments

          Activity

          jjvdgeer Jan-Jaap van der Geer created issue -
          jjvdgeer Jan-Jaap van der Geer made changes -
          Field Original Value New Value
          Description I recently upgraded my xunit plugin to 3.0. I was presented with the following screen:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but one retained it, but with empty settings. Building this project caused a crash probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.
          I recently upgraded my xunit plugin to 3.0. I was presented with the following screen:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused a crash probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.
          jjvdgeer Jan-Jaap van der Geer made changes -
          Description I recently upgraded my xunit plugin to 3.0. I was presented with the following screen:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused a crash probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.
          I recently upgraded my xunit plugin to 3.0. I was presented with the following screen:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.
          jjvdgeer Jan-Jaap van der Geer made changes -
          Description I recently upgraded my xunit plugin to 3.0. I was presented with the following screen:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.
          I recently upgraded my xunit plugin to 3.0. I was presented with the following screen when upgrading:

           !image-2021-01-13-09-06-37-544.png|thumbnail!

          That's fair enough, but there are no release notes to be found, at least not here: https://github.com/jenkinsci/xunit-plugin/releases

          After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings.

          I don't know if these are the symptom of a bug, because I have know idea what the release notes say. Maybe there's a procedure I should have followed, but I just don't know.

          I've reverted to the previous version for now.
          Hide
          nfalco Nikolas Falco added a comment - - edited

          https://github.com/jenkinsci/xunit-plugin/releases/tag/xunit-3.0.0

          In version 3 I removed deprecated builder (a console warning log was from version 2).

          Show
          nfalco Nikolas Falco added a comment - - edited https://github.com/jenkinsci/xunit-plugin/releases/tag/xunit-3.0.0 In version 3 I removed deprecated builder (a console warning log was from version 2).
          nfalco Nikolas Falco made changes -
          Resolution Done [ 10000 ]
          Status Open [ 1 ] Closed [ 6 ]
          Hide
          jjvdgeer Jan-Jaap van der Geer added a comment -

          Nikolas Falco The release notes don't address the text given when upgrading the plugin. Neither do they seem to explain the strange behaviour I encountered?

          Show
          jjvdgeer Jan-Jaap van der Geer added a comment - Nikolas Falco The release notes don't address the text given when upgrading the plugin. Neither do they seem to explain the strange behaviour I encountered?
          Hide
          nfalco Nikolas Falco added a comment -

          That message is by design when you declare that something can change in the persistence and could cause lost of configuration. In this case the deprecated XUnitBuilder has been removed and this means that who in a pipeline refers directly to the class instead to the "xunit" name will fail. Will fails also freestype project that use that builder instead the XUnitPublisher.

          Show
          nfalco Nikolas Falco added a comment - That message is by design when you declare that something can change in the persistence and could cause lost of configuration. In this case the deprecated XUnitBuilder has been removed and this means that who in a pipeline refers directly to the class instead to the "xunit" name will fail. Will fails also freestype project that use that builder instead the XUnitPublisher.
          Hide
          nfalco Nikolas Falco added a comment -

          > Neither do they seem to explain the strange behaviour I encountered?

          Which one in details?

          Show
          nfalco Nikolas Falco added a comment - > Neither do they seem to explain the strange behaviour I encountered? Which one in details?
          Hide
          jjvdgeer Jan-Jaap van der Geer added a comment -

          Nikolas Falco I was referring to this line in the description:

          "After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings."

          Our projects are not of the Pipeline type. Not really sure about the terminology here, but I suppose that means they're freestyle.

          Show
          jjvdgeer Jan-Jaap van der Geer added a comment - Nikolas Falco I was referring to this line in the description: "After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings." Our projects are not of the Pipeline type. Not really sure about the terminology here, but I suppose that means they're freestyle.
          Hide
          jjvdgeer Jan-Jaap van der Geer added a comment -

          Failing build:

          11:07:05 [INFO] Deployment done in 1,6 sec
          11:07:05 ERROR: Build step failed with exception
          11:07:05 java.lang.IllegalArgumentException: The tools section is required.
          11:07:05 	at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:139)
          11:07:05 	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:204)
          11:07:05 	at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
          11:07:05 	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
          11:07:05 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          11:07:05 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
          11:07:05 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752)
          11:07:05 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1072)
          11:07:05 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697)
          11:07:05 	at hudson.model.Run.execute(Run.java:1932)
          11:07:05 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
          11:07:05 	at hudson.model.ResourceController.execute(ResourceController.java:97)
          11:07:05 	at hudson.model.Executor.run(Executor.java:429)
          11:07:05 Build step 'Publish xUnit test result report' marked build as failure
          
          Show
          jjvdgeer Jan-Jaap van der Geer added a comment - Failing build: 11:07:05 [INFO] Deployment done in 1,6 sec 11:07:05 ERROR: Build step failed with exception 11:07:05 java.lang.IllegalArgumentException: The tools section is required. 11:07:05 at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:139) 11:07:05 at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:204) 11:07:05 at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) 11:07:05 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80) 11:07:05 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 11:07:05 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803) 11:07:05 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 11:07:05 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1072) 11:07:05 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:697) 11:07:05 at hudson.model.Run.execute(Run.java:1932) 11:07:05 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) 11:07:05 at hudson.model.ResourceController.execute(ResourceController.java:97) 11:07:05 at hudson.model.Executor.run(Executor.java:429) 11:07:05 Build step 'Publish xUnit test result report' marked build as failure
          Hide
          nfalco Nikolas Falco added a comment - - edited

          >"After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings."

          This message is automatic handled by Jenkins

          Show
          nfalco Nikolas Falco added a comment - - edited >"After upgrading the plugins functionality was removed from several (most?) projects but (at least) one retained it, but with empty settings. Building this project caused the build to fail probably caused by the empty settings." This message is automatic handled by Jenkins
          Hide
          nfalco Nikolas Falco added a comment -

          For the issue let me try is there are serialisation issues. If you defined tools it should be able to re-read them again.

          Show
          nfalco Nikolas Falco added a comment - For the issue let me try is there are serialisation issues. If you defined tools it should be able to re-read them again.
          jjvdgeer Jan-Jaap van der Geer made changes -
          Attachment config_failing_build.xml [ 53815 ]
          Attachment config_disappearing_poststep.xml [ 53816 ]
          Hide
          jjvdgeer Jan-Jaap van der Geer added a comment -

          I enclose the two jobs. I was more engaged with getting it to work again than doing a proper triage, and in hindsight I'm a bit unsure that there actually was a problem with the others. The one that failed seems to have xunit as a post-build action while the other one had it as a post-job. I may therefore have been looking at the wrong place when deciding it had disappeared, I realise now.

          What do you mean with "This message is automatic handled by Jenkins"? What message is that?

          Show
          jjvdgeer Jan-Jaap van der Geer added a comment - I enclose the two jobs. I was more engaged with getting it to work again than doing a proper triage, and in hindsight I'm a bit unsure that there actually was a problem with the others. The one that failed seems to have xunit as a post-build action while the other one had it as a post-job. I may therefore have been looking at the wrong place when deciding it had disappeared, I realise now. What do you mean with "This message is automatic handled by Jenkins"? What message is that?
          nfalco Nikolas Falco made changes -
          Resolution Done [ 10000 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Hide
          nfalco Nikolas Falco added a comment -

          plugin can declare from which version could be not backward compatible in terms of serialisation or change in behaviour without specify which ones.
          Now I expect that who use XUnitBuilder will fail but not who use xunit (publisher) step. In your case seems that tools configurations has been lost. I need time to check what happens in your case. Thank for job DSL

          Show
          nfalco Nikolas Falco added a comment - plugin can declare from which version could be not backward compatible in terms of serialisation or change in behaviour without specify which ones. Now I expect that who use XUnitBuilder will fail but not who use xunit (publisher) step. In your case seems that tools configurations has been lost. I need time to check what happens in your case. Thank for job DSL
          Hide
          nfalco Nikolas Falco added a comment - - edited

          I saw the configuration of the job you declared have issue. That job has the removed XUnitBuilder build step in version 3

          <org.jenkinsci.plugins.xunit.XUnitBuilder plugin="xunit@2.3.9">
            <types>
              <NUnitJunitHudsonTestType>
              ...
              </NUnitJunitHudsonTestType>
            </types>
            ...
          </org.jenkinsci.plugins.xunit.XUnitBuilder>
          

           

          You need to reconfigure all jobs that use the builder with the publisher

          Show
          nfalco Nikolas Falco added a comment - - edited I saw the configuration of the job you declared have issue. That job has the removed XUnitBuilder build step in version 3 <org.jenkinsci.plugins.xunit.XUnitBuilder plugin= "xunit@2.3.9" > <types> <NUnitJunitHudsonTestType> ... </NUnitJunitHudsonTestType> </types> ... </org.jenkinsci.plugins.xunit.XUnitBuilder>   You need to reconfigure all jobs that use the builder with the publisher
          nfalco Nikolas Falco made changes -
          Resolution Done [ 10000 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Hide
          jjvdgeer Jan-Jaap van der Geer added a comment - - edited

          Nikolas Falco I finally got round to upgrading to the latest xUnit plugin. I still think there should have been a release note telling me to go through all my build jobs, take note of the xUnit plugin settings, upgrade the plugin, and go through them all again to set the previous values, start a build and when they're done check if they work. It's a lot of (tedious) work and I would have appreciated a place where I could read that this was required.

          There are some other things I noticed that you might be interested in:

          • Some of our build jobs had a Post Step instead of a Post-build Action for xUnit. This seems to have disappeared. Not sure if it does really matter, it seems to work just fine putting it as a post-build action but it was unexpected.
          • We had some old projects which should have had the gallio project. It didn't have this before but I thought I'd add it to this project, but that caused an "oops" message if I just add the plugin and choose the Gallio report type, with or without a 'Includes'-patern, and saved it. This is no big deal for me, this was an old project, so I just left it out, it wasn't even there before, but I thought you might want to know...  In the server I found the following in the error log:

          2021-02-25 08:56:39.695+0000 [id=1042] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID bdc823b7-7868-4564-8ddd-414c824c24d62021-02-25 08:56:39.695+0000 [id=1042] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID bdc823b7-7868-4564-8ddd-414c824c24d6java.lang.NoSuchMethodError: 'void org.jenkinsci.lib.dtkit.type.TestType.<init>(java.lang.String, boolean, boolean, boolean)' at hudson.plugins.gallio.GallioPluginType.<init>(GallioPluginType.java:34) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:530) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:794) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475) at hudson.model.Descriptor.newInstance(Descriptor.java:598) at hudson.model.Descriptor$NewInstanceBindInterceptor.instantiate(Descriptor.java:651) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:766) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:718) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475) at hudson.model.Descriptor.newInstance(Descriptor.java:598) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1075) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1037) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:208) at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1242) at hudson.model.Job.doConfigSubmit(Job.java:1335) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:767) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) 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.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36) at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48) at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:281) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694) at org.kohsuke.stapler.Stapler.service(Stapler.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:153) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:92) at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:92) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:62) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:109) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) 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:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350) 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:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) 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:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.base/java.lang.Thread.run(Thread.java:834)

          Show
          jjvdgeer Jan-Jaap van der Geer added a comment - - edited Nikolas Falco  I finally got round to upgrading to the latest xUnit plugin. I still think there should have been a release note telling me to go through all my build jobs, take note of the xUnit plugin settings, upgrade the plugin, and go through them all again to set the previous values, start a build and when they're done check if they work. It's a lot of (tedious) work and I would have appreciated a place where I could read that this was required. There are some other things I noticed that you might be interested in: Some of our build jobs had a Post Step instead of a Post-build Action for xUnit. This seems to have disappeared. Not sure if it does really matter, it seems to work just fine putting it as a post-build action but it was unexpected. We had some old projects which should have had the gallio project. It didn't have this before but I thought I'd add it to this project, but that caused an "oops" message if I just add the plugin and choose the Gallio report type, with or without a 'Includes'-patern, and saved it. This is no big deal for me, this was an old project, so I just left it out, it wasn't even there before, but I thought you might want to know...  In the server I found the following in the error log: 2021-02-25 08:56:39.695+0000 [id=1042] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID bdc823b7-7868-4564-8ddd-414c824c24d62021-02-25 08:56:39.695+0000 [id=1042] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID bdc823b7-7868-4564-8ddd-414c824c24d6java.lang.NoSuchMethodError: 'void org.jenkinsci.lib.dtkit.type.TestType.<init>(java.lang.String, boolean, boolean, boolean)' at hudson.plugins.gallio.GallioPluginType.<init>(GallioPluginType.java:34) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:530) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:794) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475) at hudson.model.Descriptor.newInstance(Descriptor.java:598) at hudson.model.Descriptor$NewInstanceBindInterceptor.instantiate(Descriptor.java:651) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:766) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:718) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:788) at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:84) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:679) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475) at hudson.model.Descriptor.newInstance(Descriptor.java:598) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1075) at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:1037) at hudson.util.DescribableList.rebuildHetero(DescribableList.java:208) at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1242) at hudson.model.Job.doConfigSubmit(Job.java:1335) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:767) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) 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.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36) at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48) at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:281) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694) at org.kohsuke.stapler.Stapler.service(Stapler.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:114) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:153) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:92) at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:105) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:101) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:92) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:218) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:62) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:97) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:109) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:51) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) 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:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350) 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:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) 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:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.base/java.lang.Thread.run(Thread.java:834)

            People

            Assignee:
            nfalco Nikolas Falco
            Reporter:
            jjvdgeer Jan-Jaap van der Geer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: