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

Intermittent sccache binary checksum error #274

Open
hjyamauchi opened this issue Jan 9, 2025 · 0 comments
Open

Intermittent sccache binary checksum error #274

hjyamauchi opened this issue Jan 9, 2025 · 0 comments

Comments

@hjyamauchi
Copy link

hjyamauchi commented Jan 9, 2025

Hi @hendrikmuhs,

We get this checksum error only intermittently for some reason. The expected checksum 48e88be2ba87dca8d74364f045894ec214b6c850e65e61ab44e5071055c9e6d3 matches the actual checksum of the sccache.exe binary in that referenced tarball and also what's hardcoded in restore.ts. Could the curl or the tar command somehow fail to write the sccache binary and perhaps there was a different version of the binary in the same file path, whose checksum is 75a7ada82884092c1f122bba69e5a2f64fa88cd9723003b2e624eb339737c22d?
Do you have an idea why?

Thank you!

 "C:\Program Files\git\usr\bin\sh.exe" -xc "curl -L 'https://github.com/mozilla/sccache/releases/download/v0.7.6/sccache-v0.7.6-x86_64-pc-windows-msvc.tar.gz' | tar xzf - -O --wildcards '*/sccache.exe' > 'C:\Users\runner\.cargo\bin\sccache.exe'"
  + curl -L https://github.com/mozilla/sccache/releases/download/v0.7.6/sccache-v0.7.6-x86_64-pc-windows-msvc.tar.gz
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0+ tar xzf - -O --wildcards '*/sccache.exe'
  
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  
   55 7556k   55 4210k    0     0  8739k      0 --:--:-- --:--:-- --:--:-- 8739k
  100 7556k  100 7556k    0     0  11.5M      0 --:--:-- --:--:-- --:--:-- 20.5M
  Error: Restoring cache failed: Error: SHA256 of C:\Users\runner\.cargo\bin\sccache.exe is 75a7ada82884092c1f122bba69e5a2f64fa88cd9723003b2e624eb339737c22d, expected 48e88be2ba87dca8d74364f045894ec214b6c850e65e61ab44e5071055c9e6d3
Screenshot 2025-01-09 at 1 54 43 PM
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

1 participant