UB
Universal Blue•5mo ago
M2

only thing that caught my eye is that it

only thing that caught my eye is that it won't return the 300 version.
50 Replies
bsherman
bsherman•5mo ago
why?
M2
M2OP•5mo ago
GitHub
chore(ci): handle varied kernel releases for coreos · ublue-os/kern...
A caching layer for Fedora kernels. Contribute to ublue-os/kernel-cache development by creating an account on GitHub.
bsherman
bsherman•5mo ago
i was trying to be a head of the game a bit for if we used this to cache a "coreos:next" kernel which was for a future release
M2
M2OP•5mo ago
just would cause uCore to kernel swap
bsherman
bsherman•5mo ago
hmm... re this... i see tagging needs some love
M2
M2OP•5mo ago
yeah
bsherman
bsherman•5mo ago
hmm... i'm not following why this would cause a kernel swap... if the originally requested kernel eg, 6.10.1-300.fc41 exists in koji, we never hit the case statement if 6.9.11-200.fc40 exists in koji, we don't hit the case statement i think what you are concerned about has to do with not checking for a difference in the "fcNN" from the ostree.linux label vs the desired fedora release but it's escaping me at the moment... so i'll just fix tags for now 🙂
M2
M2OP•5mo ago
yeah, I think that is right.
bsherman
bsherman•5mo ago
wait, IS there a tag problem here? I think it actually looks fine
M2
M2OP•5mo ago
we should be pulling the coreos kernel always. Unless the new coreos kernel is 6.9.7-200 and not 6.9.7-300
bsherman
bsherman•5mo ago
i agree with you all this does is validate the version string and if the kernel doesn't exist, decrements the "-200" to "-100" etc it pre-validates the version against koji
M2
M2OP•5mo ago
yepp. I assumed that current coreos kernel version was 6.9.7-300fc40.... Bad assumption it's
"ostree.linux": "6.9.7-200.fc40.x86_64",
"ostree.linux": "6.9.7-200.fc40.x86_64",
bsherman
bsherman•5mo ago
sorry, yeah, i did potentially make it more confusing with the handling of 300 if i understand correctly... -300 is currently being used in kernels for fc41 so, at some point i thought, there could be a chance where coreos:next might be on fc41 with a 300 kernel, maybe
M2
M2OP•5mo ago
yeah
bsherman
bsherman•5mo ago
i could simplify it to not include that i'm indifferent
M2
M2OP•5mo ago
no I think it's fine. I had assumed that we were still on 300
bsherman
bsherman•5mo ago
even if we were on 300, i think this should still work since it would just read the ostree.linux label... for -300.fc40 and then not find it in koji decrement to 200 and then it should find it but that REALLY should only happen when caching kernels where the fcNN release doesn't match CoreOS source the default behavior of the function is "verify the kernel from label exists and use that" I added a comment in github. I've got to go pickup some kids, so need to step away... feel free to merge if approved and good.
j0rge
j0rge•5mo ago
Just getting back @M2 how you feeling about this now? I'm around for the rest of the night so I can fire off gts, test stuff, etc. aka I am ready to approve and burn down things
M2
M2OP•5mo ago
This is good. @j0rge g2g
j0rge
j0rge•5mo ago
merged and built fine but I think I need a fix in bluefin? Still errored out looking for 200 instead of 100 https://github.com/ublue-os/kernel-cache/pkgs/container/coreos-stable-kernel/252897877?tag=39 ^^^^ it built the right thing! @bsherman got time to take a look? Sorry this font thing in F39 appears to be widespread so I need to get a build out
M2
M2OP•5mo ago
@j0rge
j0rge
j0rge•5mo ago
ooooh, ninja! thanks! trying it now
Run Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844
Run Wandalen/[email protected]_js_action
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
Error: Process returned exit code 1
Run Wandalen/wretry.action@6feedb7dedadeb826de0f45ff482b53b379a7844
Run Wandalen/[email protected]_js_action
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
++ skopeo inspect docker://ghcr.io/ublue-os/akmods:coreos-stable-39
++ jq -r '.Labels["ostree.linux"]'
+ akmods_version=6.8.11-200.fc39.x86_64
+ [[ 6.8.11-200.fc39.x86_64 == \6\.\9\.\7\-\1\0\0\.\f\c\3\9\.\x\8\6\_\6\4 ]]
+ echo 'Kernel Version do Not Match'
+ exit 1
Kernel Version do Not Match
Error: Process returned exit code 1
closer, there's the log
M2
M2OP•5mo ago
Rebuild akmods Akmods last built 6 hours ago. Update was landed 2 hours ago so akmods needs a button press and then it will work but the right hand side is good now
j0rge
j0rge•5mo ago
oh gotcha, on it, THANK YOU! this flatpak font thing is infuriating lol never change linux desktop
M2
M2OP•5mo ago
lol I'm guessing that it's the change to Inter or something
j0rge
j0rge•5mo ago
like in the runtime or whatever?
M2
M2OP•5mo ago
Yeah Fiftydinar has what's going on. But fontcache is in a bad spot. Distrobox had something similar in the past as well.
bsherman
bsherman•5mo ago
i just got back
M2
M2OP•5mo ago
My pr fixes that. Akmods needs a rebuild
j0rge
j0rge•5mo ago
I did the rebuild same error though https://github.com/ublue-os/akmods/actions/runs/10231091397 it's correct, and kernel-cache is correct, 6.9.7-100.fc39.x86_64
M2
M2OP•5mo ago
Did you merge my pr?
M2
M2OP•5mo ago
GitHub
chore(ci): fix gts kernel version check · ublue-os/bluefin@f2a8e55
The next generation Linux workstation, designed for reliability, performance, and sustainability. - chore(ci): fix gts kernel version check · ublue-os/bluefin@f2a8e55
bsherman
bsherman•5mo ago
ok i'm trying to catch up
j0rge
j0rge•5mo ago
OH MY GOD I FORGOT TO MERGE YOUR PR.
bsherman
bsherman•5mo ago
this is not merged yet
j0rge
j0rge•5mo ago
hold up sherman lol
bsherman
bsherman•5mo ago
it looks like kernel cache built AFTER akmods
j0rge
j0rge•5mo ago
yeah I rebuilt that too
bsherman
bsherman•5mo ago
that is not ideal, though it could be ok depending
j0rge
j0rge•5mo ago
I bet this works now: I need to merge stuff after this is green I'll go cache -> akmods -> bluefin right?
bsherman
bsherman•5mo ago
right well really
j0rge
j0rge•5mo ago
understood.
bsherman
bsherman•5mo ago
kernel-cache > akmods > main > hwe (but hwe is a maybe depending on if you use it or not)
j0rge
j0rge•5mo ago
man, this whole time, I just didn't merge the PR. I should have my head examined oh yeah looks like we got it! sherman fixing things just by showing up just in time to watch m2 point out that I should have pressed a button 3 hours ago.
j0rge
j0rge•5mo ago
No description
M2
M2OP•5mo ago
Rebuild the world button
bsherman
bsherman•5mo ago
it's how i roll i think this failed maybe because main wasn't built... https://github.com/ublue-os/hwe/actions/runs/10231740903/job/28308006650
j0rge
j0rge•5mo ago
oh ok, I can do that nope, still nvidia skew. Ok, good enough progress for the day, there's skew in nvidia here and with qemu stuff in 39 so probably best to call it and wait for the next round tomorrow.
Want results from more Discord servers?
Add your server