You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Vladimir Ivanov <iv...@gmail.com> on 2006/11/09 11:38:35 UTC

[drlvm][testing] the DRLVM silently exit to run the classlib tests.

Hello everyone,
today I can't run classlib tests over the DRLVM on SuSe linux. Could
somebody else reproduce this failure and fix it?

 thanks, Vladimir

Note, these tests work OK on IBMVM and on both VM on WindowsXP.

Execution log:
vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk> ant -
Dtest.jre.home=/export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre-
Dbuild.module=archive test
....
compile-support:
    [javac] Compiling 56 source files to
/export/viv/trunk/cc/projects/classlib/trunk/build/test_support
    [javac] Since fork is false, ignoring memoryMaximumSize setting

support-jar:
      [jar] Building jar:
/export/viv/trunk/cc/projects/classlib/trunk/deploy/build/test/support.jar

test-modules:

compile-java:
     [echo] Compiling ARCHIVE classes

copy-resources:

svn-info:

build-jar:

build:

copy-test-resources:

compile-tests:
     [echo] Compiling ARCHIVE tests

run-tests:
    [mkdir] Created dir:
/export/viv/trunk/cc/projects/classlib/trunk/build/test_report
    [junit] Running
org.apache.harmony.archive.tests.java.util.zip.ZipOutputStreamTest
    [junit] Tests FAILED

touch-failures-file:

touch-errors-file:

test:

full-report:
[junitreport] Transform time: 516ms
     [echo] The test report is in
/export/viv/trunk/cc/projects/classlib/trunk/build/test_report/html/index.html

short-report:

gen-report:

check-test-result:

BUILD FAILED
/export/viv/trunk/cc/projects/classlib/trunk/build.xml:167: The following
error occurred while executing this line:
/export/viv/trunk/cc/projects/classlib/trunk/make/build-test.xml:128: There
were test failures.

Total time: 8 seconds
vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>
/export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32
_gcc_debug/deploy/jre/bin/java
-version

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r472773, (Nov  9 2006), Linux/ia32/gcc 3.3.3, debug build
http://incubator.apache.org/harmony
vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>

Re: [drlvm][testing] the DRLVM silently exit to run the classlib tests.

Posted by Alexey Varlamov <al...@gmail.com>.
Yes, I have the same troubles on SUSE, probably after Weldon's commit r472773...


2006/11/9, Vladimir Ivanov <iv...@gmail.com>:
> Hello everyone,
> today I can't run classlib tests over the DRLVM on SuSe linux. Could
> somebody else reproduce this failure and fix it?
>
>  thanks, Vladimir
>
> Note, these tests work OK on IBMVM and on both VM on WindowsXP.
>
> Execution log:
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk> ant -
> Dtest.jre.home=/export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre-
> Dbuild.module=archive test
> ....
> compile-support:
>    [javac] Compiling 56 source files to
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_support
>    [javac] Since fork is false, ignoring memoryMaximumSize setting
>
> support-jar:
>      [jar] Building jar:
> /export/viv/trunk/cc/projects/classlib/trunk/deploy/build/test/support.jar
>
> test-modules:
>
> compile-java:
>     [echo] Compiling ARCHIVE classes
>
> copy-resources:
>
> svn-info:
>
> build-jar:
>
> build:
>
> copy-test-resources:
>
> compile-tests:
>     [echo] Compiling ARCHIVE tests
>
> run-tests:
>    [mkdir] Created dir:
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_report
>    [junit] Running
> org.apache.harmony.archive.tests.java.util.zip.ZipOutputStreamTest
>    [junit] Tests FAILED
>
> touch-failures-file:
>
> touch-errors-file:
>
> test:
>
> full-report:
> [junitreport] Transform time: 516ms
>     [echo] The test report is in
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_report/html/index.html
>
> short-report:
>
> gen-report:
>
> check-test-result:
>
> BUILD FAILED
> /export/viv/trunk/cc/projects/classlib/trunk/build.xml:167: The following
> error occurred while executing this line:
> /export/viv/trunk/cc/projects/classlib/trunk/make/build-test.xml:128: There
> were test failures.
>
> Total time: 8 seconds
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>
> /export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32
> _gcc_debug/deploy/jre/bin/java
> -version
>
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r472773, (Nov  9 2006), Linux/ia32/gcc 3.3.3, debug build
> http://incubator.apache.org/harmony
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>
>
>

