Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-22718

TarFile IT test failure in wildfly camel downstream tests

XMLWordPrintable

    • False
    • None
    • False
    • % %
    • Todo
    • Very Likely

      Tested with 5.11.0.fuse-7_13_0-00004-redhat-00001 , failing only on JDK8 and JDK11.

      Tests is failing on jenkins and on my local environment too.

      If you have any more questions just reach me out on slack.

      Reproducer:

      git clone http://code.engineering.redhat.com/gerrit/jboss-fuse/wildfly-camel.git

      git checkout 5.11.0.fuse-7_13_0-00004-redhat-00001

      build with openjdk8

      mvn clean install -DskipTests
      

      run with openjdk8 and openjdk11:

      mvn test -Dts.all -pl :wildfly-camel-itests-standalone-basic 
      -Dtest=TarFileIntegrationTest
      
      

      Jenkins pipeline results: Wildfly camel downstream tests pipeline

      Error stacktrace:

      org.wildfly.camel.test.tarfile.TarFileIntegrationTest.testMarshalUnmarshall  Time elapsed: 1.867 s  <<< ERROR!
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-dolearci-mac-1711012712846-0-1]
      	at deployment.tarfile-tests//org.wildfly.camel.test.tarfile.TarFileIntegrationTest.testMarshalUnmarshall(TarFileIntegrationTest.java:64)
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/Charsets
      	at deployment.tarfile-tests//org.wildfly.camel.test.tarfile.TarFileIntegrationTest.testMarshalUnmarshall(TarFileIntegrationTest.java:64)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.Charsets from [Module "org.apache.commons.compress" version 1.26.0 from local module loader @7d64e326 (finder: local module finder @13f95696 (roots: /Users/dolearci/RedHat/QEstart/wildfly-camel/itests/standalone/basic/target/jboss-eap-7.4/modules,/Users/dolearci/RedHat/QEstart/wildfly-camel/itests/standalone/basic/target/jboss-eap-7.4/modules/system/layers/fuse,/Users/dolearci/RedHat/QEstart/wildfly-camel/itests/standalone/basic/target/jboss-eap-7.4/modules/system/layers/base))]
      	at deployment.tarfile-tests//org.wildfly.camel.test.tarfile.TarFileIntegrationTest.testMarshalUnmarshall(TarFileIntegrationTest.java:64)
      
      10:18:34,317 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment arquillian-service (runtime-name: arquillian-service) in 10ms
      10:18:34,352 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0002: Content removed from location /Users/dolearci/RedHat/QEstart/wildfly-camel/itests/standalone/basic/target/jboss-eap-7.4/standalone/data/content/a5/7e20a28016a4aca38314c40f547ac250591636/content
      10:18:34,353 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0009: Undeployed "arquillian-service" (runtime-name: "arquillian-service")
      10:18:34,361 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0272: Suspending server
      10:18:34,363 INFO  [org.jboss.as.ejb3] (management-handler-thread - 2) WFLYEJB0493: Jakarta Enterprise Beans subsystem suspension complete
      10:18:34,367 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
      10:18:34,372 INFO  [org.wildfly.extension.camel] (ServerService Thread Pool -- 89) Remove Camel endpoint: http://127.0.0.1:8080/hawtio
      10:18:34,374 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 89) WFLYUT0022: Unregistered web context: '/hawtio' from server 'default-server'
      10:18:34,378 INFO  [io.hawt.HawtioContextListener] (ServerService Thread Pool -- 89) Destroying hawtio services
      10:18:34,386 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
      10:18:34,387 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
      10:18:34,392 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
      10:18:34,396 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      10:18:34,396 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-6) WFLYJCA0119: Unbinding connection factory named java:/JmsXA to alias java:jboss/DefaultJMSConnectionFactory
      10:18:34,397 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-2) WFLYJCA0011: Unbound Jakarta Connectors ConnectionFactory [java:/JmsXA]
      10:18:34,400 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
      10:18:34,409 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0008: Undertow HTTPS listener https suspending
      10:18:34,410 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
      10:18:34,431 INFO  [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 3) AMQ151003: resource adaptor stopped
      10:18:34,498 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 18) WFLYCLINF0003: Stopped http-remoting-connector cache from ejb container
      10:18:34,510 INFO  [org.infinispan.manager.DefaultCacheManager] (ServerService Thread Pool -- 18) Stopping cache manager null on null
      10:18:34,674 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment hawtio-wildfly-2.0.0.fuse-7_13_0-00006-redhat-00001.war (runtime-name: hawtio-wildfly-2.0.0.fuse-7_13_0-00006-redhat-00001.war) in 303ms
      10:18:34,750 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 3) AMQ221002: Apache ActiveMQ Artemis Message Broker version 2.16.0.redhat-00049 [f7da6ea2-e763-11ee-8b0d-7c0a3fef9939] stopped, uptime 10.672 seconds
      10:18:34,752 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0008: Undertow HTTP listener default suspending
      10:18:34,753 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
      10:18:34,754 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 2.2.26.SP2-redhat-00001 stopping
      10:18:34,767 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 7.4.13.GA (WildFly Core 15.0.30.Final-redhat-00001) stopped in 392ms
      
      

              tdiesler@redhat.com Thomas Diesler
              dolearci@redhat.com Daniel Olearcin (Inactive)
              Daniel Olearcin Daniel Olearcin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: