You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Carlo Bonamico <c....@set-network.com> on 2006/01/17 16:37:24 UTC
:ext: CVS connection method
Hi,
I am trying to configure continuum to import a Maven 1.x project, but
Continuum fails to checkout the sources from CVS using the:ext: method.
In the project.xml, I specify this SCM URL
scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
Please note that continuum is the username under which the continuum
service runs.
The error is:
jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
ContinuumScm - Checking out project: 'SampleTestCVS',
id: '47' to '/srv/build/continuum/apps/continuum/working-directory/47'.
jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
ScmManager - Working directory:
/srv/build/continuum/apps/continuum/working-directory/47
jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
ScmManager - Command line: cvs -f -d
:ext:continuum@server:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS
jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
ContinuumScm - Error while checking out the code for
project: 'SampleTestCVS', id: '47' to
'/srv/build/continuum/apps/continuum/working-directory/47'.
jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
ContinuumScm - Command output: cvs checkout: in
directory 47:
jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
file or directory
jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>: No
such file or directory
But if I launch the same cvs command line
cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
SANDBOX/sampleTestCVS
manually, the checkout works fine.
Thank you in advance for any suggestions..
Carlo
p.s.
I have configured the server for public key authentication, and if I go
to the continuum machine console and perform an
ssh server
I can log into the server without being asked a password.
Re: :ext: CVS connection method
Posted by Emmanuel Venisse <em...@venisse.net>.
You're right, we create the directory before to run the checkout. You're the first one that have a
problem with this.
Please file an issue, i'll look at it later.
Emmanuel
Carlo Bonamico a écrit :
> Emmanuel Venisse wrote:
>
>> No, I don't know what's happen.
>>
>> Do you run the command line in the same directory that continuum do
>> it: /srv/build/continuum/apps/continuum/working-directory/47
>>
>> Can you remove all directories in
>> /srv/build/continuum/apps/continuum/working-directory and retry to
>> checkout with continuum? Generally your error appear when the output
>> directory already exist.
>
> I just tried that. I deleted everything in working-directory and
> requested a build with "build now" on an existing project, and it fails
> with:
>
> Provider message: The cvs command failed.
> Command output:
> -------------------------------------------------------------------------------
>
> cvs checkout: in directory 52:
> cvs checkout: cannot open CVS/Entries for reading: No such file or
> directory
> cvs [checkout aborted]: cannot write : No such file or directory
>
> -------------------------------------------------------------------------------
>
>
> The full continuum console log says:
>
> jvm 1 | 2006-01-25 15:19:20,013 [SocketListener0-1] INFO
> ContinuumStore:jdo - project :52
> jvm 1 | 2006-01-25 15:19:20,018 [SocketListener0-1] INFO
> ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62
> jvm 1 | 2006-01-25 15:19:20,018 [SocketListener0-1] INFO
> ContinuumStore:jdo - getDefaultBuildDefinition : 5ms
> jvm 1 | 2006-01-25 15:19:20,068 [SocketListener0-1] INFO
> Continuum - Enqueuing 'SampleTestCVS' (Build
> definition id=62).
> jvm 1 | 2006-01-25 15:19:20,349 [Thread-1] INFO
> ContinuumScm - Checking out project: 'SampleTestCVS',
> id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'.
> jvm 1 | 2006-01-25 15:19:20,350 [Thread-1] DEBUG
> ScmManager - Working directory:
> /srv/build/continuum/apps/continuum/working-directory/52
> jvm 1 | 2006-01-25 15:19:20,350 [Thread-1] DEBUG
> ScmManager - Command line: cvs -f -d
> :ext:continuum@vts2server:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS
> jvm 1 | 2006-01-25 15:19:20,419 [SocketListener0-1] INFO
> ContinuumStore:jdo - project :52
> jvm 1 | 2006-01-25 15:19:20,426 [SocketListener0-1] INFO
> ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62
> jvm 1 | 2006-01-25 15:19:20,426 [SocketListener0-1] INFO
> ContinuumStore:jdo - getDefaultBuildDefinition : 6ms
> jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
> ContinuumScm - Error while checking out the code for
> project: 'SampleTestCVS', id: '52' to
> '/srv/build/continuum/apps/continuum/working-directory/52'.
> jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
> ContinuumScm - Command output: cvs checkout: in
> directory 52:
> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
> file or directory
> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>: No
> such file or directory
> jvm 1 |
> jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
> ContinuumScm - Provider message: The cvs command failed.
> jvm 1 | 2006-01-25 15:19:21,426 [Thread-1] INFO
> Notifier:mail - No mail recipients for 'SampleTestCVS'.
>
> The "cannot open CVS/Entries" error could also be related to a failed
> authentication.
>
> The same happens if I add a new project.
>
> My SCM url is a cvs:ext: url with a ssh protocol, configured with
> CVS_RSH="ssh" in /etc/profiles
>
>
> However, I just made this test:
>
> I went on the command line in the folder
> /srv/build/continuum/apps/continuum/working-directory
>
> if I delete the build directory (which is 52 in my case)
>
>
> working-directory> rm -rf 52
> working-directory> cvs -f -d :ext:continuum@server:/home/cvs -q checkout
> -d 52 SANDBOX/sampleTestCVS
>
> cvs correctly creates the 52 directory and does the checkout
>
> U 52/.classpath
> U 52/.cvsignore
> U 52/.project
> ...
> U 52/xdocs/navigation.xml
>
> If I run the same command again, it works.
>
> BUT, if I delete only the *content* of the 52 directory, and perform a
> cvs checkout, it fails, with the same CVS/Entries error as above:
>
> working-directory> rm -rf 52/*
> working-directory> cvs -f -d :ext:continuum@vts2server:/home/cvs -q
> checkout -d 52 SANDBOX/sampleTestCVS
> cvs checkout: in directory 52:
> cvs checkout: cannot open CVS/Entries for reading: No such file or
> directory
> cvs [checkout aborted]: cannot write <CVS/Template file>: No such file
> or directory
>
> So might the problem be that the directory 52 is already created by
> continuum before doing the checkout?
>
> In fact if I go to the working directory and delete all subdirectories,
> then request a build with Build Now in continuum, the build fails with
> the CVS/Entries error, while if I delete the working directory content
> and perform a cvs checkout with the same command line it works.
>
> I hope that this is useful to you! Anyway, thank you for your prompt
> support!
> Carlo
>
>
>
>
>
>
>
>
Re: :ext: CVS connection method
Posted by Carlo Bonamico <c....@set-network.com>.
Emmanuel Venisse wrote:
> No, I don't know what's happen.
>
> Do you run the command line in the same directory that continuum do
> it: /srv/build/continuum/apps/continuum/working-directory/47
>
> Can you remove all directories in
> /srv/build/continuum/apps/continuum/working-directory and retry to
> checkout with continuum? Generally your error appear when the output
> directory already exist.
I just tried that. I deleted everything in working-directory and
requested a build with "build now" on an existing project, and it fails
with:
Provider message: The cvs command failed.
Command output:
-------------------------------------------------------------------------------
cvs checkout: in directory 52:
cvs checkout: cannot open CVS/Entries for reading: No such file or
directory
cvs [checkout aborted]: cannot write : No such file or directory
-------------------------------------------------------------------------------
The full continuum console log says:
jvm 1 | 2006-01-25 15:19:20,013 [SocketListener0-1] INFO
ContinuumStore:jdo - project :52
jvm 1 | 2006-01-25 15:19:20,018 [SocketListener0-1] INFO
ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62
jvm 1 | 2006-01-25 15:19:20,018 [SocketListener0-1] INFO
ContinuumStore:jdo - getDefaultBuildDefinition : 5ms
jvm 1 | 2006-01-25 15:19:20,068 [SocketListener0-1] INFO
Continuum - Enqueuing 'SampleTestCVS' (Build
definition id=62).
jvm 1 | 2006-01-25 15:19:20,349 [Thread-1] INFO
ContinuumScm - Checking out project: 'SampleTestCVS',
id: '52' to '/srv/build/continuum/apps/continuum/working-directory/52'.
jvm 1 | 2006-01-25 15:19:20,350 [Thread-1] DEBUG
ScmManager - Working directory:
/srv/build/continuum/apps/continuum/working-directory/52
jvm 1 | 2006-01-25 15:19:20,350 [Thread-1] DEBUG
ScmManager - Command line: cvs -f -d
:ext:continuum@vts2server:/home/cvs -q checkout -d 52 SANDBOX/sampleTestCVS
jvm 1 | 2006-01-25 15:19:20,419 [SocketListener0-1] INFO
ContinuumStore:jdo - project :52
jvm 1 | 2006-01-25 15:19:20,426 [SocketListener0-1] INFO
ContinuumStore:jdo - nb bd for project 52 : 1 - bd id : 62
jvm 1 | 2006-01-25 15:19:20,426 [SocketListener0-1] INFO
ContinuumStore:jdo - getDefaultBuildDefinition : 6ms
jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
ContinuumScm - Error while checking out the code for
project: 'SampleTestCVS', id: '52' to
'/srv/build/continuum/apps/continuum/working-directory/52'.
jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
ContinuumScm - Command output: cvs checkout: in
directory 52:
jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
file or directory
jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>: No
such file or directory
jvm 1 |
jvm 1 | 2006-01-25 15:19:20,611 [Thread-1] WARN
ContinuumScm - Provider message: The cvs command failed.
jvm 1 | 2006-01-25 15:19:21,426 [Thread-1] INFO
Notifier:mail - No mail recipients for 'SampleTestCVS'.
The "cannot open CVS/Entries" error could also be related to a failed
authentication.
The same happens if I add a new project.
My SCM url is a cvs:ext: url with a ssh protocol, configured with
CVS_RSH="ssh" in /etc/profiles
However, I just made this test:
I went on the command line in the folder
/srv/build/continuum/apps/continuum/working-directory
if I delete the build directory (which is 52 in my case)
working-directory> rm -rf 52
working-directory> cvs -f -d :ext:continuum@server:/home/cvs -q checkout
-d 52 SANDBOX/sampleTestCVS
cvs correctly creates the 52 directory and does the checkout
U 52/.classpath
U 52/.cvsignore
U 52/.project
...
U 52/xdocs/navigation.xml
If I run the same command again, it works.
BUT, if I delete only the *content* of the 52 directory, and perform a
cvs checkout, it fails, with the same CVS/Entries error as above:
working-directory> rm -rf 52/*
working-directory> cvs -f -d :ext:continuum@vts2server:/home/cvs -q
checkout -d 52 SANDBOX/sampleTestCVS
cvs checkout: in directory 52:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot write <CVS/Template file>: No such file
or directory
So might the problem be that the directory 52 is already created by
continuum before doing the checkout?
In fact if I go to the working directory and delete all subdirectories,
then request a build with Build Now in continuum, the build fails with
the CVS/Entries error, while if I delete the working directory content
and perform a cvs checkout with the same command line it works.
I hope that this is useful to you! Anyway, thank you for your prompt
support!
Carlo
Re: :ext: CVS connection method
Posted by Emmanuel Venisse <em...@venisse.net>.
No, I don't know what's happen.
Do you run the command line in the same directory that continuum do it:
/srv/build/continuum/apps/continuum/working-directory/47
Can you remove all directories in /srv/build/continuum/apps/continuum/working-directory and retry to
checkout with continuum? Generally your error appear when the output directory already exist.
Emmanuel
Carlo Bonamico a écrit :
> Hi Emmanuel, all...
> do you have any news about this issue? I made a few other tests but
> without result. Do I need to file a bug in Jira?
> Thanks
> Carlo
>
>
>
> Carlo Bonamico wrote:
>
>> Hi Emmanuel,
>> first of all, thanks for the prompt support!
>> Emmanuel Venisse wrote:
>>
>>> What is your version of Continuum?
>>
>> 1.0.2
>>
>>> Where is defined your CVS_RSH=ssh env var?
>>
>> I am using
>>
>> OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
>>
>> it is set in the configuration file
>>
>> /etc/profile.d/cvs.sh
>>
>> for all users of the Suse 9.3 server.
>>
>> If it can be useful to you, I get the same error if I manually launch
>> continuum with plexus.sh
>>
>> Thanks again!
>> Carlo
>>
>>>
>>> Emmanuel
>>>
>>> Carlo Bonamico a écrit :
>>>
>>>> Emmanuel Venisse wrote:
>>>>
>>>>> Do you run continuum and cvs command line with the same user?
>>>>>
>>>> yes.
>>>>
>>>> I launched continuum in console mode from the user continuum shell,
>>>> and it does not work.
>>>> Then as soon as I see the error, I copy the CVS command line from
>>>> the error log and paste it on the same shell manually, and it works.
>>>>
>>>> Thanks for your help!
>>>> Carlo
>>>>
>>>>
>>>>> Emmanuel
>>>>>
>>>>> Carlo Bonamico a écrit :
>>>>>
>>>>>> Hi,
>>>>>> I am trying to configure continuum to import a Maven 1.x project,
>>>>>> but Continuum fails to checkout the sources from CVS using
>>>>>> the:ext: method.
>>>>>>
>>>>>> In the project.xml, I specify this SCM URL
>>>>>>
>>>>>> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>>>>>>
>>>>>> Please note that continuum is the username under which the
>>>>>> continuum service runs.
>>>>>>
>>>>>> The error is:
>>>>>>
>>>>>>
>>>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
>>>>>> ContinuumScm - Checking out project:
>>>>>> 'SampleTestCVS', id: '47' to
>>>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
>>>>>> ScmManager - Working directory:
>>>>>> /srv/build/continuum/apps/continuum/working-directory/47
>>>>>> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
>>>>>> ScmManager - Command line: cvs -f -d
>>>>>> :ext:continuum@server:/home/cvs -q checkout -d 47
>>>>>> SANDBOX/sampleTestCVS
>>>>>> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
>>>>>> ContinuumScm - Error while checking out the code
>>>>>> for project: 'SampleTestCVS', id: '47' to
>>>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>>>> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
>>>>>> ContinuumScm - Command output: cvs checkout: in
>>>>>> directory 47:
>>>>>> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No
>>>>>> such file or directory
>>>>>> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template
>>>>>> file>: No such file or directory
>>>>>>
>>>>>>
>>>>>>
>>>>>> But if I launch the same cvs command line
>>>>>>
>>>>>> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
>>>>>> SANDBOX/sampleTestCVS
>>>>>>
>>>>>> manually, the checkout works fine.
>>>>>>
>>>>>>
>>>>>> Thank you in advance for any suggestions..
>>>>>>
>>>>>> Carlo
>>>>>>
>>>>>> p.s.
>>>>>> I have configured the server for public key authentication, and if
>>>>>> I go to the continuum machine console and perform an
>>>>>>
>>>>>> ssh server
>>>>>>
>>>>>> I can log into the server without being asked a password.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>
>
Re: :ext: CVS connection method
Posted by Carlo Bonamico <c....@set-network.com>.
Hi Emmanuel, all...
do you have any news about this issue? I made a few other tests but
without result. Do I need to file a bug in Jira?
Thanks
Carlo
Carlo Bonamico wrote:
> Hi Emmanuel,
> first of all, thanks for the prompt support!
> Emmanuel Venisse wrote:
>> What is your version of Continuum?
> 1.0.2
>> Where is defined your CVS_RSH=ssh env var?
> I am using
>
> OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
>
> it is set in the configuration file
>
> /etc/profile.d/cvs.sh
>
> for all users of the Suse 9.3 server.
>
> If it can be useful to you, I get the same error if I manually launch
> continuum with plexus.sh
>
> Thanks again!
> Carlo
>
>>
>> Emmanuel
>>
>> Carlo Bonamico a écrit :
>>> Emmanuel Venisse wrote:
>>>
>>>> Do you run continuum and cvs command line with the same user?
>>>>
>>> yes.
>>>
>>> I launched continuum in console mode from the user continuum shell,
>>> and it does not work.
>>> Then as soon as I see the error, I copy the CVS command line from
>>> the error log and paste it on the same shell manually, and it works.
>>>
>>> Thanks for your help!
>>> Carlo
>>>
>>>
>>>> Emmanuel
>>>>
>>>> Carlo Bonamico a écrit :
>>>>
>>>>> Hi,
>>>>> I am trying to configure continuum to import a Maven 1.x project,
>>>>> but Continuum fails to checkout the sources from CVS using
>>>>> the:ext: method.
>>>>>
>>>>> In the project.xml, I specify this SCM URL
>>>>>
>>>>> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>>>>>
>>>>> Please note that continuum is the username under which the
>>>>> continuum service runs.
>>>>>
>>>>> The error is:
>>>>>
>>>>>
>>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
>>>>> ContinuumScm - Checking out project:
>>>>> 'SampleTestCVS', id: '47' to
>>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
>>>>> ScmManager - Working directory:
>>>>> /srv/build/continuum/apps/continuum/working-directory/47
>>>>> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
>>>>> ScmManager - Command line: cvs -f -d
>>>>> :ext:continuum@server:/home/cvs -q checkout -d 47
>>>>> SANDBOX/sampleTestCVS
>>>>> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
>>>>> ContinuumScm - Error while checking out the code
>>>>> for project: 'SampleTestCVS', id: '47' to
>>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>>> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
>>>>> ContinuumScm - Command output: cvs checkout: in
>>>>> directory 47:
>>>>> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No
>>>>> such file or directory
>>>>> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template
>>>>> file>: No such file or directory
>>>>>
>>>>>
>>>>>
>>>>> But if I launch the same cvs command line
>>>>>
>>>>> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
>>>>> SANDBOX/sampleTestCVS
>>>>>
>>>>> manually, the checkout works fine.
>>>>>
>>>>>
>>>>> Thank you in advance for any suggestions..
>>>>>
>>>>> Carlo
>>>>>
>>>>> p.s.
>>>>> I have configured the server for public key authentication, and if
>>>>> I go to the continuum machine console and perform an
>>>>>
>>>>> ssh server
>>>>>
>>>>> I can log into the server without being asked a password.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
Re: :ext: CVS connection method
Posted by Carlo Bonamico <c....@set-network.com>.
Hi Emmanuel,
first of all, thanks for the prompt support!
Emmanuel Venisse wrote:
> What is your version of Continuum?
1.0.2
> Where is defined your CVS_RSH=ssh env var?
I am using
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
it is set in the configuration file
/etc/profile.d/cvs.sh
for all users of the Suse 9.3 server.
If it can be useful to you, I get the same error if I manually launch
continuum with plexus.sh
Thanks again!
Carlo
>
> Emmanuel
>
> Carlo Bonamico a écrit :
>> Emmanuel Venisse wrote:
>>
>>> Do you run continuum and cvs command line with the same user?
>>>
>> yes.
>>
>> I launched continuum in console mode from the user continuum shell,
>> and it does not work.
>> Then as soon as I see the error, I copy the CVS command line from the
>> error log and paste it on the same shell manually, and it works.
>>
>> Thanks for your help!
>> Carlo
>>
>>
>>> Emmanuel
>>>
>>> Carlo Bonamico a écrit :
>>>
>>>> Hi,
>>>> I am trying to configure continuum to import a Maven 1.x project,
>>>> but Continuum fails to checkout the sources from CVS using the:ext:
>>>> method.
>>>>
>>>> In the project.xml, I specify this SCM URL
>>>>
>>>> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>>>>
>>>> Please note that continuum is the username under which the
>>>> continuum service runs.
>>>>
>>>> The error is:
>>>>
>>>>
>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
>>>> ContinuumScm - Checking out project:
>>>> 'SampleTestCVS', id: '47' to
>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
>>>> ScmManager - Working directory:
>>>> /srv/build/continuum/apps/continuum/working-directory/47
>>>> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
>>>> ScmManager - Command line: cvs -f -d
>>>> :ext:continuum@server:/home/cvs -q checkout -d 47
>>>> SANDBOX/sampleTestCVS
>>>> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
>>>> ContinuumScm - Error while checking out the code
>>>> for project: 'SampleTestCVS', id: '47' to
>>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>>> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
>>>> ContinuumScm - Command output: cvs checkout: in
>>>> directory 47:
>>>> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No
>>>> such file or directory
>>>> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template
>>>> file>: No such file or directory
>>>>
>>>>
>>>>
>>>> But if I launch the same cvs command line
>>>>
>>>> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
>>>> SANDBOX/sampleTestCVS
>>>>
>>>> manually, the checkout works fine.
>>>>
>>>>
>>>> Thank you in advance for any suggestions..
>>>>
>>>> Carlo
>>>>
>>>> p.s.
>>>> I have configured the server for public key authentication, and if
>>>> I go to the continuum machine console and perform an
>>>>
>>>> ssh server
>>>>
>>>> I can log into the server without being asked a password.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>
>
Re: :ext: CVS connection method
Posted by Emmanuel Venisse <em...@venisse.net>.
What is your version of Continuum?
Where is defined your CVS_RSH=ssh env var?
Emmanuel
Carlo Bonamico a écrit :
> Emmanuel Venisse wrote:
>
>> Do you run continuum and cvs command line with the same user?
>>
> yes.
>
> I launched continuum in console mode from the user continuum shell, and
> it does not work.
> Then as soon as I see the error, I copy the CVS command line from the
> error log and paste it on the same shell manually, and it works.
>
> Thanks for your help!
> Carlo
>
>
>> Emmanuel
>>
>> Carlo Bonamico a écrit :
>>
>>> Hi,
>>> I am trying to configure continuum to import a Maven 1.x project, but
>>> Continuum fails to checkout the sources from CVS using the:ext: method.
>>>
>>> In the project.xml, I specify this SCM URL
>>>
>>> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>>>
>>> Please note that continuum is the username under which the continuum
>>> service runs.
>>>
>>> The error is:
>>>
>>>
>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
>>> ContinuumScm - Checking out project:
>>> 'SampleTestCVS', id: '47' to
>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
>>> ScmManager - Working directory:
>>> /srv/build/continuum/apps/continuum/working-directory/47
>>> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
>>> ScmManager - Command line: cvs -f -d
>>> :ext:continuum@server:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS
>>> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
>>> ContinuumScm - Error while checking out the code
>>> for project: 'SampleTestCVS', id: '47' to
>>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>>> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
>>> ContinuumScm - Command output: cvs checkout: in
>>> directory 47:
>>> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
>>> file or directory
>>> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>:
>>> No such file or directory
>>>
>>>
>>>
>>> But if I launch the same cvs command line
>>>
>>> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
>>> SANDBOX/sampleTestCVS
>>>
>>> manually, the checkout works fine.
>>>
>>>
>>> Thank you in advance for any suggestions..
>>>
>>> Carlo
>>>
>>> p.s.
>>> I have configured the server for public key authentication, and if I
>>> go to the continuum machine console and perform an
>>>
>>> ssh server
>>>
>>> I can log into the server without being asked a password.
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
Re: :ext: CVS connection method
Posted by Carlo Bonamico <c....@set-network.com>.
Emmanuel Venisse wrote:
> Do you run continuum and cvs command line with the same user?
>
yes.
I launched continuum in console mode from the user continuum shell, and
it does not work.
Then as soon as I see the error, I copy the CVS command line from the
error log and paste it on the same shell manually, and it works.
Thanks for your help!
Carlo
> Emmanuel
>
> Carlo Bonamico a écrit :
>> Hi,
>> I am trying to configure continuum to import a Maven 1.x project, but
>> Continuum fails to checkout the sources from CVS using the:ext: method.
>>
>> In the project.xml, I specify this SCM URL
>>
>> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>>
>> Please note that continuum is the username under which the continuum
>> service runs.
>>
>> The error is:
>>
>>
>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
>> ContinuumScm - Checking out project:
>> 'SampleTestCVS', id: '47' to
>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
>> ScmManager - Working directory:
>> /srv/build/continuum/apps/continuum/working-directory/47
>> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
>> ScmManager - Command line: cvs -f -d
>> :ext:continuum@server:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS
>> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
>> ContinuumScm - Error while checking out the code
>> for project: 'SampleTestCVS', id: '47' to
>> '/srv/build/continuum/apps/continuum/working-directory/47'.
>> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
>> ContinuumScm - Command output: cvs checkout: in
>> directory 47:
>> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
>> file or directory
>> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>:
>> No such file or directory
>>
>>
>>
>> But if I launch the same cvs command line
>>
>> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
>> SANDBOX/sampleTestCVS
>>
>> manually, the checkout works fine.
>>
>>
>> Thank you in advance for any suggestions..
>>
>> Carlo
>>
>> p.s.
>> I have configured the server for public key authentication, and if I
>> go to the continuum machine console and perform an
>>
>> ssh server
>>
>> I can log into the server without being asked a password.
>>
>>
>>
>>
>
>
Re: :ext: CVS connection method
Posted by Emmanuel Venisse <em...@venisse.net>.
Do you run continuum and cvs command line with the same user?
Emmanuel
Carlo Bonamico a écrit :
> Hi,
> I am trying to configure continuum to import a Maven 1.x project, but
> Continuum fails to checkout the sources from CVS using the:ext: method.
>
> In the project.xml, I specify this SCM URL
>
> scm:cvs:ext:continuum@server:/home/cvs:SANDBOX/sampleTestCVS
>
> Please note that continuum is the username under which the continuum
> service runs.
>
> The error is:
>
>
> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] INFO
> ContinuumScm - Checking out project: 'SampleTestCVS',
> id: '47' to '/srv/build/continuum/apps/continuum/working-directory/47'.
> jvm 1 | 2006-01-17 16:41:41,436 [Thread-1] DEBUG
> ScmManager - Working directory:
> /srv/build/continuum/apps/continuum/working-directory/47
> jvm 1 | 2006-01-17 16:41:41,437 [Thread-1] DEBUG
> ScmManager - Command line: cvs -f -d
> :ext:continuum@server:/home/cvs -q checkout -d 47 SANDBOX/sampleTestCVS
> jvm 1 | 2006-01-17 16:41:41,688 [Thread-1] WARN
> ContinuumScm - Error while checking out the code for
> project: 'SampleTestCVS', id: '47' to
> '/srv/build/continuum/apps/continuum/working-directory/47'.
> jvm 1 | 2006-01-17 16:41:41,689 [Thread-1] WARN
> ContinuumScm - Command output: cvs checkout: in
> directory 47:
> jvm 1 | cvs checkout: cannot open CVS/Entries for reading: No such
> file or directory
> jvm 1 | cvs [checkout aborted]: cannot write <CVS/Template file>: No
> such file or directory
>
>
>
> But if I launch the same cvs command line
>
> cvs -f -d :ext:continuum@server:/home/cvs -q checkout -d 47
> SANDBOX/sampleTestCVS
>
> manually, the checkout works fine.
>
>
> Thank you in advance for any suggestions..
>
> Carlo
>
> p.s.
> I have configured the server for public key authentication, and if I go
> to the continuum machine console and perform an
>
> ssh server
>
> I can log into the server without being asked a password.
>
>
>
>