-
Bug
-
Resolution: Done
-
Major
-
8.0.0.Beta1
-
None
Three JmxControlledStateNotificationsTestCase test cases fail with security manager on Java 11 due to missing permissions:
[ERROR] Failure when constructing test Time elapsed: 0.004 s <<< FAILURE! java.lang.AssertionError: {"outcome" => "failed","failure-description" => {"WFLYCTL0080: Failed services" => {"test.deployment.jmx" => "java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/notifications/data/jmx-facade\" \"read\")\" in code source \"(vfs:/content/test-jmx-notifications-deployment.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test-jmx-notifications-deployment.jar\" from Service Module Loader\") Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.io.FilePermission\" \"/home/okotek/test/asts-core-intermit/testsuite/standalone/target/notifications/data/jmx-facade\" \"read\")\" in code source \"(vfs:/content/test-jmx-notifications-deployment.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.test-jmx-notifications-deployment.jar\" from Service Module Loader\")"}},"rolled-back" => true} at org.junit.Assert.fail(Assert.java:88) at org.jboss.as.test.integration.management.rbac.RbacUtil.checkOperationResult(RbacUtil.java:115) at org.jboss.as.test.integration.management.rbac.RbacUtil.executeOperation(RbacUtil.java:100) at org.wildfly.test.jmx.JMXListenerDeploymentSetupTask.deploy(JMXListenerDeploymentSetupTask.java:97) at org.wildfly.test.jmx.JMXListenerDeploymentSetupTask.setup(JMXListenerDeploymentSetupTask.java:66) at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121) at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107) at org.junit.runners.Suite.runChild(Suite.java:128) ...
The failing tests:
- org.jboss.as.test.integration.domain.events.JmxControlledStateNotificationsTestCase
- org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase
- org.jboss.as.test.integration.jmx.JmxControlledStateNotificationsTestCase