[Issue 3953] New - Fatal error using ClearCase dynamic view

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 3953] New - Fatal error using ClearCase dynamic view

alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953
                 Issue #|3953
                 Summary|Fatal error using ClearCase dynamic view
               Component|hudson
                 Version|current
                Platform|PC
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|cobertura
             Assigned to|stephenconnolly
             Reported by|alexismorelle






------- Additional comments from [hidden email] Mon Jun 29 09:26:57 +0000 2009 -------
Hi,
here's my config (hudson 1.309, cobertura plugin 0.8.8, clearcase plugin 0.8.4)
I have an error when publishing cobertura reports. It is a freestyle job
building a maven project using base clearcase and a dynamic view.
Publishing Cobertura coverage report...
FATAL: Y:\almorell_icmxs_main_dev\icm_services\almorell_icmxs_main_dev not found.
Y:\almorell_icmxs_main_dev\icm_services\almorell_icmxs_main_dev not found.
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
        at hudson.FilePath.glob(FilePath.java:988)
        at hudson.FilePath.access$000(FilePath.java:154)
        at hudson.FilePath$22.invoke(FilePath.java:967)
        at hudson.FilePath$22.invoke(FilePath.java:965)
        at hudson.FilePath.act(FilePath.java:635)
        at hudson.FilePath.list(FilePath.java:965)
        at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:225)
        at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
        at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
        at hudson.model.Build$RunnerImpl.post2(Build.java:183)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
        at hudson.model.Run.run(Run.java:947)
        at hudson.model.Build.run(Build.java:112)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:119)
The configuration for publishing cobertura reports was
"**/target/site/cobertura/coverage.xml". The view is mounted on "Y:\" and the
view name is "almorell_icmxs_main_dev". The first pom.xml is in "icm_services"
so the path "Y:\almorell_icmxs_main_dev\icm_services\" is valid but I don't know
why the view name is appended again after.

I have other builds on other servers with the same plugin versions but using
snapshot views instead of dynamic views so I think it's a start to investigate. :)

Alexis.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

abayer
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953



User abayer changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|stephenconnolly           |abayer
--------------------------------------------------------------------------------
              QA contact|stephenconnolly           |abayer
--------------------------------------------------------------------------------
            Subcomponent|cobertura                 |clearcase
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Jun 29 13:42:59 +0000 2009 -------
This is almost certainly a ClearCase plugin issue, so I'll take it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

abayer
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953






------- Additional comments from [hidden email] Mon Jun 29 14:19:53 +0000 2009 -------
A couple questions - is this build running on a slave? Are you using a custom
workspace directory? If so, what are you specifying for the custom workspace
directory?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

alexismorelle
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953






------- Additional comments from [hidden email] Mon Jun 29 14:33:48 +0000 2009 -------
First of all thanks for your help.

no this build isn't running on a slave and yes I use a custom workspace which is
"Y:\almorell_icmxs_main_dev\icm_services\".

Here are more information about the CC plugin configuration :
- Base ClearCase selected (a client of clearcase 7 is installed on this computer)
- view name : almorell_icmxs_main_dev
- config spec : element * CHECKEDOUT
                element * /main/LATEST
- branch : main
- vob path : icm_services
- additional mkview argument : -stgloc \\FRCOLSDEV11\views1 (I was using a
snapshot view before switching to dynamic and I didn't have this error, as I'm
writing I thinking that this parameter isn't useful anymore)
- Use existing dynamic view is checked
- view root : Y:\
- Do not reset Config Spec is not checked

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

abayer
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953






------- Additional comments from [hidden email] Mon Jun 29 14:48:25 +0000 2009 -------
Ah, it's the custom workspace that's causing the problem. The Cobertura plugin
is calling project.getModuleRoot() to get the root directory to look for reports
in, and the ClearCase plugin is returning (workspace)/(view name) for the module
root. Which would be fine in most cases (i.e., snapshot views which are under
the job's workspace root) - but since you've got a custom workspace of
"y:\almorell_icmxs_main_dev\icm_services" defined, we end up with the bad
"y:\almorell_icmxs_main_dev\icm_services\almorell_icmxs_main_dev".

As of the next release of the ClearCase plugin (0.9, which should be coming out
today or tomorrow), getModuleRoot will actually return
"y:\almorell_icmxs_main_dev" in this case - it's been changed to return the
actual dynamic view location. This won't get rid of your need to set the custom
workspace in the first place (though it will mean that you could use an m2
project rather than a freestyle project - m2 projects use getModuleRoot to find
their workspace, while freestyle projects use getWorkspace - this change was put
in to support m2 projects using dynamic views), but it will mean that the
Cobertura plugin will get a valid path to search in.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

alexismorelle
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953






------- Additional comments from [hidden email] Mon Jun 29 15:09:00 +0000 2009 -------
Ok thank you, I'll try this then.
I'm using a dynamic view because this project uses CC symlinks.

I'll leave a new comment in few days when I'll be able to try it.
Thanks again.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

alexismorelle
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953






------- Additional comments from [hidden email] Thu Jul  2 09:14:51 +0000 2009 -------
Hi,
I just tried it and it works perfectly. I kept the custom workspace
configuration and still using the free-style job type. I'll try soon with a m2 job.
Thank you for the update. :)

Can I give you any other information about this ?
(don't forget to switch the issue status)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3953] Fatal error using ClearCase dynamic view

abayer
In reply to this post by alexismorelle
https://hudson.dev.java.net/issues/show_bug.cgi?id=3953



User abayer changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Jul  2 15:56:17 +0000 2009 -------
Fixed in 0.9.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]