Skip to content

pending rebuild of pkgs in a prj does not take dependencies into account #10361

Open
@olafhering

Description

@olafhering

pkgs in a prj may have a rebuild pending, in case a repository has for example :Update or Tumbleweed in the path= element.

The prj will be processed by the scheduler in case some pkg in the prk changes. Then all pkgs will be more or less instantly scheduled for rebuild.

However, this "schedule pkgs now for rebuild" thing does not take the just changed pkg into account. If the other pkgs with pending rebuild do depend on the just changed pkg, their rebuild will start anyway.

Example: if home:olh:xen-unstable/xen gets changed, then the entire prj starts to build while xen is still processing its _service file:

SLE_12 x86_64 (outdated)
| SLE_15 x86_64 (outdated)
| | openSUSE_15.1 x86_64 (outdated)
| | | openSUSE_Tumbleweed x86_64 (outdated)
. . . f  kexec-tools
  b . b  libguestfs
         libguestfs-1.26
b        libguestfs-1.32
. . . %  libvirt
U f . b  libvirt-python
. f . b  perl-Sys-Virt
  % . %  qemu
% % . %  qemu-2.10
% % . %  qemu-2.11
% % . %  qemu-2.12
% % . %  qemu-2.6
% % . %  qemu-2.7
% % . %  qemu-2.8
% % . %  qemu-2.9
% % . %  qemu-3.0
% % . %  qemu-3.1
% % . %  qemu-4.0
% % . %  qemu-4.1
% % . %  qemu-4.2
% % . %  qemu-5.0
%        qemu_5.0
b b b b  xen
. . . f  xen-logdirty
. . . f  xen-tscinfo
         xen-unstable
         xenpaging-scripts
0 1 2 3
home:olh:xen-unstable/libvirt $ osc tr openSUSE_Tumbleweed x86_64
https://api.opensuse.org home:olh:xen-unstable libvirt openSUSE_Tumbleweed x86_64
meta change (at 2020-10-30 10:29:26)
changed keys:
   md5sum system-group-hardware
   added xen-devel/system-group-hardware
home:olh:xen-unstable/qemu $ osc tr SLE_15 x86_64
https://api.opensuse.org home:olh:xen-unstable qemu SLE_15 x86_64
meta change (at 2020-10-30 10:29:39)
changed keys:
   md5sum mozilla-nspr
   md5sum mozilla-nspr-devel
   md5sum timezone

I think all pkgs in state % above have to wait until the new xen is done. State b for xen in this example is service in progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendThings regarding the OBS backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions