Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4040

DomainDeployWithRuntimeNameTestCase fails intermittently in Windows

    XMLWordPrintable

Details

    Description

      Description of problem:
      DomainDeployWithRuntimeNameTestCase fails intermittently in Windows.

      How reproducible:
      33% on slow Windows machines

      Steps to Reproduce:

      1. cd testsuite
      2. call ..\tools\maven\bin\mvn.bat install -Dmaven.repo.local=%MAVEN_REPO_LOCAL% -fae -Dmaven.test.failure.ignore=true -Dnode0=%MYTESTIP_1% -Dnode1=%MYTESTIP_2% -Dmcast=%MCAST_ADDRV6% -ts.domain -Djboss.dist=%JBOSS_DIST% -Dtest=CLITestSuite -Dts.domain -Dts.noSmoke

      Actual results:
      Stacktrace:

      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.jboss.as.test.integration.management.util.CLIWrapper.<init>(CLIWrapper.java:105)
      	at org.jboss.as.test.integration.management.util.CLIWrapper.<init>(CLIWrapper.java:82)
      	at org.jboss.as.test.integration.management.base.AbstractCliTestBase.initCLI(AbstractCliTestBase.java:53)
      	at org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase.setup(DomainDeployWithRuntimeNameTestCase.java:69)
      

      Standard output:

      [Host Controller] 11:30:58,904 INFO  [org.jboss.as.host.controller] (management-handler-thread - 6) WFLYHC0024: Stopping server test-one
      [Server:test-one] 11:30:59,211 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 60) WFLYSRV0211: Suspending server with 0ms timeout.
      11:30:59,784 INFO  [org.jboss.as.process.Server:test-one.status] (ProcessController-threads - 5) WFLYPC0019: Stopping process 'Server:test-one'
      [Server:test-one] 11:31:00,594 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
      [Server:test-one] 11:31:02,956 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      [Server:test-one] 11:31:03,215 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-3) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
      [Server:test-one] 11:31:03,933 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
      [Server:test-one] 11:31:04,014 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA]
      [Server:test-one] 11:31:04,050 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 60) MODCLUSTER000002: Initiating mod_cluster shutdown
      [Server:test-one] 11:31:07,769 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0019: Stopped Driver service with driver-name = h2
      [Server:test-one] 11:31:09,170 INFO  [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 63) AMQ151003: resource adaptor stopped
      [Server:test-one] 11:31:09,512 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-1) ARJUNA032018: Destroying TransactionManagerService
      [Server:test-one] 11:31:09,815 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-3) ARJUNA032014: Stopping transaction recovery manager
      [Server:test-one] 11:31:13,248 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 63) AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.1.0.SP14-redhat-1 [055b0fe8-f1d5-11e5-bcd1-df0568f17f83] stopped
      [Server:test-one] 11:31:13,304 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTP listener default suspending
      [Server:test-one] 11:31:13,304 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTP listener default stopped, was bound to [2620:52:0:105f::ffff:aa1]:8080
      [Server:test-one] 11:31:13,387 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004: Undertow 1.3.19.Final-redhat-1 stopping
      [Host Controller] 11:31:14,166 INFO  [org.jboss.as.host.controller] (management task-8) WFLYHC0027: Unregistering server test-one
      [Server:test-one] 11:31:15,508 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.0.0.GA (WildFly Core 2.1.0.Final-redhat-1) stopped in 14528ms
      11:31:30,539 INFO  [org.jboss.as.process.Server:test-one.status] (reaper for Server:test-one) WFLYPC0011: Process 'Server:test-one' finished with an exit status of 0
      [Host Controller] 11:31:30,549 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server test-one
      INFO  [org.jboss.as.cli.CommandContext] {
          "outcome" => "success",
          "result" => "STOPPED"
      }
      INFO  [org.jboss.as.cli.CommandContext] {
          "outcome" => "success",
          "result" => "STOPPED"
      }
      [Host Controller] 11:31:30,736 INFO  [org.jboss.as.host.controller] (management-handler-thread - 6) WFLYHC0024: Stopping server main-two
      [Server:main-two] 11:31:30,775 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 70) WFLYSRV0211: Suspending server with 0ms timeout.
      11:31:30,890 INFO  [org.jboss.as.process.Server:main-two.status] (ProcessController-threads - 5) WFLYPC0019: Stopping process 'Server:main-two'
      [Server:main-two] 11:31:31,002 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
      [Server:main-two] 11:31:31,140 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      [Server:main-two] 11:31:31,252 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-4) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
      [Server:main-two] 11:31:31,290 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping
      [Server:main-two] 11:31:31,363 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA]
      [Server:main-two] 11:31:31,368 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 70) MODCLUSTER000002: Initiating mod_cluster shutdown
      [Server:main-two] 11:31:31,529 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = h2
      [Server:main-two] 11:31:31,688 INFO  [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 71) AMQ151003: resource adaptor stopped
      [Server:main-two] 11:31:31,692 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-4) ARJUNA032018: Destroying TransactionManagerService
      [Server:main-two] 11:31:31,703 INFO  [com.arjuna.ats.jbossatx] (MSC service thread 1-4) ARJUNA032014: Stopping transaction recovery manager
      [Server:main-two] 11:31:31,787 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 71) AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.1.0.SP14-redhat-1 [d47f963d-f1d4-11e5-8b70-a15cd9f395f3] stopped
      [Server:main-two] 11:31:31,790 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0008: Undertow HTTP listener default suspending
      [Server:main-two] 11:31:31,790 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0007: Undertow HTTP listener default stopped, was bound to [2620:52:0:105f::ffff:aa1]:8080
      [Server:main-two] 11:31:31,791 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.3.19.Final-redhat-1 stopping
      [Host Controller] 11:31:31,939 INFO  [org.jboss.as.host.controller] (management task-1) WFLYHC0027: Unregistering server main-two
      [Server:main-two] 11:31:32,054 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.0.0.GA (WildFly Core 2.1.0.Final-redhat-1) stopped in 1042ms
      11:31:40,184 INFO  [org.jboss.as.process.Server:main-two.status] (reaper for Server:main-two) WFLYPC0011: Process 'Server:main-two' finished with an exit status of 0
      [Host Controller] 11:31:40,185 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server main-two
      INFO  [org.jboss.as.cli.CommandContext] {
          "outcome" => "success",
          "result" => "STOPPED"
      }
      INFO  [org.jboss.as.cli.CommandContext] {
          "outcome" => "success",
          "result" => "DISABLED"
      }
      

      Standard Error output:

      org.jboss.as.cli.CommandLineException: The controller is not available at [2620:52:0:105f::ffff:aa1]:9990
      	at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1211)
      	at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:1003)
      	at org.jboss.as.test.integration.management.util.CLIWrapper.sendConnect(CLIWrapper.java:134)
      	at org.jboss.as.test.integration.management.util.CLIWrapper.<init>(CLIWrapper.java:105)
      	at org.jboss.as.test.integration.management.util.CLIWrapper.<init>(CLIWrapper.java:82)
      	at org.jboss.as.test.integration.management.base.AbstractCliTestBase.initCLI(AbstractCliTestBase.java:53)
      	at org.jboss.as.test.integration.domain.management.cli.DomainDeployWithRuntimeNameTestCase.setup(DomainDeployWithRuntimeNameTestCase.java:69)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: java.io.IOException: java.net.ConnectException: WFLYPRT0023: Could not connect to http-remoting://[2620:52:0:105f::ffff:aa1]:9990. The connection timed out
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:149)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
      	at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1158)
      	... 43 more
      Caused by: java.net.ConnectException: WFLYPRT0023: Could not connect to http-remoting://[2620:52:0:105f::ffff:aa1]:9990. The connection timed out
      	at org.jboss.as.protocol.ProtocolConnectionUtils.connectSync(ProtocolConnectionUtils.java:124)
      	at org.jboss.as.protocol.ProtocolConnectionManager$EstablishingConnection.connect(ProtocolConnectionManager.java:257)
      	at org.jboss.as.protocol.ProtocolConnectionManager.connect(ProtocolConnectionManager.java:71)
      	at org.jboss.as.protocol.mgmt.FutureManagementChannel$Establishing.getChannel(FutureManagementChannel.java:212)
      	at org.jboss.as.cli.impl.CLIModelControllerClient.getOrCreateChannel(CLIModelControllerClient.java:179)
      	at org.jboss.as.cli.impl.CLIModelControllerClient$3.getChannel(CLIModelControllerClient.java:138)
      	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
      	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
      	... 45 more
      

      Expected results:
      No errors

      Additional info:
      See jenkins reproducer job: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/view/EAP6-AS-Testsuite-Reproducers/job/eap-7x-as-testsuite-test-integ-windows-ipv6-DomainDeployWithRuntimeNameTestCase/jdk=java18_default,label_exp=w2k12r2-ipv6/2/console

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: