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 - Step - Post Host checkout errors Error: EACCES: permission denied #11416

Open
2 of 16 tasks
userdocs opened this issue Jan 17, 2025 · 3 comments
Open
2 of 16 tasks

Comments

@userdocs
Copy link

Description

I am seeing this in all Post host steps on arm runners.

Image

Post job cleanup.
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 '/home/runneradmin/.config/composer/vendor/bin/git'
Unexpected error attempting to determine if executable file exists '/home/runneradmin/.dotnet/tools/git': Error: EACCES: permission denied, stat '/home/runneradmin/.dotnet/tools/git'
/usr/bin/git version
git version [2](https://github.com/userdocs/ninja-alpine/actions/runs/12832988716/job/35786956868#step:28:2).47.1
Temporarily overriding HOME='/home/runner/work/_temp/acb9b100-82c6-4847-891b-220275cca230' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/ninja-alpine/ninja-alpine
/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Current runner version: '2.321.0'
Operating System
Runner Image
Runner Image Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d[2](https://github.com/userdocs/ninja-alpine/actions/runs/12832988716/job/35786956091#step:1:2)7597364c9af683)
Download action repository 'actions/attest-build-provenance@v2' (SHA:7[6](https://github.com/userdocs/ninja-alpine/actions/runs/12832988716/job/35786956091#step:1:7)68571508540a607bdfd90a87a560489fe372eb)
Download action repository 'actions/upload-artifact@v4' (SHA:65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08)
Getting action download info
Download action repository 'actions/attest-build-provenance@36fa7d009e22618ca7cd599486979b8150596c74' (SHA:36fa7d009e22618ca7cd599486979b8150596c74)
Download action repository 'actions/[email protected]' (SHA:63d2e98e267398337e9a[17](https://github.com/userdocs/ninja-alpine/actions/runs/12832988716/job/35786956091#step:1:21)ec68a5c8d936cb9247)
Complete job name: python aarch64

Is it regression?

no idea

Expected behavior

No errors

Actual behavior

error Error: EACCES: permission denied, stat '/home/runneradmin/.dotnet/tools/git'

Repro steps

Run a job with ubuntu-24.04-arm runner

@bgilbert
Copy link

See also actions/partner-runner-images#29.

@userdocs
Copy link
Author

userdocs commented Jan 17, 2025

@bgilbert thanks.

I wonder is this one is also related #11411 since it all seems related the same directories

@userdocs
Copy link
Author

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

No branches or pull requests

2 participants