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 1806482
Summary: | Doing `flatpak-module local-build` against mock-2 causes "ValueError: too deep jinja re-evaluation on '...'" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stephan Bergmann <sbergman> |
Component: | mock | Assignee: | Copr Team <copr-team> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | jdisnard, jkeating, klember, mebrown, msuchy, otaylor, philip.wyett, praiskup, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 15:11:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stephan Bergmann
2020-02-24 10:10:33 UTC
Thanks for the report. Can I see the content of /home/sbergman/modulebuild/builds/module-libreoffice-master-3120200224090539/config/mock-ThreadPoolExecutor-0_0.cfg ? (had already deleted the old ~/modulebuild data, but now with a rerun:) > error: Error while building artifact apache-commons-logging: Command '['mock', '-v', '-r', '/home/sbergman/modulebuild/builds/module-libreoffice-master-3120200227131821/config/mock-ThreadPoolExecutor-0_0.cfg', '--init']' returned non-zero value 1, stdout log: /home/sbergman/modulebuild/builds/module-libreoffice-master-3120200227131821/results/apache-commons-logging-mock-stdout.log, stderr log: /home/sbergman/modulebuild/builds/module-libreoffice-master-3120200227131821/results/apache-commons-logging-mock-stderr.log /home/sbergman/modulebuild/builds/module-libreoffice-master-3120200227131821/config/mock-ThreadPoolExecutor-0_0.cfg: > config_opts['root'] = 'module-libreoffice-master-3120200227131821-ThreadPoolExecutor-0_0' > config_opts['target_arch'] = 'x86_64' > config_opts['legal_host_arches'] = ('x86_64',) > config_opts['chroot_setup_cmd'] = 'install gzip bash shadow-utils rpm-build flatpak-runtime-config util-linux redhat-rpm-config fedora-release findutils module-build-macros coreutils bzip2 grep diffutils sed gawk make info xz glibc-minimal-langpack which cpio flatpak-rpm-macros tar unzip patch' > config_opts['dist'] = '' > config_opts['extra_chroot_dirs'] = [ '/run/lock', ] > config_opts['releasever'] = '31' > config_opts['package_manager'] = 'dnf' > config_opts['nosync'] = True > config_opts['use_bootstrap_container'] = False > config_opts['module_enable'] = [] > > config_opts['yum.conf'] = """ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [main] > keepcache=1 > debuglevel=2 > reposdir=/dev/null > logfile=/var/log/yum.log > retries=20 > obsoletes=1 > gpgcheck=0 > assumeyes=1 > syslog_ident=mock > syslog_device= > install_weak_deps=0 > metadata_expire=3600 > mdpolicy=group:primary > module_platform_id=$module_platform_id > > # repos > > [localrepo] > name=localrepo > baseurl=file:///home/sbergman/modulebuild/builds/module-libreoffice-master-3120200227131821/results > module_hotfixes=true > metadata_expire=1 > skip_if_unavailable=True > enabled=1 > > [module-flatpak-runtime-f31-3120200226145136-f636be4b] > name=module-flatpak-runtime-f31-3120200226145136-f636be4b > baseurl=file:///home/sbergman/modulebuild/cache/koji_tags/module-flatpak-runtime-f31-3120200226145136-f636be4b > module_hotfixes=true > enabled=1 > > [f31-build] > name=f31-build > baseurl=https://kojipkgs.fedoraproject.org/repos/f31-build/latest/$arch/ > module_hotfixes=true > enabled=1 > > [module-flatpak-common-f31-3120200226151755-f889fc00] > name=module-flatpak-common-f31-3120200226151755-f889fc00 > baseurl=file:///home/sbergman/modulebuild/cache/koji_tags/module-flatpak-common-f31-3120200226151755-f889fc00 > module_hotfixes=true > enabled=1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > """ > config_opts['scm'] = True > config_opts['scm_opts']['method'] = 'distgit' > config_opts['scm_opts']['package'] = 'redland' > config_opts['scm_opts']['distgit_get'] = "sh -c 'fedpkg clone --anonymous redland''; git -C redland checkout 98f91efc0c30731f521dff8c71e24671506a8ae6'" > config_opts['scm_opts']['distgit_src_get'] = 'fedpkg --release module sources' > ERROR: too deep jinja re-evaluation on ...
Weird, I'm not able to get the jinja recursion loop with that config
on my box.
Also:
# dnf install /usr/bin/flatpack-module
Last metadata expiration check: 0:21:53 ago on Thu 27 Feb 2020 08:16:55 AM EST.
No match for argument: /usr/bin/flatpack-module
I need to see the config which causes the problems, basically it looks
like there's
config_opts['something'] = '{{ something_else }}'
config_opts['something_else'] = '{{ something }}'
Please can you provide more self-standing mock-only reproducer?
(In reply to Pavel Raiskup from comment #3) > Also: > # dnf install /usr/bin/flatpack-module > Last metadata expiration check: 0:21:53 ago on Thu 27 Feb 2020 08:16:55 AM > EST. > No match for argument: /usr/bin/flatpack-module flatpak-module-tools-0.11.3-1.fc31.noarch > I need to see the config which causes the problems, basically it looks > like there's > config_opts['something'] = '{{ something_else }}' > config_opts['something_else'] = '{{ something }}' > > Please can you provide more self-standing mock-only reproducer? Hm, sorry, no idea how I would do that (knowing hardly anything about mock or the inner workings of that flatpak-module tool). What should reproduce it (following the instructions at <https://docs.fedoraproject.org/en-US/flatpak/tutorial/>) is `git clone https://src.fedoraproject.org/flatpaks/libreoffice.git && cd libreoffice && flatpak-module -v local-build --install`. >> Please can you provide more self-standing mock-only reproducer? > > Hm, sorry, no idea how I would do that Ok, I'm flipping against the proper component, maybe the people there can help to provide more info how mock is used. This is a mock issue, most probably. Reproduced. Seems like the many, many newlines in config file cause some problems. FEDORA-2020-e331425193 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-e331425193 FEDORA-EPEL-2020-5a84e15907 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5a84e15907 FEDORA-EPEL-2020-88ef4b4d66 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-88ef4b4d66 mock-2.1-1.fc32, mock-core-configs-32.4-1.fc32 has been pushed to the Fedora 32 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-2020-d32d395e18 mock-2.1-1.el8, mock-core-configs-32.4-1.el8 has been pushed to the Fedora EPEL 8 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-EPEL-2020-5a84e15907 mock-2.1-1.fc30, mock-core-configs-32.4-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-2020-e331425193 mock-2.1-1.fc31, mock-core-configs-32.4-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-2020-d952a70712 mock-2.1-1.el7, mock-core-configs-32.4-1.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2020-88ef4b4d66 This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. mock-2.1-1.fc32, mock-core-configs-32.4-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report. mock-2.1-1.fc31, mock-core-configs-32.4-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. FEDORA-EPEL-2020-88ef4b4d66 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-88ef4b4d66 FEDORA-EPEL-2020-5a84e15907 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5a84e15907 FEDORA-2020-e331425193 has been pushed to the Fedora 30 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-5a84e15907 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5a84e15907 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-88ef4b4d66 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-88ef4b4d66 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-5a84e15907 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5a84e15907 FEDORA-EPEL-2020-88ef4b4d66 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-88ef4b4d66 FEDORA-EPEL-2020-5a84e15907 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5a84e15907 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-88ef4b4d66 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-88ef4b4d66 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-5a84e15907 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-88ef4b4d66 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. |