You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov> on 2011/09/19 06:46:30 UTC

Fwd: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

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 <je...@builds.apache.org>
> Date: September 18, 2011 8:12:43 PM PDT
> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Oliver,

I am running on Mac OS X 10.6 with JDK 6, and MVN 2.2.1. 

I tried forkMode once and I still get test failures:

Tests in error: 
  testEval(org.apache.oodt.cas.metadata.preconditions.TestPreCondEvalUtils): Cannot find class [org.apache.oodt.cas.metadata.preconditions.FileSizeComparator] for bean with name 'CheckThatDataFileSizeIsGreaterThanZero' defined in URL [file:/Users/mattmann/tmp/oodt0.4/metadata/target/classes/metadata4001417370004403209.tests/met_extr_preconditions.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.oodt.cas.metadata.preconditions.FileSizeComparator

Tests run: 18, Failures: 0, Errors: 1, Skipped: 0

Index: pom.xml
===================================================================
--- pom.xml	(revision 1175231)
+++ pom.xml	(working copy)
@@ -72,8 +72,9 @@
     <plugins>
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.8.1</version>
+        <version>2.9</version>
         <configuration>
+        <forkMode>once</forkMode>
         <systemProperties>
            <property>
               <name>java.io.tmpdir</name>
[chipotle:~/tmp/oodt0.4/metadata] mattmann% 

Any idea what I'm doing wrong?

Cheers,
Chris

On Sep 24, 2011, at 1:07 PM, Mattmann, Chris A (388J) wrote:

> Hey Oliver,
> 
> Thanks very much for the help in tracking this down. I'll change 
> it to forkMode once and see if that fixes it locally for me. Thanks 
> also for pointing out the locale issue. I'll file an issue in OODT JIRA
> and try and get it tracked down.
> 
> Thanks!
> 
> Cheers,
> Chris
> 
> On Sep 24, 2011, at 12:31 PM, Olivier Lamy wrote:
> 
>> Hello,
>> 
>> 2011/9/24 Mattmann, Chris A (388J) <ch...@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) <ch...@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 <je...@builds.apache.org>
>>>>>>> Date: September 18, 2011 8:12:43 PM PDT
>>>>>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>>>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>>>>>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@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.mattmann@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.mattmann@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Oliver,

Thanks very much for the help in tracking this down. I'll change 
it to forkMode once and see if that fixes it locally for me. Thanks 
also for pointing out the locale issue. I'll file an issue in OODT JIRA
and try and get it tracked down.

Thanks!

Cheers,
Chris

On Sep 24, 2011, at 12:31 PM, Olivier Lamy wrote:

> Hello,
> 
> 2011/9/24 Mattmann, Chris A (388J) <ch...@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) <ch...@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 <je...@builds.apache.org>
>>>>>> Date: September 18, 2011 8:12:43 PM PDT
>>>>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>>>>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@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.mattmann@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by Olivier Lamy <ol...@apache.org>.
Hello,

2011/9/24 Mattmann, Chris A (388J) <ch...@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) <ch...@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 <je...@builds.apache.org>
>>>>> Date: September 18, 2011 8:12:43 PM PDT
>>>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>>>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@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.mattmann@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

Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by "Mattmann, Chris A (388J)" <ch...@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). 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) <ch...@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 <je...@builds.apache.org>
>>>> Date: September 18, 2011 8:12:43 PM PDT
>>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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) <ch...@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 <je...@builds.apache.org>
>>> Date: September 18, 2011 8:12:43 PM PDT
>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Mark,

Thanks I'll take a look at JUnit4.

Thanks again for the pointer, and 
to Oliver for the suggested fix.

Cheers,
Chris

On Sep 19, 2011, at 1:35 AM, Mark Struberg wrote:

> 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) <ch...@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 <je...@builds.apache.org>
>>>> Date: September 18, 2011 8:12:43 PM PDT
>>>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and 
>> Archive Service Generic Multi-valued Metadata Container #7
>>>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by Mark Struberg <st...@yahoo.de>.
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) <ch...@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 <je...@builds.apache.org>
>>>  Date: September 18, 2011 8:12:43 PM PDT
>>>  To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>>>  Subject: Jenkins build became unstable: oodt-trunk » Catalog and 
> Archive Service Generic Multi-valued Metadata Container #7
>>>  Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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
>

Re: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7

Posted by Olivier Lamy <ol...@apache.org>.
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) <ch...@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 <je...@builds.apache.org>
>> Date: September 18, 2011 8:12:43 PM PDT
>> To: "dev@oodt.apache.org" <de...@oodt.apache.org>
>> Subject: Jenkins build became unstable: oodt-trunk » Catalog and Archive Service Generic Multi-valued Metadata Container #7
>> Reply-To: "dev@oodt.apache.org" <de...@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.mattmann@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