Project

General

Profile

Actions

Bug #6381

open

libosmocore changes take too long until they propagate through OBS master

Added by laforge 2 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Low
Assignee:
Target version:
-
Start date:
03/01/2024
Due date:
% Done:

0%

Spec Reference:

Description

(05:23:15 PM) hwelte: I don't understand why https://gerrit.osmocom.org/c/libosmo-netif/+/35069 keeps failing even hours after the libosmocore patch has been merged. I even checked that the OBS package for libosmocore had been rebuilt meanwhile
(05:29:17 PM) hwelte: the debian10/debian12 builds fail despite the libosmocore on which the changes depend has long been built on obs.
(05:54:43 PM) osmith: hwelte, it says here: build jobs exist (gear icon): https://obs.osmocom.org/package/show/osmocom:master/libosmocore
(05:55:04 PM) hwelte: osmith: yes, but that's for much more recent libosmocore commits
(05:55:04 PM) osmith: the builders just seem to be busy building everything, I guess because of multiple libosmocore merges in a row, each triggering a rebuild of everything
(05:55:12 PM) osmith: https://obs.osmocom.org/monitor <- builders being busy
(05:55:34 PM) osmith: it might be that OBS doesn't publish a repository before all packages for a distribution are built
(05:58:26 PM) osmith: hwelte, so in summary: libosmocore changes cause a lot of packages to be built, and the repo (probably) only gets published once all packages are built. unfortunately it seems that the builders were not able to build everything within the last hours since the merge, or that it started building additional packages because of more merges.

So it somehow seems that if a longer series of patches is committed to libosmocore, each of them gets built as OBS packge for each arch/distibution, and that's what takes so long? Can we somehow get it to only build the most recent commit at a time, and first build that all the way to the end and make sure those packages are published/available for further downstream builds?

It's not exactly a rare situation that we add something to one library, and then there are also patches that use those additions elsewhere. So either
  • we can achieve the above, or
  • we can make sure that repos/feeds are updated after building [only] the debian10/debian12 on amd64 which we use for gerrit build verification [and even prioritize those]?
  • we can make find some other way to make sure the (in this case) libosmocore package is somehow available for gerrit build verification after it has been built, and not only after the entire universe has been re-built?

Files

obs.png View obs.png 65.3 KB osmith, 03/01/2024 09:36 AM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)