Re: [drlvm][testing] the DRLVM silently exit to run the classlib tests.

Posted by Gregory Shimansky <gs...@gmail.com>.
Pavel Pervov wrote:
> 3.3.3 build crashes. I'm investigating the issue.
> 
> As a workaround measure, use 4.* to compile classlib and dlrvm.

Did you try 4.x on SUSE too? It looks more like dynamic libraries 
loading problem because stack trace shows a resolution of native method 
Java_java_lang_VMThreadManager_notifyAll. Since the patch changed the 
mode which libpthread.so was linked to VM, it looks like a crash 
happened when loading something linked with pthreads. I don't know why 
dlsym crashes instead of returning an error code, maybe it is a bug 
somewhere in glibc or kernel on SUSE9 linux which was fixed in other 
distributions which are newer.

Anyway I've reverted the patch. The problem should be investigated and 
fixed.

-- 
Gregory


Re: [drlvm][testing] the DRLVM silently exit to run the classlib tests.

Posted by Pavel Pervov <pm...@gmail.com>.
3.3.3 build crashes. I'm investigating the issue.

As a workaround measure, use 4.* to compile classlib and dlrvm.


On 11/9/06, Vladimir Ivanov <iv...@gmail.com> wrote:
>
> Hello everyone,
> today I can't run classlib tests over the DRLVM on SuSe linux. Could
> somebody else reproduce this failure and fix it?
>
> thanks, Vladimir
>
> Note, these tests work OK on IBMVM and on both VM on WindowsXP.
>
> Execution log:
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk> ant -
>
> Dtest.jre.home=/export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre-
> Dbuild.module=archive test
> ....
> compile-support:
>    [javac] Compiling 56 source files to
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_support
>    [javac] Since fork is false, ignoring memoryMaximumSize setting
>
> support-jar:
>      [jar] Building jar:
> /export/viv/trunk/cc/projects/classlib/trunk/deploy/build/test/support.jar
>
> test-modules:
>
> compile-java:
>     [echo] Compiling ARCHIVE classes
>
> copy-resources:
>
> svn-info:
>
> build-jar:
>
> build:
>
> copy-test-resources:
>
> compile-tests:
>     [echo] Compiling ARCHIVE tests
>
> run-tests:
>    [mkdir] Created dir:
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_report
>    [junit] Running
> org.apache.harmony.archive.tests.java.util.zip.ZipOutputStreamTest
>    [junit] Tests FAILED
>
> touch-failures-file:
>
> touch-errors-file:
>
> test:
>
> full-report:
> [junitreport] Transform time: 516ms
>     [echo] The test report is in
>
> /export/viv/trunk/cc/projects/classlib/trunk/build/test_report/html/index.html
>
> short-report:
>
> gen-report:
>
> check-test-result:
>
> BUILD FAILED
> /export/viv/trunk/cc/projects/classlib/trunk/build.xml:167: The following
> error occurred while executing this line:
> /export/viv/trunk/cc/projects/classlib/trunk/make/build-test.xml:128:
> There
> were test failures.
>
> Total time: 8 seconds
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>
> /export/viv/trunk/cc/projects/drlvm/trunk/build/lnx_ia32
> _gcc_debug/deploy/jre/bin/java
> -version
>
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software
> Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r472773, (Nov  9 2006), Linux/ia32/gcc 3.3.3, debug build
> http://incubator.apache.org/harmony
> vivanov1@nstdrlxl5:/export/viv/trunk/cc/projects/classlib/trunk>
>
>


-- 
Pavel Pervov,
Intel Enterprise Solutions Software Division