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
./wpt check-stability fails with ManifestVersionMismatch if older MANIFEST.json is present #12635
Comments
@gsnedders I'll be OOO for the rest of the week, might you have time to look at this? |
Earlier on IRC, @gsnedders suggested rebasing and retrying. And I did try in #12556, but the stability checks are still failing. Shall we just purge the cache? |
As I noted on IRC, purging the cache worked for the two PRs I tried it on. |
I'm not sure if it's safe to purge all cache. |
Can someone paste how to purge the cache, for others that need it? (This issue has repro steps so don't need to experiment on Travis.) |
Admins can purge cache for an individual build, or drop all cache: https://travis-ci.org/web-platform-tests/wpt/caches |
What possible harm could it do other than longer build time? |
The Travis CI cache page doesn't display all PR branches however. If you need to get it working now, here's the equivalent # the number of the pull request
PRID=12016
# you can find the token through any request to api.travis-ci.org in DevTools
YOUR_TOKEN=yourtoken
curl "https://api.travis-ci.org/repo/644577/caches?branch=PR.$PRID" \
-X DELETE \
-H 'Pragma: no-cache' \
-H 'Origin: https://travis-ci.org' \
-H 'Travis-API-Version: 3' \
-H 'Cache-Control: no-cache' \
-H "Authorization: token $YOUR_TOKEN" I'm still pretty convinced that purging all cache is the right thing to do here. |
Did someone purge all caches? The master cache is much smaller than it was a few days ago when we first started discussing this. |
Yes. We did yesterday. |
Is this therefore fixed and can be closed? |
Probably. Can always reopen if there are remaining issues. |
The same will happen next time we bump the manifest version, so fixing this is still important, but not urgent. |
@gsnedders, should this be assigned to you, do you plan to work on it? I'm going to assume not, so I'll downgrade priority, leaving assigned to you just in case. |
|
After #12563 some PRs have been failing like this when running check-stability:
(From https://travis-ci.org/web-platform-tests/wpt/jobs/419337736#L600)
The PRs are running code where
CURRENT_VERSION
is 5, so this must mean there's a MANIFEST.json on disk with version 4. Exactly how it got there I don't know, but it's a situation that should be handled. Steps to reproduce:(Works even if not on a branch with changes.)
#12589 is a similar issue, comment #12589 (comment) is relevant.
As discussed there, the fix ought to be making manifest.py handle this, so that
./wpt check-stability
has the same behavior as./wpt run
.The text was updated successfully, but these errors were encountered: