Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1754557 - Local module build hangs
Summary: Local module build hangs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: module-build-service
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matt Prahl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1756733
TreeView+ depends on / blocked
 
Reported: 2019-09-23 14:53 UTC by Gwyn Ciesla
Modified: 2019-11-19 01:35 UTC (History)
6 users (show)

Fixed In Version: module-build-service-2.29.1-1.fc30 module-build-service-2.29.1-1.fc29 module-build-service-2.30.3-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-12 00:24:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
modulemd (1.39 KB, text/plain)
2019-09-26 13:06 UTC, Gwyn Ciesla
no flags Details

Description Gwyn Ciesla 2019-09-23 14:53:12 UTC
[gwyn@gwythsefyll hedgewars]$ flatpak-module local-build
2019-09-23 08:45:48,552 - MainThread - moksha.hub - WARNING - Cannot find qpid python module. Make sure you have python-qpid installed.
2019-09-23 08:45:48,923 - MainThread - MBS.utils.greenwave - WARNING - Greenwave is not configured or configured improperly
BUILDING MODULE
===============
warning: Greenwave is not configured or configured improperly
info: Starting resolving with following input modules: ['platform:f30:6:00000000', 'flatpak-common:f30:3020190906121330:548d4c8d', 'flatpak-runtime:f30:3020190906113054:a5b0195c', 'flatpak-runtime:f30:3020190906113054:a5b0195c']
info: Resolving done, possible requires: {frozenset({'flatpak-runtime:f30:3020190906113054:a5b0195c:x86_64', 'hedgewars:master:20190923134551:0:src', 'platform:f30:6:00000000:x86_64', 'flatpak-common:f30:3020190906121330:548d4c8d:x86_64'})}
info: Module platform:f30:6:00000000 imported
name: hedgewars
stream: master
version: 3020190923134551
modulemd: /home/gwyn/fedora/git/mod/hedgewars/hedgewars.yaml
log: /home/gwyn/modulebuild/builds/module-hedgewars-master-3020190923134551/mbs.log

info: Getting tag for hedgewars:master:3020190923134551
info: Start to handle hedgewars:master:3020190923134551:f1d02342 which is in init state.
info: Setting build arches of hedgewars:master:3020190923134551:f1d02342 to ['x86_64'] based on the buildrequired module <ModuleBuild platform, id=1, stream=f30, version=6, scratch=False, state 'ready', batch 0, state_reason None>.
info: Finding the default modules to include as buildrequires
info: The base module platform:f30:6:00000000 has no default modules
info: Finding any buildrequired modules that collide with the RPMs in the base modules
Module yaml error: Document type was unspecified or unknown

Hangs at this point, for hours.

Comment 1 Matt Prahl 2019-09-25 21:23:59 UTC
Hello,
Could you please share the modulemd file?

Comment 2 Gwyn Ciesla 2019-09-26 13:06:18 UTC
Created attachment 1619559 [details]
modulemd

Also hangs on other modulemd files.

Comment 3 Matt Prahl 2019-09-26 15:50:56 UTC
I was able to reproduce the issue and it's due to Fedora using a newer DNF version than RHEL 7, which requires the use of libmodulemd v1, but MBS uses libmodulemd v2.

For now, we will need to disable a particular feature with this PR:
https://pagure.io/fm-orchestrator/pull-request/1439

Comment 4 Gwyn Ciesla 2019-09-26 18:04:18 UTC
How does this impact a local build of a module with f30/f31/master packages on an f31 system?

Comment 5 Matt Prahl 2019-09-26 19:42:01 UTC
Local builds still use the DNF Python API to query DNF/Yum repos to get the list of NEVRAs present. This code is used to determine which conflicts are necessary to be added to module-build-macros so that if there is an RPM in both platform:f30 (non-modular RPMs) and in one the module's buildrequires, the one in the buildrequires will be used.

Comment 6 Gwyn Ciesla 2019-09-26 19:45:10 UTC
Sure, but what's the RHEL 7 tie-in?

Comment 7 Matt Prahl 2019-09-26 19:46:09 UTC
It's just that RHEL 7 has an older version of DNF which doesn't use libmodulemd, so the MBS code works on RHEL 7.

Comment 8 Gwyn Ciesla 2019-09-26 19:52:34 UTC
OIC. :)

Comment 9 Fedora Update System 2019-10-03 19:50:16 UTC
FEDORA-2019-d04ddc7bcf has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d04ddc7bcf

Comment 10 Fedora Update System 2019-10-03 19:50:21 UTC
FEDORA-2019-c766cd916f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c766cd916f

Comment 11 Fedora Update System 2019-10-03 20:55:35 UTC
FEDORA-2019-7a06f5db75 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7a06f5db75

Comment 12 Fedora Update System 2019-10-03 20:55:41 UTC
FEDORA-2019-ab299c189d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ab299c189d

Comment 13 Fedora Update System 2019-10-04 22:14:31 UTC
module-build-service-2.29.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ab299c189d

Comment 14 Fedora Update System 2019-10-04 22:50:39 UTC
module-build-service-2.29.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7969873d31

Comment 15 Fedora Update System 2019-10-04 23:08:58 UTC
module-build-service-2.29.1-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7a06f5db75

Comment 16 Fedora Update System 2019-10-12 00:24:16 UTC
module-build-service-2.29.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-10-12 01:29:18 UTC
module-build-service-2.29.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2019-11-05 20:28:57 UTC
FEDORA-2019-bbeb415240 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-bbeb415240

Comment 19 Fedora Update System 2019-11-06 14:13:29 UTC
module-build-service-2.30.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-bbeb415240

Comment 20 Fedora Update System 2019-11-06 14:52:18 UTC
FEDORA-2019-6ac0548dee has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6ac0548dee

Comment 21 Fedora Update System 2019-11-07 01:44:44 UTC
module-build-service-2.30.1-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6ac0548dee

Comment 22 Fedora Update System 2019-11-08 13:47:34 UTC
FEDORA-2019-67ddbb00f0 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-67ddbb00f0

Comment 23 Fedora Update System 2019-11-09 23:21:09 UTC
module-build-service-2.30.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-67ddbb00f0

Comment 24 Fedora Update System 2019-11-11 16:27:45 UTC
FEDORA-2019-28f0726f26 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-28f0726f26

Comment 25 Fedora Update System 2019-11-13 04:56:44 UTC
module-build-service-2.30.3-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-28f0726f26

Comment 26 Fedora Update System 2019-11-19 01:35:29 UTC
module-build-service-2.30.3-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.