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

DatasourceXaEnableAttributeTestCase fails intermittently on slower machines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR16
    • 7.1.0.DR11
    • JCA, Test Suite
    • None

    Description

      Description of problem:
      DatasourceXaEnableAttributeTestCase#disableBySystemProperty fails intermittently on slower machines

      How reproducible:
      3%

      Actual results:
      StackTrace:

      java.lang.Exception: Unexpected exception, expected<org.jboss.as.test.integration.management.util.MgmtOperationException> but was<java.io.IOException>
      	at org.jboss.threads.AsyncFutureTask.operationCancelled(AsyncFutureTask.java:70)
      	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:267)
      	at org.jboss.as.controller.client.impl.AbstractDelegatingAsyncFuture.get(AbstractDelegatingAsyncFuture.java:57)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
      	at org.jboss.as.test.integration.management.ManagementOperations.executeOperation(ManagementOperations.java:63)
      	at org.jboss.as.test.integration.management.ManagementOperations.executeOperation(ManagementOperations.java:37)
      	at org.jboss.as.test.integration.management.base.AbstractMgmtTestBase.executeOperation(AbstractMgmtTestBase.java:75)
      	at org.jboss.as.test.integration.management.base.AbstractMgmtTestBase.executeOperation(AbstractMgmtTestBase.java:87)
      	at org.jboss.as.test.integration.management.jca.DsMgmtTestBase.testCon(DsMgmtTestBase.java:89)
      	at org.jboss.as.test.integration.management.jca.DsMgmtTestBase.testConnectionXA(DsMgmtTestBase.java:97)
      	at org.jboss.as.test.integration.jca.datasource.DatasourceXaEnableAttributeTestCase.testConnection(DatasourceXaEnableAttributeTestCase.java:95)
      

      Standard output:

      &amp#27;[0m07:59:14,724 INFO  [org.jboss.as.protocol] (management I/O-2) WFLYPRT0057:  cancelled task by interrupting thread Thread[management-handler-thread - 1,5,management-handler-thread]
      &amp#27;[0m&amp#27;[31m07:59:14,734 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("test-connection-in-pool") failed - address: ([
          ("subsystem" => "datasources"),
          ("xa-data-source" => "testDatasourceDisableBySystem")
      ]) - failure description: "WFLYJCA0040: failed to invoke operation: WFLYJCA0042: failed to match pool. Check JndiName: java:jboss/datasources/testDatasourceDisableBySystem"
      &amp#27;[0m&amp#27;[0m07:59:14,783 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      &amp#27;[0m&amp#27;[0m07:59:14,791 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping
      &amp#27;[0m&amp#27;[0m07:59:14,844 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0019: Stopped Driver service with driver-name = h2
      &amp#27;[0m&amp#27;[0m07:59:14,913 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTP listener default suspending
      &amp#27;[0m&amp#27;[0m07:59:14,914 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 10.16.94.254:8080
      &amp#27;[0m&amp#27;[0m07:59:14,915 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTPS listener https suspending
      &amp#27;[0m&amp#27;[0m07:59:14,915 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 10.16.94.254:8443
      &amp#27;[0m&amp#27;[0m07:59:14,916 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment arquillian-service (runtime-name: arquillian-service) in 178ms
      &amp#27;[0m&amp#27;[0m07:59:14,925 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0004: Undertow 1.4.8.Final-redhat-1 stopping
      &amp#27;[0m&amp#27;[0m07:59:15,009 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      &amp#27;[0m&amp#27;[0m07:59:15,028 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Alpha22-redhat-1) stopped in 296ms
      &amp#27;[0m&amp#27;[0m07:59:15,029 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: JBoss EAP 7.1.0.Alpha1 (WildFly Core 3.0.0.Alpha22-redhat-1) starting
      &amp#27;[0m
      

      Expected results:
      No error

      Attachments

        Issue Links

          Activity

            People

              pkremens@redhat.com Petr Kremensky (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: