Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for WFCORE-2283. Completion for alternatives,requires and required #2811

Merged
merged 2 commits into from Nov 16, 2017

Conversation

jfdenise
Copy link
Contributor

@jfdenise jfdenise commented Sep 14, 2017

Better completion for alternatives and required arguments.
Community Doc PR: wildfly/wildfly#10798

@wildfly-ci
Copy link

Full integration - Windows Build 4272 outcome was FAILURE using a merge of 6460f2a
Summary: Tests failed: 11 (11 new), passed: 4057, ignored: 103 Build time: 01:48:39

Failed tests

org.jboss.as.test.integration.domain.mixed.eap630.MixedDomainDeployment630TestCase: java.lang.AssertionError: Slave server-one did not start within 20000 ms
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startSlaveServer(MixedDomainTestSupport.java:163)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:126)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:154)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:78)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:68)
	at org.jboss.as.test.integration.domain.mixed.eap630.MixedDomain630TestSuite.initializeDomain(MixedDomain630TestSuite.java:44)
	at org.jboss.as.test.integration.domain.mixed.eap630.MixedDomainDeployment630TestCase.beforeClass(MixedDomainDeployment630TestCase.java:38)
------- Stdout: -------
[Host Controller] 14:21:16,765 INFO  [org.jboss.as.domain.controller] (management task-4) WFLYHC0026: Unregistered remote slave host "slave"
14:21:17,813 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
14:21:18,070 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 14:21:18,487 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
[Host Controller] 14:21:18,718 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
[Host Controller] 14:21:18,767 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Final-SNAPSHOT (WildFly Core 4.0.0.Alpha1-SNAPSHOT) starting
[Host Controller] 14:21:19,205 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:19,206 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:19,262 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:19,262 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:19,286 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 14:21:19,291 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.5.1.Final
[Host Controller] 14:21:19,295 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.5.1.Final
[Host Controller] 14:21:19,312 INFO  [org.jboss.as.patching] (MSC service thread 1-3) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 14:21:19,338 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 5.0.2.Final
[Host Controller] 14:21:19,342 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-3) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomain630TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 14:21:19,399 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 14:21:20,497 INFO  [org.wildfly.security] (Controller Boot Thread) ELY00001: WildFly Elytron version 1.2.0.Beta3
[Host Controller] 14:21:20,532 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=default/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:20,570 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:20,602 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:20,645 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/profile=full-ha/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:20,802 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://[::1]:9990/management and https://[::1]:-1/management
[Host Controller] 14:21:20,802 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 14:21:20,802 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 11.0.0.Final-SNAPSHOT (WildFly Core 4.0.0.Alpha1-SNAPSHOT) (Host Controller) started in 2645ms - Started 51 of 55 services (19 services are lazy, passive or on-demand)
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 3747 ms
[Host Controller] 14:21:22,275 INFO  [org.jboss.as.controller.management-deprecated] (management-handler-thread - 2) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:22,821 INFO  [org.jboss.as.controller.management-deprecated] (management-handler-thread - 3) WFLYCTL0028: Attribute 'stack' in the resource at address '/' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:23,296 WARN  [org.jboss.as.messaging] (management-handler-thread - 1) WFLYMSG0071: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
[Host Controller] 14:21:23,296 WARN  [org.jboss.as.messaging] (management-handler-thread - 1) WFLYMSG0072: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!
[Host Controller] 14:21:23,489 WARN  [org.wildfly.iiop.openjdk] (management-handler-thread - 3) WFLYIIOP0111: SSL has not been configured but ssl-port property has been specified - the connection will use clear-text protocol
[Host Controller] 14:21:23,888 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 11.0.0.Final-SNAPSHOT (WildFly Core 4.0.0.Alpha1-SNAPSHOT) stopped in 14ms
[Host Controller] 14:21:23,889 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 11.0.0.Final-SNAPSHOT (WildFly Core 4.0.0.Alpha1-SNAPSHOT) starting
[Host Controller] 14:21:23,901 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=native-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:23,901 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:23,903 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:23,904 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 14:21:23,906 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 14:21:23,911 INFO  [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
[Host Controller] 14:21:23,915 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-6) WFLYDM0111: Keystore C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\mixed-domain\target\domains\MixedDomain630TestSuite\master\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
[Host Controller] 14:21:23,952 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) WFLYRMT0001: Listening on [::1]:9999


