[jboss-jira] [JBoss JIRA] (WFCORE-2656) DeploymentTestCase.testFilesystemScannerRegistration fails intermittently

ehsavoie Hugonnet (JIRA) issues at jboss.org
Tue Apr 18 04:11:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13394254#comment-13394254 ] 

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 at 4fcba122 from org.jboss.as.controller.ModelControllerImpl$ManagementModelImpl at 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 at 4fcba122 from org.jboss.as.controller.ModelControllerImpl$ManagementModelImpl at 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&testNameId=5510538220891037036&tab=testDetails
> 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)


More information about the jboss-jira mailing list