river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Costers <jonathan.cost...@googlemail.com>
Subject Re: QA test failures while running "io" test category
Date Tue, 31 Aug 2010 23:08:09 GMT
Backing out the changes to the following files:
src/net/jini/loader/ClassLoading.java
has made the "io" QA test category pass completely for me

2010/8/27 Patricia Shanahan <pats@acm.org>

> The one is older than the servicediscovery test regression.
> com/sun/jini/test/spec/io/marshalinputstream/Resolve_LoadClassExceptionTest.td
> fails on revision 934258, which is the last revision that passed the
> servicediscovery tests.
>
> Patricia
>
>
>
> On 8/26/2010 4:33 PM, Jonathan Costers wrote:
>
>> I was running the QA test category "io" and am running into a strange
>> failure:
>>
>> The test in question is
>>
>> com/sun/jini/test/spec/io/marshalinputstream/Resolve_LoadClassExceptionTest.td.
>> There are two more tests in this category that fail with the same
>> AssertionError.
>>
>>
>> =============================== CALLING RUN()
>> ===============================
>>
>> Resolve_LoadClassExceptionTest.run FINE: =================================
>> Resolve_LoadClassExceptionTest.run FINE: test case 1:
>> loadClassException:java.lang.ClassNotFoundException, transferObject:test
>> case, callUseCodebaseAnnotations:true, readAnnotationReturnVal:
>> http://calisto:8082/qa1-io-util-dl.jar
>> Resolve_LoadClassExceptionTest.run FINE:
>> FakeMarshalInputStream.constructor FINER: ENTRY
>> FakeMarshalInputStream.readAnnotation FINER: ENTRY
>> 27-aug-2010 1:11:55 net.jini.loader.ClassLoading loadClass
>> FINE: Using (null=null) to download: java.io.File from
>> http://calisto:8082/qa1-io-util-dl.jar
>> FakeRMIClassLoaderSpi.loadClass FINER: ENTRY
>> FakeRMIClassLoaderSpi.check(Object,Object) FINER: ENTRY
>> http://calisto:8082/qa1-io-util-dl.jar
>> http://calisto:8082/qa1-io-util-dl.jar
>> FakeRMIClassLoaderSpi.check(Object,Object) FINER: ENTRY java.io.File
>> java.io.File
>> FakeRMIClassLoaderSpi.check(Object,Object) FINER: ENTRY
>> sun.misc.Launcher$AppClassLoader@17182c1 null
>> java.lang.AssertionError
>>         at
>>
>> com.sun.jini.test.spec.io.util.FakeRMIClassLoaderSpi.check(FakeRMIClassLoaderSpi.java:176)
>>         at
>>
>> com.sun.jini.test.spec.io.util.FakeRMIClassLoaderSpi.loadClass(FakeRMIClassLoaderSpi.java:115)
>>         at
>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
>>         at
>>
>> net.jini.loader.RMIClassLoaderCodebaseAccess.loadClass(RMIClassLoaderCodebaseAccess.java:36)
>>         at
>>
>> net.jini.loader.CodebaseAccessClassLoader.loadClass(CodebaseAccessClassLoader.java:47)
>>         at net.jini.loader.ClassLoading.loadClass(ClassLoading.java:198)
>>         at
>> net.jini.io.MarshalInputStream.resolveClass(MarshalInputStream.java:295)
>>         at
>>
>> com.sun.jini.test.spec.io.util.FakeMarshalInputStream.resolveClass(FakeMarshalInputStream.java:81)
>>         at
>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1592)
>>         at
>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
>>         at
>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
>>         at
>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
>>         at
>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
>>         at
>>
>> com.sun.jini.test.spec.io.marshalinputstream.Resolve_LoadClassExceptionTest.run(Resolve_LoadClassExceptionTest.java:217)
>>         at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
>>         at com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
>> com.sun.jini.qa.harness.TestException: java.lang.AssertionError
>>         at com.sun.jini.qa.harness.QATest.assertion(QATest.java:75)
>>         at
>>
>> com.sun.jini.test.spec.io.marshalinputstream.Resolve_LoadClassExceptionTest.run(Resolve_LoadClassExceptionTest.java:224)
>>         at com.sun.jini.qa.harness.MasterTest.doTest(MasterTest.java:250)
>>         at com.sun.jini.qa.harness.MasterTest.main(MasterTest.java:140)
>> MasterTest.doTest INFO:
>> ============================ CALLING TEARDOWN()
>> =============================
>>
>>
>> TIME: 1:11:55
>>
>> Test process was destroyed and returned code 1
>>
>> com/sun/jini/test/spec/io/marshalinputstream/Resolve_LoadClassExceptionTest.td
>> Test Failed: Test Failed: com.sun.jini.qa.harness.TestException:
>> java.lang.AssertionError
>>
>>
>> Can anybody else reproduce?
>>
>> Please run the QA suite with property run.categories set to "io" in your
>> build.properties.
>> You will get 3 of these AssertionErrors:
>> # of tests started   = 15
>> # of tests completed = 15
>> # of tests passed    = 12
>> # of tests failed    = 3
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message