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

Could not transform the MSTest report - Redstone 2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mstest-plugin
    • None
    • Redstone 2 15048 (rs2) x64

      We have added a Redstone 2 machine to run our tests against. (Currently have 7, 8.1 & 10) (x64 & x86)). We recieve an error that it cannot transform the MSTEST report.

      Caused by: javax.xml.transform.TransformerConfigurationException: java.net.MalformedURLException

      However, if we take the .trx file and run it through the plugin on another machine, it is successful.

      Here is the error in fulll:

       

      [MSTEST-PLUGIN] Processing test results in file(s) msTestResults.trx
      MSTest: c:\Jenkins\workspace\Tests\AntiTamper\Redstone\msTestResults.trx
      ERROR: Step ‘Publish MSTest test result report’ aborted due to exception:
      java.io.IOException: remote file operation failed: c:\Jenkins\workspace\Tests\AntiTamper\Redstone at hudson.remoting.Channel@a262e9:Redstone-01: java.io.IOException: [MSTEST-PLUGIN] Could not transform the MSTest report. Please report this issue to the plugin author
              at hudson.FilePath.act(FilePath.java:986)
              at hudson.FilePath.act(FilePath.java:968)
              at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:114)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
              at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
              at hudson.model.Build$BuildExecution.post2(Build.java:185)
              at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
              at hudson.model.Run.execute(Run.java:1763)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:98)
              at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.io.IOException: [MSTEST-PLUGIN] Could not transform the MSTest report. Please report this issue to the plugin author
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:76)
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23)
              at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
              at hudson.remoting.UserRequest.perform(UserRequest.java:121)
              at hudson.remoting.UserRequest.perform(UserRequest.java:49)
              at hudson.remoting.Request$2.run(Request.java:325)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at hudson.remoting.Engine$1$1.run(Engine.java:69)
              at java.lang.Thread.run(Unknown Source)
              at ......remote call to Redstone-01(Native Method)
              at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
              at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
              at hudson.remoting.Channel.call(Channel.java:781)
              at hudson.FilePath.act(FilePath.java:979)
              ... 11 more
      Caused by: javax.xml.transform.TransformerConfigurationException: java.net.MalformedURLException
              at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown Source)
              at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown Source)
              at hudson.plugins.mstest.XslTransformer.<init>(XslTransformer.java:38)
              at hudson.plugins.mstest.XslTransformer.FromResource(XslTransformer.java:44)
              at hudson.plugins.mstest.MSTestReportConverter.transform(MSTestReportConverter.java:149)
              at hudson.plugins.mstest.MSTestReportConverter.transform(MSTestReportConverter.java:68)
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:74)
              at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23)
              at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
              at hudson.remoting.UserRequest.perform(UserRequest.java:121)
              at hudson.remoting.UserRequest.perform(UserRequest.java:49)
              at hudson.remoting.Request$2.run(Request.java:325)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at hudson.remoting.Engine$1$1.run(Engine.java:69)
              at java.lang.Thread.run(Unknown Source)
      Caused by: java.net.MalformedURLException
              at java.net.URL.<init>(Unknown Source)
              at java.net.URL.<init>(Unknown Source)
              at java.net.URL.<init>(Unknown Source)
              at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
              at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
              at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.parse(Unknown Source)
              at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.parse(Unknown Source)
              at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown Source)
              at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(Unknown Source)
              ... 18 more
      Caused by: java.lang.NullPointerException
              ... 32 more
      Didn't find some test results!
      

       

            nilleb Ivo Bellin Salarin
            sashboy Sacha Mannion
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: