harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [classlib][awt][testing] test java.awt.font.LineBreakMeasurerTest failed on SUSE linux ia32
Date Fri, 13 Apr 2007 08:56:27 GMT
2007/4/13, Pavlenko, Andrey A <andrey.a.pavlenko@intel.com>:
> I still can reproduce the failures on 32-bit SLES 9 and SLES 10.
Me too, but on ia32 only :)
>
> -----Original Message-----
> From: Alexei Zakharov [mailto:alexei.zakharov@gmail.com]
> Sent: Friday, April 13, 2007 12:14 PM
> To: dev@harmony.apache.org
> Subject: Re: [classlib][awt][testing] test
> java.awt.font.LineBreakMeasurerTest failed on SUSE linux ia32
>
> It doesn't fail anymore on my Debian@ia32 system. Mystery.
>
> Regards,
>
> 2007/4/3, Alexey Varlamov <alexey.v.varlamov@gmail.com>:
> > 2007/3/28, Alexei Zakharov <alexei.zakharov@gmail.com>:
> > > It is strange, but I still see failures in LineBreakMeasurerTest
> even
> > > after Stepan's commit:
> > >
> > > testNextLayout  Failure expected:<11> but was:<9>
> > > junit.framework.AssertionFailedError: expected:<11> but was:<9>
at
> > >
> java.awt.font.LineBreakMeasurerTest.testNextLayout(LineBreakMeasurerTest
> .java:131)
> > > at
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 0.009
> > >
> > > testNextOffset  Failure expected:<8> but was:<7>
> > > junit.framework.AssertionFailedError: expected:<8> but was:<7>
at
> > >
> java.awt.font.LineBreakMeasurerTest.testNextOffset(LineBreakMeasurerTest
> .java:164)
> > > at
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 0.001
> > >
> > > testNextOffset1 Failure expected:<8> but was:<7>
> > > junit.framework.AssertionFailedError: expected:<8> but was:<7>
at
> > >
> java.awt.font.LineBreakMeasurerTest.testNextOffset1(LineBreakMeasurerTes
> t.java:184)
> > > at
> java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> 0.002
> > > testSetPosition Success
> > >
> > > Does someone else see this?
> >
> > I'm observing the same failures on SLES9@ia32, stably reproducible on
> > both J9 and DRLVM.
> > Odd thing is, I tried it on another box with SLES10@ia32, and it fails
> > 2 testcases only - testNextLayout passes there.
> >
> > --
> > Alexey
> > >
> > > Thanks,
> > >
> > > 2007/3/26, Vladimir Ivanov <ivavladimir@gmail.com>:
> > > > Thanks to Stepan. When the commit was reverted the
> > > > java.awt.font.LineBreakMeasurerTest test passed.
> > > > But now the test
> > > > org.apache.harmony.luni.tests.java.lang.ThreadGroupTest leads to
> VM crash:
> > > > -------------- log -------------------------------
> > > > Running LUNI JUnit Testsjava:
> > > >
> /export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_java_b
> asic.c:486:
> > > > jthread_exception_stop: Assertion `tm_native_thread->request > 0'
> > > > failed.SIGABRT in VM code.Stack trace:0: raise (??:-1)1: abort
> > > > (??:-1)2: new_do_write (??:-1)3: _IO_file_xsputn@@GLIBC_2.2.5
> > > > (??:-1)4: ?? (??:-1)5: ?? (??:-1)6: ?? (??:-1)7: free (??:-1)8:
> > > > __assert_fail (??:-1)9: ?? (??:-1)10: ?? (??:-1)11:
> > > > hythread_set_safepoint_callback
> > > >
> (/export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_nativ
> e_suspend.c:420)12:
> > > > jthread_exception_stop
> > > >
> (/export/cruise/trunk/cc/projects/drlvm/trunk/vm/thread/src/thread_java_
> basic.c:491)13:
> > > > Java_java_lang_VMThreadManager_stop
> > > >
> (/export/cruise/trunk/cc/projects/drlvm/trunk/vm/vmcore/src/kernel_class
> es/native/java_lang_VMThreadManager.cpp:179)14:
> > > >
> java/lang/VMThreadManager.stop(Ljava/lang/Thread;Ljava/lang/Throwable;)I
> > > > (VMThreadManager.java:-2)15:
> > > > java/lang/Thread.stop(Ljava/lang/Throwable;)V (Thread.java:848)16:
> > > > java/lang/Thread.stop()V (Thread.java:826)17:
> > > >
> org/apache/harmony/luni/tests/java/lang/ThreadGroupTest.test_resume()V
> > > > (ThreadGroupTest.java:588)18:
> > > >
> java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/la
> ng/Object;)Ljava/lang/Object;
> > > > (VMReflection.java:-2)19:
> > > >
> java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Lj
> ava/lang/Object;
> > > > (Method.java:381)20: junit/framework/TestCase.runTest()V
> > > > (TestCase.java:154)21: junit/framework/TestCase.runBare()V
> > > > (TestCase.java:127)22: junit/framework/TestResult$1.protect()V
> > > > (TestResult.java:106)23:
> > > >
> junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/fra
> mework/Protectable;)V
> > > > (TestResult.java:124)24:
> > > > junit/framework/TestResult.run(Ljunit/framework/TestCase;)V
> > > > (TestResult.java:109)25:
> > > > junit/framework/TestCase.run(Ljunit/framework/TestResult;)V
> > > > (TestCase.java:118)26:
> > > >
> junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework
> /TestResult;)V
> > > > (TestSuite.java:208)27:
> > > > junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V
> > > > (TestSuite.java:203)28:
> > > >
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.run()V
> > > > (JUnitTestRunner.java:297)29:
> > > >
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.launch(Lorg
> /apache/tools/ant/taskdefs/optional/junit/JUnitTest;ZZZZLjava/util/Prope
> rties;)I
> > > > (JUnitTestRunner.java:672)30:
> > > >
> org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.main([Ljava
> /lang/String;)V
> > > > (JUnitTestRunner.java:546)<end of stack trace>
> > > >
> > > > Seems this failure is intermittent.
> > > >
> > > >  Thanks, Vladimir
> > > >
> > > > On 3/26/07, Alexey Petrenko <alexey.a.petrenko@gmail.com> wrote:
> > > > > I can not reproduce the failure on my Fedora ia32 box at the
> first run.
> > > > >
> > > > > Will try to reproduce...
> > > > >
> > > > > SY, Alexey
> > > > >
> > > > > 2007/3/26, Stepan Mishura <stepan.mishura@gmail.com>:
> > > > > > On 3/26/07, Vladimir Ivanov wrote:
> > > > > > > Hello everyone,
> > > > > > > the test java.awt.font.LineBreakMeasurerTest failed on
SUSE
> linux ia32 today.
> > > > > > > Note, this test failed if run in all awt test together
and
> passed if
> > > > > > > run with -Dtest.case.
> > > > > > >
> > > > > >
> > > > > > I'm able to reproduce the failure.
> > > > > >
> > > > > > Looks like commit r521764 is guilty commit - I've reverted and
> tests
> > > > > > passed for me. Alexey (Petrenko) could you verify? :
> > > > > >
> > > > > > Patch for HARMONY-3443 "[classlib][awt][netbeans]
> Container.paint() throws NPE"
> > > > > >
> > > > > > Modified:
> > > > > >
> harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/aw
> t/Container.java
> > > > > >
> harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/jav
> a/awt/ContainerRTest.java
> > > > > >
> > > > > > Thanks,
> > > > > > Stepan.
> > > > > >
> > > > > > >  thanks, Vlaidmir
> > > > > > >
> > > > > > > log:
> > > > > > >  <testcase classname="java.awt.font.LineBreakMeasurerTest"
> > > > > > > name="testNextOffset" time="0.054">
> > > > > > >    <failure message="expected:&lt;8&gt; but
was:&lt;7&gt;"
> > > > > > >
> type="junit.framework.AssertionFailedError">junit.framework.As
> > > > > > >        at
> java.awt.font.LineBreakMeasurerTest.testNextOffset(LineBreakMeasurerTest
> .java:164)
> > > > > > >        at
> java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> > > > > > > </failure>
> > > > > > >  </testcase>
> > > > > > >  <testcase classname="java.awt.font.LineBreakMeasurerTest"
> > > > > > > name="testNextOffset1" time="0.004">
> > > > > > >    <failure message="expected:&lt;8&gt; but
was:&lt;7&gt;"
> > > > > > >
> type="junit.framework.AssertionFailedError">junit.framework.As
> > > > > > >        at
> java.awt.font.LineBreakMeasurerTest.testNextOffset1(LineBreakMeasurerTes
> t.java:184)
> > > > > > >        at
> java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> > > > > > > </failure>
>
>
> --
> Alexei Zakharov,
> Intel ESSD
>

Mime
View raw message