harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3617) [drlvm][winx64][testing] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed on Win x86_64 release build
Date Wed, 25 Apr 2007 09:11:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491568
] 

Vladimir Beliaev commented on HARMONY-3617:
-------------------------------------------

I double checked this test on recent version of DRLVM for Windows/x86_64. 

It still fails.

I run it two ways. 

trunk-release-20070425/working_classlib $ ant \
    -Dhy.test.vmargs="-Xem:jet" \
    -Dbuild.module=prefs \
    -Dtest.jre.home=../working_vm/build/deploy/jdk/jre \
    -Dtest.case=org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest test

The resuls differe from run to run:
- sometimes the run just hangs 
- sometimes it reports "BUILD FAILED", the resulted html report says: "VM crash?"...
   BTW, this report also says the "Success rate" is "-Infinity%" - so it is not just 0%, but
it is mega nothing...
- sometime it prints the exception in build log (i.e. directly to console):

run-tests:
    [mkdir] Created dir: D:\users\vbeliaev\trunk-release-20070425\working_classlib\build\test_report
    [junit] Running org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
    [junit] Uncaught exception in main:
    [junit] java.lang.VerifyError: (class: junit/framework/TestFailure, method: failedTest()Ljunit/framework/Test;)
Incorrect usage of local variable
    [junit]     at java.lang.ClassLoader.defineClass0(ClassLoader.java)
    [junit]     at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
    [junit]     at java.security.SecureClassLoader.defineClass(Unknown Source)
    [junit]     at java.net.URLClassLoader.findClassImpl(Unknown Source)
    [junit]     at java.net.URLClassLoader$4.run(Unknown Source)
    [junit]     at java.net.URLClassLoader$4.run(Unknown Source)
    [junit]     at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
    [junit]     at java.security.AccessController.doPrivileged(AccessController.java:64)
    [junit]     at java.net.URLClassLoader.findClass(Unknown Source)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
    [junit]     at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:127)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:120)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:230)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:225)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
    [junit] Test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest FAILED


Another way is one given in bug description + testing exit code:

trunk-release-20070425/working_classlib $ \
    ../working_vm/build/win_em64t_msvc_release/deploy/jdk/jre/bin/java \
    -Xem:jet \
    -cp "modules/prefs/bin/test;depends/jars/junit_3.8.2/junit.jar" junit.textui.TestRunner
\
    org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest ; \
    echo $?

Sometimes it hands. Sometime it exists with 128 code... 

So, there is surely something to work on...

Thanks
Vladimir Beliaev





> [drlvm][winx64][testing] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
failed on Win x86_64 release build
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3617
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3617
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>
> API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed
on Win x86_64 release build (r527316). Note this test passed on debug build in my env.
> --------------execution log (2 runs)--------------------
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:jet -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......
> <hang>
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:opt -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......Assertion failed at C:\cruise_hdk\cc\projects\trunk\working_vm\vm\jitrino\src\translator\java\JavaByteCodeTranslator.cpp:622

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message