-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide resiliency for MTA builds #1092
Comments
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 -
|
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]
The text was updated successfully, but these errors were encountered: