Closed aqua-coding closed 1 month ago
@aqua-coding Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.
@aqua-coding Could you please try with the latest version 20240721.1
I updated to the latest version 20240721.1
and set the retryCountOnTaskFailure: 3 but still got permission denied error, this time with install-java-tools.sh
Also, in one of the retry, i got the following error with the script Generate-SoftwareReport.ps1, do you have any fix for this?:
hello, just asking for an update, were you able to find a fix for the permission denied error?
@aqua-coding The permission denied error might be occurring because some of the commands in the script require superuser (root) privileges. You can try modifying the script to use sudo for commands that need permissions. We tried checking the same, we haven't faced any permission errors and kindly check the latest rolled out image.
Hi @aqua-coding We have been following up with the issue, as there is no response from you We are closing this issue.Thank you.
Description
I am getting this weird permission denied error which is very inconsistent to the files that it denotes to. Sometimes I get permission denied error for cleanup.sh, sometimes for install-sqlpackage.sh, sometime for install-postgresql.sh and sometimes for other files.
Platforms affected
Runner images affected
Image version and build link
Image version 2.2.4
Is it regression?
No
Expected behavior
the images should be generated without permission denied error
Actual behavior
I am using
sudo packer build
cmd to execute with retryCountOnTaskFailure: 3 and sometimes in different files are getting the same permission denied error which is breaking the pipelinethe errors:
![image](https://github.com/user-attachments/assets/6d0102ea-a94e-40ae-8583-1595e2ad4c10)
and this error is weird because in one deployment it will show permission denied for install-erlang.sh and in next pipeline run the script install-erlang.sh will run without any problem but then I will get the same error with install-javatools.sh or some other script.
Repro steps
release ubuntu20/20240708.1.