org.jboss.as.test.integration.domain.mixed.eap630.DomainHostExcludes630TestCase: java.lang.RuntimeException: java.lang.RuntimeException: MgmtOperationException{operation={
    "operation" => "remove",
    "address" => [("system-property" => "java.net.preferIPv4Stack")]
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"java.net.preferIPv4Stack\")]' not found"},
    "rolled-back" => true
}}
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:158)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:125)
	at org.jboss.as.test.integration.domain.mixed.eap630.LegacyConfig630TestSuite.initializeDomain(LegacyConfig630TestSuite.java:37)
	at org.jboss.as.test.integration.domain.mixed.eap630.DomainHostExcludes630TestCase.beforeClass(DomainHostExcludes630TestCase.java:38)
Caused by: java.lang.RuntimeException: MgmtOperationException{operation={
    "operation" => "remove",
    "address" => [("system-property" => "java.net.preferIPv4Stack")]
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"java.net.preferIPv4Stack\")]' not found"},
    "rolled-back" => true
}}
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startAndAdjust(MixedDomainTestSupport.java:205)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:119)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:154)
	... 41 more
Caused by: MgmtOperationException{operation={
    "operation" => "remove",
    "address" => [("system-property" => "java.net.preferIPv4Stack")]
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"java.net.preferIPv4Stack\")]' not found"},
    "rolled-back" => true
}}
	at org.jboss.as.test.integration.domain.management.util.DomainTestUtils.executeForResult(DomainTestUtils.java:160)
	at org.jboss.as.test.integration.domain.mixed.LegacyConfigAdjuster.removeIpv4SystemProperty(LegacyConfigAdjuster.java:84)
	at org.jboss.as.test.integration.domain.mixed.LegacyConfigAdjuster.adjust(LegacyConfigAdjuster.java:70)
	at org.jboss.as.test.integration.domain.mixed.LegacyConfigAdjuster.adjustForVersion(LegacyConfigAdjuster.java:65)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startAndAdjust(MixedDomainTestSupport.java:187)
	... 43 more
------- Stdout: -------
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 280 ms
Failed operation:
{
    "operation" => "remove",
    "address" => [("system-property" => "java.net.preferIPv4Stack")]
}
Response:
{
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0216: Management resource '[(\"system-property\" => \"java.net.preferIPv4Stack\")]' not found"},
    "rolled-back" => true


org.jboss.as.test.integration.domain.mixed.eap630.MixedDomainOverlay630TestSuite: java.lang.RuntimeException: java.lang.RuntimeException: MgmtOperationException{operation={
    "operation" => "write-attribute",
    "address" => [("server-group" => "main-server-group")],
    "name" => "profile",
    "value" => "default"
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
    org.wildfly.domain.profile.default in context 'server-groups'; Possible registration points for this capability: 
  /profile=*"},
    "rolled-back" => true
}}
java.lang.RuntimeException: java.lang.RuntimeException: MgmtOperationException{operation={
    "operation" => "write-attribute",
    "address" => [("server-group" => "main-server-group")],
    "name" => "profile",
    "value" => "default"
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
    org.wildfly.domain.profile.default in context 'server-groups'; Possible registration points for this capability: 
		/profile=*"},
    "rolled-back" => true
}}
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:158)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:102)
	at org.jboss.as.test.integration.domain.mixed.eap630.MixedDomainOverlay630TestSuite.initializeDomain(MixedDomainOverlay630TestSuite.java:43)
