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

[ubuntu-24.04-arm] Tons of EACCES #29

Closed
SukkaW opened this issue Jan 17, 2025 · 6 comments
Closed

[ubuntu-24.04-arm] Tons of EACCES #29

SukkaW opened this issue Jan 17, 2025 · 6 comments

Comments

@SukkaW
Copy link

SukkaW commented Jan 17, 2025

There is a ton of EACCES when CI is attempting to run a command. The shell appears to be searching in $PATH but failed to access many files.

Here is some example logs:

  • actions/checkout@v4
  Unexpected error attempting to determine if executable file exists '/home/runneradmin/.local/bin/git': Error: EACCES: permission denied, stat '/home/runneradmin/.local/bin/git'
  Unexpected error attempting to determine if executable file exists '/home/runneradmin/.cargo/bin/git': Error: EACCES: permission denied, stat '/home/runneradmin/.cargo/bin/git'
  Unexpected error attempting to determine if executable file exists '/home/runneradmin/.config/composer/vendor/bin/git': Error: EACCES: permission denied, stat 
  • actions/setup-node@v4
Resolved .node-version as 22
Attempting to download 22...
Acquiring 22.13.0 - arm64 from https://github.com/actions/node-versions/releases/download/22.13.0-[12](https://github.com/SukkaW/Surge/actions/runs/12829572645/job/35775898041#step:4:13)683784390/node-22.13.0-linux-arm64.tar.gz
Extracting ...
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.local/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.local/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.cargo/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.cargo/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.config/composer/vendor/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.config/composer/vendor/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.dotnet/tools/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.dotnet/tools/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.local/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.local/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.cargo/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.cargo/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.config/composer/vendor/bin/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.config/composer/vendor/bin/tar'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.dotnet/tools/tar': Error: EACCES: permission denied, stat '/home/runneradmin/.dotnet/tools/tar'
  • actions/cache/restore@v4
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.local/bin/zstd': Error: EACCES: permission denied, stat '/home/runneradmin/.local/bin/zstd'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.cargo/bin/zstd': Error: EACCES: permission denied, stat '/home/runneradmin/.cargo/bin/zstd'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.config/composer/vendor/bin/zstd': Error: EACCES: permission denied, stat '/home/runneradmin/.config/composer/vendor/bin/zstd'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.dotnet/tools/zstd': Error: EACCES: permission denied, stat '/home/runneradmin/.dotnet/tools/zstd'
@crazy-max
Copy link

Same on ubuntu-22.04-arm: https://github.com/moby/buildkit/actions/runs/12831241735/job/35781245694?pr=5669#step:3:124

@SukkaW
Copy link
Author

SukkaW commented Jan 17, 2025

#25 might be related?

@xlionjuan
Copy link

Just like mine: #30

I don't know why it continuously accessing /home/runneradmin/?

@userdocs
Copy link

userdocs commented Jan 17, 2025

So this looks like the cause? #25 and #27

With this comment #27 (comment)

Pointing to this discussion:

https://github.com/orgs/community/discussions/148648#discussioncomment-11858717

With a temp fix?

@crazy-max
Copy link

Looks fixed on my side now: https://github.com/docker/actions-toolkit/actions/runs/12843876100/job/35816319031#step:7:19

Seems related to update of runner to 2.0.417.1.

Image

@SukkaW
Copy link
Author

SukkaW commented Jan 18, 2025

@crazy-max Confirmed fixed on my build as well, not more EACCES.

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

5 participants