According to the spec, the return value is just a hint and just imply the potential buffered behvior. Furthermore, our harmony implementation does not support it in windows platform, it will only reutrn false. I have no objection to removing them from the testcase, since the behavior is not guarranteed from the spec.
Could someone help me to remove it ? And i will close the jira. 2008/5/9 Alexei Fedotov <[EMAIL PROTECTED]>: > Sean, > This is a big piece of work, and it even includes a script for file > copying and adding. Thank you! > > I'm very interested. Are there any other ways to approach the problem > other than duplicating the test case for two platforms, inverting > assertions for one of them and triplicating the test set up? Do you > understand what does this test check? Could you guess the spirit of > the specification? How RI behaves for this test case for these > platforms? What are benefits of this solution compared to test > removal, test exclusion for one platform, and runtime platform check > in the test body? > > With best regards, > Alexei > > > > > > On Fri, May 9, 2008 at 11:54 AM, Sean Qiu <[EMAIL PROTECTED]> wrote: > > I have raised a jira and supplied a patch for this issue : > > https://issues.apache.org/jira/browse/HARMONY-5817 > > > > 2008/5/9 Sean Qiu <[EMAIL PROTECTED]>: > >> Hi. > >> > >> About the > org.apache.harmony.nio.tests.java.nio.MappedByteBufferTest#test_isload > >> failure, > >> its behavior is platform dependent, and the spec does not define the > >> specific behavior. > >> The return value of is_load is just a hint, rather than a guarantee. > >> So i will remove this test if no one object. > >> > >> 2008/5/7 Pavel Afremov <[EMAIL PROTECTED]>: > >> > >> > >> > Hi. > >> > > >> > > >> > About point 2) It looks like well known intermittent failure. It > happens > >> > very seldom and described in > >> > HARMONY-2772<https://issues.apache.org/jira/browse/HARMONY-2772> > >> > . > >> > > >> > From my point of view source is in GC, but it is suspicion only. So … > >> > because crash happens very seldom bug was closed as not reproduced. > >> > > >> > BR > >> > Pavel Afremov. > >> > > >> > > >> > On Wed, May 7, 2008 at 2:04 PM, Stepan Mishura <[EMAIL PROTECTED]> > >> > wrote: > >> > > >> > > >> > > >> > > Hi all, > >> > > > >> > > Here is r653525 snapshot testing status. Briefly, there are several > >> > > failures: some of them are intermittent (many in functional suite) > >> > > and/or known issues (i.e there is JIRA for tracking, some of them > are > >> > > quite old). Also there are several new regressions (sigh, as usual > >> > > :-() for investigation if they are blockers for M6 or not. > >> > > > >> > > Please add your comments and clarifications. > >> > > > >> > > 1) Classlib: > >> > > > >> > > Regressions on all platforms: > >> > > org.apache.harmony.lang.management.MemoryPoolMXBeanImplTest > >> > > > >> > > > org.apache.harmony.lang.management.tests.java.lang.management.MemoryPoolMXBeanTest > >> > > org.apache.harmony.luni.tests.java.lang.ProcessBuilderTest > >> > > org.apache.harmony.luni.tests.java.util.GregorianCalendarTest (2) > >> > > > >> > > New test: > >> > > org.apache.harmony.unpack200.tests.ArchiveTest > >> > > > >> > > • Windows_x86: +1 failure > >> > > Regression: > >> > > org.apache.harmony.luni.tests.java.net.MulticastSocketTest > >> > > > >> > > • Linux_x86: +2 failures > >> > > New test: > >> > > > org.apache.harmony.nio.tests.java.nio.MappedByteBufferTest#test_isload > >> > > Regression: > >> > > tests.api.java.security.PermissionCollectionTest > >> > > > >> > > • Linux_x86_64: +2 failures > >> > > New test: > >> > > > org.apache.harmony.nio.tests.java.nio.MappedByteBufferTest#test_isload > >> > > Regression: > >> > > tests.api.java.security.PermissionCollectionTest > >> > > > >> > > 2) DRLVM tests: > >> > > • Windows_x86_64: stress.Threads_srv (regression/crash) > >> > > > >> > > 3) EUTs: > >> > > • Windows x86: 99.66% > >> > > • Linux x86: 99.53% > >> > > • Linux x86_64: 99.79% > >> > > > >> > > 4) Functional: > >> > > > >> > > Old regressions on all platforms: > >> > > api.java.security.F_KeyFactoryTest_01 > >> > > HARMONY-4857 : Bug in third-party component, regression > introduced in > >> > > M3 > >> > > api.java.text.MessageFormat > >> > > HARMONY-5430 : regression caused by migration to ICU > >> > > api.java.util.jar.Manifest > >> > > HARMONY-5473 : regression introduced by the fix > >> > > api.java.beans.beancontext.BeanContextTest > >> > > regression caused by changes in locale data > >> > > > >> > > New regressions on all platforms: > >> > > api.java.beans.persistence (2) > >> > > reg.vm.btest5625 > >> > > > >> > > • Windows_x86: + 1 failure > >> > > Regression: > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0030 > >> > > > >> > > Not regression (started to fail on M5): > >> > > jit.HLO.devirt.Runtime.RuntimeExtend1 > >> > > > >> > > • Linux_x86: +8 failures > >> > > Regression: > >> > > java.math.F_BigIntegerMatrixMultiplyTest_01 > >> > > api.java.rmi.basicexception > >> > > api.java.rmi.basicregistry > >> > > api.java.security.F_AlgorithmParametersTest_01 > >> > > api.java.security.F_SecureRandomTest_02 > >> > > api.java.security.F_SecureRandomTest_04 > >> > > api.java.security.F_SecureRandomTest_05 > >> > > > >> > > Intermittent(?): > >> > > api.java.net.ServerSocket > >> > > > >> > > • Windows_x86_64: +8 failures > >> > > Regression since M4: > >> > > jpda.jdwp.scenario.ST07 > >> > > > >> > > Not regression (started to fail on M5): > >> > > jit.HLO.devirt.Runtime.RuntimeExtend1 > >> > > > >> > > Regression since M3,looked intermittent in M4-M5 but it stably > fails > >> > > jit.HLO.inline.ControlFlow.IfElse.IfElse1 > >> > > reg.vm.btest5717 > >> > > reg.vm.btest7214 > >> > > > >> > > Failed on M3 too, (Andrey said might be issue with the test) > >> > > reg.vm.btest6353 > >> > > > >> > > Intermittent(?): > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0003 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0021 > >> > > reg.jit.btest4318 > >> > > > >> > > • Linux_x86_64: > >> > > > >> > > Regressions: > >> > > api.java.math.F_BigIntegerMatrixMultiplyTest_01 > >> > > api.java.rmi.basicexception > >> > > api.java.rmi.basicregistry > >> > > api.java.security.F_AlgorithmParametersTest_01 > >> > > api.java.security.F_SecureRandomTest_02 > >> > > api.java.security.F_SecureRandomTest_04 > >> > > api.java.security.F_SecureRandomTest_05 > >> > > reg.jit.btest6569 > >> > > > >> > > Regression since M4 > >> > > jpda.jdwp.scenario.ST07 > >> > > reg.jit.btest4318 > >> > > > >> > > Failed on M3 too, (Andrey said might be issue with the test) > >> > > reg.vm.btest6353 > >> > > > >> > > Intermittent(?): > >> > > api.java.math.F_BigIntegerExtEuclidTest_01 > >> > > api.java.math.F_BigIntegerRSATest_01 > >> > > api.java.io.ObjectOutputStream.writeObject0001 > >> > > api.java.io.ObjectOutputStream.writeObject0003 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0003 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0007 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0011 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0015 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0016 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0022 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0028 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0040 > >> > > api.java.io.ObjectOutputStream.writeObjectReadObject0041 > >> > > reg.jit.btest1487 > >> > > reg.vm.btest6008 > >> > > reg.vm.btest7006 > >> > > > >> > > 5) Geronimo Unit Tests > >> > > > >> > > • Linux_x86: 2 failures > >> > > org.apache.geronimo.tomcat.ContainerTest - intermittent(?) > >> > > > >> > > • Linux_x86_64: 2 failures > >> > > org.apache.geronimo.timer.TransactionalThreadPooledTimerTest > >> > > - intermittent(?) > >> > > > >> > > 6) Reliability: > >> > > > >> > > • Windows_x86: 2 failures > >> > > api.net.DatagramTest - HARMONY-5531 > >> > > api.net.SingleConnectTest - ??? > >> > > > >> > > • Linux_x86: 3 failures > >> > > api.net.SingleConnectTest - ??? > >> > > api.nio.charset.EncodingModesTest - intermittent(?) > >> > > api.text.DecimalFormat_Locales - looked intermittent in M5 but it > stably > >> > > fails > >> > > > >> > > • Linux x86 64 bit: test host was down, rebooted > >> > > > >> > > 7) Stress: need investigation > >> > > > >> > > • Windows_x86: 4 failures > >> > > > >> > > Regression: > >> > > exceptions.catcher.StackUnwindingManyObjectsTests > >> > > > >> > > Intermittent: > >> > > classloader.NotSynchThreads.SupIntf > >> > > exceptions.catcher.StackUnwindingTests > >> > > jpda.jdwp.scenario.MIXED001 > >> > > > >> > > • Linux_x86: 4 failures > >> > > Regression: > >> > > exceptions.catcher.StackUnwindingManyObjectsTests > >> > > > >> > > HARMONY-5159 (failed on M4-M5 too): > >> > > gc.frag.Fragmentation > >> > > gc.frag.FragmentationFinalizer > >> > > gc.frag.FragmentationReference > >> > > > >> > > • Windows_x86_64: 3 failures > >> > > Regression: > >> > > gc.mem.MemoryTest3 > >> > > threads.StressThreads12Test > >> > > > >> > > Intermittent: > >> > > classloader.MixThreads.LargeClassName > >> > > > >> > > • Linux_x86_64: 4 failures > >> > > Regression: > >> > > gc.mem.MemoryTest3 > >> > > > >> > > Intermittent: > >> > > classloader.SynchThreads.LargeClassName > >> > > exceptions.catcher.StackUnwindingTests > >> > > gc.frag.FragmentationFinalizer > >> > > > >> > > 8) Struts & EGA: seems that both scenarios are broken > >> > > > >> > > Thanks, > >> > > Stepan > >> > > > >> > > >> > >> > >> > >> -- > >> Best Regards > >> Sean, Xiao Xia Qiu > >> > >> China Software Development Lab, IBM > >> > > > > > > > > -- > > Best Regards > > Sean, Xiao Xia Qiu > > > > China Software Development Lab, IBM > > > > > > -- > With best regards, > Alexei > -- Best Regards Sean, Xiao Xia Qiu China Software Development Lab, IBM
