Hello,

2011/9/24 Mattmann, Chris A (388J) <chris.a.mattm...@jpl.nasa.gov>:
> 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).
don't worry both are supported.
> Has anyone else experienced errors with surefire-2.9 and Spring?
Some class loader issue as you are using forkMode: never to avoid
class loader clash using the default forkMode: once is recommended.
I have tested locally with 2.9 and forkMode: once and it works.
Except a unit test locale dependant.

Failed tests:
testDoDynamicReplacement(org.apache.oodt.cas.metadata.util.TestPathUtils):
expected:<475000201[.]000> but was:<475000201[,]000>

Sorry I have a fr locale :-)

MBP-de-Olivier:oodt olamy$ locale
LANG="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_CTYPE="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_ALL=

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



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to