[JBoss JIRA] (HAWKULARQE-63) Hawkular Agent - Regression Testing
by Matt Mahoney (JIRA)
Matt Mahoney created HAWKULARQE-63:
--------------------------------------
Summary: Hawkular Agent - Regression Testing
Key: HAWKULARQE-63
URL: https://issues.jboss.org/browse/HAWKULARQE-63
Project: Hawkular QE
Issue Type: Task
Reporter: Matt Mahoney
Assignee: mfoley user
Place Holder task for now:
Changes expected to Hawkular Agent which will require full regression testing:
* Agent running on Bare Metal: Start/Stop will change - full regress needed.
* OpenShift: No expected changes, but should regression test.
*+*Development will write a blog post on the changes, once they are ready to be merged.*+*
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-846) Some tests throws "Permission check failed" while run with security manager
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/WFCORE-846?page=com.atlassian.jira.plugin... ]
Jan Tymel closed WFCORE-846.
----------------------------
Resolution: Done
Based on the discussion on JBEAP-526 I'm closing this issue as a duplicate.
Following issues were created to track test failures in WF core separetly:
* WFCORE-2254
* WFCORE-2532
* WFCORE-2533
* WFCORE-2534
* WFCORE-2535
* WFCORE-2536
* WFCORE-2537
* WFCORE-2538
> Some tests throws "Permission check failed" while run with security manager
> ---------------------------------------------------------------------------
>
> Key: WFCORE-846
> URL: https://issues.jboss.org/browse/WFCORE-846
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 2.0.0.Alpha11
> Reporter: Petr Kremensky
> Assignee: Ingo Weiss
> Fix For: 3.0.0.Alpha23
>
>
> Some tests are failing to deploy an archive when testsuite run with security manager enabled.
> {noformat}
> 08:03:07,171 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service test.deployment.trivial: org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "test.deployment.trivial.prop" "write")" in code source "(vfs:/content/test-http-deployment.sar <no signer certificates>)" of "null")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:274)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:176)
> at java.lang.System.setProperty(System.java:792)
> at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:80)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> ... 3 more
> 08:03:07,173 ERROR [org.jboss.as.controller.management-operation] (XNIO-1 task-5) WFLYCTL0013: Operation ("add") failed - address: ([{"deployment" => "test-http-deployment.sar"}]) - failure description: {"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"test.deployment.trivial.prop\" \"write\")\" in code source \"(vfs:/content/test-http-deployment.sar <no signer certificates>)\" of \"null\")"}}
> 08:03:07,174 ERROR [org.jboss.as.server] (XNIO-1 task-5) WFLYSRV0021: Deploy of deployment "test-http-deployment.sar" was rolled back with the following failure message:
> {"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"test.deployment.trivial.prop\" \"write\")\" in code source \"(vfs:/content/test-http-deployment.sar <no signer certificates>)\" of \"null\")"}}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2538) DeploymentOperationsTestCase fails with security manager in WF core
by Jan Tymel (JIRA)
Jan Tymel created WFCORE-2538:
---------------------------------
Summary: DeploymentOperationsTestCase fails with security manager in WF core
Key: WFCORE-2538
URL: https://issues.jboss.org/browse/WFCORE-2538
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Reporter: Jan Tymel
Assignee: Tomaz Cerar
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testBrowseContentFailsNonexistentPath*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedOperationsFailWithUnmanagedArchiveDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedOperationsFailWithUnmanagedExplodedDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testReadContentFailsDirectory*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testReadContentFailsNonExistentPath*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testAddContentFailsWithoutOverwriteManagedExplodedDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testExplodeFailsWithDeployedManagedArchiveDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedAttributeReadOnly*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedAttributeValue*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedExplodedOperationsFailWithManagedArchiveDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedExplodedOperationsFailWithUnmanagedArchiveDeployment*
*org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase#testManagedExplodedOperationsFailWithUnmanagedExplodedDeployment*
{{cd testsuite/standalone/}}
{{mvn test -Dtest=DeploymentOperationsTestCase -Dsecurity.manager -DtestLogToFile=false}}
{code}
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service test.deployment.trivial: org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "test-deployment.jarService" "write")" in code source "(vfs:/home/jtymel/jboss-eap/src/7.1/jboss-eap-7.1.0.DR13-core/testsuite/standalone/target/archives/test-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-deployment.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 3 more
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2254) InterdependentDeploymentTestCase fails with security manager
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2254?page=com.atlassian.jira.plugi... ]
Jan Tymel reopened WFCORE-2254:
-------------------------------
Reopening this issue.
The test still fails on commit {{c6d4f5a36cde9e738cad0eae894060a2b4a5f399}} with following output:
{code}
14:12:57,607 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service ServiceActivatorDeployment.b: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.b: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-b.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service test.deployment.trivial: org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-a.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,606 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service ServiceActivatorDeployment.e: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.e: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-e.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,611 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service ServiceActivatorDeployment.d: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.d: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-d.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,614 INFO [stdout] (MSC service thread 1-7) Properties found
14:12:57,617 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service ServiceActivatorDeployment.c: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.c: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-c.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,623 INFO [stdout] (MSC service thread 1-2) Properties found
14:12:57,624 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service ServiceActivatorDeployment.f: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.f: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:785)
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-f.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
at java.lang.System.setProperty(System.java:476)
at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
... 4 more
14:12:57,631 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "interrelated-a.jar")]) - failure description: {
"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"interrelated-a.jar\" \"write\")\" in code source \"(vfs:/content/interrelated-a.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.interrelated-a.jar\" from Service Module Loader\")"},
"WFLYCTL0412: Required services that are not installed:" => ["test.deployment.trivial"]
}
14:12:57,634 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0022: Deploy of deployment "interrelated-f.jar" was rolled back with no failure message
14:12:57,673 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment interrelated-f.jar (runtime-name: interrelated-f.jar) in 22ms
14:12:57,676 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0022: Deploy of deployment "interrelated-e.jar" was rolled back with no failure message
14:12:57,686 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment interrelated-e.jar (runtime-name: interrelated-e.jar) in 10ms
14:12:57,688 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0022: Deploy of deployment "interrelated-d.jar" was rolled back with no failure message
14:12:57,698 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment interrelated-d.jar (runtime-name: interrelated-d.jar) in 8ms
14:12:57,701 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0022: Deploy of deployment "interrelated-c.jar" was rolled back with no failure message
14:12:57,710 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment interrelated-c.jar (runtime-name: interrelated-c.jar) in 7ms
14:12:57,713 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0022: Deploy of deployment "interrelated-b.jar" was rolled back with no failure message
14:12:57,740 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment interrelated-b.jar (runtime-name: interrelated-b.jar) in 26ms
14:12:57,755 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "interrelated-a.jar" was rolled back with the following failure message:
{
"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"interrelated-a.jar\" \"write\")\" in code source \"(vfs:/content/interrelated-a.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.interrelated-a.jar\" from Service Module Loader\")"},
"WFLYCTL0412: Required services that are not installed:" => ["test.deployment.trivial"]
}
14:12:57,781 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment interrelated-a.jar (runtime-name: interrelated-a.jar) in 8ms
14:12:57,784 INFO [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service ServiceActivatorDeployment.d
service test.deployment.trivial
service ServiceActivatorDeployment.c
service ServiceActivatorDeployment.f
service ServiceActivatorDeployment.b
service ServiceActivatorDeployment.e
14:12:57,822 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0236: Suspending server with no timeout.
14:12:57,840 INFO [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
14:12:57,982 INFO [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Core 3.0.0.Beta9-SNAPSHOT "Kenny" stopped in 77ms
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.04 sec <<< FAILURE! - in org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase
test(org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase) Time elapsed: 6.036 sec <<< FAILURE!
org.junit.ComparisonFailure: {
"outcome" => "failed",
"result" => {
"step-1" => {
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"interrelated-a.jar\" \"write\")\" in code source \"(vfs:/content/interrelated-a.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.interrelated-a.jar\" from Service Module Loader\")"},
"WFLYCTL0412: Required services that are not installed:" => ["test.deployment.trivial"]
},
"rolled-back" => true
},
"step-2" => {
"outcome" => "failed",
"rolled-back" => true
},
"step-3" => {
"outcome" => "failed",
"rolled-back" => true
},
"step-4" => {
"outcome" => "failed",
"rolled-back" => true
},
"step-5" => {
"outcome" => "failed",
"rolled-back" => true
},
"step-6" => {
"outcome" => "failed",
"rolled-back" => true
}
},
"failure-description" => {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {
"WFLYCTL0080: Failed services" => {"test.deployment.trivial" => "org.jboss.msc.service.StartException in service test.deployment.trivial: Failed to start service
Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission \"(\"java.util.PropertyPermission\" \"interrelated-a.jar\" \"write\")\" in code source \"(vfs:/content/interrelated-a.jar <no signer certificates>)\" of \"ModuleClassLoader for Module \"deployment.interrelated-a.jar\" from Service Module Loader\")"},
"WFLYCTL0412: Required services that are not installed:" => ["test.deployment.trivial"]
}}},
"rolled-back" => true
} expected:<[success]> but was:<[failed]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase.test(InterdependentDeploymentTestCase.java:129)
{code}
> InterdependentDeploymentTestCase fails with security manager
> ------------------------------------------------------------
>
> Key: WFCORE-2254
> URL: https://issues.jboss.org/browse/WFCORE-2254
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: Ingo Weiss
> Fix For: 3.0.0.Alpha25
>
>
> *org.jboss.as.test.manualmode.deployment.InterdependentDeploymentTestCase#test*
> {{cd testsuite/manualmode/}}
> {{mvn test -DtestLogToFile=false -Dtest=InterdependentDeploymentTestCase -Dsecurity.manager}}
> {code}
> ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service ServiceActivatorDeployment.c: org.jboss.msc.service.StartException in service ServiceActivatorDeployment.c: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
> at org.jboss.msc.service.MSCExecutor$1.run(MSCExecutor.java:77)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "interrelated-c.jar" "write")" in code source "(vfs:/content/interrelated-a.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.interrelated-a.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at java.lang.System.setProperty(System.java:792)
> at org.jboss.as.test.deployment.trivial.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:91)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2536) JmxSensitiveTestCase fails with security manager in WF core
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2536?page=com.atlassian.jira.plugi... ]
Jan Tymel commented on WFCORE-2536:
-----------------------------------
Note: This issue might have the same cause as WFCORE-2537 since both failures produces suspiciously similar outputs.
> JmxSensitiveTestCase fails with security manager in WF core
> -----------------------------------------------------------
>
> Key: WFCORE-2536
> URL: https://issues.jboss.org/browse/WFCORE-2536
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
> Assignee: Tomaz Cerar
>
> *org.jboss.as.test.integration.mgmt.access.JmxSensitiveTestCase*
> {{cd testsuite/rbac/}}
> {{mvn test -Dtest=JmxSensitiveTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> 13:42:13,573 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service test.deployment.jmx: org.jboss.msc.service.StartException in service test.deployment.jmx: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:111)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1842)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:333)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:534)
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:1536)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:878)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.registerMBean(ServiceActivatorDeployment.java:139)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:99)
> ... 5 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2536) JmxSensitiveTestCase fails with security manager in WF core
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2536?page=com.atlassian.jira.plugi... ]
Jan Tymel reassigned WFCORE-2536:
---------------------------------
Assignee: (was: Tomaz Cerar)
> JmxSensitiveTestCase fails with security manager in WF core
> -----------------------------------------------------------
>
> Key: WFCORE-2536
> URL: https://issues.jboss.org/browse/WFCORE-2536
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Jan Tymel
>
> *org.jboss.as.test.integration.mgmt.access.JmxSensitiveTestCase*
> {{cd testsuite/rbac/}}
> {{mvn test -Dtest=JmxSensitiveTestCase -Dsecurity.manager -DtestLogToFile=false}}
> {code}
> 13:42:13,573 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service test.deployment.jmx: org.jboss.msc.service.StartException in service test.deployment.jmx: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:111)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.lang.Thread.run(Thread.java:785)
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("javax.management.MBeanPermission" "org.wildfly.test.jmx.Dynamic#-[jboss.test:service=testdeployments]" "registerMBean")" in code source "(vfs:/content/test-jmx-deployment.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.test-jmx-deployment.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:278)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanPermission(DefaultMBeanServerInterceptor.java:1842)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:333)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:534)
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:1536)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:878)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.registerMBean(ServiceActivatorDeployment.java:139)
> at org.wildfly.test.jmx.ServiceActivatorDeployment.start(ServiceActivatorDeployment.java:99)
> ... 5 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month