[2025-08-07 15:23:04,254][ INFO][PID:1631379] Marking build as starting [2025-08-07 15:23:04,288][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:04,289][ INFO][PID:1631379] VM allocation process starts [2025-08-07 15:23:04,301][ INFO][PID:1631379] Trying to allocate VM: ResallocHost, ticket_id=4368756, requested_tags=['copr_builder', 'arch_x86_64'] [2025-08-07 15:23:07,315][ INFO][PID:1631379] Allocated host ResallocHost, ticket_id=4368756, hostname=52.202.113.6, name=aws_x86_64_normalreserved_prod_06116665_20250807_151948, requested_tags=['copr_builder', 'arch_x86_64'] [2025-08-07 15:23:07,316][ INFO][PID:1631379] Allocating ssh connection to builder [2025-08-07 15:23:07,316][ INFO][PID:1631379] Checking that builder machine is OK [2025-08-07 15:23:07,817][ INFO][PID:1631379] Running remote command: copr-builder-ready srpm-builds [2025-08-07 15:23:08,027][ INFO][PID:1631379] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-08-07 15:23:08,027][ INFO][PID:1631379] Filling build.info file with builder info [2025-08-07 15:23:08,028][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:08,029][ INFO][PID:1631379] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "ocm", "project_name": "tools", "project_dirname": "tools", "submitter": null, "ended_on": null, "started_on": 1754580188.0288663, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9386775", "build_id": 9386775, "package_name": "ocm-cli", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"# Check that the event payload exists:\\nif [[ ! -f hook_payload ]]; then\\n echo \\\"Event payload file 'hook_payload' doesn't exist\\\"\\n exit 1\\nfi\\n\\n# Check that the event is the creation of a tag:\\nref_type=$(cat hook_payload | jq -r .ref_type)\\nif [[ \\\"${ref_type}\\\" != \\\"tag\\\" ]]; then\\n echo \\\"Expected reference type 'tag' but got '${ref_type}'\\\"\\n exit 1\\nfi\\n\\n# Check that the tag is well formed:\\nref=$(cat hook_payload | jq -r .ref)\\nif [[ ! \\\"${ref}\\\" =~ ^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+$ ]]; then\\n echo \\\"Reference '${ref}' isn't well formed\\\"\\n exit 1\\nfi\\n\\n# Set the version to use:\\nversion=\\\"${ref:1}\\\"\\n\\n# Set the date:\\ndate=$(date +'%a %b %d %Y')\\n\\n# Generate the .spec file:\\ncat > ocm-cli.spec.in <<\\\".\\\"\\n%global debug_package %{nil}\\n\\nName: ocm-cli\\nVersion: @version@\\nRelease: 1%{?dist}\\nSummary: CLI for the Red Hat OpenShift Cluster Manager\\nLicense: ASL 2.0\\nURL: https://github.com/openshift-online/ocm-cli\\nSource: https://github.com/openshift-online/ocm-cli/archive/v@version@.tar.gz\\n\\n# We need to download Go explicitly because in most of the platforms that we\\n# use the version available is too old.\\n%define go_tar https://go.dev/dl/go1.23.12.linux-amd64.tar.gz\\n%define go_sum d3847fef834e9db11bf64e3fb34db9c04db14e068eeb064f49af747010454f90\\n\\nBuildRequires: curl\\nBuildRequires: git\\nBuildRequires: make\\n\\n%description\\nCLI for the Red Hat OpenShift Cluster Manager\\n\\n%prep\\n%setup\\n\\n%build\\n\\n# Create the Go directories:\\nexport GOROOT=\\\"${PWD}/.goroot\\\"\\nexport GOPATH=\\\"${PWD}/.gopath\\\"\\nmkdir \\\"${GOROOT}\\\" \\\"${GOPATH}\\\"\\nPATH=\\\"${GOROOT}/bin:${PATH}\\\"\\n\\n# Download and install Go:\\ncurl --location --output go.tar.gz %{go_tar}\\necho %{go_sum} go.tar.gz | sha256sum --check\\ntar --directory \\\"${GOROOT}\\\" --extract --strip-components 1 --file go.tar.gz\\n\\n# Build the binary:\\nmake\\n\\n%install\\ninstall -m 0755 -d %{buildroot}%{_bindir}\\ninstall -m 0755 ocm %{buildroot}%{_bindir}\\n\\n%clean\\n# This is necessary because Go writes its cache files and directories without\\n# write permission, and that means that a rgular `rm` can't remove them.\\nfind .gopath -exec chmod +w {} \\\\;\\nrm -rf .gopath\\n\\n%files\\n%license LICENSE.txt\\n%doc README.md\\n%doc CHANGES.md\\n%{_bindir}/*\\n\\n%changelog\\n* @date@ OCM - @version@\\n- Automatic build for version @version@.\\n.\\nsed \\\\\\n -e \\\"s/@version@/${version}/g\\\" \\\\\\n -e \\\"s/@date@/${date}/g\\\" \\\\\\n < ocm-cli.spec.in \\\\\\n > ocm-cli.spec\\n\", \"chroot\": \"fedora-42-x86_64\", \"builddeps\": \"jq\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmpd6bucg2g\", \"hook_data\": true}", "pkg_name": null, "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": null, "uses_devel_repo": null, "sandbox": "ocm/tools--4cb43480-8e0c-4bb5-b853-544c57721ff7", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "destdir": "/var/lib/copr/public_html/results/ocm/tools", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools", "result_dir": "09386775", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9386775, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2025-08-07 15:23:08,048][ INFO][PID:1631379] Sending fedora-messaging bus message in build.start [2025-08-07 15:23:08,758][ INFO][PID:1631379] Sending fedora-messaging bus message in chroot.start [2025-08-07 15:23:08,784][ INFO][PID:1631379] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9386775 --detached [2025-08-07 15:23:09,135][ INFO][PID:1631379] Downloading the builder-live.log file, attempt 1 [2025-08-07 15:23:09,137][ INFO][PID:1631379] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@52.202.113.6 copr-rpmbuild-log [2025-08-07 15:23:14,142][ INFO][PID:1631379] Periodic builder liveness probe: alive [2025-08-07 15:23:14,142][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:19,143][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:24,144][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:29,145][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:34,147][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:39,148][ INFO][PID:1631379] Checking for cancel request [2025-08-07 15:23:43,115][ INFO][PID:1631379] Downloading results from builder [2025-08-07 15:23:43,116][ INFO][PID:1631379] rsyncing of mockbuilder@52.202.113.6:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775 started [2025-08-07 15:23:43,117][ INFO][PID:1631379] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@52.202.113.6:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/ &> /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/build-09386775.rsync.log [2025-08-07 15:23:43,494][ INFO][PID:1631379] rsyncing finished. [2025-08-07 15:23:43,495][ INFO][PID:1631379] Releasing VM back to pool [2025-08-07 15:23:43,505][ INFO][PID:1631379] Searching for 'success' file in resultdir [2025-08-07 15:23:43,506][ INFO][PID:1631379] Getting build details [2025-08-07 15:23:43,506][ INFO][PID:1631379] Retrieving SRPM info from /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775 [2025-08-07 15:23:43,507][ INFO][PID:1631379] SRPM URL: https://download.copr.fedorainfracloud.org/results/ocm/tools/srpm-builds/09386775/ocm-cli-1.0.7-1.src.rpm [2025-08-07 15:23:43,507][ INFO][PID:1631379] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/ocm/tools/srpm-builds/09386775/ocm-cli-1.0.7-1.src.rpm', 'pkg_name': 'ocm-cli', 'pkg_version': '1.0.7-1'} [2025-08-07 15:23:43,508][ INFO][PID:1631379] Finished build: id=9386775 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/ocm/tools chroot=srpm-builds [2025-08-07 15:23:43,509][ INFO][PID:1631379] Worker succeeded build, took 35.48077964782715 [2025-08-07 15:23:43,510][ INFO][PID:1631379] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "ocm", "project_name": "tools", "project_dirname": "tools", "submitter": null, "ended_on": 1754580223.509646, "started_on": 1754580188.0288663, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9386775", "build_id": 9386775, "package_name": "ocm-cli", "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"# Check that the event payload exists:\\nif [[ ! -f hook_payload ]]; then\\n echo \\\"Event payload file 'hook_payload' doesn't exist\\\"\\n exit 1\\nfi\\n\\n# Check that the event is the creation of a tag:\\nref_type=$(cat hook_payload | jq -r .ref_type)\\nif [[ \\\"${ref_type}\\\" != \\\"tag\\\" ]]; then\\n echo \\\"Expected reference type 'tag' but got '${ref_type}'\\\"\\n exit 1\\nfi\\n\\n# Check that the tag is well formed:\\nref=$(cat hook_payload | jq -r .ref)\\nif [[ ! \\\"${ref}\\\" =~ ^v[0-9]+\\\\.[0-9]+\\\\.[0-9]+$ ]]; then\\n echo \\\"Reference '${ref}' isn't well formed\\\"\\n exit 1\\nfi\\n\\n# Set the version to use:\\nversion=\\\"${ref:1}\\\"\\n\\n# Set the date:\\ndate=$(date +'%a %b %d %Y')\\n\\n# Generate the .spec file:\\ncat > ocm-cli.spec.in <<\\\".\\\"\\n%global debug_package %{nil}\\n\\nName: ocm-cli\\nVersion: @version@\\nRelease: 1%{?dist}\\nSummary: CLI for the Red Hat OpenShift Cluster Manager\\nLicense: ASL 2.0\\nURL: https://github.com/openshift-online/ocm-cli\\nSource: https://github.com/openshift-online/ocm-cli/archive/v@version@.tar.gz\\n\\n# We need to download Go explicitly because in most of the platforms that we\\n# use the version available is too old.\\n%define go_tar https://go.dev/dl/go1.23.12.linux-amd64.tar.gz\\n%define go_sum d3847fef834e9db11bf64e3fb34db9c04db14e068eeb064f49af747010454f90\\n\\nBuildRequires: curl\\nBuildRequires: git\\nBuildRequires: make\\n\\n%description\\nCLI for the Red Hat OpenShift Cluster Manager\\n\\n%prep\\n%setup\\n\\n%build\\n\\n# Create the Go directories:\\nexport GOROOT=\\\"${PWD}/.goroot\\\"\\nexport GOPATH=\\\"${PWD}/.gopath\\\"\\nmkdir \\\"${GOROOT}\\\" \\\"${GOPATH}\\\"\\nPATH=\\\"${GOROOT}/bin:${PATH}\\\"\\n\\n# Download and install Go:\\ncurl --location --output go.tar.gz %{go_tar}\\necho %{go_sum} go.tar.gz | sha256sum --check\\ntar --directory \\\"${GOROOT}\\\" --extract --strip-components 1 --file go.tar.gz\\n\\n# Build the binary:\\nmake\\n\\n%install\\ninstall -m 0755 -d %{buildroot}%{_bindir}\\ninstall -m 0755 ocm %{buildroot}%{_bindir}\\n\\n%clean\\n# This is necessary because Go writes its cache files and directories without\\n# write permission, and that means that a rgular `rm` can't remove them.\\nfind .gopath -exec chmod +w {} \\\\;\\nrm -rf .gopath\\n\\n%files\\n%license LICENSE.txt\\n%doc README.md\\n%doc CHANGES.md\\n%{_bindir}/*\\n\\n%changelog\\n* @date@ OCM - @version@\\n- Automatic build for version @version@.\\n.\\nsed \\\\\\n -e \\\"s/@version@/${version}/g\\\" \\\\\\n -e \\\"s/@date@/${date}/g\\\" \\\\\\n < ocm-cli.spec.in \\\\\\n > ocm-cli.spec\\n\", \"chroot\": \"fedora-42-x86_64\", \"builddeps\": \"jq\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmpd6bucg2g\", \"hook_data\": true}", "pkg_name": "ocm-cli", "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools/srpm-builds/09386775/ocm-cli-1.0.7-1.src.rpm", "uses_devel_repo": null, "sandbox": "ocm/tools--4cb43480-8e0c-4bb5-b853-544c57721ff7", "results": { "name": "ocm-cli", "epoch": null, "version": "1.0.7", "release": "1", "exclusivearch": [], "excludearch": [] }, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "destdir": "/var/lib/copr/public_html/results/ocm/tools", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools", "result_dir": "09386775", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.0.7-1", "id": 9386775, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2025-08-07 15:23:43,538][ INFO][PID:1631379] Sending fedora-messaging bus message in build.end [2025-08-07 15:23:43,563][ INFO][PID:1631379] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/builder-live.log by gzip [2025-08-07 15:23:43,564][ INFO][PID:1631379] Running command 'gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/builder-live.log' as PID 1636112 [2025-08-07 15:23:43,569][ INFO][PID:1631379] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/builder-live.log) [2025-08-07 15:23:43,570][ INFO][PID:1631379] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/backend.log by gzip [2025-08-07 15:23:43,571][ INFO][PID:1631379] Running command 'gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/09386775/backend.log' as PID 1636116