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

generatedJUnitFiles does not exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      xUnit 1.52
      Jenkins 1.506
    • Similar Issues:

      Description

      When I run my build, xUnit logs that the generatedJUnitFiles directory does not exist. My build doesn't create or reference this directory so this must be something xUnit is trying to create?

      [xUnit] [INFO] - Starting to record.
      ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
      /var/lib/jenkins/jobs/Functional-Production/workspace/generatedJUnitFiles does not exist.
      	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
      	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher$4.invoke(XUnitPublisher.java:292)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher$4.invoke(XUnitPublisher.java:287)
      	at hudson.FilePath.act(FilePath.java:865)
      	at hudson.FilePath.act(FilePath.java:838)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.getTestResult(XUnitPublisher.java:287)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.recordTestResult(XUnitPublisher.java:249)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:123)
      	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:820)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:792)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:739)
      	at hudson.model.Run.execute(Run.java:1592)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:237)
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java
          http://jenkins-ci.org/commit/xunit-plugin/6310527830b1c2495339cbd2ec459c14e80b5daf
          Log:
          Fix JENKINS-17345

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/xunit/XUnitPublisher.java http://jenkins-ci.org/commit/xunit-plugin/6310527830b1c2495339cbd2ec459c14e80b5daf Log: Fix JENKINS-17345
          Hide
          toneplex toneplex added a comment -

          With version 1.58 this is happening again.

          I keep getting the error:
          [xUnit] [WARNING] - Can't create the path /var/lib/jenkins/jobs/JAP/workspace/generatedJUnitFiles. Maybe the directory already exists.

          Show
          toneplex toneplex added a comment - With version 1.58 this is happening again. I keep getting the error: [xUnit] [WARNING] - Can't create the path /var/lib/jenkins/jobs/JAP/workspace/generatedJUnitFiles. Maybe the directory already exists.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/com/thalesgroup/hudson/plugins/xunit/service/XUnitTransformer.java
          http://jenkins-ci.org/commit/xunit-plugin/2058687f79af50987b2cb46b8491aafe79c5567b
          Log:
          Fix reopened JENKINS-17345

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/com/thalesgroup/hudson/plugins/xunit/service/XUnitTransformer.java http://jenkins-ci.org/commit/xunit-plugin/2058687f79af50987b2cb46b8491aafe79c5567b Log: Fix reopened JENKINS-17345

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              postalservice14 John Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: