Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-344

Error during the KN CLI plugin build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.33.0
    • Cloud:CLI
    • None
    • False
    • None
    • False
    • Hide
      1. Clone kie-tools repo https://github.com/kiegroup/kie-tools
      2. Clone 9.100.x branch
      3. pnpm bootstrap
      4. pnpm -r -F @kie-tools/kn-plugin-workflow... build:dev
      5. Current result: Build fails
      6. Expected result build pass.
      7. cd packages/sonataflow-quarkus-devui/
      8. pnpm build:dev
      [INFO] Reactor Summary for KIE Tools :: SonataFlow Quarkus Dev UI Extension 999-SNAPSHOT:
      [INFO] 
      [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension ... FAILURE [  0.474 s]
      [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Runtime SKIPPED
      [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Deployment SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  0.596 s
      [INFO] Finished at: 2024-06-14T08:15:35+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.0:pnpm (pnpm build:prod) on project sonataflow-quarkus-devui-parent: Failed to run task: 'pnpm -F serverless-workflow-dev-ui-webapp... -F !@kie-tools/dmn-marshaller-backend-compatibility-tester -F !@kie-tools/dmn-testing-models build:prod' failed. java.io.IOException: Cannot run program "/home/tdavid/Projects/eng/kie-tools/node/node" (in directory "/home/tdavid/Projects/eng/kie-tools"): error=2, No such file or directory -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
       ELIFECYCLE  Command failed with exit code 1.
      
      
      Show
      Clone kie-tools repo https://github.com/kiegroup/kie-tools Clone 9.100.x branch pnpm bootstrap pnpm -r -F @kie-tools/kn-plugin-workflow... build:dev Current result: Build fails Expected result build pass. cd packages/sonataflow-quarkus-devui/ pnpm build:dev [INFO] Reactor Summary for KIE Tools :: SonataFlow Quarkus Dev UI Extension 999-SNAPSHOT: [INFO] [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension ... FAILURE [ 0.474 s] [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Runtime SKIPPED [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Deployment SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.596 s [INFO] Finished at: 2024-06-14T08:15:35+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.0:pnpm (pnpm build:prod) on project sonataflow-quarkus-devui-parent: Failed to run task: 'pnpm -F serverless-workflow-dev-ui-webapp... -F !@kie-tools/dmn-marshaller-backend-compatibility-tester -F !@kie-tools/dmn-testing-models build:prod' failed. java.io.IOException: Cannot run program "/home/tdavid/Projects/eng/kie-tools/node/node" (in directory "/home/tdavid/Projects/eng/kie-tools"): error=2, No such file or directory -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException  ELIFECYCLE  Command failed with exit code 1.

      There is an error during the build of KN Workflow CLI plugin (kiegroup remote - 9.100.x branch).

      │ [INFO] ------------------------------------------------------------------------
      │ [INFO] Reactor Summary for KIE Tools :: SonataFlow Quarkus Dev UI Extension 999-SNAPSHOT:
      │ [INFO] 
      │ [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension ... FAILURE [  0.685 s]
      │ [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Runtime SKIPPED
      │ [INFO] KIE Tools :: SonataFlow Quarkus Dev UI Extension :: Deployment SKIPPED
      │ [INFO] ------------------------------------------------------------------------
      │ [INFO] BUILD FAILURE
      │ [INFO] ------------------------------------------------------------------------
      │ [INFO] Total time:  0.851 s
      │ [INFO] Finished at: 2024-06-14T08:09:40+02:00
      │ [INFO] ------------------------------------------------------------------------
      │ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.0:pnpm (pnpm build:prod) on project sonataflow-quarkus-devui-parent: Failed to run task: 'pnpm -F serverless-workflow-dev-ui-webapp... -F !@kie-tools/dmn-marshaller-backend-compatibility-tester -F !@kie-tools/dmn-testing-models build:p…
      │ [ERROR] 
      │ [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      │ [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      │ [ERROR] 
      │ [ERROR] For more information about the errors and possible solutions, please read the following articles:
      │ [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      └─ Failed in 1.8s at /home/tdavid/Projects/eng/kie-tools/packages/sonataflow-quarkus-devui
      /home/tdavid/Projects/eng/kie-tools/packages/sonataflow-quarkus-devui:
       ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @kie-tools/sonataflow-quarkus-devui@0.0.0 build:dev: `run-script-os`
      Exit status 1
      
      

      Workaround:

      • If frontend-maven-plugin from packages/sonataflow-quarkus-devui/pom.xml is removed, build pass.
      • Direct build using the maven also pass.

              dtikhomi@redhat.com Dmitrii Tikhomirov
              tdavid@redhat.com Tomas David
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: