]
RH Bugzilla Integration commented on ISPN-4406:
-----------------------------------------------
Adrian Nistor <anistor(a)redhat.com> changed the Status of [bug
Stabilise security manager integration testsuite
------------------------------------------------
Key: ISPN-4406
URL:
https://issues.jboss.org/browse/ISPN-4406
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Security
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Fix For: 7.0.0.Alpha5
integrationtests/security-manager-it tests randomly fail, which might be related to the
fact that a lot of these tests rely on static initialisation, and I think that's
causing messing up between tests initialising/uninitialising these static variables. The
fact that the errors are random seems to back this up.
However, enabling sequential testing results in:
{code}[ERROR] java.lang.SecurityException: ISPN000287: Unauthorized access: subject
'null' lacks 'LIFECYCLE' permission
[ERROR] at
org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:56)
[ERROR] at
org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:70)
[ERROR] at
org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:75)
[ERROR] at
org.infinispan.manager.DefaultCacheManager.getStatus(DefaultCacheManager.java:677)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory$PerThreadCacheManagers.checkManagersClosed(TestCacheManagerFactory.java:435)
[ERROR] at
org.infinispan.test.fwk.TestCacheManagerFactory.testFinished(TestCacheManagerFactory.java:422)
[ERROR] at
org.infinispan.test.fwk.UnitTestTestNGListener.onFinish(UnitTestTestNGListener.java:104){code}
This error is also present in paralell testing but in this case it's just logged
rather than halting the process.