-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
LINUX RHEE 5.7
Hi,
please consider the following scenario:
hudson is set up on master and has several slaves considered for running builds in clearcase. All works fine but builds that have been passed to a slave will fail in case nobody has previously set the view manually on that host. In such a case hudson will not be able to access the view under /view/<viewname>/ and fail.
I have built a workaround (cronjob) for this which continuously logs into all slaves (ever couple of minutes) and does a
$> cleartool setview -exec 'cleartool pwv -s' <viewname>
in order to ensure that the slaves have been mounted whenever hudson needs them.
This is ugly but have currently no idea on how to get around this.
Here is what is in the logs (this is the complete log)
Started by an SCM change
Building remotely on nxnci5
Failed to mkdirs: /view/ci_FOO_i22/foo/fooDo/
[CppUnit] Recording of the CppUnit tests results.
ERROR: Publisher hudson.plugins.cppunit.CppUnitPublisher aborted due to exception
java.io.IOException: Failed to mkdirs: /view/ci_FOO_i22/foo/fooDo//cppunitpluginTemp
at hudson.FilePath.mkdirs(FilePath.java:753)
at hudson.plugins.cppunit.CppUnitPublisher.perform(CppUnitPublisher.java:89)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
at hudson.model.Build$RunnerImpl.post2(Build.java:152)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
at hudson.model.Run.run(Run.java:1233)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level /view/ci_FOO_i22/foo/fooDo/coverage/FOO/ to /user/ci/.hudson/jobs/FOO_i22/htmlreports/LCOV_Report
ERROR: Specified HTML directory '/view/ci_FOO_i22/foo/fooDo/coverage/FOO/' does not exist.
Sending e-mails to: COORAMRDBTSCPFTALL@internal.nsn.com
Finished: FAILURE
- is related to
-
JENKINS-2644 Allow artifact archiver to search outside of workspace for artifacts
- Resolved