[2026-08-16 02:11:09,298][ INFO][PID:2681652] Marking build as starting [2026-08-16 02:11:09,335][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:09,336][ INFO][PID:2681652] VM allocation process starts [2026-08-16 02:11:09,346][ INFO][PID:2681652] Trying to allocate VM: ResallocHost, ticket_id=4464318, requested_tags=['arch_x86_64', 'copr_builder'] [2026-08-16 02:11:12,362][ INFO][PID:2681652] Allocated host ResallocHost, ticket_id=4464318, hostname=52.87.180.14, name=aws_x86_64_reserved_prod_18822643_20260816_013745, requested_tags=['arch_x86_64', 'copr_builder'] [2026-08-16 02:11:12,363][ INFO][PID:2681652] Allocating ssh connection to builder [2026-08-16 02:11:12,364][ INFO][PID:2681652] Checking that builder machine is OK [2026-08-16 02:11:12,671][ INFO][PID:2681652] Installed copr-rpmbuild version: 1.9 [2026-08-16 02:11:12,672][ INFO][PID:2681652] Running remote command: copr-builder-ready srpm-builds [2026-08-16 02:11:12,851][ INFO][PID:2681652] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2026-08-16 02:11:12,851][ INFO][PID:2681652] Filling build.info file with builder info [2026-08-16 02:11:12,853][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:12,855][ INFO][PID:2681652] 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": 1786846272.8549588, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "10868616", "build_id": 10868616, "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\": \"tmper96r4xs\", \"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--773c92be-d4f6-4262-81b9-cc8fda351f4d", "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": "10868616", "built_packages": "", "tags": [ "arch_x86_64" ], "rpmeta_prediction": null, "id": 10868616, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2026-08-16 02:11:12,891][ INFO][PID:2681652] Sending fedora-messaging bus message in build.start [2026-08-16 02:11:13,500][ INFO][PID:2681652] Sending fedora-messaging bus message in chroot.start [2026-08-16 02:11:13,750][ INFO][PID:2681652] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/10868616 --detached [2026-08-16 02:11:14,207][ INFO][PID:2681652] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '52.87.180.14' (ED25519) to the list of known hosts. [2026-08-16 02:11:14,209][ INFO][PID:2681652] Downloading the builder-live.log file, attempt 1 [2026-08-16 02:11:14,210][ INFO][PID:2681652] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@52.87.180.14 copr-rpmbuild-log [2026-08-16 02:11:19,217][ INFO][PID:2681652] Periodic builder liveness probe: alive [2026-08-16 02:11:19,218][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:24,219][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:29,221][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:34,222][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:39,224][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:44,225][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:49,233][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:54,237][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:11:59,239][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:04,240][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:09,241][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:14,243][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:19,244][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:24,246][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:29,248][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:34,250][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:39,251][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:44,252][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:49,254][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:54,255][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:12:59,257][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:04,258][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:09,259][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:14,261][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:19,262][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:24,263][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:29,264][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:34,266][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:39,268][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:44,271][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:49,283][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:54,285][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:13:59,286][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:04,288][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:09,289][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:14,290][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:19,292][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:24,293][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:29,294][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:34,296][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:39,297][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:44,298][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:49,300][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:54,301][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:14:59,303][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:04,304][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:09,305][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:14,307][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:19,322][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:24,324][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:29,327][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:34,346][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:39,364][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:44,367][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:49,370][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:54,374][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:15:59,377][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:04,384][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:09,386][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:14,389][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:19,390][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:24,392][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:29,396][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:34,398][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:39,404][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:44,405][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:49,411][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:54,414][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:16:59,423][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:04,426][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:09,428][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:14,429][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:19,430][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:24,432][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:29,434][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:34,435][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:39,437][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:44,438][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:49,440][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:54,441][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:17:59,443][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:04,444][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:09,446][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:14,447][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:19,448][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:24,450][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:29,451][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:34,453][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:39,454][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:44,456][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:49,457][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:54,458][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:18:59,459][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:04,461][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:09,462][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:14,464][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:19,465][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:24,466][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:29,468][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:34,469][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:39,471][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:44,472][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:49,473][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:54,478][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:19:59,480][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:04,481][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:09,483][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:14,484][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:19,485][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:24,488][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:29,489][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:34,491][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:39,492][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:44,494][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:49,498][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:54,501][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:20:59,503][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:04,505][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:09,508][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:14,510][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:19,522][ INFO][PID:2681652] Periodic builder liveness probe: alive [2026-08-16 02:21:19,524][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:24,526][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:29,532][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:34,534][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:39,535][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:44,537][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:49,540][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:54,547][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:21:59,549][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:22:04,552][ INFO][PID:2681652] Checking for cancel request [2026-08-16 02:22:04,946][ INFO][PID:2681652] Downloading results from builder [2026-08-16 02:22:04,948][ INFO][PID:2681652] rsyncing of mockbuilder@52.87.180.14:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616 started [2026-08-16 02:22:04,950][ INFO][PID:2681652] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@52.87.180.14:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/ &> /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/build-10868616.rsync.log [2026-08-16 02:22:11,658][ INFO][PID:2681652] rsyncing finished. [2026-08-16 02:22:11,661][ INFO][PID:2681652] VM Release request [2026-08-16 02:22:11,680][ INFO][PID:2681652] Searching for 'success' file in resultdir [2026-08-16 02:22:11,683][ INFO][PID:2681652] Getting build details [2026-08-16 02:22:11,685][ INFO][PID:2681652] Retrieving SRPM info from /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616 [2026-08-16 02:22:11,687][ INFO][PID:2681652] SRPM URL: https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/Sunshine-0.0.5368-1.src.rpm [2026-08-16 02:22:11,689][ INFO][PID:2681652] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/Sunshine-0.0.5368-1.src.rpm', 'pkg_name': 'Sunshine', 'pkg_version': '0.0.5368-1'} [2026-08-16 02:22:11,690][ INFO][PID:2681652] Finished build: id=10868616 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368 chroot=srpm-builds [2026-08-16 02:22:11,691][ INFO][PID:2681652] Worker succeeded build, took 658.8366968631744 [2026-08-16 02:22:11,692][ INFO][PID:2681652] 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": 1786846931.6916556, "started_on": 1786846272.8549588, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "10868616", "build_id": 10868616, "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\": \"tmper96r4xs\", \"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/10868616/Sunshine-0.0.5368-1.src.rpm", "uses_devel_repo": null, "sandbox": "lizardbyte/pulls--773c92be-d4f6-4262-81b9-cc8fda351f4d", "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": "10868616", "built_packages": "", "tags": [ "arch_x86_64" ], "rpmeta_prediction": null, "pkg_version": "0.0.5368-1", "id": 10868616, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2026-08-16 02:22:11,748][ INFO][PID:2681652] Sending fedora-messaging bus message in build.end [2026-08-16 02:22:11,784][ INFO][PID:2681652] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/builder-live.log by gzip [2026-08-16 02:22:11,788][ INFO][PID:2681652] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/builder-live.log' as PID 2760217 [2026-08-16 02:22:11,819][ INFO][PID:2681652] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/builder-live.log) [2026-08-16 02:22:11,821][ INFO][PID:2681652] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/backend.log by gzip [2026-08-16 02:22:11,825][ INFO][PID:2681652] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:5368/srpm-builds/10868616/backend.log' as PID 2760227