Skip to content
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

Error could not remove the Makefile_20240125133534.mta #1109

Open
Markus-Schroeder-de opened this issue Jan 25, 2024 · 1 comment
Open

Error could not remove the Makefile_20240125133534.mta #1109

Markus-Schroeder-de opened this issue Jan 25, 2024 · 1 comment

Comments

@Markus-Schroeder-de
Copy link

Since the November update we have had problems in the CI pipeline because the build process itself is successful, but ends with an error exit because the temporary file "Makefile_TIMESTAMP.mta" cannot be deleted. Here it would be helpful to check whether the file exists before trying to delete it. Something may have changed when the archive was created, so that the Makefile is already deleted when "INFO cleaning temporary files..." (after-all) occurs.

[2024-01-25 13:35:51]  INFO running the "after-all" build...
[2024-01-25 13:35:51]  INFO generating the metadata...
[2024-01-25 13:35:51]  INFO generating the "/workspaces/example-app/dist/.example-app_mta_build_tmp/META-INF/mtad.yaml" file...
[2024-01-25 13:35:51]  INFO generating the MTA archive...
[2024-01-25 13:35:54]  INFO the MTA archive generated at: dist/example.app_0.0.1.mtar
[2024-01-25 13:35:54]  INFO cleaning temporary files...
[2024-01-25 13:35:54] ERROR could not remove the "Makefile_20240125133534.mta" file: remove Makefile_20240125133534.mta: no such file or directory
Error: could not remove the "Makefile_20240125133534.mta" file: remove Makefile_20240125133534.mta: no such file or directory

Please provide the following info:

Steps to Reproduce:

  1. mbt build --mode verbose --extensions ./resources/dev/dev.mtaext --target ./dist
@yutaoj
Copy link
Collaborator

yutaoj commented Feb 29, 2024

I can't reproduce this issue in my test case. could you share the simple reproduced case ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants