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

EAP fails weld 5.0.1.Final tests

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      Checkout weld-core from https://github.com/vsalbaba/weld-core/tree/jakartaee-ci-jenkins . This branch is patched to be Jakarta EE compatible (cherrypicked changes from 5.1.0.Final)

      Set JBOSS_HOME to EAP 8 directory

      export JBOSS_HOME=[jbosseap8directory]
      

      Run incontainer tests with org.jboss.weld.construction.relaxed=true.

      mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed=true -Dmaven.test.failure.ignore=true -Dtest=org.jboss.cdi.tck.tests.implementation.simple.lifecycle.unproxyable.UnproxyableManagedBeanTest
      
      mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed=true -Dmaven.test.failure.ignore=true -Dtest=org.jboss.cdi.tck.tests.lookup.clientProxy.unproxyable.beanConstructor.BeanConstructorWithParametersTest
      
      mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed=true -Dmaven.test.failure.ignore=true -Dtest=org.jboss.cdi.tck.tests.lookup.clientProxy.unproxyable.privateConstructor.PrivateConstructorTest
      

      Expected: Tests will pass
      Observed: Tests will fail with message "failed to raise exception".

      Show
      Checkout weld-core from https://github.com/vsalbaba/weld-core/tree/jakartaee-ci-jenkins . This branch is patched to be Jakarta EE compatible (cherrypicked changes from 5.1.0.Final) Set JBOSS_HOME to EAP 8 directory export JBOSS_HOME=[jbosseap8directory] Run incontainer tests with org.jboss.weld.construction.relaxed=true. mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args= "-Dorg.jboss.weld.construction.relaxed= true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed= true -Dmaven.test.failure.ignore= true -Dtest=org.jboss.cdi.tck.tests.implementation.simple.lifecycle.unproxyable.UnproxyableManagedBeanTest mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args= "-Dorg.jboss.weld.construction.relaxed= true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed= true -Dmaven.test.failure.ignore= true -Dtest=org.jboss.cdi.tck.tests.lookup.clientProxy.unproxyable.beanConstructor.BeanConstructorWithParametersTest mvn clean verify -B -Dincontainer -f jboss-tck-runner/pom.xml -Dadditional.vm.args= "-Dorg.jboss.weld.construction.relaxed= true --add-modules java.se" -Dorg.jboss.weld.construction.relaxed= true -Dmaven.test.failure.ignore= true -Dtest=org.jboss.cdi.tck.tests.lookup.clientProxy.unproxyable.privateConstructor.PrivateConstructorTest Expected: Tests will pass Observed: Tests will fail with message "failed to raise exception".

      EAP 8.0.0 uses Weld 5.01 and fails the weld testsuite. Info for reproduction attached.

      The tests are passing without

       -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -Dorg.jboss.weld.construction.relaxed=true

      The same tests are failing on WF 27 Beta.

              Unassigned Unassigned
              rhn-support-vsalbaba Vojtěch Šalbaba
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: