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

xUnit fails to parse XML using custom XSL on fedora 16 x86_64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • xunit-plugin
    • fedora 16 x86_64.

      When running xunit latest version on fedora 16 jenkins slave, (parsing sample.xml with the attached xsl file) get the following error:

      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing Custom Tool
      [xUnit] [WARNING] - Can't create the path /mnt/iscsi/workspaces/job_name/generatedJUnitFiles. Maybe the directory already exists.
      ERROR: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception
      hudson.util.IOException2: remote file operation failed: /mnt/iscsi/workspaces/job_name at hudson.remoting.Channel@4544da28:f16-vm01
      at hudson.FilePath.act(FilePath.java:779)
      at hudson.FilePath.act(FilePath.java:765)
      at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171)
      at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124)
      at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
      at hudson.model.Run.run(Run.java:1429)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: java.io.IOException: Remote call on f16-vm01 failed
      at hudson.remoting.Channel.call(Channel.java:690)
      at hudson.FilePath.act(FilePath.java:772)
      ... 14 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.tools.ant.Location
      at org.apache.tools.ant.ProjectComponent.<init>(ProjectComponent.java:43)
      at org.apache.tools.ant.types.DataType.<init>(DataType.java:40)
      at org.apache.tools.ant.types.AbstractFileSet.<init>(AbstractFileSet.java:82)
      at org.apache.tools.ant.types.FileSet.<init>(FileSet.java:36)
      at hudson.Util.createFileSet(Util.java:973)
      at hudson.Util.createFileSet(Util.java:995)
      at com.thalesgroup.hudson.plugins.xunit.service.XUnitReportProcessorService.findReports(XUnitReportProcessorService.java:70)
      at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:85)
      at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:287)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)
      Finished: FAILURE

      Running the same files on rhel 6.2 host works.

        1. convert_atom_tests_to_junit.xsl
          5 kB
          Eyal Edri
        2. sample.xml
          1 kB
          Eyal Edri

            gbois Gregory Boissinot
            eedri Eyal Edri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: