Learn more about these different git repos.
Other Git URLs
To speedup the build, we should stop producting root cache because it is never re-used, from random build:
$ curl --silent https://copr-be.cloud.fedoraproject.org/results/xxmitsu/mesa-git/fedora-31-i386/01144986-mesa/builder-live.log.gz | gunzip | grep root\ cache INFO: enabled root cache Start: creating root cache Finish: creating root cache INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache
... so we only create it, and unpack it.
Slightly related: https://pagure.io/copr/copr/issue/787
From cfcbcab07dea2ec03e584fa7db5c42e62728daaf Mon Sep 17 00:00:00 2001 From: Pavel Raiskup <praiskup@redhat.com> Date: Sun, 23 Feb 2020 21:58:05 +0100 Subject: [PATCH] copr: builders: disable root_cache It is not used nowadays, we only generate unnecessary I/O. --- roles/copr/backend/files/provision/files/mock/site-defaults.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg index 9e1d1698e..818bb6067 100644 --- a/roles/copr/backend/files/provision/files/mock/site-defaults.cfg +++ b/roles/copr/backend/files/provision/files/mock/site-defaults.cfg @@ -3,7 +3,6 @@ config_opts['plugin_conf']['package_state_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False -config_opts['plugin_conf']['root_cache_enable'] = True # when used build ignores additional buildroot packages, reason unknown # config_opts['plugin_conf']['root_cache_opts']['age_check'] = False config_opts['plugin_conf']['bind_mount_enable'] = False -- 2.24.1
No-one replied, so I plan to apply this right before the next beaker test run.
https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=b768a27fafd28ab0168279c9d7d474021a1f6534
Metadata Update from @praiskup: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @praiskup: - Issue status updated to: Open (was: Closed)
After some experiments, I observed that we actually use the root_cache. We 1. build the src.rpm from sources stored in distgit, and 2. in the same chroot we build rpms
We should update mock to be able to build from the sources directly.
Metadata Update from @praiskup: - Issue untagged with: question - Issue tagged with: RFE
This issue has been migrated to GitHub: https://github.com/fedora-copr/copr/issues/1202
Metadata Update from @nikromen: - Issue close_status updated to: MIGRATED - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.