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

Tighten up HcExtensionAndSubsystemManagementTestCase #1129

Merged
merged 1 commit into from Sep 30, 2015

Conversation

bstansberry
Copy link
Contributor

  1. Remove IDE warns

  2. Always clean up

  3. Make test's reload of HC's more robust

@wildfly-ci
Copy link

Windows Build 2377 outcome was FAILURE using a merge of 9b0f83a
Summary: Tests failed: 1 (1 new), passed: 3443, ignored: 64 Build time: 00:38:23

Failed tests

org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.testSocketBindingCapabilities: java.util.concurrent.TimeoutException: Managed servers were not started within [120] seconds
    at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.awaitServers(DomainLifecycleUtil.java:442)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.reloadHostsIfReloadRequired(HcExtensionAndSubsystemManagementTestCase.java:430)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.reloadHostsIfReloadRequired(HcExtensionAndSubsystemManagementTestCase.java:408)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.checkSocketBindingCapabilities(HcExtensionAndSubsystemManagementTestCase.java:319)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.testSocketBindingCapabilities(HcExtensionAndSubsystemManagementTestCase.java:153)
------- Stdout: -------
[Host Controller] 00:46:43,410 WARN  [org.jboss.as.controller] (Host Controller Service Threads - 19) WFLYCTL0019: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding
[Host Controller] 00:46:43,412 INFO  [org.jboss.as.host.controller] (MSC service thread 1-2) WFLYHC0027: Unregistering server main-one
[Host Controller] 00:46:43,414 WARN  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-3) WFLYHC0015: Connection to remote host-controller closed. Trying to reconnect.
[Host Controller] 00:46:43,414 WARN  [org.jboss.as.domain.controller] (MSC service thread 1-2) WFLYHC0030: Connection to remote host "slave" closed unexpectedly
[Host Controller] 00:46:43,418 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 52) WFLYHC0150: Trying to reconnect to master host controller.
[Host Controller] 00:46:43,424 INFO  [org.jboss.as] (MSC service thread 1-3) WFLYSRV0050: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" stopped in 15016ms
[Host Controller] 00:46:43,425 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" starting
[Host Controller] 00:46:43,458 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 00:46:43,489 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-3) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console
[Host Controller] 00:46:43,489 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 00:46:43,546 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server main-one
[Host Controller] 00:46:43,547 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server main-one
[Host Controller] 00:46:43,550 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management
[Host Controller] 00:46:43,550 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://[::1]:9990
[Host Controller] 00:46:43,551 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" (Host Controller) started in 124ms - Started 49 of 51 services (13 services are lazy, passive or on-demand)
[Host Controller] 00:46:43,586 INFO  [org.jboss.as.host.controller] (Remoting "master:MANAGEMENT" task-4) WFLYHC0021: Server [Server:main-one] connected using connection [Channel ID 784be455 (inbound) of Remoting connection 013a0e28 to /0:0:0:0:0:0:0:1:51543]
[Host Controller] 00:46:43,990 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 24) WFLYHC0019: Registered remote slave host "slave", WildFly 2.0.0.CR6-SNAPSHOT "Kenny"
[Host Controller] 00:46:43,991 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 52) WFLYHC0148: Connected to master host controller at remote://[::1]:9999
[Host Controller] 00:46:45,579 INFO  [org.jboss.as.domain.controller] (Remoting "master:MANAGEMENT" task-14) WFLYHC0026: Unregistered remote slave host "slave"
[Host Controller] 00:46:45,581 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-6) WFLYHC0029: Unregistered at domain controller
[Host Controller] 00:47:00,584 WARN  [org.jboss.as.controller] (Host Controller Service Threads - 52) WFLYCTL0019: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding
[Host Controller] 00:47:00,586 INFO  [org.jboss.as.host.controller] (MSC service thread 1-5) WFLYHC0027: Unregistering server main-three
[Host Controller] 00:47:00,587 INFO  [org.jboss.as.host.controller] (MSC service thread 1-5) WFLYHC0027: Unregistering server other-two
[Host Controller] 00:47:00,591 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" stopped in 15013ms
[Host Controller] 00:47:00,591 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" starting
[Host Controller] 00:47:00,618 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (19990) securePort (-1)
[Host Controller] 00:47:00,646 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) WFLYRMT0001: Listening on [::1]:19999
[Host Controller] 00:47:00,756 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 30) WFLYHC0019: Registered remote slave host "slave", WildFly 2.0.0.CR6-SNAPSHOT "Kenny"
[Host Controller] 00:47:00,758 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0148: Connected to master host controller at remote://[::1]:9999
[Host Controller] 00:47:00,811 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server main-three
[Host Controller] 00:47:00,812 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server main-three
[Host Controller] 00:47:00,813 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server other-two
[Host Controller] 00:47:00,814 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server other-two
[Host Controller] 00:47:00,815 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:19990/management
[Host Controller] 00:47:00,815 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 00:47:00,816 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" (Host Controller) started in 224ms - Started 48 of 51 services (15 services are lazy, passive or on-demand)
[Host Controller] 00:47:00,855 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-12) WFLYHC0021: Server [Server:main-three] connected using connection [Channel ID 6bd48df1 (inbound) of Remoting connection 0096ae21 to /0:0:0:0:0:0:0:1:51554]
[Host Controller] 00:47:00,858 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-15) WFLYHC0021: Server [Server:other-two] connected using connection [Channel ID 1e53a34f (inbound) of Remoting connection 01d7fe90 to /0:0:0:0:0:0:0:1:51555]


@wildfly-ci
Copy link

Linux Build 2891 outcome was FAILURE using a merge of 9b0f83a
Summary: Tests failed: 1 (1 new), passed: 3443, ignored: 64 Build time: 00:38:51

Failed tests

org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.testSocketBindingCapabilities: java.util.concurrent.TimeoutException: Managed servers were not started within [120] seconds
    at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.awaitServers(DomainLifecycleUtil.java:442)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.reloadHostsIfReloadRequired(HcExtensionAndSubsystemManagementTestCase.java:430)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.reloadHostsIfReloadRequired(HcExtensionAndSubsystemManagementTestCase.java:408)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.checkSocketBindingCapabilities(HcExtensionAndSubsystemManagementTestCase.java:319)
    at org.jboss.as.test.integration.domain.suites.HcExtensionAndSubsystemManagementTestCase.testSocketBindingCapabilities(HcExtensionAndSubsystemManagementTestCase.java:153)
------- Stdout: -------
[Host Controller]  [31m [0m [33m00:36:37,331 WARN  [org.jboss.as.controller] (Host Controller Service Threads - 23) WFLYCTL0019: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding [0m
[Host Controller]  [33m [0m [33m00:36:37,333 WARN  [org.jboss.as.domain.controller] (MSC service thread 1-1) WFLYHC0030: Connection to remote host "slave" closed unexpectedly [0m
[Host Controller]  [33m [0m [0m00:36:37,333 INFO  [org.jboss.as.host.controller] (MSC service thread 1-1) WFLYHC0027: Unregistering server main-one [0m
[Host Controller]  [31m [0m [33m00:36:37,342 WARN  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-2) WFLYHC0015: Connection to remote host-controller closed. Trying to reconnect. [0m
[Host Controller]  [33m [0m [0m00:36:37,344 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 54) WFLYHC0150: Trying to reconnect to master host controller. [0m
[Host Controller]  [0m [0m00:36:37,367 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" stopped in 15039ms [0m
[Host Controller]  [0m [0m00:36:37,368 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" starting [0m
[Host Controller]  [0m [0m00:36:37,437 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1) [0m
[Host Controller]  [0m [33m00:36:37,468 WARN  [org.jboss.as.domain.http.api.undertow] (MSC service thread 1-2) WFLYDMHTTP0003: Unable to load console module for slot main, disabling console [0m
[Host Controller]  [33m [0m [0m00:36:37,475 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) WFLYRMT0001: Listening on [::1]:9999 [0m
[Host Controller]  [0m [0m00:36:37,536 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server main-one [0m
[Host Controller]  [0m [0m00:36:37,536 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server main-one [0m
[Host Controller]  [0m [0m00:36:37,546 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management [0m
[Host Controller]  [0m [0m00:36:37,546 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://[::1]:9990 [0m
[Host Controller]  [0m [0m00:36:37,546 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" (Host Controller) started in 178ms - Started 50 of 51 services (13 services are lazy, passive or on-demand) [0m
[Host Controller]  [0m [0m00:36:37,593 INFO  [org.jboss.as.host.controller] (Remoting "master:MANAGEMENT" task-6) WFLYHC0021: Server [Server:main-one] connected using connection [Channel ID 7f79579d (inbound) of Remoting connection 00d4fddb to /0:0:0:0:0:0:0:1:56011] [0m
[Host Controller]  [0m [0m00:36:38,350 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 54) WFLYHC0150: Trying to reconnect to master host controller. [0m
[Host Controller]  [0m [0m00:36:38,405 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 28) WFLYHC0019: Registered remote slave host "slave", WildFly 2.0.0.CR6-SNAPSHOT "Kenny" [0m
[Host Controller]  [0m [0m00:36:38,416 INFO  [org.jboss.as.host.controller] (Host Controller Service Threads - 54) WFLYHC0148: Connected to master host controller at remote://[::1]:9999 [0m
[Host Controller]  [0m [0m00:36:39,087 INFO  [org.jboss.as.domain.controller] (Remoting "master:MANAGEMENT" task-14) WFLYHC0026: Unregistered remote slave host "slave" [0m
[Host Controller]  [0m [0m00:36:39,088 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-6) WFLYHC0029: Unregistered at domain controller [0m
[Host Controller]  [0m [33m00:36:54,090 WARN  [org.jboss.as.controller] (Host Controller Service Threads - 54) WFLYCTL0019: Graceful shutdown of the handler used for native management requests did not complete within [15000] ms but shutdown of the underlying communication channel is proceeding [0m
[Host Controller]  [33m [0m [0m00:36:54,091 INFO  [org.jboss.as.host.controller] (MSC service thread 1-4) WFLYHC0027: Unregistering server main-three [0m
[Host Controller]  [0m [0m00:36:54,091 INFO  [org.jboss.as.host.controller] (MSC service thread 1-4) WFLYHC0027: Unregistering server other-two [0m
[Host Controller]  [0m [0m00:36:54,100 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" stopped in 15014ms [0m
[Host Controller]  [0m [0m00:36:54,101 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0049: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" starting [0m
[Host Controller]  [0m [0m00:36:54,153 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (19990) securePort (-1) [0m
[Host Controller]  [0m [0m00:36:54,176 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) WFLYRMT0001: Listening on [::1]:19999 [0m
[Host Controller]  [0m [0m00:36:54,249 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0148: Connected to master host controller at remote://[::1]:9999 [0m
[Host Controller]  [0m [0m00:36:54,248 INFO  [org.jboss.as.domain.controller] (Host Controller Service Threads - 33) WFLYHC0019: Registered remote slave host "slave", WildFly 2.0.0.CR6-SNAPSHOT "Kenny" [0m
[Host Controller]  [0m [0m00:36:54,254 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server main-three [0m
[Host Controller]  [0m [0m00:36:54,254 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server main-three [0m
[Host Controller]  [0m [0m00:36:54,254 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0018: Reconnecting server other-two [0m
[Host Controller]  [0m [0m00:36:54,254 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0020: Registering server other-two [0m
[Host Controller]  [0m [0m00:36:54,255 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:19990/management [0m
[Host Controller]  [0m [0m00:36:54,255 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled [0m
[Host Controller]  [0m [0m00:36:54,255 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.CR6-SNAPSHOT "Kenny" (Host Controller) started in 154ms - Started 49 of 51 services (15 services are lazy, passive or on-demand) [0m
[Host Controller]  [0m [0m00:36:54,311 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-13) WFLYHC0021: Server [Server:other-two] connected using connection [Channel ID 1dc630a2 (inbound) of Remoting connection 01e951b9 to /0:0:0:0:0:0:0:1:60297] [0m
[Host Controller]  [0m [0m00:36:54,320 INFO  [org.jboss.as.host.controller] (Remoting "slave:MANAGEMENT" task-16) WFLYHC0021: Server [Server:main-three] connected using connection [Channel ID 5f305d69 (inbound) of Remoting connection 00dd1310 to /0:0:0:0:0:0:0:1:45649] [0m


@bstansberry bstansberry added the fixme This PR introduces issues that must be fixed label Sep 30, 2015
@bstansberry
Copy link
Contributor Author

Failures seem related. ;)

1) Remove IDE warns

2) Always clean up

3) Make test's reload of HC's more robust
@wildfly-ci wildfly-ci added review-needed and removed fixme This PR introduces issues that must be fixed labels Sep 30, 2015
bstansberry added a commit that referenced this pull request Sep 30, 2015
Tighten up HcExtensionAndSubsystemManagementTestCase
@bstansberry bstansberry merged commit 4deceda into wildfly:master Sep 30, 2015
@bstansberry bstansberry deleted the hc-extension-test branch September 30, 2015 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants