Hey Oliver,

I tried your suggestion but noticed we kept getting Spring errors 
about it not being able to find a class:

https://builds.apache.org/job/oodt-trunk/org.apache.oodt$cas-metadata/15/testReport/

When I rolled back to surefire 2.8.1 this error went away. Though I'm not sure 
it's respecting 
the java.io.tmpdir property I set anymore, so I rolled back to the old way 
(using systemProperties
instead of systemPropertyVariables). Has anyone else experienced errors with 
surefire-2.9 
and Spring?

Cheers,
Chris

On Sep 19, 2011, at 7:00 AM, Mattmann, Chris A (388J) wrote:

> Hi Oliver,
> 
> Thanks for the suggestion. I'll give it a whirl and see if that
> fixes it!
> 
> Cheers,
> Chris
> 
> On Sep 19, 2011, at 1:28 AM, Olivier Lamy wrote:
> 
>> 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
> 
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to