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

Post-build step hangs on self-hosted mac runner #225

Open
AArnott opened this issue Jan 9, 2025 · 4 comments
Open

Post-build step hangs on self-hosted mac runner #225

AArnott opened this issue Jan 9, 2025 · 4 comments

Comments

@AArnott
Copy link

AArnott commented Jan 9, 2025

When running on private runners the cache works except on mac agents, where the cache hangs on the post-build step:

Post job cleanup.
Cache Configuration
  Cache Provider:
      github
  Workspaces:
      /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/src/nerdbank-zcash-rust
  Cache Paths:
      /Users/andrew/.cargo/bin
      /Users/andrew/.cargo/.crates.toml
      /Users/andrew/.cargo/.crates[2](https://github.com/nerdcash/Nerdbank.Zcash.App/actions/runs/12691957221/job/35376183539#step:19:2).json
      /Users/andrew/.cargo/registry
      /Users/andrew/.cargo/git
      /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/src/nerdbank-zcash-rust/target
  Restore Key:
      v0-rust-macos-Darwin-091e6a18
  Cache Key:
      v0-rust-macos-Darwin-091e6a18-2f2dee8a
  .. Prefix:
    - v0-rust-macos-Darwin
  .. Environment considered:
    - Rust Version: 1.79.0 aarch64-apple-darwin (129f[3](https://github.com/nerdcash/Nerdbank.Zcash.App/actions/runs/12691957221/job/35376183539#step:19:3)b9964af4d4a709d1383930ade12dfe7c081)
    - CARGO_INCREMENTAL
  .. Lockfiles considered:
    - /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/rust-toolchain.toml
    - /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/src/nerdbank-zcash-rust/.cargo/config.toml
    - /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/src/nerdbank-zcash-rust/Cargo.lock
    - /Volumes/Expansion/actions-runner/_work/Nerdbank.Zcash.App/Nerdbank.Zcash.App/src/nerdbank-zcash-rust/Cargo.toml

I've given it 30+ minutes to finish but nothing further ever gets logged. When it succeeds (on a github hosted agent) it takes under a minute.

Any ideas?

@NobodyXu
Copy link
Contributor

NobodyXu commented Jan 9, 2025

Could it be that there are a lot of .DS_Store created in the repository/places to be cleaned/cached

@AArnott
Copy link
Author

AArnott commented Jan 9, 2025

@NobodyXu The self-hosted runner is brand new, with only one repo on it. Given the whole build up to this point took about 10 minutes, it's hard to imagine it could have created anything that would take 30+ minutes to delete. Plus, this attempted to run 3 or so times before I disabled it, each running for at least 25 minutes. So if it was making progress on something that would be cumulative like deleting some location outside the repo, it's had probably 80+ minutes to do it.

@NobodyXu
Copy link
Contributor

Hmmm I'm not sure what caused it either.

@AArnott
Copy link
Author

AArnott commented Jan 11, 2025

Is there a way to increase logging?

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