Skopeo: Backport a patch to avoid a panic when compiled with Go >= 1.22 #355
Skopeo: Backport a patch to avoid a panic when compiled with Go >= 1.22 #355mtrmac wants to merge 7 commits intocontainers:mainfrom
Conversation
|
Change LGTM, I can't see why the new images won't build. Oh, looks like I need to give you access to this repo. Once sec... |
|
...access granted. @mtrmac you'll need to re-push unfortunately. There's a validation check that will fail in Cirrus if I simply tell it to "go" as-is. |
|
Thanks, re-pushed. |
was retired this week (🍷 for a very old project of mine). Do we actually need that? |
|
Nuke it and we'll find out. Do you know if there's a successor? I'm going to miss it, I use it daily at home. |
Done.
https://fedoraproject.org/wiki/Changes/Plocate_as_the_default_locate_implementation , supposedly since F36. |
Git blame says it came in by 38fa0c6 which is incredibly ancient. However, the origin of that change was exclusive to podman CI. So if removing |
|
Note: I re-ran a few container build tasks. Looks like quay or networking flakes. |
|
This is not code touched by this PR. @cevich any chance you could take a quick look? I'm having trouble understanding. https://github.com//containers/automation_images/blob/b7395d11fee6e977d2256b536a485fdb9811839b/get_ci_vm/test.sh#L276 |
Agreed, this is unrelated. Must be the result of a |
|
Well...was an easy fix but hard to find the right place to implement. Local testing shows I found it, so #356 should fix this. |
|
Done. Okay, rebase this and it should work 🤞 |
|
Rebased. Thanks @cevich . |
|
Cirrus CI build successful. Found built image names and IDs:
|
|
... to see whether it fixes the failures in containers#2328 . Signed-off-by: Miloslav Trmač <mitr@redhat.com>
... which has stopped installing mlocate, so confirm that doesn't break anything. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
Downstream tests:
|
|
@mtrmac see my comments in your podman PR. Debian is broken, not booting. CAUSE: new systemd (see above table) SOLUTION:
|
|
@mtrmac Ed's second suggestion (unfortunately) isn't abnormal for this repo. If you're at all uncomfortable making that change, poke me and I'll take care of it for you. Edit: It looks like your workaorund is at least functional as the containers/skopeo#2340 CI passed. |
6322d3c to
d9d9f10
Compare
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
> panic: encoding alphabet includes duplicate symbols Signed-off-by: Miloslav Trmač <mitr@redhat.com>
It has been retired in Rawhide, and it's unclear whether we need it at all. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
plocate is the default locate implementation in Fedora. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
…g the default one Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
Cirrus CI build successful. Found built image names and IDs:
|
|
NO GO. Repeat, NO GO. Something went wrong. systemd is still a bad version:
|
|
I can't figure out what went wrong. The log shows your pin file, then: Pinning allows globs, so maybe retry the 256 block with just |
|
I'd like to suggest something helpful, but I'm out of my depth here. Debugging problems in the "base" stage build can be challenging. It's not possible to use |
|
EXECUTIVE DECISION: I am merging this. DO NOT USE THESE VMS!!!!!!!!!!!!!!!! I am merging because the Skopeo fixes look good, and the mlocate/plocate too, and we REALLY NEED #338 SO PLEASE NO MORE MERGES INTO THIS REPO |
|
Ah phooey. Too late. Never mind, I'll just bring in the skopeo commit |
|
Since you're going to be building images in the other PR right away anyway (with a newer IMG_SFX) maybe it's okay to just force-merge this? |
|
Doesn't seem to work. Wants to rerun CI, which is going to fail. |
|
Dang 😢 |
|
Oh! You could stick '[skip-ci]' in the title, and re-push. That will 100% bypass all of Cirrus-CI. |
|
#338 was merged, contains the commits we want, and makes the attempts to pin systemd unnecessary. @edsantiago @cevich thanks! |
|
Thank you for finding a solution to the Go issue and for catching (and fixing!) the |
Try the “easy” way to fix containers/skopeo#2328 .
Warning: I don’t know what I am doing. I’m hoping this PR, even before merging, generates images which can be used to run Skopeo tests to confirm this works as expected.
I have locally tested the
sedcommand, but nothing else.