[2026-08-15 16:42:36,465][ INFO][PID:3244687] Marking build as starting [2026-08-15 16:42:36,502][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:42:36,504][ INFO][PID:3244687] VM allocation process starts [2026-08-15 16:42:36,512][ INFO][PID:3244687] Trying to allocate VM: ResallocHost, ticket_id=4460780, requested_tags=['arch_x86_64', 'copr_builder'] [2026-08-15 16:42:39,528][ INFO][PID:3244687] Allocated host ResallocHost, ticket_id=4460780, hostname=13.217.130.215, name=aws_x86_64_reserved_prod_18734119_20260815_163313, requested_tags=['arch_x86_64', 'copr_builder'] [2026-08-15 16:42:39,529][ INFO][PID:3244687] Allocating ssh connection to builder [2026-08-15 16:42:39,529][ INFO][PID:3244687] Checking that builder machine is OK [2026-08-15 16:42:39,846][ INFO][PID:3244687] Installed copr-rpmbuild version: 1.9 [2026-08-15 16:42:39,847][ INFO][PID:3244687] Running remote command: copr-builder-ready srpm-builds [2026-08-15 16:42:40,032][ INFO][PID:3244687] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2026-08-15 16:42:40,033][ INFO][PID:3244687] Filling build.info file with builder info [2026-08-15 16:42:40,034][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:42:40,035][ INFO][PID:3244687] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "lizardbyte", "project_name": "pulls", "project_dirname": "pulls:pr:5368", "submitter": null, "ended_on": null, "started_on": 1786812160.03527, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "10867839", "build_id": 10867839, "package_name": "Sunshine", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#!/usr/bin/env bash\\nset -x\\nset -e\\n\\nresultdir=\\\"${COPR_RESULTDIR}\\\"\\ngit clone \\\"https://github.com/${COPR_OWNER}/${COPR_PACKAGE}.git\\\" --depth 1\\ncd \\\"${COPR_PACKAGE}\\\"\\n\\n# get info from the webhook payload\\nif [[ -z \\\"$REVISION\\\" ]]; then\\n # the hook_payload file contains webhook JSON payload (copr creates it for us);\\n # it is created only if the build is triggered by Custom webhook.\\n if [[ -f \\\"$resultdir\\\"/hook_payload ]]; then\\n git clone https://github.com/praiskup/copr-ci-tooling \\\\\\n \\\"$resultdir/cct\\\" --depth 1\\n export PATH=\\\"$resultdir/cct:$PATH\\\"\\n\\n echo \\\"---\\\"\\n cat \\\"$resultdir\\\"/hook_payload\\n echo \\\"---\\\"\\n\\n # use jq to get the pr_id from the hook_payload\\n PR=$(jq -r '.pr_id // empty' \\\"$resultdir\\\"/hook_payload)\\n if [[ -z \\\"$PR\\\" ]]; then\\n BRANCH=\\\"master\\\"\\n else\\n BRANCH=\\\"pr/${PR}\\\"\\n fi\\n\\n copr-travis-checkout \\\"$resultdir\\\"/hook_payload\\n fi\\nelse\\n git checkout \\\"$REVISION\\\"\\nfi\\n\\n# read optional exclusions from .copr-ci config file\\n# each non-empty, non-comment line is treated as a submodule path or directory\\n# to exclude (relative to the repo root, e.g. \\\"third-party/build-deps\\\")\\nEXCLUDED_PATHS=()\\nif [[ -f \\\".copr-ci\\\" ]]; then\\n echo \\\"Found .copr-ci config file, reading exclusions...\\\"\\n while IFS= read -r line || [[ -n \\\"$line\\\" ]]; do\\n # skip empty lines and comments\\n [[ -z \\\"$line\\\" || \\\"$line\\\" =~ ^# ]] && continue\\n EXCLUDED_PATHS+=(\\\"$line\\\")\\n echo \\\" Excluding: $line\\\"\\n done < \\\".copr-ci\\\"\\nfi\\n\\n# initialize the submodules, skipping any excluded paths\\nif [[ ${#EXCLUDED_PATHS[@]} -gt 0 ]]; then\\n # get all top-level submodule paths, then init only the ones not excluded\\n mapfile -t TOP_SUBMODULES < <(git submodule status | awk '{print $2}')\\n\\n for submodule in \\\"${TOP_SUBMODULES[@]}\\\"; do\\n skip=false\\n for excluded in \\\"${EXCLUDED_PATHS[@]}\\\"; do\\n # match exact path or any path that starts with the excluded prefix\\n if [[ \\\"$submodule\\\" == \\\"$excluded\\\" || \\\"$submodule\\\" == \\\"$excluded/\\\"* ]]; then\\n skip=true\\n break\\n fi\\n done\\n if [[ \\\"$skip\\\" == false ]]; then\\n git submodule update --init --recursive --depth 1 -- \\\"$submodule\\\"\\n else\\n echo \\\"Skipping submodule: $submodule\\\"\\n fi\\n done\\nelse\\n git submodule update --init --recursive --depth 1\\nfi\\n\\n# get the tag of this commit IF it has one\\nTAG=$(git tag --points-at HEAD | head -n1)\\nif [[ -z \\\"$TAG\\\" ]]; then\\n TAG=\\\"0.0.$PR\\\"\\nfi\\nTAG=\\\"${TAG#v}\\\" # remove v prefix from the tag\\necho \\\"TAG=$TAG\\\"\\n\\n# get the commit\\nCOMMIT=$(git rev-parse HEAD)\\necho \\\"COMMIT=$COMMIT\\\"\\n\\n# move spec file to the correct location\\ndirectories=(\\n \\\".\\\"\\n \\\"./packaging/linux/copr\\\"\\n)\\nfor dir in \\\"${directories[@]}\\\"; do\\n if [[ -f \\\"${dir}/${COPR_PACKAGE}.spec\\\" ]]; then\\n echo \\\"Found spec file in ${dir}\\\"\\n rpmlint \\\"${dir}/${COPR_PACKAGE}.spec\\\"\\n\\n mv \\\"${dir}/${COPR_PACKAGE}.spec\\\" \\\"${resultdir}\\\"\\n break\\n fi\\ndone\\n\\n# fail if the spec file is not in the resultdir\\nif [[ ! -f \\\"${resultdir}/${COPR_PACKAGE}.spec\\\" ]]; then\\n echo \\\"ERROR: ${COPR_PACKAGE}.spec not found\\\" >&2\\n exit 1\\nfi\\n\\n# use sed to replace these values in the spec file\\nsed -i \\\"s|%global build_version 0|%global build_version ${TAG}|\\\" \\\"${resultdir}\\\"/*.spec\\nsed -i \\\"s|%global branch 0|%global branch ${BRANCH}|\\\" \\\"${resultdir}\\\"/*.spec\\nsed -i \\\"s|%global commit 0|%global commit ${COMMIT}|\\\" \\\"${resultdir}\\\"/*.spec\\n\\n# create a tarball of the source code, excluding any configured paths\\nTAR_EXCLUDE_ARGS=()\\nfor path in \\\"${EXCLUDED_PATHS[@]}\\\"; do\\n TAR_EXCLUDE_ARGS+=(\\\"--exclude=./${path}\\\")\\ndone\\ntar -czf \\\"${resultdir}/tarball.tar.gz\\\" \\\"${TAR_EXCLUDE_ARGS[@]}\\\" .\\n\", \"chroot\": \"fedora-44-x86_64\", \"builddeps\": \"git jq python3 rpmlint\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmpfzlbq30f\", \"hook_data\": true}", "pkg_name": null, "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": null, "uses_devel_repo": null, "sandbox": "lizardbyte/pulls--0b69c51e-809f-4fc7-bb55-1ec369758546", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "distributions_in_build": [ "fedora-43", "fedora-44", "fedora-rawhide" ], "distributions_in_project": [ "fedora-43", "fedora-44", "fedora-rawhide" ], "destdir": "/var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368", "result_dir": "10867839", "built_packages": "", "tags": [ "arch_x86_64" ], "rpmeta_prediction": null, "id": 10867839, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2026-08-15 16:42:40,079][ INFO][PID:3244687] Sending fedora-messaging bus message in build.start [2026-08-15 16:42:40,679][ INFO][PID:3244687] Sending fedora-messaging bus message in chroot.start [2026-08-15 16:42:40,705][ INFO][PID:3244687] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/10867839 --detached [2026-08-15 16:42:41,199][ INFO][PID:3244687] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '13.217.130.215' (ED25519) to the list of known hosts. [2026-08-15 16:42:41,200][ INFO][PID:3244687] Downloading the builder-live.log file, attempt 1 [2026-08-15 16:42:41,201][ INFO][PID:3244687] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@13.217.130.215 copr-rpmbuild-log [2026-08-15 16:42:46,207][ INFO][PID:3244687] Periodic builder liveness probe: alive [2026-08-15 16:42:46,208][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:42:51,209][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:42:56,210][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:01,212][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:06,213][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:11,214][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:16,216][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:21,217][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:26,218][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:31,220][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:36,221][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:41,222][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:46,223][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:51,225][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:43:56,226][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:01,228][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:06,229][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:11,230][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:16,528][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:21,530][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:26,531][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:31,532][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:36,533][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:41,535][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:46,536][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:51,538][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:44:56,544][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:01,545][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:06,599][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:11,667][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:16,716][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:21,724][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:26,726][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:31,854][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:36,931][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:41,933][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:46,934][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:51,936][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:45:56,937][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:01,938][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:06,939][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:12,048][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:17,053][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:22,055][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:27,057][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:32,058][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:37,067][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:42,068][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:47,204][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:52,206][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:46:57,207][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:02,208][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:07,210][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:12,335][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:17,336][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:22,338][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:27,339][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:32,341][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:37,366][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:42,406][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:47,409][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:52,443][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:47:57,445][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:02,544][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:07,548][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:12,550][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:17,556][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:22,563][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:27,565][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:32,617][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:37,662][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:42,668][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:47,713][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:52,715][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:48:57,745][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:02,747][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:07,826][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:12,851][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:17,853][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:22,855][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:27,857][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:32,859][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:37,860][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:42,862][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:48,005][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:53,007][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:49:58,009][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:03,010][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:08,019][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:13,026][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:18,054][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:23,056][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:28,077][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:33,144][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:38,147][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:43,149][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:48,248][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:53,249][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:50:58,251][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:03,253][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:08,254][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:13,286][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:18,421][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:23,424][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:28,427][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:33,485][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:38,487][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:43,491][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:48,494][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:53,495][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:51:58,497][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:03,507][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:08,509][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:13,511][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:18,512][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:23,514][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:28,772][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:33,774][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:38,776][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:43,778][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:48,792][ INFO][PID:3244687] Periodic builder liveness probe: alive [2026-08-15 16:52:48,793][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:53,795][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:52:58,796][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:03,799][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:08,800][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:13,801][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:18,803][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:23,838][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:28,839][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:33,841][ INFO][PID:3244687] Checking for cancel request [2026-08-15 16:53:35,264][ INFO][PID:3244687] Downloading results from builder [2026-08-15 16:53:35,264][ INFO][PID:3244687] rsyncing of mockbuilder@13.217.130.215:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839 started [2026-08-15 16:53:35,265][ INFO][PID:3244687] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@13.217.130.215:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/ &> /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/build-10867839.rsync.log [2026-08-15 16:53:39,724][ INFO][PID:3244687] rsyncing finished. [2026-08-15 16:53:39,725][ INFO][PID:3244687] VM Release request [2026-08-15 16:53:39,732][ INFO][PID:3244687] Searching for 'success' file in resultdir [2026-08-15 16:53:39,733][ INFO][PID:3244687] Getting build details [2026-08-15 16:53:39,734][ INFO][PID:3244687] Retrieving SRPM info from /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839 [2026-08-15 16:53:39,735][ INFO][PID:3244687] SRPM URL: https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/Sunshine-0.0.5368-1.src.rpm [2026-08-15 16:53:39,735][ INFO][PID:3244687] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/Sunshine-0.0.5368-1.src.rpm', 'pkg_name': 'Sunshine', 'pkg_version': '0.0.5368-1'} [2026-08-15 16:53:39,736][ INFO][PID:3244687] Finished build: id=10867839 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368 chroot=srpm-builds [2026-08-15 16:53:39,737][ INFO][PID:3244687] Worker succeeded build, took 659.7022573947906 [2026-08-15 16:53:39,738][ INFO][PID:3244687] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "lizardbyte", "project_name": "pulls", "project_dirname": "pulls:pr:5368", "submitter": null, "ended_on": 1786812819.7375274, "started_on": 1786812160.03527, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "10867839", "build_id": 10867839, "package_name": "Sunshine", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#!/usr/bin/env bash\\nset -x\\nset -e\\n\\nresultdir=\\\"${COPR_RESULTDIR}\\\"\\ngit clone \\\"https://github.com/${COPR_OWNER}/${COPR_PACKAGE}.git\\\" --depth 1\\ncd \\\"${COPR_PACKAGE}\\\"\\n\\n# get info from the webhook payload\\nif [[ -z \\\"$REVISION\\\" ]]; then\\n # the hook_payload file contains webhook JSON payload (copr creates it for us);\\n # it is created only if the build is triggered by Custom webhook.\\n if [[ -f \\\"$resultdir\\\"/hook_payload ]]; then\\n git clone https://github.com/praiskup/copr-ci-tooling \\\\\\n \\\"$resultdir/cct\\\" --depth 1\\n export PATH=\\\"$resultdir/cct:$PATH\\\"\\n\\n echo \\\"---\\\"\\n cat \\\"$resultdir\\\"/hook_payload\\n echo \\\"---\\\"\\n\\n # use jq to get the pr_id from the hook_payload\\n PR=$(jq -r '.pr_id // empty' \\\"$resultdir\\\"/hook_payload)\\n if [[ -z \\\"$PR\\\" ]]; then\\n BRANCH=\\\"master\\\"\\n else\\n BRANCH=\\\"pr/${PR}\\\"\\n fi\\n\\n copr-travis-checkout \\\"$resultdir\\\"/hook_payload\\n fi\\nelse\\n git checkout \\\"$REVISION\\\"\\nfi\\n\\n# read optional exclusions from .copr-ci config file\\n# each non-empty, non-comment line is treated as a submodule path or directory\\n# to exclude (relative to the repo root, e.g. \\\"third-party/build-deps\\\")\\nEXCLUDED_PATHS=()\\nif [[ -f \\\".copr-ci\\\" ]]; then\\n echo \\\"Found .copr-ci config file, reading exclusions...\\\"\\n while IFS= read -r line || [[ -n \\\"$line\\\" ]]; do\\n # skip empty lines and comments\\n [[ -z \\\"$line\\\" || \\\"$line\\\" =~ ^# ]] && continue\\n EXCLUDED_PATHS+=(\\\"$line\\\")\\n echo \\\" Excluding: $line\\\"\\n done < \\\".copr-ci\\\"\\nfi\\n\\n# initialize the submodules, skipping any excluded paths\\nif [[ ${#EXCLUDED_PATHS[@]} -gt 0 ]]; then\\n # get all top-level submodule paths, then init only the ones not excluded\\n mapfile -t TOP_SUBMODULES < <(git submodule status | awk '{print $2}')\\n\\n for submodule in \\\"${TOP_SUBMODULES[@]}\\\"; do\\n skip=false\\n for excluded in \\\"${EXCLUDED_PATHS[@]}\\\"; do\\n # match exact path or any path that starts with the excluded prefix\\n if [[ \\\"$submodule\\\" == \\\"$excluded\\\" || \\\"$submodule\\\" == \\\"$excluded/\\\"* ]]; then\\n skip=true\\n break\\n fi\\n done\\n if [[ \\\"$skip\\\" == false ]]; then\\n git submodule update --init --recursive --depth 1 -- \\\"$submodule\\\"\\n else\\n echo \\\"Skipping submodule: $submodule\\\"\\n fi\\n done\\nelse\\n git submodule update --init --recursive --depth 1\\nfi\\n\\n# get the tag of this commit IF it has one\\nTAG=$(git tag --points-at HEAD | head -n1)\\nif [[ -z \\\"$TAG\\\" ]]; then\\n TAG=\\\"0.0.$PR\\\"\\nfi\\nTAG=\\\"${TAG#v}\\\" # remove v prefix from the tag\\necho \\\"TAG=$TAG\\\"\\n\\n# get the commit\\nCOMMIT=$(git rev-parse HEAD)\\necho \\\"COMMIT=$COMMIT\\\"\\n\\n# move spec file to the correct location\\ndirectories=(\\n \\\".\\\"\\n \\\"./packaging/linux/copr\\\"\\n)\\nfor dir in \\\"${directories[@]}\\\"; do\\n if [[ -f \\\"${dir}/${COPR_PACKAGE}.spec\\\" ]]; then\\n echo \\\"Found spec file in ${dir}\\\"\\n rpmlint \\\"${dir}/${COPR_PACKAGE}.spec\\\"\\n\\n mv \\\"${dir}/${COPR_PACKAGE}.spec\\\" \\\"${resultdir}\\\"\\n break\\n fi\\ndone\\n\\n# fail if the spec file is not in the resultdir\\nif [[ ! -f \\\"${resultdir}/${COPR_PACKAGE}.spec\\\" ]]; then\\n echo \\\"ERROR: ${COPR_PACKAGE}.spec not found\\\" >&2\\n exit 1\\nfi\\n\\n# use sed to replace these values in the spec file\\nsed -i \\\"s|%global build_version 0|%global build_version ${TAG}|\\\" \\\"${resultdir}\\\"/*.spec\\nsed -i \\\"s|%global branch 0|%global branch ${BRANCH}|\\\" \\\"${resultdir}\\\"/*.spec\\nsed -i \\\"s|%global commit 0|%global commit ${COMMIT}|\\\" \\\"${resultdir}\\\"/*.spec\\n\\n# create a tarball of the source code, excluding any configured paths\\nTAR_EXCLUDE_ARGS=()\\nfor path in \\\"${EXCLUDED_PATHS[@]}\\\"; do\\n TAR_EXCLUDE_ARGS+=(\\\"--exclude=./${path}\\\")\\ndone\\ntar -czf \\\"${resultdir}/tarball.tar.gz\\\" \\\"${TAR_EXCLUDE_ARGS[@]}\\\" .\\n\", \"chroot\": \"fedora-44-x86_64\", \"builddeps\": \"git jq python3 rpmlint\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmpfzlbq30f\", \"hook_data\": true}", "pkg_name": "Sunshine", "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/Sunshine-0.0.5368-1.src.rpm", "uses_devel_repo": null, "sandbox": "lizardbyte/pulls--0b69c51e-809f-4fc7-bb55-1ec369758546", "results": { "architecture_specific_tags": { "fedora-43": {}, "fedora-44": {}, "fedora-rawhide": {} }, "name": "Sunshine", "epoch": null, "version": "0.0.5368", "release": "1" }, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "distributions_in_build": [ "fedora-43", "fedora-44", "fedora-rawhide" ], "distributions_in_project": [ "fedora-43", "fedora-44", "fedora-rawhide" ], "destdir": "/var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368", "result_dir": "10867839", "built_packages": "", "tags": [ "arch_x86_64" ], "rpmeta_prediction": null, "pkg_version": "0.0.5368-1", "id": 10867839, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2026-08-15 16:53:39,791][ INFO][PID:3244687] Sending fedora-messaging bus message in build.end [2026-08-15 16:53:39,818][ INFO][PID:3244687] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/builder-live.log by gzip [2026-08-15 16:53:39,820][ INFO][PID:3244687] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/builder-live.log' as PID 3302999 [2026-08-15 16:53:39,842][ INFO][PID:3244687] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/builder-live.log) [2026-08-15 16:53:39,843][ INFO][PID:3244687] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/backend.log by gzip [2026-08-15 16:53:39,844][ INFO][PID:3244687] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10867839/backend.log' as PID 3303000