Continuum freezes after checkout

View: New views
4 Messages — Rating Filter:   Alert me  

Continuum freezes after checkout

by Henrik Brautaset Aronsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

We have a maven2 project, with several sub projects.   I installed
Continuum 1.1 on a Debian Etch machine  (cvs v1.12.13, mvn v2.0.8, java
v1.5.0_10).

I added the Maven our projects using "Add Maven 2.x project" with a
file:/// URL.  All the projects are listed as they should.  As Continuum
starts working on the root project, it just hangs at the checkout (with
the checkout icon next to the project).  I cannot build another project,
and I cannot cancel the build.


INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,667
[pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action checkout-project
INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,686
[pool-1-thread-1] INFO
org.apache.maven.continuum.scm.ContinuumScm:default  - Checking out
project: 'Entire Project source', id: '31' to
'/usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/31'.
INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,712
[pool-1-thread-1] INFO  org.apache.maven.scm.manager.ScmManager:default
 - Executing: /bin/sh -c "cd
/usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory
&& cvs -z3 -f -d :ext:cc@myhost:/home/project/cvs -q checkout -d 31 project"
INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,712
[pool-1-thread-1] INFO  org.apache.maven.scm.manager.ScmManager:default
 - Working directory:
/usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory
INFO   | jvm 1    | 2008/01/03 10:19:41 | #65188 warning C/S protocol
error (section 5.10). It's regurarly observed with cvs 1.12.xx servers.
INFO   | jvm 1    | 2008/01/03 10:19:41 |   unexpected pathname=project/
missing root prefix=/home/project/cvs
INFO   | jvm 1    | 2008/01/03 10:19:41 |   relaxing, but who knows all
consequences....
[...]
INFO   | jvm 1    | 2008/01/03 11:00:00 | 2008-01-03 11:00:00,016
[defaultScheduler_Worker-12] INFO
org.apache.maven.continuum.build.settings.SchedulesActivator:default  -
>>>>>>>>>>>>>>>>>>>>> Executing build job (Every five minutes)...
INFO   | jvm 1    | 2008/01/03 11:00:00 | 2008-01-03 11:00:00,139
[defaultScheduler_Worker-12] INFO
org.apache.maven.continuum.Continuum:default  - Project 'Entire Project
Source' already being built.


The files are actually checked out into the .../working-directory/31
folder.  If I try issuing the cvs checkout command above manually, it
checks out just fine, without any errors.

This behaviour is identical on another linux box. On my Macbook,
however, continuum builds all projects as it should (cvs v1.12.13, mvn
v2.0.7, java v1.5.0_13).

I added this as an issue as well:
http://jira.codehaus.org/browse/CONTINUUM-1615

Best regards,
Henrik

Re: Continuum freezes after checkout

by olamy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Can you try using native cvs [1] ?

--
Olivier
[1] http://maven.apache.org/continuum/faqs.html#the-embedded-java-CVS-client-doesn-t-work-for-me-what-is-the-workaround

2008/1/3, Henrik Brautaset Aronsen <henrik+continuum@...>:

> Hi.
>
> We have a maven2 project, with several sub projects.   I installed
> Continuum 1.1 on a Debian Etch machine  (cvs v1.12.13, mvn v2.0.8, java
> v1.5.0_10).
>
> I added the Maven our projects using "Add Maven 2.x project" with a
> file:/// URL.  All the projects are listed as they should.  As Continuum
> starts working on the root project, it just hangs at the checkout (with
> the checkout icon next to the project).  I cannot build another project,
> and I cannot cancel the build.
>
>
> INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,667
> [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:default  -
> Performing action checkout-project
> INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,686
> [pool-1-thread-1] INFO
> org.apache.maven.continuum.scm.ContinuumScm:default  - Checking out
> project: 'Entire Project source', id: '31' to
> '/usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory/31'.
> INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,712
> [pool-1-thread-1] INFO  org.apache.maven.scm.manager.ScmManager:default
>  - Executing: /bin/sh -c "cd
> /usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory
> && cvs -z3 -f -d :ext:cc@myhost:/home/project/cvs -q checkout -d 31 project"
> INFO   | jvm 1    | 2008/01/03 10:19:40 | 2008-01-03 10:19:40,712
> [pool-1-thread-1] INFO  org.apache.maven.scm.manager.ScmManager:default
>  - Working directory:
> /usr/local/continuum-1.1/apps/continuum/webapp/WEB-INF/working-directory
> INFO   | jvm 1    | 2008/01/03 10:19:41 | #65188 warning C/S protocol
> error (section 5.10). It's regurarly observed with cvs 1.12.xx servers.
> INFO   | jvm 1    | 2008/01/03 10:19:41 |   unexpected pathname=project/
> missing root prefix=/home/project/cvs
> INFO   | jvm 1    | 2008/01/03 10:19:41 |   relaxing, but who knows all
> consequences....
> [...]
> INFO   | jvm 1    | 2008/01/03 11:00:00 | 2008-01-03 11:00:00,016
> [defaultScheduler_Worker-12] INFO
> org.apache.maven.continuum.build.settings.SchedulesActivator:default  -
> >>>>>>>>>>>>>>>>>>>>> Executing build job (Every five minutes)...
> INFO   | jvm 1    | 2008/01/03 11:00:00 | 2008-01-03 11:00:00,139
> [defaultScheduler_Worker-12] INFO
> org.apache.maven.continuum.Continuum:default  - Project 'Entire Project
> Source' already being built.
>
>
> The files are actually checked out into the .../working-directory/31
> folder.  If I try issuing the cvs checkout command above manually, it
> checks out just fine, without any errors.
>
> This behaviour is identical on another linux box. On my Macbook,
> however, continuum builds all projects as it should (cvs v1.12.13, mvn
> v2.0.7, java v1.5.0_13).
>
> I added this as an issue as well:
> http://jira.codehaus.org/browse/CONTINUUM-1615
>
> Best regards,
> Henrik
>

Re: Continuum freezes after checkout

by Henrik Brautaset Aronsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Olivier Lamy wrote:
> Can you try using native cvs [1] ?
>
> --
> Olivier
> [1] http://maven.apache.org/continuum/faqs.html#the-embedded-java-CVS-client-doesn-t-work-for-me-what-is-the-workaround

That worked, thanks!

(I guess I shouldn't mention that we switched to hudson in the mean time.)

Henrik


Re: Continuum freezes after checkout

by emperor_black :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having the same problem with build hanging at cvs checkout/update.  I found that I had cvs 1.11 installed and uninstalled it.  Now, where can I find the native cvs 1.0 mentioned in the mail?  Wherever I check, I can only find cvs version 1.11.

thanks
sam

Henrik Brautaset Aronsen-2 wrote:
Olivier Lamy wrote:
> Can you try using native cvs [1] ?
>
> --
> Olivier
> [1] http://maven.apache.org/continuum/faqs.html#the-embedded-java-CVS-client-doesn-t-work-for-me-what-is-the-workaround

That worked, thanks!

(I guess I shouldn't mention that we switched to hudson in the mean time.)

Henrik