[2024-11-03 23:19:15,358][ INFO][PID:1877759] Marking build as starting [2024-11-03 23:19:15,406][ INFO][PID:1877759] Trying to allocate VM [2024-11-03 23:19:18,453][ INFO][PID:1877759] Allocated host ResallocHost, ticket_id=5687956, hostname=54.162.250.135 [2024-11-03 23:19:18,454][ INFO][PID:1877759] Allocating ssh connection to builder [2024-11-03 23:19:18,454][ INFO][PID:1877759] Checking that builder machine is OK [2024-11-03 23:19:18,861][ INFO][PID:1877759] Running remote command: copr-builder-ready srpm-builds [2024-11-03 23:19:19,094][ INFO][PID:1877759] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2024-11-03 23:19:19,095][ INFO][PID:1877759] Filling build.info file with builder info [2024-11-03 23:19:19,096][ INFO][PID:1877759] 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:3369", "submitter": null, "ended_on": null, "started_on": 1730675959.095866, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8206493", "build_id": 8206493, "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\": \"tmp8971vxfk\", \"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--1cbb6e1a-a062-4518-b741-37d7e5d5881e", "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:3369", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3369", "result_dir": "08206493", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 8206493, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2024-11-03 23:19:19,140][ INFO][PID:1877759] Sending fedora-messaging bus message in build.start [2024-11-03 23:19:19,694][ INFO][PID:1877759] Sending fedora-messaging bus message in chroot.start [2024-11-03 23:19:19,712][ INFO][PID:1877759] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8206493 --detached [2024-11-03 23:19:20,125][ INFO][PID:1877759] Downloading the builder-live.log file, attempt 1 [2024-11-03 23:19:20,126][ INFO][PID:1877759] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@54.162.250.135 copr-rpmbuild-log [2024-11-03 23:19:25,130][ INFO][PID:1877759] Periodic builder liveness probe: alive [2024-11-03 23:21:59,873][ INFO][PID:1877759] Downloading results from builder [2024-11-03 23:21:59,874][ INFO][PID:1877759] rsyncing of mockbuilder@54.162.250.135:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493 started [2024-11-03 23:21:59,875][ INFO][PID:1877759] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@54.162.250.135:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/ &> /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/build-08206493.rsync.log [2024-11-03 23:22:02,854][ INFO][PID:1877759] rsyncing finished. [2024-11-03 23:22:02,855][ INFO][PID:1877759] Releasing VM back to pool [2024-11-03 23:22:02,866][ INFO][PID:1877759] Searching for 'success' file in resultdir [2024-11-03 23:22:02,867][ INFO][PID:1877759] Getting build details [2024-11-03 23:22:02,867][ INFO][PID:1877759] Retrieving SRPM info from /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493 [2024-11-03 23:22:02,868][ INFO][PID:1877759] SRPM URL: https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/Sunshine-0.0.3369-1.src.rpm [2024-11-03 23:22:02,868][ INFO][PID:1877759] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/Sunshine-0.0.3369-1.src.rpm', 'pkg_name': 'Sunshine', 'pkg_version': '0.0.3369-1'} [2024-11-03 23:22:02,869][ INFO][PID:1877759] Finished build: id=8206493 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369 chroot=srpm-builds [2024-11-03 23:22:02,871][ INFO][PID:1877759] Worker succeeded build, took 163.77513694763184 [2024-11-03 23:22:02,871][ INFO][PID:1877759] 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:3369", "submitter": null, "ended_on": 1730676122.871003, "started_on": 1730675959.095866, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8206493", "build_id": 8206493, "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\": \"tmp8971vxfk\", \"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:3369/srpm-builds/08206493/Sunshine-0.0.3369-1.src.rpm", "uses_devel_repo": null, "sandbox": "lizardbyte/pulls--1cbb6e1a-a062-4518-b741-37d7e5d5881e", "results": { "name": "Sunshine", "epoch": null, "version": "0.0.3369", "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:3369", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/lizardbyte/pulls:pr:3369", "result_dir": "08206493", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "0.0.3369-1", "id": 8206493, "mockchain_macros": { "copr_username": "lizardbyte", "copr_projectname": "pulls", "vendor": "Fedora Project COPR (lizardbyte/pulls)" } } ] } [2024-11-03 23:22:02,945][ INFO][PID:1877759] Sending fedora-messaging bus message in build.end [2024-11-03 23:22:02,965][ INFO][PID:1877759] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/builder-live.log by gzip [2024-11-03 23:22:02,966][ INFO][PID:1877759] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/builder-live.log' as PID 1880484 [2024-11-03 23:22:02,971][ INFO][PID:1877759] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/builder-live.log) [2024-11-03 23:22:02,972][ INFO][PID:1877759] Compressing /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/backend.log by gzip [2024-11-03 23:22:02,973][ INFO][PID:1877759] Running command 'gzip /var/lib/copr/public_html/results/lizardbyte/pulls:pr:3369/srpm-builds/08206493/backend.log' as PID 1880485