river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: QA test failure while running "security" test category
Date Wed, 01 Sep 2010 07:23:47 GMT
That test failure should be a relatively simple fix, related to dynamic 
permission grants, in this case backing out the DynamicPolicyProvider 
isn't going to tell us much, since in the later version it's a wrapper 
class that uses a ServiceProvider interface to load either the original 
implementation or the concurrent policy provider.


Jonathan Costers wrote:
> Backing out the changes to the following files:
> src/net/jini/security/policy/DynamicPolicyProvider.java
> qa/src/com/sun/jini/test/spec/policyprovider/dynamicPolicyProvider/DynamicPolicyProviderTestBase.java
> qa/src/com/sun/jini/test/spec/policyprovider/dynamicPolicyProvider/GrantNoPricipalCase02.java
> qa/src/com/sun/jini/test/spec/policyprovider/dynamicPolicyProvider/NullCases.java
> has made the "security" QA test category pass completely for me
>
> 2010/8/27 Patricia Shanahan <pats@acm.org>
>
>   
>> This is a relatively recent regression, later than the one Peter is
>> currently investigating. It fails on revision 979018, but passes on both
>> 935130 and 934258, the revisions that bracket the known regression.
>>
>> Patricia
>>
>>
>> On 8/26/2010 4:51 PM, Jonathan Costers wrote:
>>
>>     
>>> test failing:
>>> com/sun/jini/test/spec/security/basicproxypreparer/Grant_Test.td:
>>>
>>>
>>> =============================== CALLING RUN()
>>> ===============================
>>>
>>> Grant_Test.run INFO: ======================================
>>> java.lang.NullPointerException
>>>         at
>>>
>>> org.apache.river.imp.security.policy.util.PermissionGrantBuilderImp.clazz(PermissionGrantBuilderImp.java:87)
>>>         at
>>>
>>> org.apache.river.imp.security.policy.se.DynamicConcurrentPolicyProvider.grant(DynamicConcurrentPolicyProvider.java:406)
>>>         at
>>>
>>> net.jini.security.policy.DynamicPolicyProvider.grant(DynamicPolicyProvider.java:224)
>>>         at net.jini.security.Security.grant(Security.java:763)
>>>         at net.jini.security.Security.grant(Security.java:708)
>>>         at
>>> net.jini.security.BasicProxyPreparer.grant(BasicProxyPreparer.java:334)
>>>         at
>>>
>>> com.sun.jini.test.spec.security.basicproxypreparer.FakeBasicProxyPreparer.grant(FakeBasicProxyPreparer.java:135)
>>>         at
>>>
>>> com.sun.jini.test.spec.security.basicproxypreparer.Grant_Test.run(Grant_Test.java:148)
>>>         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()
>>> =============================
>>>
>>> QATest.tearDown FINE: Destroying remaining managed services
>>> 27-aug-2010 1:48:19 net.jini.config.AbstractConfiguration getEntryInternal
>>> FINE: ConfigurationFile@1d6096, component com.sun.jini.qa.harness, name
>>> nSecsWaitDestroy: returns default null
>>> AdminManager.destroyService FINE: destroying service: class
>>> com.sun.jini.tool.ClassServer
>>> 27-aug-2010 1:48:19 com.sun.jini.tool.ClassServer terminate
>>> INFO: ClassServer terminated [port 8082]
>>> 27-aug-2010 1:48:19 com.sun.jini.tool.ClassServer terminate
>>> INFO: ClassServer terminated [port 8082]
>>>
>>> TIME: 1:48:20
>>>
>>> Test process was destroyed and returned code 1
>>> com/sun/jini/test/spec/security/basicproxypreparer/Grant_Test.td
>>> Test Failed: Test Failed with an Unexpected Exception:
>>> java.lang.NullPointerException
>>>
>>>
>>>       
>
>   


Mime
View raw message