[jboss-jira] [JBoss JIRA] (WFCORE-1074) Intermittent failure in DeploymentScannerUnitTestCase
Brian Stansberry (JIRA)
issues at jboss.org
Tue Oct 27 15:15:00 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122676#comment-13122676 ]
Brian Stansberry edited comment on WFCORE-1074 at 10/27/15 3:14 PM:
--------------------------------------------------------------------
Emmanuel and I were chatting, so this is a follow up to his last comment based on our chat.
1) If an app tries to deploy and deployment doesn't go well due to some service problems, but rollback-on-runtime-failure=false is set, that app is still "deployed" in the management sense. The 'enabled' attribute will be set to 'true' in the model, and MSC will have a bunch of services installed related to the app. It just won't be functioning properly. So, sending a "deployed" notification is valid.
2) The notifications really are only relevant for cases like WFCORE-860 where the end user is directly using CLI/console to tweak the state of a scanner controlled deployment. There the scanner needs notifications to be aware of user-initiated changes. But the scanner has logic to ignore notifications emitted as a result of its *own* activity. Perhaps there is a bug there, but the logic to ignore definitely exists.
was (Author: brian.stansberry):
Emanuel and I were chatting, so this is a follow up to his last comment based on our chat.
1) If an app tries to deploy and deployment doesn't go well due to some service problems, but rollback-on-runtime-failure=false is set, that app is still "deployed" in the management sense. The 'enabled' attribute will be set to 'true' in the model, and MSC will have a bunch of services installed related to the app. It just won't be functioning properly. So, sending a "deployed" notification is valid.
2) The notifications really are only relevant for cases like WFCORE-860 where the end user is directly using CLI/console to tweak the state of a scanner controlled deployment. There the scanner needs notifications to be aware of user-initiated changes. But the scanner has logic to ignore notifications emitted as a result of its *own* activity. Perhaps there is a bug there, but the logic to ignore definitely exists.
> Intermittent failure in DeploymentScannerUnitTestCase
> -----------------------------------------------------
>
> Key: WFCORE-1074
> URL: https://issues.jboss.org/browse/WFCORE-1074
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: ehsavoie Hugonnet
> Fix For: 3.0.0.Alpha1
>
>
> DeploymentScannerUnitTestCase occasionally fails, 4 times in the last six weeks or so per Team City records:
> http://brontes.lab.eng.brq.redhat.com/project.html?projectId=WildFlyCore&buildTypeId=&tab=testDetails&testNameId=-2364482317512802563&order=TEST_STATUS_DESC&branch_WildFlyCore=__all_branches__&itemsCount=50
> May not be relevant but the change log associated with the first failure shows WFCORE-903 / WFCORE-860 as part of the change set:
>
> http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=70465&tab=buildChangesDiv&buildTypeId=WildFlyCore_MasterIgnorWindows
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list