Closed D074360 closed 5 months ago
Hello team. May I please have an update on this issue? I must report back to my leadership on the status, and it's been open nearly 2 months with no further information. Thank You!
Hello -Any update? The issue is still persisting rendering our automated pipeline, still requiring manual intervention -
https://nodejs.org/dist/v18.18.1/node-v18.18.1-linux-x64.tar.gz to /home/mta/.m2/repository/com/sap/cds/cds-maven-plugin/cache/archive/18.18.1/archive-18.18.1-linux-x64.tar.gz
08:38:33 info mtaBuild - [INFO] InstallNodeMojo: No proxy was configured, downloading directly.
08:41:25 error mtaBuild - ....................................................................................................................................................................[ERROR] InstallNodeMojo: The archive /home/mta/.m2/repository/com/sap/cds/cds-maven-plugin/cache/archive/18.18.1/archive-18.18.1-linux-x64.tar.gz is corrupted and will be deleted. Please try the build again.
08:41:25 info mtaBuild - [INFO] ------------------------------------------------------------------------
08:41:25 info mtaBuild - [INFO] BUILD FAILURE
08:41:25 info mtaBuild - [INFO] ------------------------------------------------------------
Hello team. May I please have an update on this issue? I must report back to my leadership on the status, and it's been open nearly 3 months with no further information. Thank You!
MTA Build Tool does no provide the retry function . and there are some ways to implement retry with may maven plugins and other tools .
Hi,
The build fails with network timeout or corrupted archive error and this happens inconsistently.
There are multiple issues concerning the same in node js:
The workaround was to try out different node versions and even that did not work.
Could you please add retry mechanism when such error occur during MTA builds?
For reference I am adding the stack trace:
[2023-11-08T15:05:33.902Z] info mtaBuild - [INFO] InstallNodeMojo: Installing Node.js v18.18.1 [2023-11-08T15:05:33.902Z] info mtaBuild - [INFO] InstallNodeMojo: Downloading https://nodejs.org/dist/v18.18.1/node-v18.18.1-linux-x64.tar.gz to /home/mta/.m2/repository/com/sap/cds/cds-maven-plugin/cache/archive/18.18.1/archive-18.18.1-linux-x64.tar.gz [2023-11-08T15:05:33.902Z] info mtaBuild - [INFO] InstallNodeMojo: No proxy was configured, downloading directly. [2023-11-08T15:05:40.541Z] error mtaBuild - ................[ERROR] InstallNodeMojo: The archive /home/mta/.m2/repository/com/sap/cds/cds-maven-plugin/cache/archive/18.18.1/archive-18.18.1-linux-x64.tar.gz is corrupted and will be deleted. Please try the build again. [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] ------------------------------------------------------------------------ [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] BUILD FAILURE [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] ------------------------------------------------------------------------ [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] Total time: 23.359 s [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] Finished at: 2023-11-08T15:05:40Z [2023-11-08T15:05:40.541Z] info mtaBuild - [INFO] ------------------------------------------------------------------------ [2023-11-08T15:05:40.541Z] error mtaBuild - [ERROR] Failed to execute goal com.sap.cds:cds-maven-plugin:1.27.3:install-node (cds.install-node) on project event-mesh-service-wrapper: Couldn't install Node: Got error code 522 from the server. -> [Help 1]