[2024-11-28 10:43:45,089][ INFO][PID:2056322] Marking build as starting [2024-11-28 10:43:45,138][ INFO][PID:2056322] Trying to allocate VM [2024-11-28 10:43:48,169][ INFO][PID:2056322] Allocated host ResallocHost, ticket_id=6113173, hostname=2620:52:3:1:dead:beef:cafe:c11a [2024-11-28 10:43:48,170][ INFO][PID:2056322] Allocating ssh connection to builder [2024-11-28 10:43:48,170][ INFO][PID:2056322] Checking that builder machine is OK [2024-11-28 10:43:48,786][ INFO][PID:2056322] Running remote command: copr-builder-ready srpm-builds [2024-11-28 10:43:49,139][ INFO][PID:2056322] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2024-11-28 10:43:49,140][ INFO][PID:2056322] Filling build.info file with builder info [2024-11-28 10:43:49,141][ INFO][PID:2056322] 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:3426", "submitter": null, "ended_on": null, "started_on": 1732790629.1413395, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8322102", "build_id": 8322102, "package_name": "Sunshine", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#! /bin/sh -x\\n\\nset -e\\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 test -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 test -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# initialize the submodules\\ngit submodule update --init --recursive\\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=$(echo \\\"$TAG\\\" | sed 's/^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/fedora\\\"\\n)\\nfor dir in \\\"${directories[@]}\\\"; do\\n if [ -f \\\"${dir}/${COPR_PACKAGE}.spec\\\" ]; then\\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\\\"\\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\\ntar -czf \\\"${resultdir}/tarball.tar.gz\\\" .\\n\", \"chroot\": \"fedora-41-x86_64\", \"builddeps\": \"git jq python3\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmp7yhap2_6\", \"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--aebed017-e2e4-407d-a86f-3279c1768fb5", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "background": true, "repos": [], "destdir": "/var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3426", "result_dir": "08322102", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 8322102, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2024-11-28 10:43:49,198][ INFO][PID:2056322] Sending fedora-messaging bus message in build.start [2024-11-28 10:43:49,813][ INFO][PID:2056322] Sending fedora-messaging bus message in chroot.start [2024-11-28 10:43:49,832][ INFO][PID:2056322] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8322102 --detached [2024-11-28 10:43:50,514][ INFO][PID:2056322] Downloading the builder-live.log file, attempt 1 [2024-11-28 10:43:50,515][ INFO][PID:2056322] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@2620:52:3:1:dead:beef:cafe:c11a copr-rpmbuild-log [2024-11-28 10:43:55,520][ INFO][PID:2056322] Periodic builder liveness probe: alive [2024-11-28 10:47:00,771][ INFO][PID:2056322] Downloading results from builder [2024-11-28 10:47:00,772][ INFO][PID:2056322] rsyncing of mockbuilder@[2620:52:3:1:dead:beef:cafe:c11a]:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102 started [2024-11-28 10:47:00,773][ INFO][PID:2056322] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@[2620:52:3:1:dead:beef:cafe:c11a]:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/ &> /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/build-08322102.rsync.log [2024-11-28 10:47:05,441][ INFO][PID:2056322] rsyncing finished. [2024-11-28 10:47:05,442][ INFO][PID:2056322] Releasing VM back to pool [2024-11-28 10:47:05,449][ INFO][PID:2056322] Searching for 'success' file in resultdir [2024-11-28 10:47:05,450][ INFO][PID:2056322] Getting build details [2024-11-28 10:47:05,451][ INFO][PID:2056322] Retrieving SRPM info from /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102 [2024-11-28 10:47:05,452][ INFO][PID:2056322] SRPM URL: https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/Sunshine-0.0.3426-1.src.rpm [2024-11-28 10:47:05,452][ INFO][PID:2056322] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/Sunshine-0.0.3426-1.src.rpm', 'pkg_name': 'Sunshine', 'pkg_version': '0.0.3426-1'} [2024-11-28 10:47:05,453][ INFO][PID:2056322] Finished build: id=8322102 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426 chroot=srpm-builds [2024-11-28 10:47:05,455][ INFO][PID:2056322] Worker succeeded build, took 196.314279794693 [2024-11-28 10:47:05,456][ INFO][PID:2056322] 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:3426", "submitter": null, "ended_on": 1732790825.4556193, "started_on": 1732790629.1413395, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8322102", "build_id": 8322102, "package_name": "Sunshine", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#! /bin/sh -x\\n\\nset -e\\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 test -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 test -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# initialize the submodules\\ngit submodule update --init --recursive\\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=$(echo \\\"$TAG\\\" | sed 's/^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/fedora\\\"\\n)\\nfor dir in \\\"${directories[@]}\\\"; do\\n if [ -f \\\"${dir}/${COPR_PACKAGE}.spec\\\" ]; then\\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\\\"\\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\\ntar -czf \\\"${resultdir}/tarball.tar.gz\\\" .\\n\", \"chroot\": \"fedora-41-x86_64\", \"builddeps\": \"git jq python3\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmp7yhap2_6\", \"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:3426/srpm-builds/08322102/Sunshine-0.0.3426-1.src.rpm", "uses_devel_repo": null, "sandbox": "lizardbyte/pulls--aebed017-e2e4-407d-a86f-3279c1768fb5", "results": { "name": "Sunshine", "epoch": null, "version": "0.0.3426", "release": "1", "exclusivearch": [], "excludearch": [] }, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "background": true, "repos": [], "destdir": "/var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3426", "result_dir": "08322102", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "0.0.3426-1", "id": 8322102, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2024-11-28 10:47:05,540][ INFO][PID:2056322] Sending fedora-messaging bus message in build.end [2024-11-28 10:47:05,564][ INFO][PID:2056322] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/builder-live.log by gzip [2024-11-28 10:47:05,565][ INFO][PID:2056322] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/builder-live.log' as PID 2068029 [2024-11-28 10:47:05,570][ INFO][PID:2056322] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/builder-live.log) [2024-11-28 10:47:05,571][ INFO][PID:2056322] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/backend.log by gzip [2024-11-28 10:47:05,572][ INFO][PID:2056322] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3426/srpm-builds/08322102/backend.log' as PID 2068030