continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vinc...@massol.net>
Subject FW: Using continuum for building cargo?
Date Sun, 23 Jul 2006 08:10:34 GMT
Sure, I'm the first one to tell people who email me this :-) I thought this
was more an infra question for codehaus/mergere.

So, anyone on the list has access to the Codehaus continuum machine? Or any
other idea?

Thanks
-Vincent

-----Original Message-----
From: Brett Porter [mailto:brett@apache.org] 
Sent: dimanche 23 juillet 2006 03:55
To: vincent@massol.net
Cc: 'Emmanuel Venisse'
Subject: Re: Using continuum for building cargo?

could we take this over to the users@ or dev@ list? We're trying to 
build a bigger community around Continuum, and answering each others 
questions is a part of that. Not to metnion having a public archive of 
the problem in case others encounter similar circumstances...

Thanks,
Brett

On 23/07/2006 6:06 AM, Vincent Massol wrote:
> Hi Brett,
> 
>> -----Original Message-----
>> From: Brett Porter [mailto:brett@apache.org]
>> Sent: vendredi 7 juillet 2006 08:13
>> To: Vincent Massol
>> Cc: 'Emmanuel Venisse'
>> Subject: Re: Using continuum for building cargo?
>>
>> It runs as nobody, and is successfully creating the directories:
>>
>> drwxr-xr-x  10 nobody    nobody     4096 Jul  6 03:04 cargo
>>
>> (which contains an empty installs directory).
>>
>> There are also a bunch of other cargo temp files - missing some
>> deleteOnExit()s perhaps?
> 
> I've progressed a bit but not much. I've fixed this error but I cheated as
I
> removed the need for creating a tmp file. However it's not failing in
> another module which also creates a tmp file (see
http://tinyurl.com/q3jra).
> 
> It's really as if there were some issues creating files. I don't have
access
> to the machine. I don't think this has to do with the fact the machine is
on
> a *nix os as there are some other cargo committers on *nix and they've
never
> reported a problem.
> 
> I've checked the code and it calls a mkdirs() which is returning false so
we
> can't know the real reason. The JDK code for mkdirs() is hiding the
> underlying IOException error:
> 
>     public boolean mkdirs() {
> 	if (exists()) {
> 	    return false;
> 	}
> 	if (mkdir()) {
>  	    return true;
>  	}
>         File canonFile = null;
>         try {
>             canonFile = getCanonicalFile();
>         } catch (IOException e) {
>             return false;
>         }
> 	String parent = canonFile.getParent();
>         return (parent != null) && 
>                (new File(parent, fs.prefixLength(parent)).mkdirs() &&
>                                     canonFile.mkdir());
>     }
> 
> Thus I'm pretty sure there must be some kind of permissions issues.
> 
> Any idea on how to debug this?
> 
> Thanks a lot
> -Vincent
> 
>> On 7/07/2006 1:11 AM, Vincent Massol wrote:
>>> Hi Brett,
>>>
>>> I've added cargo projects but the build is failing and the reason seems
>> to
>>> be because the user under which continuum runs does not have the right
>> to
>>> access the /tmp directory. Could that be possible?
>>>
>>> Cargo requires the usage of a tmp directory (for storing the downloaded
>>> container installations for example. This directory must be persistent
>>> across builds as otherwise containers distributions will be downloaded
>> every
>>> time which will take forever). Cargo uses ${java.io.tmpdir} as the tmp
>> dir.
>>> I don't have shell access on this machine. Do you think you could verify
>>> /tmp permissions on this machine?
>>>
>>> Thanks a lot
>>> -Vincent
>>>
>>>> -----Original Message-----
>>>> From: Vincent Massol [mailto:vincent@massol.net]
>>>> Sent: mercredi 5 juillet 2006 08:50
>>>> To: 'Brett Porter'
>>>> Subject: RE: Using continuum for building cargo?
>>>>
>>>> Thanks Brett.
>>>> -Vincent
>>>>
>>>>> -----Original Message-----
>>>>> From: Brett Porter [mailto:brett@apache.org]
>>>>> Sent: mercredi 5 juillet 2006 03:11
>>>>> To: Vincent Massol
>>>>> Subject: Re: Using continuum for building cargo?
>>>>>
>>>>> Sorry for the delay. Log in with vmassol/cargoograc
>>>>>
>>>>> On 4/07/2006 1:13 AM, Vincent Massol wrote:
>>>>>> Hi Brett,
>>>>>>
>>>>>> Emmanuel told me you were managing
>>>>>> http://ci.codehaus.org/continuum/servlet/continuum. I was wondering
>> if
>>>>> it
>>>>>> would be possible to run the cargo m2 build on some existing
>> continuum
>>>>>> instance. I'm currently running the cargo m1 build on codehaus's
>>>>> beetlejuice
>>>>>> but I'd now like to switch the cargo official build to m2. But for
>>>> that
>>>>> I
>>>>>> need a CI for the m2 build.
>>>>>>
>>>>>> Thanks
>>>>>> -Vincent
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>
__________________________________________________________________________
>>>>> _
>>>>>> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail
et
>>>> son
>>>>> interface révolutionnaire.
>>>>>> http://fr.mail.yahoo.com
>>>>>>
>>>>> --
>>>>> Brett Porter <brett@apache.org>
>>>>> Apache Maven - http://maven.apache.org/
>>>>> Better Builds with Maven - http://library.mergere.com/
>>>
>>>
>>>
>>>
>>>
>>>
>>
__________________________________________________________________________
>> _
>>> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
>> interface révolutionnaire.
>>> http://fr.mail.yahoo.com
>>>
>>
>> --
>> Apache Maven - http://maven.apache.org/
>> Better Builds with Maven - http://library.mergere.com/
> 
> 
> 	
> 
> 	
> 		
>
___________________________________________________________________________ 
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le
sujet ! 
> Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et
vos expériences. 
> http://fr.answers.yahoo.com 
> 


-- 
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/


	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.

http://fr.answers.yahoo.com 


Mime
View raw message