Caused by: java.lang.RuntimeException: MgmtOperationException{operation={
    "operation" => "write-attribute",
    "address" => [("server-group" => "main-server-group")],
    "name" => "profile",
    "value" => "default"
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
    org.wildfly.domain.profile.default in context 'server-groups'; Possible registration points for this capability: 
		/profile=*"},
    "rolled-back" => true
}}
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startAndAdjust(MixedDomainTestSupport.java:205)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:119)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:154)
	... 29 more
Caused by: MgmtOperationException{operation={
    "operation" => "write-attribute",
    "address" => [("server-group" => "main-server-group")],
    "name" => "profile",
    "value" => "default"
}, result={
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:


org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.KernelBehaviorTestSuite.getSupport(KernelBehaviorTestSuite.java:41)
	at org.jboss.as.test.integration.domain.mixed.eap640.KernelBehavior640TestSuite.initializeDomain(KernelBehavior640TestSuite.java:42)


org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:125)
	at org.jboss.as.test.integration.domain.mixed.eap640.LegacyConfig640TestSuite.initializeDomain(LegacyConfig640TestSuite.java:37)


org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:78)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:68)
	at org.jboss.as.test.integration.domain.mixed.eap640.MixedDomain640TestSuite.initializeDomain(MixedDomain640TestSuite.java:44)


org.jboss.as.test.integration.domain.mixed.eap640.MixedDomainOverlay640TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_6_4_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:102)
	at org.jboss.as.test.integration.domain.mixed.eap640.MixedDomainOverlay640TestSuite.initializeDomain(MixedDomainOverlay640TestSuite.java:43)


org.jboss.as.test.integration.domain.mixed.eap700.KernelBehavior700TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_7_0_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.KernelBehaviorTestSuite.getSupport(KernelBehaviorTestSuite.java:41)
	at org.jboss.as.test.integration.domain.mixed.eap700.KernelBehavior700TestSuite.initializeDomain(KernelBehavior700TestSuite.java:42)


org.jboss.as.test.integration.domain.mixed.eap700.LegacyConfig700TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_7_0_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:125)
	at org.jboss.as.test.integration.domain.mixed.eap700.LegacyConfig700TestSuite.initializeDomain(LegacyConfig700TestSuite.java:37)


org.jboss.as.test.integration.domain.mixed.eap700.MixedDomain700TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_7_0_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:131)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:78)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:68)
	at org.jboss.as.test.integration.domain.mixed.eap700.MixedDomain700TestSuite.initializeDomain(MixedDomain700TestSuite.java:44)


org.jboss.as.test.integration.domain.mixed.eap700.MixedDomainOverlay700TestSuite: java.lang.AssertionError: expected:<EAP_6_3_0> but was:<EAP_7_0_0>
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getVersion(MixedDomainTestSuite.java:56)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:137)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:102)
	at org.jboss.as.test.integration.domain.mixed.eap700.MixedDomainOverlay700TestSuite.initializeDomain(MixedDomainOverlay700TestSuite.java:43)



##### there are 1 more failed tests, see build details

@wildfly-ci
Copy link

Core - Full Integration Build 5999 outcome was FAILURE using a merge of a2b024e
Summary: Execution timeout (new); tests passed: 3311, ignored: 66 Build time: 02:00:10

@wildfly-ci
Copy link

Full integration - Windows Build 4423 outcome was FAILURE using a merge of a2b024e
Summary: Execution timeout (new); tests passed: 3301, ignored: 67 Build time: 02:30:12

@wildfly-ci
Copy link

Core - Full Integration Build 6015 outcome was FAILURE using a merge of a2b024e
Summary: Tests failed: 1 (1 new), passed: 4207, ignored: 94 Build time: 01:30:43

Failed tests

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteStatefulEJBConcurrentFailoverTestCase(SYNC-tcp).test: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: javax.ejb.EJBException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node-0, see cause for remote stack trace
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.jboss.as.test.clustering.cluster.ejb.remote.RemoteStatefulEJBConcurrentFailoverTestCase.test(RemoteStatefulEJBConcurrentFailoverTestCase.java:127)
	at org.jboss.as.test.clustering.cluster.ejb.remote.RemoteStatefulEJBConcurrentFailoverTestCase.test(RemoteStatefulEJBConcurrentFailoverTestCase.java:87)
Caused by: java.lang.IllegalStateException: javax.ejb.EJBException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node-0, see cause for remote stack trace
	at org.jboss.as.test.clustering.cluster.ejb.remote.RemoteStatefulEJBConcurrentFailoverTestCase$LookupTask.run(RemoteStatefulEJBConcurrentFailoverTestCase.java:175)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	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: javax.ejb.EJBException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node-0, see cause for remote stack trace
	at org.jboss.as.ejb3.remote.AssociationImpl.lambda$receiveInvocationRequest$0(AssociationImpl.java:218)
	... 3 more
	Suppressed: javax.ejb.NoSuchEJBException: No such EJB: /remote-stateful-ejb-concurrent-failover-test/SlowStatefulIncrementorBean @ remote+http://[0:0:0:0:0:0:0:1]:8080
		at org.jboss.ejb.protocol.remote.EJBClientChannel$MethodInvocation.handleResponse(EJBClientChannel.java:1070)
		at org.jboss.ejb.protocol.remote.EJBClientChannel$MethodInvocation.handleResponse(EJBClientChannel.java:997)
		at org.jboss.remoting3.util.InvocationTracker.signalResponse(InvocationTracker.java:167)
		at org.jboss.ejb.protocol.remote.EJBClientChannel.processMessage(EJBClientChannel.java:186)
		at org.jboss.ejb.protocol.remote.EJBClientChannel.access$100(EJBClientChannel.java:112)
		at org.jboss.ejb.protocol.remote.EJBClientChannel$1$1.handleMessage(EJBClientChannel.java:675)
		at org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$handleMessageData$3(RemoteConnectionChannel.java:430)
		at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:926)
		... 3 more
------- Stdout: -------
05:26:49,604 WARNING [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Bundles path is deprecated and no longer used.
05:26:49,606 INFO  [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer] (main) Starting container with: [/usr/java/latest/bin/java, -D[Standalone], -Dorg.jboss.ejb.client.wildfly-testsuite-hack=true, -Xmx512m, -XX:MetaspaceSize=128m, -Djboss.dist=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/../../../dist/target/wildfly-11.0.0.Final-SNAPSHOT, -Djava.net.preferIPv4Stack=false, -Djava.net.preferIPv6Addresses=true, -Djboss.bind.address=::1, -Djboss.bind.address.unsecure=::1, -Djboss.bind.address.private=::1, -Djboss.bind.address.management=::1, -Djboss.default.multicast.address=ff13::1, -server, -Dts.timeout.factor=100, -Dnode0=::1, -Dnode1=::1, -Dmcast=ff13::1, -Dmcast.ttl=0, -Djbossas.ts.submodule.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering, -Djbossas.ts.integ.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/.., -Djbossas.ts.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/../.., -Djbossas.project.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/../../.., -Djava.io.tmpdir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target, -Djboss.inst=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0, -Djboss.node.name=node-0, -ea, -Djboss.home.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0, -Dorg.jboss.boot.log.file=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/log/server.log, -Dlogging.configuration=file:/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/configuration/logging.properties, -jar, /store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/jboss-modules.jar, -mp, /store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/modules:/store/work/tc-work/5768cf3a0bee5b47/full/dist/target/wildfly-11.0.0.Final-SNAPSHOT/modules:/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/modules, org.jboss.as.standalone, -Djboss.home.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0, -Djboss.server.base.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone, -Djboss.server.log.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/log, -Djboss.server.config.dir=/store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/configuration, -Dts.wildfly.version=11.0.0.Final-SNAPSHOT, -c=standalone-full-ha.xml]
05:26:49,643 INFO  [org.jboss.remoting] (main) JBoss Remoting version 5.0.3.Final
05:26:49,674 INFO  [org.xnio] (main) XNIO version 3.5.2.Final
05:26:49,683 INFO  [org.xnio.nio] (main) XNIO NIO Implementation Version 3.5.2.Final
05:26:49,850 INFO  [org.wildfly.security] (main) ELY00001: WildFly Elytron version 1.2.0.Beta7
 [0m05:26:50,047 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
 [0m [0m05:26:50,346 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
 [0m [0m05:26:50,460 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 11.0.0.Final-SNAPSHOT (WildFly Core 4.0.0.Alpha1-SNAPSHOT) starting
 [0m [0m05:26:51,725 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m05:26:51,758 INFO  [org.wildfly.security] (ServerService Thread Pool -- 15) ELY00001: WildFly Elytron version 1.2.0.Beta7
 [0m [0m05:26:51,770 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 6) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m05:26:51,912 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
 [0m [0m05:26:51,925 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.5.2.Final
 [0m [0m05:26:51,933 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.5.2.Final
 [0m [0m05:26:51,989 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
 [0m [0m05:26:51,990 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) WFLYCLINF0001: Activating Infinispan subsystem.
 [0m [0m05:26:52,004 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 47) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
 [0m [33m05:26:52,017 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 70) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
 [0m [0m05:26:52,020 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem
 [0m [0m05:26:52,022 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=5.0.2.Final
 [0m [0m05:26:52,026 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 72) WFLYWS0002: Activating WebServices Extension
 [0m [0m05:26:52,030 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 61) WFLYNAM0001: Activating Naming Subsystem


Copy link
Contributor

@bstansberry bstansberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple minor questions aside, looks good. I didn't really review the change to OperationRequestCompleter because for that file the diff is just too complex. I think there it's best for me to just count on the existing tests and the new tests you've added.

assertEquals(Arrays.asList("}"), candidates);
}

{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment before this one noting that it's validating that the "If the radical of a property name is typed, the property name (if it exists, hidden or not) is proposed" general rule from the design doc (or some words like that)? The other test blocks are pretty self-explanatory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, done.

@@ -198,12 +198,14 @@ public void marshallAsAttribute(AttributeDefinition attribute, ModelNode resourc
ModelDescriptionConstants.INPUT_STREAM_INDEX, ModelDescriptionConstants.HASH, ModelDescriptionConstants.BYTES,
ModelDescriptionConstants.URL, ModelDescriptionConstants.EMPTY)
.setRequires(ModelDescriptionConstants.PATH)
.setRequired(false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a separate PR that deals with this class so I expect there will be conflicts. See #2900. Since there @soul2zimate has the assigned task of fixing this metadata, I plan to work through his and get it merged and then this PR will probably need to be updated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR is merged.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out the issues you're fixing here and those Chao Wang was addressing are different. And it seems there's no conflict. What you've done in this class looks fine.

Set<String> requiring = requiredBy.get(req);
if (requiring == null) {
requiring = new HashSet<>();
requiredBy.put(req, requiring);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ignore this if I'm wrong; i.e. it's a lot of code and there's no need to waste your time explaining how I'm wrong. ;) But I don't see any reads of the Set values stored in requiredBy. I just see at L355 "return requiredBy.get(prop.getName()) != null;". So it seems that requiredBy could just be a Set and not a map.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, no need for a map. I think that I used it to help debug. Replaced.

private final Map<String, Set<String>> requiredBy = new HashMap<>();
public PropertyVisibility(boolean all, List<Property> propList,
Set<String> presentProperties, String radical) {
this.all = all;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this set to 'true' anywhere. Is that planned for the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, it was planed at some point but removed, I removed it.

@wildfly-ci
Copy link

Full integration - Windows Build 4515 outcome was FAILURE using a merge of 80bd61d
Summary: Execution timeout (new); tests passed: 4117, ignored: 94 Build time: 02:30:48

@bstansberry
Copy link
Contributor

@jfdenise After merging #2847 and #2903 this one needs a rebase.

@jfdenise
Copy link
Contributor Author

@bstansberry , unit test rebased.

@bstansberry bstansberry merged commit ef05f43 into wildfly:master Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants