Koji builder upgrade to Fedora 31 breaks MBS #8410
Labels
No labels
announcement
authentication
automate
aws
backlog
blocked
bodhi
ci
Closed As
Duplicate
Closed As
Fixed
Closed As
Fixed with Explanation
Closed As
Initiative Worthy
Closed As
Insufficient data
Closed As
Invalid
Closed As
Spam
Closed As
Upstream
Closed As/Will Not
Can Not fix
cloud
communishift
copr
database
deprecated
dev
discourse
dns
downloads
easyfix
epel
factory2
firmitas
gitlab
greenwave
hardware
help wanted
high-gain
high-trouble
iad2
koji
koschei
lists
low-gain
low-trouble
mbs
medium-gain
medium-trouble
mini-initiative
mirrorlists
monitoring
Needs investigation
notifier
odcs
OpenShift
ops
OSBS
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
rdu-cc
release-monitoring
releng
repoSpanner
request-for-resources
s390x
security
SMTP
src.fp.o
staging
taiga
unfreeze
waiverdb
websites-general
wiki
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/fedora-infrastructure#8410
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I originally filed this problem against MBS here: https://pagure.io/fm-orchestrator/issue/1525
But it occurs to me that it could coincide with recent infra changes.
@mizdebsk pointed out to me that the failures are happening only on build hosts that are upgraded to Fedora > 29 and since I was only seeing the problem from late last week, this might coincide with the change to infra: https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=a816316
It feels pretty urgent because I have so far not managed to build any archful modular packages since last week.
Metadata Update from @mizdebsk:
On Fedora 31 mock chroot fails to initialize with the following DNF error:
No available modular metadata for modular package 'module-build-macros-0.1-1.module_f30+7100+0fc9a5b6.noarch', it cannot be installed on the system
On Fedora 29 mock chroot initializes fine.
Fedora 29 builders have:
Fedora 31 builders have:
fail-safe mechanism of DNF 4.2.7 is causing this. Koji build repos lack modular metadata, but DNF sees that module-build-macros is a modular package and fails to install it.
I've temporary disabled F29 staging builders to ease reproducing this issue in staging Koji:
The issue is reproducible in staging Koji, but only after I upgraded DNF to latest 4.2.15 as follows:
The same component build succeeded with older DNF 4.2.9-5
@mizdebsk we had the same problem for MBS local builds and the following PR resolved it:
https://pagure.io/fm-orchestrator/pull-request/1494
Is there a way that MBS could configure DNF in Koji to use
module_hotfixes=true
when resolving dependencies?So it is because the repo generated by koji does not contain modularity metadata?
Here is what I do when I test build locally. After building module-build-macros, and then after the completion of each rank of components I run this script: https://github.com/mbooth101/modularity-misc/blob/master/update_repo.py
It regenerates the repo and updates the modulemd metadata to include all the latest RPM artifacts -- I'm surprised this is not what is happening in MBS/koji; I guess there is no mechanism for MBS to customise the intermediate repositories that are generated by koji?
Correct. Koji repos don't contain modular metadata.
Metadata Update from @mizdebsk:
@mprahl, @mizdebsk , we should set:
in the
roles/mbs/common/templates/config.py
and run the playbook. That should fix it.Metadata Update from @jkaluza:
Also note that if we ever start using modular RPMs in non-modular buildroots (for example when f31-build includes modular RPMs, because thy would be default for f31), then f31-build also needs to set
mock.yum.module_hotfixes: 1
.Metadata Update from @jkaluza:
I already tested
module_hotfixes=1
and it didn't work. I will try again.@jkaluza thanks. I'll give that a try.
Edit: Nevermind. It looks like @mizdebsk is already on it.
I've added KOJI_TAG_EXTRA_OPTS to staging MBS config and I'm running testmodule build to check whether it fixes the issue.
Thanks @jkaluza , it looks like
module_hotfixes=1
fixed the issue in staging. I'll apply the fix in production too.I've applied the fix proposed by @jkaluza in production. @mbooth, Please confirm whether the issue is fixed.
Metadata Update from @mizdebsk:
Hey all, it seems to be behaving for me now, many thanks.
My random failures are now limited to s390x as is tradition :-)
Thanks for confirmation. I'm closing this issue as fixed then.
I have re-enabled Fedora 29 builders in staging as investigation is over.
Metadata Update from @mizdebsk:
Metadata Update from @mizdebsk: