• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • mstest-plugin
    • None

      Use of 1.0.2 version since yesterday has caused our Jenkins pipeline to fail with

      java.lang.RuntimeException: Unknown [null] level provided!
                      at hudson.plugins.mstest.MsTestLogger.parseLevel(MsTestLogger.java:81)

      Same for both with and without logLevel added. You can see my detailed explanation here:
      https://github.com/jenkinsci/mstest-plugin/pull/22#issuecomment-1720838972

      hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 
                      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
                      at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
                      at hudson.remoting.Channel.call(Channel.java:1000)
                      at hudson.FilePath.act(FilePath.java:1192)
                      at hudson.FilePath.act(FilePath.java:1181)
                      at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:148)
                      at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
                      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
                      at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
                      at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
                      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                      at java.base/java.lang.Thread.run(Thread.java:829)
      Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 5ae15a0c-2403-49d8-88c7-3cecf9a2a6f9
      Also:           Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 
                              at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
                              at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
                              at hudson.remoting.Channel.call(Channel.java:1000)
                              at hudson.FilePath.act(FilePath.java:1192)
                              at hudson.FilePath.act(FilePath.java:1181)
                              at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:148)
                              at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
                              at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
                              at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
                              at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
                              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                              at java.base/java.lang.Thread.run(Thread.java:829)
              Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: ae6920e5-f212-4d59-86ef-04a36e5965b0
      java.lang.RuntimeException: Unknown [null] level provided!
                      at hudson.plugins.mstest.MsTestLogger.parseLevel(MsTestLogger.java:81)
                      at hudson.plugins.mstest.MsTestLogger.<init>(MsTestLogger.java:23)
                      at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:51)
                      at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:22)
                      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
                      at hudson.remoting.UserRequest.perform(UserRequest.java:211)
                      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
                      at hudson.remoting.Request$2.run(Request.java:377)
                      at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
                      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
                      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                      at java.base/java.lang.Thread.run(Thread.java:833)
      java.lang.RuntimeException: Unknown [null] level provided!
              at hudson.plugins.mstest.MsTestLogger.parseLevel(MsTestLogger.java:81)
              at hudson.plugins.mstest.MsTestLogger.<init>(MsTestLogger.java:23)
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:51)
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:22)
              at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
              at hudson.remoting.UserRequest.perform(UserRequest.java:211)
              at hudson.remoting.UserRequest.perform(UserRequest.java:54)
              at hudson.remoting.Request$2.run(Request.java:377)
              at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:829)
      [Bitbucket] Notifying commit build result
      [Bitbucket] Build result notified
      Finished: FAILURE

          [JENKINS-72019] MSTest plugin fails after 1.0.2 upgrade

          Kevin added a comment - - edited

          Seeing the following failure having upgraded to v1.0.2 and v1.0.3:
          ERROR: Build step failed with exception
          java.lang.NullPointerException
          at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
          at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
          at java.base/java.util.Properties.put(Properties.java:1329)
          at java.base/java.util.Properties.setProperty(Properties.java:229)
          at java.base/java.lang.System.setProperty(System.java:909)
          at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:140)
          at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:131)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
          at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
          at hudson.model.Build$BuildExecution.post2(Build.java:179)
          at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
          at hudson.model.Run.execute(Run.java:1920)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
          at hudson.model.ResourceController.execute(ResourceController.java:101)
          at hudson.model.Executor.run(Executor.java:442)
          Build step 'Publish MSTest test result report' marked build as failure

          EDIT: I've since edited the job configuration and clicked Save (didn't make any changes) and now no longer experiencing any issues.

          Kevin added a comment - - edited Seeing the following failure having upgraded to v1.0.2 and v1.0.3: ERROR: Build step failed with exception java.lang.NullPointerException at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at java.base/java.util.Properties.put(Properties.java:1329) at java.base/java.util.Properties.setProperty(Properties.java:229) at java.base/java.lang.System.setProperty(System.java:909) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:140) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:131) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767) at hudson.model.Build$BuildExecution.post2(Build.java:179) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711) at hudson.model.Run.execute(Run.java:1920) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Build step 'Publish MSTest test result report' marked build as failure EDIT: I've since edited the job configuration and clicked Save ( didn't make any changes ) and now no longer experiencing any issues.

            nilleb Ivo Bellin Salarin
            jakubkoralewski Jakub
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: