-
Notifications
You must be signed in to change notification settings - Fork 40
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
signature from "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" is invalid #99
Comments
It sounds stupid but... did you try restarting the CI workflow? |
some packages got incorrectly replaced and the package caching in setup-msys2/pacman doesn't like that. should be fixed in the next upload stupid workaround: reorder the packages in the "install: " part of the setup-msys2 action, that will trigger a cache miss. |
That seems to have worked. So why is |
We restore Ideally pacman should verify the checksum of the file, see that it doesn't match and re-download the file from the mirror. Might be worth filing a pacman bug report about that. But ideally we should just handle this in the repo update step, so files don't get replaced in the future. |
Workaround discuted in msys2/setup-msys2#99.
Sure, let's file that bug! I'm new to msys2. Can you help me with that? |
thanks, but pacman is developed by Arch Linux developers and we have forked it for msys2, so it's better if we file a bug ourselves. |
Still seems to fail for me after reordering: https://github.com/monero-project/monero-gui/pull/3286/checks?check_run_id=1627423478 |
Re-ordering worked for me once but now it's failing again and re-ordering isn't working for me now. |
Can there be a test in CI that will cover this situation? |
I guess then the DB and files are out of sync. hopefully fixed in the next upload |
The workaround is easy enough: Take everything out of the
|
@eyal0 that works because you are changing the cache key, not because you removed the |
@umarcor No. I tried to just change the install field and it didn't not work for me. Here are two consecutive commits that I made: Here are the corresponding CI runs: https://github.com/pcb2gcode/pcb2gcode/runs/1628278503 https://github.com/pcb2gcode/pcb2gcode/runs/1628833615 You can see that they are both failing even though I have made a brand-new list of installs. If I look in the log, they have this:
Notice that they are requesting different restores. One is I think that the caching action that GitHub provides uses a prefix, where if a cached item is not found, it looks for something by prefix. Because the prefixes match, maybe it's taking the wrong one? I'll will read about it. |
Oops, I have updated my comment. Please re-read. |
Yes, the partial match feature is explained here: I think that partial matches should be ignored. If they are ignored, that will solve this problem. I will create a fork of this repo that ignores partial matches and let you know how it works. |
Side question - how long can this cache problem persist? |
@lazka, can be we think about a mechanism for flushing the cache? That is, do not load it but have it saved. I'm not sure whether it should be an option in the Action (which users would need to commit in and commit out); or parsing the commit message looking for something such as My main concern is that a simple "clean" run might not suffice. Are cache hits guaranteed to find the latest match? |
if we want to handle such cases in the action we can just have a counter, add it to the hash and bump it +release to invalidate all caches |
@johnny-bit If the cache is using https://github.com/actions/cache then it ought to be 7 days, but only if it is unused for 7 days. |
Well... darktable CI runs certainly use caches ;) IMO cache busting is important since we can run into "15min issue" that in case of cache can last days/week(s) :/ |
Do you mean to handle it by us and force all users at the same time, instead of relying on each user reacting to "problems"? That sounds sensible. |
yes |
…hread." This reverts commit 39e0773.
…hread." This reverts commit 39e0773.
…hread." This reverts commit 39e0773.
should be fixed now |
Shall I still add the counter in this Action? |
sure. (I'll look into building a new installer today) |
…hread." This reverts commit 39e0773.
…hread." This reverts commit 39e0773.
The base distribution was updated (thanks @lazka!), a constant named Therefore, this issue should be fixed. I'm closing it, but don't hesitate to comment if you find further issues. |
I'm getting many errors about invalid signatures in my CI:
Similar to these: Alexpux/MSYS2-pacman#58
Is it a problem only in this repo or in all of msys2 or all of pacman?
The text was updated successfully, but these errors were encountered: