Can you tell us what errors messages that are in the view_server.log
file (located on the view server host).
If your are on Unix, the view_server.log would be located in
/var/adm/rational/clearcase/log directory and
I believe on Windows it would be in
%PROGRAMFILES%/Rational/ClearCase/var/log (I usually mount my views from
Unix)
-----Original Message-----
From: RobertO [mailto:
[hidden email]]
Sent: Friday, November 06, 2009 7:46 AM
To:
[hidden email]
Subject: ClearCase view becomes corrupt?
Hi
I'm not very familiar with clearcase and how it work, but we are using
it on
our project. I've set up Hudson to poll and retrieve data from our
clearcase
server. Every now and then our builds break because clearcase is
complaining
about not being able to delete view.
We will then have to rename the project view, and we ends up having the
build start all over again (when it comes to track trends etc).
Any idea how we can prevent this behavior from clearcase? Or is this an
issue related to the Hudson clearcase-plugin? (We do not use the update
option on our builds.)
This is the error we retrieve:
[Hudson_REPORTS_MY_PROJECT] $ cleartool pwv -root
d:\Hudson\jobs\REPORTS_MY_PROJECT\workspace\Hudson_REPORTS_MY_PROJECT
[workspace] $ cleartool rmview -force Hudson_REPORTS_MY_PROJECT
cleartool: Error: Operation "view_get_prop(VIEW_PROP_WEBVIEW)" failed:
view
storage directory or control files unavailable --
additional information may be present in the view server host's view
log.
cleartool: Warning: Unable to open snapshot view
"d:\Hudson\jobs\REPORTS_MY_PROJECT\workspace\Hudson_REPORTS_MY_PROJECT".
cleartool: Error: Unable to remove view "Hudson_REPORTS_MY_PROJECT".
FATAL: UCM ClearCase failed. exit code=1
FATAL: cleartool did not return the expected exit code. Command
line="rmview
-force Hudson_REPORTS_MY_PROJECT", actual exit code=1
java.io.IOException: cleartool did not return the expected exit code.
Command line="rmview -force Hudson_REPORTS_MY_PROJECT", actual exit
code=1
at
hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLaun
cher.java:100)
at
hudson.plugins.clearcase.ClearToolSnapshot.rmview(ClearToolSnapshot.java
:98)
at
hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSn
apshotCheckoutAction.java:86)
at
hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCase
Scm.java:369)
at hudson.model.AbstractProject.checkout(AbstractProject.java:978)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:42
1)
at
hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:370)
at hudson.model.Run.run(Run.java:1120)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)
--
View this message in context:
http://n4.nabble.com/ClearCase-view-becomes-corrupt-tp547745p547745.htmlSent from the Hudson users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]