Skip to content

CI Caching Errors #40

@ReubenJ

Description

@ReubenJ

Description

Looks like the cache action for Julia isn't cleaning up properly because it lacks the correct permissions. This would be nice to fix up so we don't waste resources.

Error

Post job cleanup.
Post job cleanup.
      Active manifest files: 1 found
      Active artifact files: 0 found
      Active scratchspaces: 0 found
     Deleted no artifacts, repos, packages or scratchspaces
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276336882)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276336882 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276212888)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276212888 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276115362)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276115362 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1274703389)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1274703389 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1256858426)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1256858426 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1254572435)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1254572435 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
Failed to delete 6 existing caches on ref `refs/pull/38/merge` matching restore key `julia-cache;workflow=Lint;job=lint;os=Linux;`
1276336882
1276212888
1276115362
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
┌ Info: To delete caches you need to grant the following to the default `GITHUB_TOKEN` by adding
│ this to your workflow:
│ ```
│ permissions:
│   actions: write
│   contents: read
```
│ (Note this won't work for fork PRs but should once merged)
│ Or provide a token with `repo` scope via the `token` input option.
└ See https://cli.github.com/manual/gh_cache_delete
1274703389
1256858426
1254572435
Post job cleanup.
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/GraphDynamicalSystems.jl/GraphDynamicalSystems.jl --files-from manifest.txt --use-compress-program zstdmt
Sent 20975265 of 20975265 (100.0%), 69.5 MBs/sec
8s
Post job cleanup.
Post job cleanup.
      Active manifest files: 1 found
      Active artifact files: 0 found
      Active scratchspaces: 0 found
     Deleted no artifacts, repos, packages or scratchspaces
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276336882)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276336882 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276212888)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276212888 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1276115362)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1276115362 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1274703389)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1274703389 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1256858426)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1256858426 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
X Failed to delete cache: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/ReubenJ/GraphDynamicalSystems.jl/actions/caches/1254572435)
┌ Error: ProcessFailedException(Base.Process[Process(`gh cache delete 1254572435 --repo ReubenJ/GraphDynamicalSystems.jl`, ProcessExited(1))])
Failed to delete 6 existing caches on ref `refs/pull/38/merge` matching restore key `julia-cache;workflow=Lint;job=lint;os=Linux;`
1276336882
1276212888
1276115362
└ @ Main ~/work/_actions/julia-actions/cache/v2/handle_caches.jl:42
┌ Info: To delete caches you need to grant the following to the default `GITHUB_TOKEN` by adding
│ this to your workflow:
│ ```
│ permissions:
│   actions: write
│   contents: read
│ ```
│ (Note this won't work for fork PRs but should once merged)
│ Or provide a token with `repo` scope via the `token` input option.
└ See https://cli.github.com/manual/gh_cache_delete
1274703389
1256858426
1254572435
Post job cleanup.
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/GraphDynamicalSystems.jl/GraphDynamicalSystems.jl --files-from manifest.txt --use-compress-program zstdmt
Sent 20975265 of 20975265 (100.0%), 69.5 MBs/sec
Cache saved with key: julia-cache;workflow=Lint;job=lint;os=Linux;run_id=18197022567;run_attempt=1
0s
Post job cleanup.
/usr/bin/git version
git version 2.51.0
Temporarily overriding HOME='/home/runner/work/_temp/1c5d36f2-061b-4b22-b3d2-69292c1674e5' 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/GraphDynamicalSystems.jl/GraphDynamicalSystems.jl
/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
http.https://github.com/.extraheader
/usr/bin/git config --local --unset-all 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' || :"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions