![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Gregory Boissinot
|
|
Components:
|
xunit |
|
Created:
|
02/Jan/14 2:58 AM
|
|
Description:
|
We have a few jobs were multiple unit tests reports are created for each job run, and it looks like XUnit is trying to create 'generatedJUnitFiles/$Tool' for each test report, but w/o previouslly checking if directory already exists... and thus it fails on the second pass with the following exception:
[xUnit] [ERROR] - Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio
ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
java.io.IOException: remote file operation failed: /srv/jenkins/workspace/SomeProj-v1.x at hudson.remoting.Channel@403729c5:Barney-CentOS-5.x
at hudson.FilePath.act(FilePath.java:910)
at hudson.FilePath.act(FilePath.java:887)
at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:112)
at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:55)
at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:75)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
at hudson.model.Run.execute(Run.java:1703)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.util.IOException2: There are some problems during the conversion into JUnit reports:
at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:153)
at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:16)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2461)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Can't create /srv/jenkins/workspace/SomeProj-v1.x/generatedJUnitFiles/Gallio
at org.jenkinsci.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:47)
at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:121)
... 11 more
|
|
Environment:
|
Jenkins 1.545 / Linux
|
|
Project:
|
Jenkins
|
|
Priority:
|
Blocker
|
|
Reporter:
|
Pablo Ruiz
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.