[JBoss JIRA] (JBTM-1365) Deploy REST-AT support as a JBossAS subsystem and module
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1365?focusedWorklogId=12428935&page=... ]
Gytis Trikleris logged work on JBTM-1365:
-----------------------------------------
Author: Gytis Trikleris
Created on: 25/Mar/13 2:30 PM
Start Date: 25/Mar/13 2:30 PM
Worklog Time Spent: 3 hours
Issue Time Tracking
-------------------
Remaining Estimate: 2 weeks, 4 days, 5 hours (was: 3 weeks)
Time Spent: 3 hours
Worklog Id: (was: 12428935)
> Deploy REST-AT support as a JBossAS subsystem and module
> --------------------------------------------------------
>
> Key: JBTM-1365
> URL: https://issues.jboss.org/browse/JBTM-1365
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: REST
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M3
>
> Original Estimate: 3 weeks
> Time Spent: 3 hours
> Remaining Estimate: 2 weeks, 4 days, 5 hours
>
> Currently a user of REST-AT needs to deploy the coordinator and also create a new module for the REST-AT client support. It would be a lot easier for developers if this was already deployed as part of AS7.
> I think the way to do this is to create a sub-system for the coordinator (like what we do for the XTS coordinator) and a module for the REST-AT libraries (again, similar to XTS).
> The subsystem would need to:
> * Bootstrap the coordinator. Currently bootstrapping occurs when the coordinator war is deployed. As there will be no war, the subsystem needs to take care of this bootstrapping.
> * Deploy the coordinator endpoint.
> The module would need to contain the REST-AT coordinator code and the client libraries.
> h3. Open Issues
> Need to check with the AS team to see if we add a new Subsystem or make do with an existing one. We can't start this work until this is resolved.
--
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
11 years, 3 months
[JBoss JIRA] (JBTM-1365) Deploy REST-AT support as a JBossAS subsystem and module
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1365?page=com.atlassian.jira.plugin.... ]
Work on JBTM-1365 stopped by Gytis Trikleris.
> Deploy REST-AT support as a JBossAS subsystem and module
> --------------------------------------------------------
>
> Key: JBTM-1365
> URL: https://issues.jboss.org/browse/JBTM-1365
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: REST
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Fix For: 5.0.0.M3
>
> Original Estimate: 3 weeks
> Remaining Estimate: 3 weeks
>
> Currently a user of REST-AT needs to deploy the coordinator and also create a new module for the REST-AT client support. It would be a lot easier for developers if this was already deployed as part of AS7.
> I think the way to do this is to create a sub-system for the coordinator (like what we do for the XTS coordinator) and a module for the REST-AT libraries (again, similar to XTS).
> The subsystem would need to:
> * Bootstrap the coordinator. Currently bootstrapping occurs when the coordinator war is deployed. As there will be no war, the subsystem needs to take care of this bootstrapping.
> * Deploy the coordinator endpoint.
> The module would need to contain the REST-AT coordinator code and the client libraries.
> h3. Open Issues
> Need to check with the AS team to see if we add a new Subsystem or make do with an existing one. We can't start this work until this is resolved.
--
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
11 years, 3 months
[JBoss JIRA] (JBTM-1206) Intermittent XTS CR bug
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1206?page=com.atlassian.jira.plugin.... ]
Paul Robinson commented on JBTM-1206:
-------------------------------------
Done
> Intermittent XTS CR bug
> -----------------------
>
> Key: JBTM-1206
> URL: https://issues.jboss.org/browse/JBTM-1206
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, XTS
> Reporter: Tom Jenkinson
> Assignee: Paul Robinson
> Priority: Minor
> Fix For: 4.17.4
>
>
> http://172.17.131.2/job/narayana-java7-idlj/51/
> [INFO] Surefire report directory: /home/hudson/workspace/narayana-java7-idlj/XTS/localjunit/crash-recovery-tests/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.arjuna.qa.junit.TestATCrashDuringCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 371.769 sec
> Running com.arjuna.qa.junit.TestATCrashDuringOnePhaseCommit
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.163 sec
> Running com.arjuna.qa.junit.TestATHeuristicRecoveryAfterDelayedCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 369.915 sec
> Running com.arjuna.qa.junit.TestATParticipantCrashAndRecover
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec
> Running com.arjuna.qa.junit.TestATSubordinateCrashDuringCommit
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 149.636 sec
> Running com.arjuna.qa.junit.TestATSubordinateCrashDuringPrepare
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.689 sec
> Running com.arjuna.qa.junit.TestBACrashDuringCommit
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,436.51 sec
> Running com.arjuna.qa.junit.TestBACrashDuringOnePhaseCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.511 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 320.848 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringCommitAfterSubordinateExit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 327.038 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringComplete
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 795.378 sec <<< FAILURE!
> Results :
> Tests in error:
> subordinateMultiParticipantParticipantCompletionParticipantCloseTest(com.arjuna.qa.junit.TestBASubordinateCrashDuringComplete): jboss-as not killed and shutdown
> Tests run: 26, Failures: 0, Errors: 1, Skipped: 3
--
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
11 years, 3 months
[JBoss JIRA] (JBTM-1560) JBoss AS controller core tests failed
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-1560?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris commented on JBTM-1560:
---------------------------------------
http://172.17.131.2/job/narayana-dualstack/90
> JBoss AS controller core tests failed
> -------------------------------------
>
> Key: JBTM-1560
> URL: https://issues.jboss.org/browse/JBTM-1560
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Application Server Integration, Testing
> Reporter: Gytis Trikleris
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.0.0.M3
>
>
> See: http://172.17.131.2/job/narayana-dualstack/89
> {noformat}
> Running org.jboss.as.controller.interfaces.NotInterfaceCriteriaUnitTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec <<< FAILURE!
> Running org.jboss.as.controller.interfaces.NicInterfaceCriteriaUnitTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<< FAILURE!
> Running org.jboss.as.controller.interfaces.AnyInterfaceCriteriaUnitTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
> {noformat}
> {noformat}
> Running org.jboss.as.controller.services.path.PathsTestCase
> 08:09:59,677 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("remove") failed - address: ([("path" => "hardcoded")]): java.lang.IllegalArgumentException: JBAS014848: Path entry is read-only: 'hardcoded'
> at org.jboss.as.controller.services.path.PathManagerService.removePathEntry(PathManagerService.java:186)
> at org.jboss.as.controller.services.path.PathRemoveHandler$1.execute(PathRemoveHandler.java:100)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.test.AbstractControllerTestBase.executeForResult(AbstractControllerTestBase.java:108)
> at org.jboss.as.controller.services.path.PathsTestCase.testRemoveHardcodedPathFails(PathsTestCase.java:218)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> 08:10:00,011 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("write-attribute") failed - address: ([("path" => "add1")]): java.lang.IllegalArgumentException: JBAS014847: Could not find a path called 'add1'
> at org.jboss.as.controller.services.path.PathManagerService.changeRelativePath(PathManagerService.java:253)
> at org.jboss.as.controller.services.path.PathWriteAttributeHandler.applyUpdateToRuntime(PathWriteAttributeHandler.java:98)
> at org.jboss.as.controller.AbstractWriteAttributeHandler$1.execute(AbstractWriteAttributeHandler.java:101)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.test.AbstractControllerTestBase.executeForResult(AbstractControllerTestBase.java:108)
> at org.jboss.as.controller.test.AbstractControllerTestBase.executeForFailure(AbstractControllerTestBase.java:117)
> at org.jboss.as.controller.services.path.PathsTestCase.testBadChangeNoNotification(PathsTestCase.java:644)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> 08:10:00,217 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014775: New missing/unsatisfied dependencies:
> service jboss.server.path.bad (missing) dependents: [service jboss.server.path.add1]
> {noformat}
> {noformat}
> Running org.jboss.as.controller.CompositeOperationHandlerUnitTestCase
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "response-headers" => {"runtime-update-skipped" => true},
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> }
> },
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> }
> ======================
> ========= New Test
> 08:10:00,415 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014775: New missing/unsatisfied dependencies:
> service jboss.missing (missing) dependents: [service jboss.missing-service]
> ======================
> ========= New Test
> {
> "outcome" => "success",
> "result" => {
> "step-1" => {
> "outcome" => "success",
> "result" => 1,
> "response-headers" => {
> "runtime-update-skipped" => true,
> "operation-requires-reload" => true
> }
> },
> "step-2" => {
> "outcome" => "success",
> "result" => 2
> }
> },
> "response-headers" => {"process-state" => "reload-required"}
> }
> ======================
> ========= New Test
> ======================
> ========= New Test
> 08:10:00,459 ERROR (MSC service thread 77-1) [org.jboss.msc.service.fail] <ServiceControllerImpl.java:1979> MSC000001: Failed to start service jboss.bad-service: org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1928)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: Bad service!
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$BadServiceHandler$1$1.start(ModelControllerImplUnitTestCase.java:900)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1972)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1905)
> ... 3 more
> 08:10:00,508 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.bad-service
> ======================
> ========= New Test
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> }
> },
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> }
> ======================
> ========= New Test
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "failure-description" => "this request is bad",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "this request is bad"}},
> "rolled-back" => true
> }
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "failure-description" => "this request is bad",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "this request is bad"}},
> "rolled-back" => true
> }
> ======================
> ========= New Test
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "response-headers" => {"runtime-update-skipped" => true},
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> }
> },
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> }
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> }
> },
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> }
> },
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {
> "Operation step-1" => "JBAS014654: Composite operation was rolled back",
> "Operation step-2" => "JBAS014654: Composite operation was rolled back"
> }},
> "rolled-back" => true
> }
> ======================
> ========= New Test
> 08:10:00,554 ERROR (MSC service thread 86-1) [org.jboss.msc.service.fail] <ServiceControllerImpl.java:1979> MSC000001: Failed to start service jboss.bad-service: org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1928)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: Bad service!
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$BadServiceHandler$1$1.start(ModelControllerImplUnitTestCase.java:900)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1972)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1905)
> ... 3 more
> 08:10:00,596 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.bad-service
> ======================
> ========= New Test
> 08:10:00,605 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("evil") failed - address: ([]): java.lang.RuntimeException: this handler is evil
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$ModelStageThrowsExceptionHandler.execute(ModelControllerImplUnitTestCase.java:704)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.CompositeOperationHandlerUnitTestCase.testModelStageUnhandledFailureNoRollback(CompositeOperationHandlerUnitTestCase.java:157)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "failure-description" => "JBAS014749: Operation handler failed: this handler is evil",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014749: Operation handler failed: this handler is evil"}},
> "rolled-back" => true
> }
> ======================
> ========= New Test
> {
> "outcome" => "success",
> "result" => {
> "step-1" => {
> "outcome" => "success",
> "result" => 1
> },
> "step-2" => {
> "outcome" => "success",
> "result" => 2
> }
> }
> }
> ======================
> ========= New Test
> {
> "outcome" => "success",
> "result" => {
> "step-1" => {
> "outcome" => "success",
> "result" => 1,
> "response-headers" => {
> "runtime-update-skipped" => true,
> "operation-requires-restart" => true
> }
> },
> "step-2" => {
> "outcome" => "success",
> "result" => 2
> }
> },
> "response-headers" => {"process-state" => "restart-required"}
> }
> ======================
> ========= New Test
> ------
> ------
> ======================
> ========= New Test
> ======================
> ========= New Test
> {
> "outcome" => "success",
> "result" => {
> "step-1" => {
> "outcome" => "success",
> "result" => 1
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "failure-description" => "OFE"
> }
> }
> }
> ======================
> ========= New Test
> ======================
> ========= New Test
> 08:10:00,800 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("runtimeException") failed - address: ([]): java.lang.RuntimeException: runtime exception
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$RuntimeStageThrowsExceptionHandler$1.execute(ModelControllerImplUnitTestCase.java:769)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.CompositeOperationHandlerUnitTestCase.testRuntimeStageUnhandledFailureNoRollback(CompositeOperationHandlerUnitTestCase.java:221)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> {
> "outcome" => "failed",
> "result" => {
> "step-1" => {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> },
> "step-2" => {
> "outcome" => "failed",
> "result" => 2,
> "failure-description" => "JBAS014749: Operation handler failed: runtime exception",
> "rolled-back" => true
> }
> },
> "failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014749: Operation handler failed: runtime exception"}},
> "rolled-back" => true
> }
> ======================
> ========= New Test
> {
> "outcome" => "failed",
> "result" => {"step-1" => {
> "outcome" => "failed",
> "result" => 2,
> "rolled-back" => true
> }},
> "failure-description" => "JBAS014654: Composite operation was rolled back",
> "rolled-back" => true
> }
> ======================
> ========= New Test
> 08:10:00,975 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("evil") failed - address: ([]): java.lang.RuntimeException: this handler is evil
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$ModelStageThrowsExceptionHandler.execute(ModelControllerImplUnitTestCase.java:704)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.CompositeOperationHandlerUnitTestCase.testModelStageUnhandledFailure(CompositeOperationHandlerUnitTestCase.java:123)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> ======================
> ========= New Test
> 08:10:01,151 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014775: New missing/unsatisfied dependencies:
> service jboss.missing (missing) dependents: [service jboss.missing-service]
> ======================
> Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 sec
> Running org.jboss.as.controller.ModelControllerImplUnitTestCase
> 08:10:01,164 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("evil") failed - address: ([]): java.lang.RuntimeException: this handler is evil
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$ModelStageThrowsExceptionHandler.execute(ModelControllerImplUnitTestCase.java:704)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.ModelControllerImplUnitTestCase.testModelStageUnhandledFailureExecution(ModelControllerImplUnitTestCase.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> {
> "outcome" => "success",
> "result" => 5
> }
> {
> "outcome" => "failed",
> "result" => 1,
> "response-headers" => {"runtime-update-skipped" => true},
> "rolled-back" => true
> }
> 08:10:01,330 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014775: New missing/unsatisfied dependencies:
> service jboss.missing (missing) dependents: [service jboss.missing-service]
> {
> "outcome" => "failed",
> "result" => 1,
> "failure-description" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.missing-service is missing [jboss.missing]"]},
> "rolled-back" => true
> }
> {
> "outcome" => "success",
> "result" => 1,
> "response-headers" => {
> "runtime-update-skipped" => true,
> "operation-requires-reload" => true,
> "process-state" => "reload-required"
> }
> }
> {
> "outcome" => "failed",
> "result" => 1,
> "response-headers" => {"runtime-update-skipped" => true},
> "rolled-back" => true
> }
> {
> "outcome" => "success",
> "result" => 1
> }
> {
> "outcome" => "failed",
> "result" => 5,
> "failure-description" => "JBAS014762: Removing services has lead to unsatisfied dependencies:
> Service jboss.depended-service was depended upon by service jboss.dependent-service",
> "rolled-back" => true
> }
> {"outcome" => "success"}
> {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> }
> 08:10:01,377 ERROR (MSC service thread 110-1) [org.jboss.msc.service.fail] <ServiceControllerImpl.java:1979> MSC000001: Failed to start service jboss.bad-service: org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1928)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: Bad service!
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$BadServiceHandler$1$1.start(ModelControllerImplUnitTestCase.java:900)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1972)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1905)
> ... 3 more
> 08:10:01,415 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.bad-service
> {
> "outcome" => "failed",
> "result" => 1,
> "failure-description" => {"JBAS014671: Failed services" => {"jboss.bad-service" => "org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> Caused by: java.lang.RuntimeException: Bad service!"}},
> "rolled-back" => true
> }
> {
> "outcome" => "success",
> "result" => 1,
> "response-headers" => {
> "runtime-update-skipped" => true,
> "operation-requires-restart" => true,
> "process-state" => "restart-required"
> }
> }
> {
> "outcome" => "failed",
> "result" => 1,
> "rolled-back" => true
> }
> 08:10:01,433 ERROR (main) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("runtimeException") failed - address: ([]): java.lang.RuntimeException: runtime exception
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$RuntimeStageThrowsExceptionHandler$1.execute(ModelControllerImplUnitTestCase.java:769)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.ModelControllerImplUnitTestCase.testRuntimeStageUnhandledFailureNoRollback(ModelControllerImplUnitTestCase.java:230)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> 08:10:01,595 ERROR (MSC service thread 115-1) [org.jboss.msc.service.fail] <ServiceControllerImpl.java:1979> MSC000001: Failed to start service jboss.bad-service: org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1928)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: Bad service!
> at org.jboss.as.controller.ModelControllerImplUnitTestCase$BadServiceHandler$1$1.start(ModelControllerImplUnitTestCase.java:900)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1972)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1905)
> ... 3 more
> 08:10:01,631 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.bad-service: org.jboss.msc.service.StartException in service jboss.bad-service: Failed to start service
> 08:10:01,638 INFO (main) [org.jboss.as.controller] <ContainerStateMonitor.java:70> JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.bad-service
> {
> "outcome" => "success",
> "result" => 1
> }
> Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.505 sec
> Running org.jboss.as.controller.ObjectListAttributeDefinitionUnitTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running org.jboss.as.controller.OperationCancellationUnitTestCase
> ========= New Test
> 08:10:01,676 ERROR (pool-23-thread-1) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("block-model") failed - address: ([]): java.lang.RuntimeException: java.lang.InterruptedException
> at org.jboss.as.controller.OperationCancellationUnitTestCase.block(OperationCancellationUnitTestCase.java:145)
> at org.jboss.as.controller.OperationCancellationUnitTestCase.access$000(OperationCancellationUnitTestCase.java:70)
> at org.jboss.as.controller.OperationCancellationUnitTestCase$ModelStageBlocksHandler.execute(OperationCancellationUnitTestCase.java:322)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.ModelControllerImpl$3$1.run(ModelControllerImpl.java:458)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.InterruptedException
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1301)
> at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:236)
> at org.jboss.as.controller.OperationCancellationUnitTestCase.block(OperationCancellationUnitTestCase.java:143)
> ... 12 more
> ========= New Test
> ========= New Test
> 08:10:01,789 ERROR (pool-23-thread-2) [org.jboss.as.controller.management-operation] <AbstractOperationContext.java:478> JBAS014612: Operation ("block-runtime") failed - address: ([]): java.lang.RuntimeException: java.lang.InterruptedException
> at org.jboss.as.controller.OperationCancellationUnitTestCase.block(OperationCancellationUnitTestCase.java:145)
> at org.jboss.as.controller.OperationCancellationUnitTestCase.access$000(OperationCancellationUnitTestCase.java:70)
> at org.jboss.as.controller.OperationCancellationUnitTestCase$RuntimeStageBlocksHandler$1.execute(OperationCancellationUnitTestCase.java:351)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:439)
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:321)
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:228)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:223)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:193)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:114)
> at org.jboss.as.controller.ModelControllerImpl$3$1.run(ModelControllerImpl.java:458)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.InterruptedException
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:996)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
> at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:236)
> at org.jboss.as.controller.OperationCancellationUnitTestCase.block(OperationCancellationUnitTestCase.java:143)
> ... 12 more
> ========= New Test
> 08:10:01,900 WARN (pool-23-thread-2) [org.jboss.as.controller.management-operation] <OperationContextImpl.java:703> JBAS014626: Operation was interrupted before stability could be reached
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 sec
> Results :
> Failed tests: testMultipleCriteria(org.jboss.as.controller.interfaces.NotInterfaceCriteriaUnitTestCase): expected:<{name:eth0 (eth0)=[/fe80:0:0:0:5054:ff:fe25:bb%2]}> but was:<{name:eth0 (eth0)=[/172.17.131.20, /fe80:0:0:0:5054:ff:fe25:bb%2]}>
> testBasic(org.jboss.as.controller.interfaces.NicInterfaceCriteriaUnitTestCase): expected:<[/0:0:0:0:0:0:0:1%1]> but was:<[/0:0:0:0:0:0:0:1%1, /127.0.0.1]>
> testMultipleCriteria(org.jboss.as.controller.interfaces.AnyInterfaceCriteriaUnitTestCase): expected:<{name:lo (lo)=[/0:0:0:0:0:0:0:1%1], name:eth0 (eth0)=[/fe80:0:0:0:5054:ff:fe25:bb%2]}> but was:<{name:lo (lo)=[/127.0.0.1, /0:0:0:0:0:0:0:1%1], name:eth0 (eth0)=[/172.17.131.20, /fe80:0:0:0:5054:ff:fe25:bb%2]}>
> Tests run: 282, Failures: 3, Errors: 0, Skipped: 3
> {noformat}
--
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
11 years, 3 months
[JBoss JIRA] (JBTM-1206) Intermittent XTS CR bug
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1206?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson commented on JBTM-1206:
-------------------------------------
Please prune: http://172.17.131.2/view/Narayana+BlackTie/job/narayana/
> Intermittent XTS CR bug
> -----------------------
>
> Key: JBTM-1206
> URL: https://issues.jboss.org/browse/JBTM-1206
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing, XTS
> Reporter: Tom Jenkinson
> Assignee: Paul Robinson
> Priority: Minor
> Fix For: 4.17.4
>
>
> http://172.17.131.2/job/narayana-java7-idlj/51/
> [INFO] Surefire report directory: /home/hudson/workspace/narayana-java7-idlj/XTS/localjunit/crash-recovery-tests/target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.arjuna.qa.junit.TestATCrashDuringCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 371.769 sec
> Running com.arjuna.qa.junit.TestATCrashDuringOnePhaseCommit
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.163 sec
> Running com.arjuna.qa.junit.TestATHeuristicRecoveryAfterDelayedCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 369.915 sec
> Running com.arjuna.qa.junit.TestATParticipantCrashAndRecover
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec
> Running com.arjuna.qa.junit.TestATSubordinateCrashDuringCommit
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 149.636 sec
> Running com.arjuna.qa.junit.TestATSubordinateCrashDuringPrepare
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.689 sec
> Running com.arjuna.qa.junit.TestBACrashDuringCommit
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,436.51 sec
> Running com.arjuna.qa.junit.TestBACrashDuringOnePhaseCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.511 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringCommit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 320.848 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringCommitAfterSubordinateExit
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 327.038 sec
> Running com.arjuna.qa.junit.TestBASubordinateCrashDuringComplete
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 795.378 sec <<< FAILURE!
> Results :
> Tests in error:
> subordinateMultiParticipantParticipantCompletionParticipantCloseTest(com.arjuna.qa.junit.TestBASubordinateCrashDuringComplete): jboss-as not killed and shutdown
> Tests run: 26, Failures: 0, Errors: 1, Skipped: 3
--
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
11 years, 3 months
[JBoss JIRA] (JBTM-1209) XTS recovery tests failing due to a non-empty TXObjectStore after test complete
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1209?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson reopened JBTM-1209:
---------------------------------
Please investigate the latest failures and close if they are unrelated
> XTS recovery tests failing due to a non-empty TXObjectStore after test complete
> -------------------------------------------------------------------------------
>
> Key: JBTM-1209
> URL: https://issues.jboss.org/browse/JBTM-1209
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Testing
> Affects Versions: 5.0.0.M1
> Reporter: Paul Robinson
> Assignee: Amos Feng
> Fix For: 4.17.0, 5.0.0.M2
>
>
> See: http://172.17.131.2/view/Narayana+BlackTie/job/narayana-java7/411/console
> Looking at http://172.17.131.2/job/narayana-java7/411/artifact/XTS/localjunit/crash-... you will see:
> {code}
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:92)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at org.junit.Assert.assertTrue(Assert.java:54)
> at com.arjuna.qa.junit.BaseCrashTest.tearDown(BaseCrashTest.java:105)
> {code}
> This assertion checks that the TXObjectStore is empty after the test completes. For the three tests that failed in this job, the log was not empty.
> Looking at the end of http://172.17.131.2/job/narayana-java7/411/artifact/XTS/localjunit/crash-... shows you:
> {code}
> [0m[0m10:36:04,605 INFO [stdout] (Periodic Recovery) rule.debug{trace remove committed state} : removed committed transaction 0:ffffac118303:4e49dd0f:50110ed5:10
> [0m[0m10:36:04,605 INFO [stdout] (Periodic Recovery) rule.debug{trace remove committed state} : !!!killing JVM!!!
> {code}
> This suggests that the transaction log was removed. However, I'm not sure that the Byteman script checks that the participant record has also been removed. It's possible that the AS is being killed slightly too early, before the participant record is removed. We should check other scripts to see if they wait for both logs to be removed.
> [JBTM-1208] should help debug this problem if we get it again.
--
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
11 years, 3 months