[
https://issues.jboss.org/browse/WFCORE-2656?page=com.atlassian.jira.plugi...
]
ehsavoie Hugonnet edited comment on WFCORE-2656 at 4/18/17 4:10 AM:
--------------------------------------------------------------------
[~brian.stansberry] you are correct I 'see' a rollback of the CapabilityRegistry
after the 'failure' of the RT :
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) Executing "read-children-resources" []
2017-04-18 09:43:01,668 TRACE [org.jboss.threads.interrupt-handler] (MSC service thread
1-8) Interrupting thread "Thread[DeploymentScanner-threads -
1,5,DeploymentScanner-threads]"
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) Rolling back on cancellation of operation
read-children-resources on address [] in stage MODEL
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(management-handler-thread - 1) persisting
org.jboss.as.controller.registry.BasicResource@4fcba122 from
org.jboss.as.controller.ModelControllerImpl$ManagementModelImpl@3c98ea29
2017-04-18 09:43:01,668 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1)
Rollbacking current registry
was (Author: ehugonnet):
[~brian.stansberry]you are correct I 'see' a rollback of the CapabilityRegistry
after the 'failure' of the RT :
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) Executing "read-children-resources" []
2017-04-18 09:43:01,668 TRACE [org.jboss.threads.interrupt-handler] (MSC service thread
1-8) Interrupting thread "Thread[DeploymentScanner-threads -
1,5,DeploymentScanner-threads]"
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) Rolling back on cancellation of operation
read-children-resources on address [] in stage MODEL
2017-04-18 09:43:01,668 TRACE [org.jboss.as.controller.management-operation]
(management-handler-thread - 1) persisting
org.jboss.as.controller.registry.BasicResource@4fcba122 from
org.jboss.as.controller.ModelControllerImpl$ManagementModelImpl@3c98ea29
2017-04-18 09:43:01,668 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1)
Rollbacking current registry
DeploymentTestCase.testFilesystemScannerRegistration fails
intermittently
-------------------------------------------------------------------------
Key: WFCORE-2656
URL:
https://issues.jboss.org/browse/WFCORE-2656
Project: WildFly Core
Issue Type: Bug
Components: Deployment Scanner, Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
https://ci.wildfly.org/project.html?projectId=WildFlyCore_PullRequest&...
I fear this has something to do with the capability registry and nothing to do with the
scanner itself. It started happening when I added a capability to the scanner so it could
consume a capability for the path it references.
The test does a quick add/remove/add of a scanner resource and it's the 2nd add that
fails with a dupicate capability error. But the remove mean the dup is gone. It's
intermittent so I fear some race, but there's nothing obvious.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)