You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Siegfried Goeschl <si...@it20one.at> on 2008/04/09 16:47:08 UTC

[EXEC] Help needed for regression testing ...

Hi folks,

commons-exec (see http://commons.apache.org/sandbox/exec/) is about 
running external processes from within a JVM - and there are a lot of OS 
and JVM versions out there (plus a lot of code in commons-exec to handle 
this).

So if you feel adventurous and have some time to spare ...

+) I uploaded a self-contained test distribution to 
http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
+) If you unpack the zip file you are able to start the regression tests 
using 'sh ./testme.sh" or 'testme.bat'
+) Make sure that you have $JAVA_HOME defined as environment variable to 
pick up your Java installation to be used
+) It runs all regression tests without requiring to have ANT or Maven 
installed
+) Send a quick feedback about the test result and the OS/JVM being used 
so I can update the website

Thanks in advance

Siegfried Goeschl

PS: Please, don't run the tests on a mission-critical & super-important 
box - some of the tests are quite heavy (e.g. starting thousand 
processes to make sure that we don't have any memory/handle leaks)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by sebb <se...@gmail.com>.
On 09/04/2008, Siegfried Goeschl <si...@it20one.at> wrote:
> Hi folks,
>
>  commons-exec (see http://commons.apache.org/sandbox/exec/)
> is about running external processes from within a JVM - and there are a lot
> of OS and JVM versions out there (plus a lot of code in commons-exec to
> handle this).
>
>  So if you feel adventurous and have some time to spare ...
>
>  +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  +) If you unpack the zip file you are able to start the regression tests
> using 'sh ./testme.sh" or 'testme.bat'
>  +) Make sure that you have $JAVA_HOME defined as environment variable to
> pick up your Java installation to be used
>  +) It runs all regression tests without requiring to have ANT or Maven
> installed
>  +) Send a quick feedback about the test result and the OS/JVM being used so
> I can update the website
>
>  Thanks in advance
>
>  Siegfried Goeschl
>
>  PS: Please, don't run the tests on a mission-critical & super-important box
> - some of the tests are quite heavy (e.g. starting thousand processes to
> make sure that we don't have any memory/handle leaks)
>

Is it possible to skip these tests?

Are they OS-dependent - i.e. do they need to be run on all OSes?

>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Simone,

thanks a lot for your effort - considering the fact that I nearly killed 
Niall's box yesterday I'm happy that it runs smoothly on your box(es)

Cheers,

Siegfried Goeschl

Simone Gianni wrote:
> Hi Siegfried,
> run on :
> - Linux Gentoo (2.6.22-mactel-r2 #1 SMP PREEMPT Thu Nov 15 23:26:36 CET
> 2007 i686 Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz GenuineIntel
> GNU/Linux)
> ... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_12-b04) - Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed
> mode) : 55 tests ok
> ... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.2_13-b06) - Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed
> mode) : 55 tests ok
> ... JVM Java(TM) SE Runtime Environment (build 1.6.0_03-b05) - Java
> HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode) : 55 tests ok
>
> - OSX : 8.11.1 Darwin Kernel Version 8.11.1
> ... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_13-b05-241) Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed
> mode, sharing)
>
> Hope this helps,
> Simone
>
> Siegfried Goeschl wrote:
>   
>> Hi folks,
>>
>> commons-exec (see http://commons.apache.org/sandbox/exec/) is about
>> running external processes from within a JVM - and there are a lot of
>> OS and JVM versions out there (plus a lot of code in commons-exec to
>> handle this).
>>
>> So if you feel adventurous and have some time to spare ...
>>
>> +) I uploaded a self-contained test distribution to
>> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>>
>> +) If you unpack the zip file you are able to start the regression
>> tests using 'sh ./testme.sh" or 'testme.bat'
>> +) Make sure that you have $JAVA_HOME defined as environment variable
>> to pick up your Java installation to be used
>> +) It runs all regression tests without requiring to have ANT or Maven
>> installed
>> +) Send a quick feedback about the test result and the OS/JVM being
>> used so I can update the website
>>
>> Thanks in advance
>>
>> Siegfried Goeschl
>>
>> PS: Please, don't run the tests on a mission-critical &
>> super-important box - some of the tests are quite heavy (e.g. starting
>> thousand processes to make sure that we don't have any memory/handle
>> leaks)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by Simone Gianni <si...@apache.org>.
Hi Siegfried,
run on :
- Linux Gentoo (2.6.22-mactel-r2 #1 SMP PREEMPT Thu Nov 15 23:26:36 CET
2007 i686 Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz GenuineIntel
GNU/Linux)
... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_12-b04) - Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed
mode) : 55 tests ok
... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_13-b06) - Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed
mode) : 55 tests ok
... JVM Java(TM) SE Runtime Environment (build 1.6.0_03-b05) - Java
HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode) : 55 tests ok

- OSX : 8.11.1 Darwin Kernel Version 8.11.1
... JVM Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_13-b05-241) Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed
mode, sharing)

Hope this helps,
Simone

Siegfried Goeschl wrote:
> Hi folks,
>
> commons-exec (see http://commons.apache.org/sandbox/exec/) is about
> running external processes from within a JVM - and there are a lot of
> OS and JVM versions out there (plus a lot of code in commons-exec to
> handle this).
>
> So if you feel adventurous and have some time to spare ...
>
> +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>
> +) If you unpack the zip file you are able to start the regression
> tests using 'sh ./testme.sh" or 'testme.bat'
> +) Make sure that you have $JAVA_HOME defined as environment variable
> to pick up your Java installation to be used
> +) It runs all regression tests without requiring to have ANT or Maven
> installed
> +) Send a quick feedback about the test result and the OS/JVM being
> used so I can update the website
>
> Thanks in advance
>
> Siegfried Goeschl
>
> PS: Please, don't run the tests on a mission-critical &
> super-important box - some of the tests are quite heavy (e.g. starting
> thousand processes to make sure that we don't have any memory/handle
> leaks)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

-- 
Simone Gianni
http://www.simonegianni.it/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by sebb <se...@gmail.com>.
On 09/04/2008, Siegfried Goeschl <si...@it20one.at> wrote:
> Hi folks,
>
>  commons-exec (see http://commons.apache.org/sandbox/exec/)
> is about running external processes from within a JVM - and there are a lot
> of OS and JVM versions out there (plus a lot of code in commons-exec to
> handle this).
>
>  So if you feel adventurous and have some time to spare ...
>
>  +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  +) If you unpack the zip file you are able to start the regression tests
> using 'sh ./testme.sh" or 'testme.bat'
>  +) Make sure that you have $JAVA_HOME defined as environment variable to
> pick up your Java installation to be used
>  +) It runs all regression tests without requiring to have ANT or Maven
> installed
>  +) Send a quick feedback about the test result and the OS/JVM being used so
> I can update the website
>
>  Thanks in advance
>
>  Siegfried Goeschl
>
>  PS: Please, don't run the tests on a mission-critical & super-important box
> - some of the tests are quite heavy (e.g. starting thousand processes to
> make sure that we don't have any memory/handle leaks)
>

Is it possible to skip these tests?

Are they OS-dependent - i.e. do they need to be run on all OSes?

>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by sebb <se...@gmail.com>.
On 10/04/2008, Bindul Bhowmik <bi...@gmail.com> wrote:
> Hello Siegfried,
>
>  On Wed, Apr 9, 2008 at 8:47 AM, Siegfried Goeschl
>
> <si...@it20one.at> wrote:
>
> > Hi folks,
>  >
>  >  commons-exec (see http://commons.apache.org/sandbox/exec/) is about running
>  > external processes from within a JVM - and there are a lot of OS and JVM
>  > versions out there (plus a lot of code in commons-exec to handle this).
>  >
>  >  So if you feel adventurous and have some time to spare ...
>  >
>  >  +) I uploaded a self-contained test distribution to
>  > http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  >  +) If you unpack the zip file you are able to start the regression tests
>  > using 'sh ./testme.sh" or 'testme.bat'
>  >  +) Make sure that you have $JAVA_HOME defined as environment variable to
>  > pick up your Java installation to be used
>  >  +) It runs all regression tests without requiring to have ANT or Maven
>  > installed
>  >  +) Send a quick feedback about the test result and the OS/JVM being used so
>  > I can update the website
>
>
> I tested the zip on a couple of my boxes and all tests passed, the
>  results are pasted below.
>
>  Win Vista Ultimate 64 bit | JDK 1.3.1_20 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.4.2_17 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.5.0_15 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.5.0_15x64 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.6.0_05 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.6.0_05x64 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.7.0ea_b24 - OK (55 tests)
>  Win Vista Ultimate 64 bit | JDK 1.7.0ea_b24x64 - OK (55 tests)
>  Win XP Pro 32 bit | JDK 1.4.2_17 - OK (55 tests)
>  Win XP Pro 32 bit | JDK 1.5.0_15 - OK (55 tests)
>  Win XP Pro 32 bit | JDK 1.6.0_05 - OK (55 tests)
>  Fedora Core 7 on VmWare | JDK 1.4.2_17 - OK (55 tests)
>  Fedora Core 7 on VmWare | JDK 1.5.0_15 - OK (55 tests)
>  Fedora Core 7 on VmWare | JDK 1.6.0_05 - OK (55 tests)
>
>  Hope this helps.
>

== WinXP ==
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32
jvmwi3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_lHdSMR
JIT  - r9_20071121_1330
GC   - 20071031_AA)
JCL  - 20071118_01

java version "1.4.2_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

== HP-UX ==

java version "1.4.2.10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.10-060112-14:28)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.10-060112-19:42-IA64N
IA64, mixed mode)
$ uname -a
HP-UX td194 B.11.31 U ia64 3426292962 unlimited-user license


All the above tests passed.

== OpenVMS ==
HP rx2600  (1.40GHz/1.5MB) running OpenVMS V8.3

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition
Java HotSpot(TM) Server VM (build 1.4.2-2 11/03/2005-08:43 IA64, mixed mode)

Tests run: 55,  Failures: 18,  Errors: 0

The failures all seem to be due to:     "Test not supported for this OS"

I tried to emulate the script files in DCL, but they may be wrong...

>
>  >
>  >  Thanks in advance
>  >
>  >  Siegfried Goeschl
>  >
>  >  PS: Please, don't run the tests on a mission-critical & super-important box
>  > - some of the tests are quite heavy (e.g. starting thousand processes to
>  > make sure that we don't have any memory/handle leaks)
>  >
>  >
>
>
> Regards,
>  Bindul
>
>
>
>  --
>  Bindul Bhowmik | MindTree Ltd. | www.mindtree.com
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by Bindul Bhowmik <bi...@gmail.com>.
Hello Siegfried,

On Wed, Apr 9, 2008 at 8:47 AM, Siegfried Goeschl
<si...@it20one.at> wrote:
> Hi folks,
>
>  commons-exec (see http://commons.apache.org/sandbox/exec/) is about running
> external processes from within a JVM - and there are a lot of OS and JVM
> versions out there (plus a lot of code in commons-exec to handle this).
>
>  So if you feel adventurous and have some time to spare ...
>
>  +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  +) If you unpack the zip file you are able to start the regression tests
> using 'sh ./testme.sh" or 'testme.bat'
>  +) Make sure that you have $JAVA_HOME defined as environment variable to
> pick up your Java installation to be used
>  +) It runs all regression tests without requiring to have ANT or Maven
> installed
>  +) Send a quick feedback about the test result and the OS/JVM being used so
> I can update the website

I tested the zip on a couple of my boxes and all tests passed, the
results are pasted below.

Win Vista Ultimate 64 bit | JDK 1.3.1_20 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.4.2_17 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.5.0_15 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.5.0_15x64 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.6.0_05 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.6.0_05x64 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.7.0ea_b24 - OK (55 tests)
Win Vista Ultimate 64 bit | JDK 1.7.0ea_b24x64 - OK (55 tests)
Win XP Pro 32 bit | JDK 1.4.2_17 - OK (55 tests)
Win XP Pro 32 bit | JDK 1.5.0_15 - OK (55 tests)
Win XP Pro 32 bit | JDK 1.6.0_05 - OK (55 tests)
Fedora Core 7 on VmWare | JDK 1.4.2_17 - OK (55 tests)
Fedora Core 7 on VmWare | JDK 1.5.0_15 - OK (55 tests)
Fedora Core 7 on VmWare | JDK 1.6.0_05 - OK (55 tests)

Hope this helps.

>
>  Thanks in advance
>
>  Siegfried Goeschl
>
>  PS: Please, don't run the tests on a mission-critical & super-important box
> - some of the tests are quite heavy (e.g. starting thousand processes to
> make sure that we don't have any memory/handle leaks)
>
>

Regards,
Bindul


-- 
Bindul Bhowmik | MindTree Ltd. | www.mindtree.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by Niklas Gustavsson <ni...@protocol7.com>.
Hi

I feel really bad about not giving commons-exec the love it needs.
Nice to see some additional testing going on with the code. Have you
found any bugs that need fixing?

Could we include these tests as part of the exec project? I would be
happy to help out with the integration if needed. In addition to our
unit tests we could have an integration test suite. If so, I would
like them to run from our maven build, do you foresee any issues with
that?

/niklas

On Wed, Apr 9, 2008 at 4:47 PM, Siegfried Goeschl
<si...@it20one.at> wrote:
> Hi folks,
>
>  commons-exec (see http://commons.apache.org/sandbox/exec/) is about running
> external processes from within a JVM - and there are a lot of OS and JVM
> versions out there (plus a lot of code in commons-exec to handle this).
>
>  So if you feel adventurous and have some time to spare ...
>
>  +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  +) If you unpack the zip file you are able to start the regression tests
> using 'sh ./testme.sh" or 'testme.bat'
>  +) Make sure that you have $JAVA_HOME defined as environment variable to
> pick up your Java installation to be used
>  +) It runs all regression tests without requiring to have ANT or Maven
> installed
>  +) Send a quick feedback about the test result and the OS/JVM being used so
> I can update the website
>
>  Thanks in advance
>
>  Siegfried Goeschl
>
>  PS: Please, don't run the tests on a mission-critical & super-important box
> - some of the tests are quite heavy (e.g. starting thousand processes to
> make sure that we don't have any memory/handle leaks)
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [EXEC] Help needed for regression testing ...

Posted by Niklas Gustavsson <ni...@protocol7.com>.
Hi

I feel really bad about not giving commons-exec the love it needs.
Nice to see some additional testing going on with the code. Have you
found any bugs that need fixing?

Could we include these tests as part of the exec project? I would be
happy to help out with the integration if needed. In addition to our
unit tests we could have an integration test suite. If so, I would
like them to run from our maven build, do you foresee any issues with
that?

/niklas

On Wed, Apr 9, 2008 at 4:47 PM, Siegfried Goeschl
<si...@it20one.at> wrote:
> Hi folks,
>
>  commons-exec (see http://commons.apache.org/sandbox/exec/) is about running
> external processes from within a JVM - and there are a lot of OS and JVM
> versions out there (plus a lot of code in commons-exec to handle this).
>
>  So if you feel adventurous and have some time to spare ...
>
>  +) I uploaded a self-contained test distribution to
> http://people.apache.org/~sgoeschl/download/commons-exec/exec-test-1.0-SNAPSHOT.zip
>  +) If you unpack the zip file you are able to start the regression tests
> using 'sh ./testme.sh" or 'testme.bat'
>  +) Make sure that you have $JAVA_HOME defined as environment variable to
> pick up your Java installation to be used
>  +) It runs all regression tests without requiring to have ANT or Maven
> installed
>  +) Send a quick feedback about the test result and the OS/JVM being used so
> I can update the website
>
>  Thanks in advance
>
>  Siegfried Goeschl
>
>  PS: Please, don't run the tests on a mission-critical & super-important box
> - some of the tests are quite heavy (e.g. starting thousand processes to
> make sure that we don't have any memory/handle leaks)
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org