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

enable-elytron.cli executed twice for testsuite/integration/manualmode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP-XP-4.0.0.CR2
    • EAP-XP-4.0.0.CR1
    • Test Suite
    • None
    • False
    • False
    • Hide
      • cd testsuite/integration/manualmode
      • mvn install -B -Dmaven.repo.local=/home/user/test/as-testsuite-prepare/maven-repo-local -Djboss.dist=/home/user/test/as-testsuite-prepare/jboss-dist -Delytron -Dts.standalone.microprofile
      Show
      cd testsuite/integration/manualmode mvn install -B -Dmaven.repo.local=/home/user/test/as-testsuite-prepare/maven-repo-local -Djboss.dist=/home/user/test/as-testsuite-prepare/jboss-dist -Delytron -Dts.standalone.microprofile

      testsuite/shared/enable-elytron.cli is executed twice for testsuite/integration/manualmode when running with elytron profile

      ...
      [INFO] — wildfly-maven-plugin:1.2.1.Final:execute-commands (default) @ jboss-eap-xp-ts-integ-microprofile-manualmode —
      [INFO] Executing script: /home/okotek/test/as-testsuite-prepare/testsuite/shared/enable-elytron.cli
      [INFO]
      [INFO] — wildfly-maven-plugin:1.2.1.Final:execute-commands (ts.config-as.configure-wildfly) @ jboss-eap-xp-ts-integ-microprofile-manualmode —
      [INFO] Executing script: /home/okotek/test/as-testsuite-prepare/testsuite/shared/enable-elytron.cli
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 42.397 s
      [INFO] Finished at: 2022-02-11T14:13:05+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.2.1.Final:execute-commands (ts.config-as.configure-wildfly) on project jboss-eap-xp-ts-integ-microprofile-manualmode: Failed to execute commands: See /home/user/test/as-testsuite-prepare/testsuite/integration/manualmode/target/wildfly-plugin.log for full details of failure.
      [ERROR] (\"http-authentication-factory\" => \"ejb-http-authentication\")
      [ERROR] ]",
      [ERROR] "rolled-back" => true
      [ERROR] }
      ...

      Removing the default execution helps, for example

      sed 's@ <id>ts.config-as.configure-wildfly</id>@<id>default</id><phase>none</phase></execution><execution><id>ts.config-as.configure-wildfly</id>@' -i integration/manualmode/pom.xml
      

              bstansbe@redhat.com Brian Stansberry
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: