Closed
Description
Describe the bug
While building the integratio-arquilian testsuite on windows platform with profile auth-server-quarkus, the bin folder doesn't exists in the unpacked auth-server-quarkus dist. It is present in the zip folder but after unpacking it is not there.
Logs that show file not present
[ERROR] org.keycloak.testsuite.console.BasicConsoleTest Time elapsed: 3.023 s <<< ERROR!
java.lang.RuntimeException: java.io.IOException: Cannot run program "kc.bat" (in directory "C:\Jenkins\workspace\universal-tes---ea900cfa\admin_console_tests-win2016-chrome\keycloak\testsuite\integration-arquillian\tests\other\console\target\containers\auth-server-quarkus\bin"): CreateProcess error=2, The system cannot find the file specified
at org.keycloak.testsuite.arquillian.containers.KeycloakQuarkusServerDeployableContainer.start(KeycloakQuarkusServerDeployableContainer.java:76)
Unpacking is succesful
[INFO] --- maven-dependency-plugin:3.1.2:unpack (unpack-server-or-overlay) @ integration-arquillian-servers-auth-server-quarkus ---
[INFO] Configured Artifact: org.keycloak:keycloak-quarkus-dist:999-SNAPSHOT-stage-20220622-101934:zip
[INFO] Unpacking C:\Jenkins\workspace\universal-tes---ea900cfa\kc-mvn-repo\org\keycloak\keycloak-quarkus-dist\999-SNAPSHOT-stage-20220622-101934\keycloak-quarkus-dist-999-SNAPSHOT-stage-20220622-101934.zip to C:\Jenkins\workspace\universal-tes---ea900cfa\admin_console_tests-win2016-chrome\keycloak\testsuite\integration-arquillian\servers\auth-server\quarkus\target\unpacked with includes "" and excludes ""
[INFO]
[INFO] --- maven-dependency-plugin:3.1.2:copy (copy-testsuite-providers) @ integration-arquillian-servers-auth-server-quarkus ---
[INFO] Configured Artifact: org.keycloak.testsuite:integration-arquillian-testsuite-providers:999-SNAPSHOT-stage-20220622-101934:jar
[INFO] Configured Artifact: org.keycloak.testsuite:integration-arquillian-testsuite-providers-deployment:999-SNAPSHOT-stage-20220622-101934:jar
[INFO] Copying integration-arquillian-testsuite-providers-999-SNAPSHOT-stage-20220622-101934.jar to C:\Jenkins\workspace\universal-tes---ea900cfa\admin_console_tests-win2016-chrome\keycloak\testsuite\integration-arquillian\servers\auth-server\quarkus\target\unpacked\keycloak-999-SNAPSHOT-stage-20220622-101934\providers\integration-arquillian-testsuite-providers-999-SNAPSHOT-stage-20220622-101934.jar
[INFO] Copying integration-arquillian-testsuite-providers-deployment-999-SNAPSHOT-stage-20220622-101934.jar to C:\Jenkins\workspace\universal-tes---ea900cfa\admin_console_tests-win2016-chrome\keycloak\testsuite\integration-arquillian\servers\auth-server\quarkus\target\unpacked\keycloak-999-SNAPSHOT-stage-20220622-101934\providers\integration-arquillian-testsuite-providers-deployment-999-SNAPSHOT-stage-20220622-101934.jar
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (ant-generate-default) @ integration-arquillian-servers-auth-server-quarkus ---
[INFO] Executing tasks
main:
config:
[echo] Re-augmenting...
[INFO] Executed tasks
[INFO]
Logs QE pipeline Server: https://testPipeline/1729/execution/node/432/log/?consoleFull
Version
999-Snapshot
Expected behavior
kc.bat file should be there since it is present in the zip
Actual behavior
auth-server-quarkus has missing bin folder
How to Reproduce?
Run following command on Windows VM
Command:
mvn -f keycloak/testsuite/integration-arquillian/pom.xml clean install -DskipTests -Pauth-server-quarkus
Anything else?
No response