Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7208

Intermittent failures in DeploymentOperationsTestCase

XMLWordPrintable

      Not very often but sometimes the operation that sends additional content to the deployments fails with a timeout with:

      ======= Failed test run #1 ==========
        java.lang.RuntimeException: java.util.concurrent.TimeoutException: JBTHR00003: Operation timed out
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.awaitDeploymentExecution(DeploymentOperationsTestCase.java:741)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.explodeDeploymentContentAndGetOutcome(DeploymentOperationsTestCase.java:322)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.testExplodeContentWithDeployedManagedArchiveDeployment(DeploymentOperationsTestCase.java:217)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
          at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          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$3.evaluate(ParentRunner.java:306)
          at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
          at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
          at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.wildfly.core.testrunner.WildFlyRunner$WrappedStatement.evaluate(WildFlyRunner.java:357)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at org.wildfly.core.testrunner.WildFlyRunner.run(WildFlyRunner.java:198)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
          at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69)
          at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
          at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
        Caused by: java.util.concurrent.TimeoutException: JBTHR00003: Operation timed out
          at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:272)
          at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:45)
          at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:52)
          at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:24)
          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:80)
          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:28)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.awaitDeploymentExecution(DeploymentOperationsTestCase.java:734)
          ... 45 more
        ------- Stdout: -------
        &amp#27;01:21:34,148 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /opt/buildAgent/work/e9bccef30f12678d/testsuite/standalone/target/wildfly-core/standalone/data/content/9f/37f00ae272cad8db59a7543a70e4e660c2a8a3/content
        &amp#27;&amp#27;01:21:34,149 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0017: Content exploded at location /opt/buildAgent/work/e9bccef30f12678d/testsuite/standalone/target/wildfly-core/standalone/data/content/b6/861c583bf0e2acf360137fb21bbfae1d39a3f1/content
        &amp#27;&amp#27;01:21:34,152 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "test-deployment.jar" (runtime-name: "test-deployment.jar")
        &amp#27;&amp#27;01:21:34,159 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "test-deployment.jar" (runtime-name : "test-deployment.jar")
        &amp#27;&amp#27;01:21:34,159 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location /opt/buildAgent/work/e9bccef30f12678d/testsuite/standalone/target/wildfly-core/standalone/data/content/9f/37f00ae272cad8db59a7543a70e4e660c2a8a3/content
        &amp#27;&amp#27;01:21:34,163 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /opt/buildAgent/work/e9bccef30f12678d/testsuite/standalone/target/wildfly-core/standalone/data/content/39/0645c2dfcbdbcf8941b79e5c6b137afc872f67/content
        &amp#27;&amp#27;01:21:34,164 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0070: Deployment restart detected for deployment test-deployment.jar, performing full redeploy instead.
        &amp#27;&amp#27;01:21:34,169 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment test-deployment.jar (runtime-name: test-deployment.jar) in 5ms
        &amp#27;&amp#27;01:21:54,162 INFO  [org.jboss.as.protocol] (management task-1) WFLYPRT0057:  cancelled task by interrupting thread Thread[management-handler-thread - 3,5,management-handler-thread]
        &amp#27;&amp#27;01:22:14,166 INFO  [org.jboss.as.protocol] (management task-1) WFLYPRT0057:  cancelled task by interrupting thread Thread[management-handler-thread - 1,5,management-handler-thread]
        &amp#27;WARN  [org.jboss.as.protocol.connection] WFLYPRT0018: No such request (1547) associated with channel Channel ID d3e99ac2 (outbound) of Remoting connection 491473e3 to /127.0.0.1:9990 of endpoint "management-client" <7642df8f>
      ======= Failed test run #2 ==========
        java.lang.RuntimeException: java.util.concurrent.TimeoutException: JBTHR00003: Operation timed out
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.awaitDeploymentExecution(DeploymentOperationsTestCase.java:741)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.undeployAndRemoveDeployment(DeploymentOperationsTestCase.java:687)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.cleanUp(DeploymentOperationsTestCase.java:774)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.cleanDeployments(DeploymentOperationsTestCase.java:108)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
          at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
          at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
          at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
          at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.wildfly.core.testrunner.WildFlyRunner$WrappedStatement.evaluate(WildFlyRunner.java:357)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at org.wildfly.core.testrunner.WildFlyRunner.run(WildFlyRunner.java:198)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
          at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
          at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
          at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:49)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:120)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:95)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
          at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:69)
          at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:146)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
          at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
        Caused by: java.util.concurrent.TimeoutException: JBTHR00003: Operation timed out
          at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:272)
          at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:45)
          at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:52)
          at org.jboss.as.controller.client.impl.ConvertingDelegatingAsyncFuture.get(ConvertingDelegatingAsyncFuture.java:24)
          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:80)
          at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:28)
          at org.wildfly.core.test.standalone.mgmt.api.core.DeploymentOperationsTestCase.awaitDeploymentExecution(DeploymentOperationsTestCase.java:734)
          ... 45 more
      

      History: https://ci.wildfly.org/test/-8016579408841920925?currentProjectId=WildFlyCore_MainNightlyJobs

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: