commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [exec] Looking for some field testing before cutting release candidate ...
Date Sat, 02 Oct 2010 11:15:24 GMT
Siegfried Goeschl wrote:

>   Hi folks,
> 
> anyone out who can do some field testing for commons-exec before I
> prepare the release candidate?
> 
> The test harness can be downloaded from
> 
> http://people.apache.org/~sgoeschl/download/exec/
> 
> After unpacking the archive and making the shell scripts (check
> src/test/scripts) executable you can run the test harness using
> 
> +) testme.bat
> +) test.sh
> 
> Feedback would be highly appreciated containing
> 
> +) OS
> +) JVM version
> +) reporter
> +) status

$ uname -a
Linux floh 2.6.35-gentoo-r9 #1 SMP Wed Sep 29 19:09:53 CEST 2010 x86_64 
Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

$ java -version
java version "1.4.2-03"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-03, mixed mode)
====================
There were 2 errors:
1) 
testEnvironmentVariables(org.apache.commons.exec.DefaultExecutorTest)java.lang.NoSuchMethodError:

java.lang.String.contains(Ljava/lang/CharSequence;)Z
        at 
org.apache.commons.exec.DefaultExecutorTest.testEnvironmentVariables(DefaultExecutorTest.java:587)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at org.apache.commons.exec.TestRunner.main(TestRunner.java:47)
2) 
testAddEnvironmentVariables(org.apache.commons.exec.DefaultExecutorTest)java.lang.NoSuchMethodError:

java.lang.String.contains(Ljava/lang/CharSequence;)Z
        at 
org.apache.commons.exec.DefaultExecutorTest.testAddEnvironmentVariables(DefaultExecutorTest.java:603)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at org.apache.commons.exec.TestRunner.main(TestRunner.java:47)

$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxa64dev-20100813 
(SR12 FP1 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 
j9vmxa6423-20100808 (JIT enabled)
J9VM - 20100629_60535_LHdSMr
JIT  - 20100623_16197_r8
GC   - 20100211_AA)
JCL  - 20100813

$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 
jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT  - r9_20100401_15339ifx2
GC   - 20100308_AA)
JCL  - 20100624_01

$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (Gentoo build 1.6.0_18-b18)
OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

$ java -version
java version "1.5.0"
JamVM version 1.5.4
Copyright (C) 2003-2010 Robert Lougher <rob@jamvm.org.uk>
GPL2
Build information:
Execution Engine: inline-threaded interpreter
Compiled with: gcc 4.4.3
Boot Library Path: /usr/gnu-classpath-0.98/lib/classpath
Boot Class Path: /usr/lib64/jamvm/classes.zip:/usr/gnu-
classpath-0.98/share/classpath/glibj.zip
==================================
.>>> Executing testExecute ...
.>>> Executing testExecuteWithWorkingDirectory ...
.>>> Executing testExecuteWithInvalidWorkingDirectory ...
.>>> Executing testExecuteWithError ...
.>>> Executing testExecuteWithArg ...
.>>> Executing testExecuteWithSingleEnvironmentVariable ...
.>>> Executing testExecuteAsync ...
.
>>> Executing testExecuteAsyncWithError ...
.>>> Executing testExecuteAsyncWithTimelyUserTermination ...
^C
================================
Deadlock


commons-exec is no longer JDK 1.4 compatible and will not run for arbitrary 
reason on gjc environment (a lot of packages do not)

- Jörg


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


Mime
View raw message