-
Notifications
You must be signed in to change notification settings - Fork 6
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
TASK: adjust ELNBuildSync wait criteria between batches? #182
Comments
FYI this is why perl-Module-Build FTBFS: https://koji.fedoraproject.org/koji/taskinfo?taskID=114812020 |
This is a balancing act and probably requires looking into tagging statistics for Rawhide. We want it to be long enough that we capture everything but not so long that we never end up starting a batch because the timeout never hits. Maybe we switch to 30s and see how that goes?
There are a couple ways to do this, none of them ideal. As one approach, we could monitor for tag events on all of the builds and only start a new batch once all of them have been tagged into The problem with that is that if even one package gets stuck in gating, we won't trigger another batch. We can set a maximum wait time to work around that, but I worry that this could lead to significant delays. With the Bodhi approach, we wouldn't even have any of them in the buildroot, so I think we can exclude that approach entirely. At least with the direct tagging and a timeout, we'd pick up whatever made it through gating.
Definitely not in It would allow people to still directly build against the
For a single package, I'd prefer not to bump dist-tag. Can you ask the maintainer whether they mind? |
Filed https://src.fedoraproject.org/rpms/perl-Compress-Raw-Lzma/pull-request/2 for the rebuild. |
This happened again; perl-Compress-Raw-Lzma-2.212-3.eln140 was built with xz 5.4.6 instead of 5.6.2, which was built in an earlier batch but didn't get into the buildroot in time. |
Background
perl-Compress-Raw-Lzma hardcodes (and verifies?) the version of liblzma (xz-libs) against which it was built, and therefore the RPM has a hardcoded version-specific dependency on that xz-libs version. As a result, they need to be built in the same side tag.
Despite
xz-5.6.1-1.fc41
andperl-Compress-Raw-Lzma-2.209-5.fc41
having correctly been built together inf41-build-side-85449
, resulting in anxz-libs = 5.6.1
dependency correctly created for the latter, bodhi apparently took too long processing the side tag, first tagging the xz build intof41
at 14:26:27, then the perl-Compress-Raw-Lzma build at 14:26:35. That's 8 seconds apart, and being over a weekend things were quiet, and with no other builds in the interim and more than 5 wall clock seconds between the tags, they ended up in separate batches (eln-build-side-85453
andeln-build-side-85455
), each by themselves.Furthermore, despite xz going first, that didn't help because the next batch (with perl-Compress-Raw-Lzma) was started mere seconds later, but the xz build was still working its way through bodhi, meaning that it wasn't in the buildroot yet in time for the second batch, so perl-Compress-Raw-Lzma got mistakenly built against the previous xz-5.6.0. In fact, the updates for the two batches went stable to ELN almost simultaneously (fwiw xz is probably critical path).
What does the ELN SIG need to do?
So a few things went wrong here:
Therefore, we need to consider:
eln-updates-candidate
be in theeln-build
inheritance to avoid this wait? (Probably a bad idea, at least not without limiting who can build directly to eln.)Also, to fix this particular issue in the short-term, either we'll need a dist-tag bump, or another revbump and rebuild to perl-Compress-Raw-Lzma.
The text was updated successfully, but these errors were encountered: