Zulip Chat Archive
Stream: mathlib4
Topic: Cache failures with the Lean bump
Jeremy Tan (Apr 21 2023 at 09:51):
Screenshot_20230421_174848_Firefox.png
!4#3557 by @Gabriel Ebner was merged, but caches are not being downloaded or uploaded at all. This means I have to wait 2 to 3 hours on every staging. This is a CI regression
Jeremy Tan (Apr 21 2023 at 09:52):
(i.e. all of Mathlib is being rebuilt with every stage, instead of just the files that need to change)
Eric Wieser (Apr 21 2023 at 09:52):
Can you link to the CI run rather than pasting a screenshot?
Jeremy Tan (Apr 21 2023 at 09:54):
https://github.com/leanprover-community/mathlib4/actions/runs/4762768528/jobs/8465383505
Mauricio Collares (Apr 21 2023 at 10:14):
Did you merge master in the PRs you want to download caches for?
Mauricio Collares (Apr 21 2023 at 10:14):
Or are you talking about master?
Jeremy Tan (Apr 21 2023 at 10:15):
I am talking about master
Jeremy Tan (Apr 21 2023 at 10:33):
It's happening again with https://github.com/leanprover-community/mathlib4/actions/runs/4763966428. Even though just one file is added, CI is rebuilding everything from scratch
Eric Wieser (Apr 21 2023 at 10:37):
I wonder when the last successful cache upload was; is the new lean version to blame, or has it been broken for a while and the lean version just invalidated some already-stale caches?
Sebastian Ullrich (Apr 21 2023 at 10:52):
I think !4#3571 should fix it
Sebastian Ullrich (Apr 21 2023 at 10:58):
Running put
after a partial build on master and the PR:
~/lean/mathlib4 master MATHLIB_CACHE_SAS=1 lake exe cache put
Compressing cache
No files to upload
~/lean/mathlib4 master git co -
Switched to branch 'fix-cache-c-trace'
Your branch is up to date with 'origin/fix-cache-c-trace'.
~/lean/mathlib4 fix-cache-c-trace MATHLIB_CACHE_SAS=1 lake exe cache put
info: [0/8] Building Cache.IO
info: [1/8] Compiling Cache.IO
info: [1/8] Building Cache.Hashing
info: [3/8] Building Cache.Requests
info: [5/8] Building Cache.Main
info: [8/8] Linking cache
Compressing cache
Attempting to upload 122 file(s)
Eric Wieser (Apr 21 2023 at 11:10):
I guess we may as well wait for CI to finish, since then it will use the new cache after merging
MonadMaverick (Apr 21 2023 at 12:19):
2023-04-21-221706_3840x2160_scrot.png
CI status is "passing" now.
But cache dosn't work.
Anne Baanen (Apr 21 2023 at 12:23):
"Could not resolve host" suggests an outage on the internet commection somewhere between your computer and the olean cache server, not a CI failure. For me, dig lakecache.blob.core.windows.net
returns an address but pinging it gives "Destination Host Unreachable".
Anne Baanen (Apr 21 2023 at 12:24):
So it being down for both of us suggests an issue on Azure. On the other hand, Azure doesn't report any outages: https://portal.azure.com/#view/Microsoft_Azure_Health/AzureHealthBrowseBlade/~/serviceIssues
Sebastian Ullrich (Apr 21 2023 at 12:26):
Not every server likes to be pinged, try curl
instead. In any case, the issue will not be resolved before the PR is merged.
Eric Wieser (Apr 21 2023 at 12:31):
The issue will be mostly resolved once the PR is built; the cache will then be available for everyone for a single more recent commit, which at least will have accurate caches for all the early files.
Mauricio Collares (Apr 21 2023 at 13:00):
That's done
Last updated: Dec 20 2023 at 11:08 UTC