Warning: Permanently added '3.236.244.228' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/10116812 Version: 1.6 PID: 9694 Logging PID: 9696 Task: {'appstream': False, 'background': True, 'build_id': 10116812, 'chroot': 'fedora-44-x86_64', 'package_name': 'backplane-cli', 'project_dirname': 'osdctl', 'project_name': 'osdctl', 'project_owner': 'fbergman', 'repos': [], 'sandbox': 'fbergman/osdctl--c3fed0ac-3e57-4e47-a8f4-e85c0caa9ab1', 'source_json': {'builddeps': 'jq sed', 'chroot': 'fedora-44-x86_64', 'hook_data': True, 'repos': '', 'resultdir': '', 'script': '#!/usr/bin/env sh\n' '\n' '# Check that the event payload exists:\n' 'if [[ ! -f hook_payload ]]; then\n' ' echo "Event payload file \'hook_payload\' doesn\'t exist"\n' ' exit 1\n' 'fi\n' '\n' '# Check that the event is the creation of a tag:\n' 'ref_type=$(cat hook_payload | jq -r .ref_type)\n' 'if [[ "${ref_type}" != "tag" ]]; then\n' ' echo "Expected reference type \'tag\' but got \'${ref_type}\'"\n' ' exit 1\n' 'fi\n' '\n' '# Check that the tag is well formed:\n' 'ref=$(cat hook_payload | jq -r .ref)\n' 'if [[ ! "${ref}" =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+$ ]]; then\n' ' echo "Reference \'${ref}\' isn\'t well formed"\n' ' exit 1\n' 'fi\n' '\n' '# Set the version to use:\n' 'version="${ref:1}"\n' '\n' '# Generate the .spec file:\n' 'cat > backplane-cli.spec.in <<"."\n' '# Generated by go2rpm 1.15.0\n' '%bcond check 1\n' '%bcond bootstrap 0\n' '\n' '%if %{with bootstrap}\n' '%global debug_package %{nil}\n' '%endif\n' '\n' '%if %{with bootstrap}\n' '%global __requires_exclude ' '%{?__requires_exclude:%{__requires_exclude}|}^golang\\\\(.*\\\\)$\n' '%endif\n' '\n' '# https://github.com/openshift/backplane-cli\n' '%global goipath github.com/openshift/backplane-cli\n' '\n' '%global common_description %{expand:\n' 'CLI for the OSD utilities.}\n' 'Version: @version@\n' '\n' '# REMOVE BEFORE SUBMITTING THIS FOR REVIEW\n' '# ---\n' '# New Fedora packages should use %%gometa -f, which makes the package\n' '# ExclusiveArch to %%golang_arches_future and thus excludes the package from\n' '# %%ix86. If the new package is needed as a dependency for another package,\n' '# please consider removing that package from %%ix86 in the same way, instead of\n' '# building more go packages for i686. If your package is not a leaf package,\n' "# you'll need to coordinate the removal of the package's dependents first.\n" '# ---\n' '# REMOVE BEFORE SUBMITTING THIS FOR REVIEW\n' '%gometa -L -f\n' '\n' '%global golicenses LICENSE\n' '%global godocs README.md\n' '\n' 'BuildRequires: git\n' 'Name: backplane-cli\n' 'Release: %autorelease\n' 'Summary: CLI for the OSD utilities\n' 'License: Apache-2.0\n' 'URL: %{gourl}\n' 'Source: %{gosource}\n' '\n' '\n' '%description %{common_description}\n' '\n' '%gopkg\n' '\n' '%prep\n' '%goprep -A\n' '\n' '%if %{without bootstrap}\n' '%generate_buildrequires\n' '# %go_generate_buildrequires\n' '%endif\n' '\n' '%if %{without bootstrap}\n' '%define gomodulesmode GO111MODULE=on\n' '%build\n' '%gobuild -o %{gobuilddir}/bin/ocm-backplane %{goipath}/cmd/ocm-backplane\n' '%endif\n' '\n' '%install\n' '%gopkginstall\n' '%if %{without bootstrap}\n' 'install -m 0755 -vd %{buildroot}%{_bindir}\n' 'install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/\n' '%endif\n' '\n' '%if %{without bootstrap}\n' '%if %{with check}\n' '%endif\n' '%endif\n' '\n' '%if %{without bootstrap}\n' '%files\n' '%license LICENSE\n' '%doc README.md\n' '%{_bindir}/ocm-backplane\n' '%endif\n' '\n' '%gopkgfiles\n' '\n' '%changelog\n' '%autochangelog\n' '.\n' 'sed \\\n' ' -e "s/@version@/${version}/g" \\\n' ' < backplane-cli.spec.in \\\n' ' > backplane-cli.spec\n', 'tmp': 'tmpbt4gkygb'}, 'source_type': 9, 'submitter': None, 'task_id': '10116812'} Running (timeout=5400): unbuffer copr-sources-custom --workdir /workdir --mock-config /var/lib/copr-rpmbuild/results/mock-config.cfg --script /var/lib/copr-rpmbuild/workspace/workdir-5rwi14y7/script --builddeps 'jq sed' --hook-payload-file /var/lib/copr-rpmbuild/results/hook_payload --env COPR_OWNER=fbergman --env COPR_PROJECT=osdctl --env COPR_PACKAGE=backplane-cli INFO:__main__:Working in '/workdir' INFO:__main__:Results should be created in '/workdir' INFO:__main__:running command: mock -r /var/lib/copr-rpmbuild/results/mock-config.cfg --init INFO: mock.py version 6.6 starting (python version = 3.14.2, NVR = mock-6.6-1.fc43), args: /usr/libexec/mock/mock -r /var/lib/copr-rpmbuild/results/mock-config.cfg --init Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 6.6 INFO: Mock Version: 6.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/copr-custom-fedora-44-x86_64-bootstrap/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:44 INFO: Pulling image: registry.fedoraproject.org/fedora:44 INFO: Tagging container image as mock-bootstrap-f2c598fa-26ce-412c-a695-65264fa17a18 INFO: Checking that 74b37432f1da1a7141a95585c013eb8c8d29027c3d95c13eef141084731d5540 image matches host's architecture INFO: Copy content of container 74b37432f1da1a7141a95585c013eb8c8d29027c3d95c13eef141084731d5540 to /var/lib/mock/copr-custom-fedora-44-x86_64-bootstrap/root INFO: mounting 74b37432f1da1a7141a95585c013eb8c8d29027c3d95c13eef141084731d5540 with podman image mount INFO: image 74b37432f1da1a7141a95585c013eb8c8d29027c3d95c13eef141084731d5540 as /var/lib/containers/storage/overlay/0938f7f7182e08890f0c448457b9d1351fee1b615df81e4de79dbadafb35bee9/merged INFO: umounting image 74b37432f1da1a7141a95585c013eb8c8d29027c3d95c13eef141084731d5540 (/var/lib/containers/storage/overlay/0938f7f7182e08890f0c448457b9d1351fee1b615df81e4de79dbadafb35bee9/merged) with podman image umount INFO: Removing image mock-bootstrap-f2c598fa-26ce-412c-a695-65264fa17a18 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/copr-custom-fedora-44-x86_64/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Start: installing minimal buildroot with dnf5 Updating and loading repositories: updates 100% | 159.4 KiB/s | 28.9 KiB | 00m00s Failed to download metadata Error loading local metadata for repository "fedora" Librepo error: Checksum error /var/lib/mock/copr-custom-fedora-44-x86_64/root/var/cache/dnf/fedora-cff72538bc9825a4/repodata/d4cafca11dc4abfec39a8c356a0d8463c42c69b609beac315c89ba3ea4121779-primary.xml.zck: Unable to read zchunk lead WARNING: DNF5 command failed, retrying, attempt #2, sleeping 10s Updating and loading repositories: updates 100% | 436.1 KiB/s | 25.7 KiB | 00m00s Failed to download metadata Error loading local metadata for repository "fedora" Librepo error: Checksum error /var/lib/mock/copr-custom-fedora-44-x86_64/root/var/cache/dnf/fedora-cff72538bc9825a4/repodata/d4cafca11dc4abfec39a8c356a0d8463c42c69b609beac315c89ba3ea4121779-primary.xml.zck: Unable to read zchunk lead WARNING: DNF5 command failed, retrying, attempt #3, sleeping 10s Updating and loading repositories: updates 100% | 367.5 KiB/s | 25.7 KiB | 00m00s Failed to download metadata Error loading local metadata for repository "fedora" Librepo error: Checksum error /var/lib/mock/copr-custom-fedora-44-x86_64/root/var/cache/dnf/fedora-cff72538bc9825a4/repodata/d4cafca11dc4abfec39a8c356a0d8463c42c69b609beac315c89ba3ea4121779-primary.xml.zck: Unable to read zchunk lead INFO: chroot_scan: 1 files copied to /var/lib/mock/copr-custom-fedora-44-x86_64/result/chroot_scan INFO: /var/lib/mock/copr-custom-fedora-44-x86_64/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/mock/copr-custom-fedora-44-x86_64/result/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 78334a204cc349c88be4a021514fdc98 -D /var/lib/mock/copr-custom-fedora-44-x86_64-bootstrap/root -a --capability=cap_ipc_lock --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e9w2y33p:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/copr-custom-fedora-44-x86_64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf5 --installroot /var/lib/mock/copr-custom-fedora-44-x86_64/root/ --releasever 44 install @buildsys-build --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Updating and loading repositories: updates 100% | 367.5 KiB/s | 25.7 KiB | 00m00s Failed to download metadata Error loading local metadata for repository "fedora" Librepo error: Checksum error /var/lib/mock/copr-custom-fedora-44-x86_64/root/var/cache/dnf/fedora-cff72538bc9825a4/repodata/d4cafca11dc4abfec39a8c356a0d8463c42c69b609beac315c89ba3ea4121779-primary.xml.zck: Unable to read zchunk lead Traceback (most recent call last): File "/usr/bin/copr-sources-custom", line 84, in run_cmd(mock + ['--init']) ~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/bin/copr-sources-custom", line 64, in run_cmd return subprocess.check_call(command, **kwargs) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['mock', '-r', '/var/lib/copr-rpmbuild/results/mock-config.cfg', '--init']' returned non-zero exit status 30. Copr build error: Build failed