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

Convertion exception for NUnit 2.1 reports because nunit-version attribute not contains only digits

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.121.1
      xUnit Plugin 2.0.2
    • Similar Issues:

      Description

      I have seen the following issues:

      https://issues.jenkins-ci.org/browse/JENKINS-51797

      https://issues.jenkins-ci.org/browse/JENKINS-51798

      Yet they are marked as fixed in the latest xUnit version, 2.0.2. We are currently running 2.0.2, and are still expriencing the issue. Here is a copy of a stack trace:

       
      {{}}

      INFO: [NUnit-2.x (default)] - 1 test report file(s) were found with the pattern 'artefacts/UnitTests/*.xml' relative to 'c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp' for the testing framework 'NUnit-2.x (default)'.
       ERROR: Conversion error: Cannot convert string "" to a double
       ERROR: Step ‘Publish xUnit test result report’ aborted due to exception: 
       org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error: Cannot convert string "" to a double
       at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:89)
       at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:136)
       Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
       at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
       at hudson.remoting.UserResponse.retrieve(UserRequest.java:389)
       at hudson.remoting.Channel.call(Channel.java:955)
       at hudson.FilePath.act(FilePath.java:1036)
       at hudson.FilePath.act(FilePath.java:1025)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
       at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
       at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
       at hudson.model.Build$BuildExecution.post2(Build.java:186)
       at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
       at hudson.model.Run.execute(Run.java:1819)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
       Caused: java.io.IOException: There are some problems during the conversion into JUnit reports: 
       at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:170)
       at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:41)
       at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2918)
       at hudson.remoting.UserRequest.perform(UserRequest.java:153)
       at hudson.remoting.UserRequest.perform(UserRequest.java:50)
       at hudson.remoting.Request$2.run(Request.java:336)
       at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at hudson.remoting.Engine$1$1.run(Engine.java:94)
       at java.lang.Thread.run(Thread.java:748)
       Caused: java.io.IOException: remote file operation failed: c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp at hudson.remoting.Channel@5655ddc3:JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
       at hudson.FilePath.act(FilePath.java:1043)
       at hudson.FilePath.act(FilePath.java:1025)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
       at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
       at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
       at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
       at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
       at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
       at hudson.model.Build$BuildExecution.post2(Build.java:186)
       at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
       at hudson.model.Run.execute(Run.java:1819)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)

        Attachments

          Issue Links

            Activity

            ftherien Francis Therien created issue -
            ftherien Francis Therien made changes -
            Field Original Value New Value
            Description I have seen the following issues:

            https://issues.jenkins-ci.org/browse/JENKINS-51797

            https://issues.jenkins-ci.org/browse/JENKINS-51798

            Yet they are marked as fixed in the latest xUnit version, 2.0.2. We are currently running 2.0.2, and are still expriencing the issue. Here is a copy of a stack trace:

             
            INFO: [NUnit-2.x (default)] - 1 test report file(s) were found with the pattern 'artefacts/UnitTests/*.xml' relative to 'c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp' for the testing framework 'NUnit-2.x (default)'.
            ERROR: Conversion error: Cannot convert string "" to a double
            ERROR: Step ‘Publish xUnit test result report’ aborted due to exception:
            org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error: Cannot convert string "" to a double
            at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:89)
            at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:136)
            Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:389)
            at hudson.remoting.Channel.call(Channel.java:955)
            at hudson.FilePath.act(FilePath.java:1036)
            at hudson.FilePath.act(FilePath.java:1025)
            at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
            at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
            at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
            at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
            at hudson.model.Build$BuildExecution.post2(Build.java:186)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
            at hudson.model.Run.execute(Run.java:1819)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:429)
            Caused: java.io.IOException: There are some problems during the conversion into JUnit reports:
            at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:170)
            at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:41)
            at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2918)
            at hudson.remoting.UserRequest.perform(UserRequest.java:153)
            at hudson.remoting.UserRequest.perform(UserRequest.java:50)
            at hudson.remoting.Request$2.run(Request.java:336)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            at java.lang.Thread.run(Thread.java:748)
            Caused: java.io.IOException: remote file operation failed: c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp at hudson.remoting.Channel@5655ddc3:JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
            at hudson.FilePath.act(FilePath.java:1043)
            at hudson.FilePath.act(FilePath.java:1025)
            at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
            at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
            at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
            at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
            at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
            at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
            at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
            at hudson.model.Build$BuildExecution.post2(Build.java:186)
            at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
            at hudson.model.Run.execute(Run.java:1819)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:429)
            I have seen the following issues:

            https://issues.jenkins-ci.org/browse/JENKINS-51797

            https://issues.jenkins-ci.org/browse/JENKINS-51798

            Yet they are marked as fixed in the latest xUnit version, 2.0.2. We are currently running 2.0.2, and are still expriencing the issue. Here is a copy of a stack trace:

            {{ }}
            {{}}
            {code:java}
            INFO: [NUnit-2.x (default)] - 1 test report file(s) were found with the pattern 'artefacts/UnitTests/*.xml' relative to 'c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp' for the testing framework 'NUnit-2.x (default)'.
             ERROR: Conversion error: Cannot convert string "" to a double
             ERROR: Step ‘Publish xUnit test result report’ aborted due to exception:
             org.jenkinsci.plugins.xunit.exception.XUnitException: Conversion error: Cannot convert string "" to a double
             at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:89)
             at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:136)
             Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
             at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
             at hudson.remoting.UserResponse.retrieve(UserRequest.java:389)
             at hudson.remoting.Channel.call(Channel.java:955)
             at hudson.FilePath.act(FilePath.java:1036)
             at hudson.FilePath.act(FilePath.java:1025)
             at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
             at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
             at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
             at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
             at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
             at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
             at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
             at hudson.model.Build$BuildExecution.post2(Build.java:186)
             at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
             at hudson.model.Run.execute(Run.java:1819)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:429)
             Caused: java.io.IOException: There are some problems during the conversion into JUnit reports:
             at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:170)
             at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:41)
             at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2918)
             at hudson.remoting.UserRequest.perform(UserRequest.java:153)
             at hudson.remoting.UserRequest.perform(UserRequest.java:50)
             at hudson.remoting.Request$2.run(Request.java:336)
             at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
             at java.util.concurrent.FutureTask.run(FutureTask.java:266)
             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
             at hudson.remoting.Engine$1$1.run(Engine.java:94)
             at java.lang.Thread.run(Thread.java:748)
             Caused: java.io.IOException: remote file operation failed: c:\jenkins\workspace\Fiscal\Master\T1-Latest\Net-T1Txp at hudson.remoting.Channel@5655ddc3:JNLP4-connect connection from navmqe64180.tordom.cch.ca/10.151.24.245:49920
             at hudson.FilePath.act(FilePath.java:1043)
             at hudson.FilePath.act(FilePath.java:1025)
             at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:207)
             at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:150)
             at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:124)
             at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
             at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
             at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
             at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
             at hudson.model.Build$BuildExecution.post2(Build.java:186)
             at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
             at hudson.model.Run.execute(Run.java:1819)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:429){code}
            Hide
            nfalco Nikolas Falco added a comment -

            could you attach the report yhat cause the failure?

            Show
            nfalco Nikolas Falco added a comment - could you attach the report yhat cause the failure?
            ftherien Francis Therien made changes -
            Attachment T1Txp.Tests.Xunit.xml [ 43059 ]
            Hide
            ftherien Francis Therien added a comment -

            I've attached the report.

            Show
            ftherien Francis Therien added a comment - I've attached the report.
            ftherien Francis Therien made changes -
            Attachment T1Txp.Tests.Xunit.xml [ 43059 ]
            ftherien Francis Therien made changes -
            Attachment T1Txp.Tests.Xunit_.xml [ 43060 ]
            nfalco Nikolas Falco made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            nfalco Nikolas Falco made changes -
            Summary XUnitException: Conversion error: Cannot convert string "" to a double Convertion exception for NUnit 2.1 reports because nunit-version attribute not contains only digits
            nfalco Nikolas Falco made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            tknerr Torben Knerr made changes -
            Link This issue relates to JENKINS-53165 [ JENKINS-53165 ]

              People

              • Assignee:
                nfalco Nikolas Falco
                Reporter:
                ftherien Francis Therien
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: