-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
rhel 5.5
I have two jobs that attempt to publish cobertura xml (produced with gcov/gcovr on ada .gcda files)
Job 1 works fine, its got a custom workspace (/view/foo/vobs/bar/scope) with no SCM. It looks for xml in workspace root (coverage.xml)
Job 2 attempts to do the same thing (custom workspace still) with Base clearcase as SCM.
When I didn't wildcard (**/coverage.xml), it couldn't find it. The help text indicates some malarkey about multiple SCM and module root not being workspace root.
I'm not running multiple SCM.
When I added the wild card, I got the following blow up, where it looks like its trying to look in ".." and all that implies to find something! Which it should NEVER EVER do as both the custom workspace and the SCM load rules should would presumably bound where it searches.
I don't know what it considers module root for Base clearcase, but it can NEVER EVER be /view/VIEW_TAG, since base clearcase (UNIX) links in all root filesystems into every view, hence you get never finishing searches or recursive link problems due to historical insanity.
skipping symbolic link /view/foo/dev/.udev/silliness – too many levels of symbolic links.
Feb 22, 2012 4:33:32 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps
WARNING: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to exception
Caught error while checking for symbolic links
at org.apache.tools.ant.DirectoryScanner.causesIllegalSymlinkLoop(DirectoryScanner.java:1859)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1240)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1184)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1146)
at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:928)
at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:882)
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:490)
at hudson.FilePath.glob(FilePath.java:1343)
at hudson.FilePath.access$700(FilePath.java:164)
at hudson.FilePath$24.invoke(FilePath.java:1322)
at hudson.FilePath$24.invoke(FilePath.java:1320)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2099)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.FilePath.act(FilePath.java:777)
at hudson.FilePath.act(FilePath.java:770)
at hudson.FilePath.list(FilePath.java:1320)
at hudson.FilePath.list(FilePath.java:1306)
at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:225)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:622)
at hudson.model.Run.run(Run.java:1434)
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: Too many levels of symbolic links
at java.io.UnixFileSystem.canonicalize0(Native Method)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:157)
at java.io.File.getCanonicalPath(File.java:559)
at org.apache.tools.ant.DirectoryScanner.causesIllegalSymlinkLoop(DirectoryScanner.java:1837)
... 52 more