Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12893

Error when running Arquillian tests in managed-executor-service QS

XMLWordPrintable

      There's an error when running the tests according to Run the Arquillian Tests section of readme in managed-executor-service QS:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT
      Dec 13, 2019 4:20:01 PM org.jboss.threads.Version <clinit>
      INFO: JBoss Threads version 2.3.3.Final-redhat-00001
      Dec 13, 2019 4:20:01 PM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.16.Final-redhat-00001
      Dec 13, 2019 4:20:01 PM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.7.7.Final-redhat-00001
      Dec 13, 2019 4:20:01 PM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.7.7.Final-redhat-00001
      Dec 13, 2019 4:20:01 PM org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.10.4.Final-redhat-00001
      Dec 13, 2019 4:20:06 PM org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT testRestResources
      INFO: creating a new product
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.473 s <<< FAILURE! - in org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT
      [ERROR] testRestResources(org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT)  Time elapsed: 0.206 s  <<< ERROR!
      java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      	at org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT.testRestResources(ProductsRestClientIT.java:84)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
      	at org.jboss.as.quickstarts.managedexecutorservice.test.ProductsRestClientIT.testRestResources(ProductsRestClientIT.java:84)
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   ProductsRestClientIT.testRestResources:84 » NoClassDefFound org/apache/commons...
      [INFO] 
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      [INFO] 
      [INFO] 
      [INFO] --- maven-failsafe-plugin:2.22.0:verify (default) @ managed-executor-service ---
      [ERROR] There are test failures.
      

      Setting priority to blocker since instructions in QS Readme do not work and also it is a regression against 7.2.0.GA.

              emartins@redhat.com Eduardo Martins
              emartins@redhat.com Eduardo Martins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: