[JBoss JIRA] (ISPN-4238) Security manager tests aren't able to to set security policy on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4238?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-4238:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1091381
> Security manager tests aren't able to to set security policy on Windows
> -----------------------------------------------------------------------
>
> Key: ISPN-4238
> URL: https://issues.jboss.org/browse/ISPN-4238
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Vojtech Juranek
> Assignee: Dan Berindei
> Labels: testsuite_stability
>
> Security manager tests fail as they aren't able to to set security policy on Windows. Tests fail with
> {noformat}
> java.security.AccessControlException: access denied ("java.security.SecurityPermission" "setPolicy")
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
> at java.security.AccessController.checkPermission(AccessController.java:559)
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at java.security.Policy.setPolicy(Policy.java:279)
> at org.infinispan.security.SecurityManagerCacheAuthorizationTest.testAllCombinations(SecurityManagerCacheAuthorizationTest.java:18)
> {noformat}
> Example of test failure in Jenkins (W2k8 and Oracle JDK 7) is [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-tes...].
> Same test pass fine on linux. I didn't find any difference in JDK policy setup on linux and windows and in general, all JDK setup should be same on both platforms.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
9 years, 11 months
[JBoss JIRA] (ISPN-4238) Security manager tests aren't able to to set security policy on Windows
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-4238:
-------------------------------------
Summary: Security manager tests aren't able to to set security policy on Windows
Key: ISPN-4238
URL: https://issues.jboss.org/browse/ISPN-4238
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Vojtech Juranek
Assignee: Dan Berindei
Security manager tests fail as they aren't able to to set security policy on Windows. Tests fail with
{noformat}
java.security.AccessControlException: access denied ("java.security.SecurityPermission" "setPolicy")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.security.Policy.setPolicy(Policy.java:279)
at org.infinispan.security.SecurityManagerCacheAuthorizationTest.testAllCombinations(SecurityManagerCacheAuthorizationTest.java:18)
{noformat}
Example of test failure in Jenkins (W2k8 and Oracle JDK 7) is [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-tes...].
Same test pass fine on linux. I didn't find any difference in JDK policy setup on linux and windows and in general, all JDK setup should be same on both platforms.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
9 years, 11 months
[JBoss JIRA] (ISPN-4237) Security manager test QueryAuthorizationTest.testQuery fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4237?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-4237:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1091373
> Security manager test QueryAuthorizationTest.testQuery fails
> ------------------------------------------------------------
>
> Key: ISPN-4237
> URL: https://issues.jboss.org/browse/ISPN-4237
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Vojtech Juranek
> Assignee: Dan Berindei
> Labels: testsuite_stability
>
> {{org.infinispan.security.QueryAuthorizationTest.testQuery}} fails (no matter which JDK is used) with
> {noformat}
> java.lang.IllegalArgumentException: Indexing was not enabled on this cache. interface org.hibernate.search.spi.SearchFactoryIntegrator not found in registry
> at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:27)
> at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:20)
> at org.infinispan.query.impl.SearchManagerImpl.<init>(SearchManagerImpl.java:42)
> at org.infinispan.query.Search.getSearchManager(Search.java:21)
> at org.infinispan.security.QueryAuthorizationTest.queryTest(QueryAuthorizationTest.java:97)
> at org.infinispan.security.QueryAuthorizationTest.access$300(QueryAuthorizationTest.java:32)
> at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:113)
> at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:109)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at org.infinispan.security.QueryAuthorizationTest.testQuery(QueryAuthorizationTest.java:109)
> {noformat}
> Example of test failure in Jenkins on RHEL6 and Oracle JDK 7 is e.g. [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-tes...].
> Maybe it's some setup issue, as on Jenkins it fails on all platforms, while I;m not able to reproduce it on my machine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
9 years, 11 months
[JBoss JIRA] (ISPN-4237) Security manager test QueryAuthorizationTest.testQuery fails
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-4237:
-------------------------------------
Summary: Security manager test QueryAuthorizationTest.testQuery fails
Key: ISPN-4237
URL: https://issues.jboss.org/browse/ISPN-4237
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Vojtech Juranek
Assignee: Dan Berindei
{{org.infinispan.security.QueryAuthorizationTest.testQuery}} fails (no matter which JDK is used) with
{noformat}
java.lang.IllegalArgumentException: Indexing was not enabled on this cache. interface org.hibernate.search.spi.SearchFactoryIntegrator not found in registry
at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:27)
at org.infinispan.query.impl.ComponentRegistryUtils.getComponent(ComponentRegistryUtils.java:20)
at org.infinispan.query.impl.SearchManagerImpl.<init>(SearchManagerImpl.java:42)
at org.infinispan.query.Search.getSearchManager(Search.java:21)
at org.infinispan.security.QueryAuthorizationTest.queryTest(QueryAuthorizationTest.java:97)
at org.infinispan.security.QueryAuthorizationTest.access$300(QueryAuthorizationTest.java:32)
at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:113)
at org.infinispan.security.QueryAuthorizationTest$4.run(QueryAuthorizationTest.java:109)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.infinispan.security.QueryAuthorizationTest.testQuery(QueryAuthorizationTest.java:109)
{noformat}
Example of test failure in Jenkins on RHEL6 and Oracle JDK 7 is e.g. [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-tes...].
Maybe it's some setup issue, as on Jenkins it fails on all platforms, while I;m not able to reproduce it on my machine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
9 years, 11 months
[JBoss JIRA] (ISPN-4236) RHQ JMX plugin causes Cache/CacheManager to report as not available
by William Burns (JIRA)
William Burns created ISPN-4236:
-----------------------------------
Summary: RHQ JMX plugin causes Cache/CacheManager to report as not available
Key: ISPN-4236
URL: https://issues.jboss.org/browse/ISPN-4236
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 7.0.0.Alpha3
Reporter: William Burns
Assignee: William Burns
Fix For: 7.0.0.Final
With the update to use newer RHQ, the CacheManager and Cache sometimes report as being down when using library JMX plugin. It looks like RHQ added some additional checks which just pushes the operation time over the default of 5 seconds. This is to clean up our code a bit to make the availability check for efficient.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
9 years, 11 months