Hi Olivier!

That might make a perfect topic for a blog post?
I bet this do hit others as well.

Chris, if you use JUnit-4 then you could also use the 
TemporaryFolder rule [1].

LieGrue,
strub


[1] 
https://garygregory.wordpress.com/2010/01/20/junit-tip-use-rules-to-manage-temporary-files-and-folders/


----- Original Message -----
> From: Olivier Lamy <ol...@apache.org>
> To: builds@apache.org
> Cc: 
> Sent: Monday, September 19, 2011 10:28 AM
> Subject: Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive 
> Service Generic Multi-valued Metadata Container #7
> 
> Hello,
> A quick look on it, it maybe looks to be due to usage of
> java.io.tmpdir in unit tests : which is shared on solaris in /var/tmp.
> 
> As you are using maven I recommend you configure surefire to use an
> other tmpdir directory.
> This can be done easily with the following surefire configuration.
> 
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-surefire-plugin</artifactId>
>           <version>2.9</version>
>           <configuration>
>             ....
>             <systemPropertyVariables>
>               
> <java.io.tmpdir>${project.build.outputDirectory}</java.io.tmpdir>
>             </systemPropertyVariables>
>             ....
>           </configuration>
>         </plugin>
> 
> And at least with this configuration you will be able to see the file
> created as tmp files with the jenkins ui without shell access to the
> machine.
> 
> 2011/9/19 Mattmann, Chris A (388J) <chris.a.mattm...@jpl.nasa.gov>:
>>  Hi builds@,
>> 
>>  I sent an email the other day asking if I can get access to the box where 
> the OODT
>>  build was failing. Seems like OODT is building OK on Jenkins when it runs 
> on an
>>  ubuntu box, e.g., see [1], however, it's failing on solaris (see 
> below).
>> 
>>  Any chance I can jump on that solaris box and check it out?
>> 
>>  Cheers,
>>  Chris
>> 
>>  [1] 
> https://builds.apache.org/job/oodt-trunk/org.apache.oodt$cas-metadata/6/
>> 
>>  Begin forwarded message:
>> 
>>>  From: Apache Jenkins Server <jenk...@builds.apache.org>
>>>  Date: September 18, 2011 8:12:43 PM PDT
>>>  To: "d...@oodt.apache.org" <d...@oodt.apache.org>
>>>  Subject: Jenkins build became unstable: oodt-trunk » Catalog and 
> Archive Service Generic Multi-valued Metadata Container #7
>>>  Reply-To: "d...@oodt.apache.org" <d...@oodt.apache.org>
>>> 
>>>  See 
> <https://builds.apache.org/job/oodt-trunk/org.apache.oodt$cas-metadata/7/>
>>> 
>>> 
>> 
>> 
>>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  Chris Mattmann, Ph.D.
>>  Senior Computer Scientist
>>  NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>>  Office: 171-266B, Mailstop: 171-246
>>  Email: chris.a.mattm...@nasa.gov
>>  WWW:   http://sunset.usc.edu/~mattmann/
>>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>  Adjunct Assistant Professor, Computer Science Department
>>  University of Southern California, Los Angeles, CA 90089 USA
>>  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 
>> 
> 
> 
> 
> -- 
> Olivier Lamy
> Talend : http://talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>

Reply via email to