Skip to content
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

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

Open
olafhering opened this issue Oct 30, 2020 · 0 comments
Open
Labels
Backend Things regarding the OBS backend

Comments

@olafhering
Copy link
Contributor

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.

@hennevogel hennevogel added the Backend Things regarding the OBS backend label Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

No branches or pull requests

2 participants