[2025-05-05 08:23:01,184][ INFO][PID:1311062] Marking build as starting [2025-05-05 08:23:01,707][ INFO][PID:1311062] Trying to allocate VM: ResallocHost, ticket_id=2804169, requested_tags=['copr_builder', 'arch_x86_64'] [2025-05-05 08:23:04,725][ INFO][PID:1311062] Allocated host ResallocHost, ticket_id=2804169, hostname=35.175.191.96, name=aws_x86_64_normalreserved_prod_03642274_20250505_081158, requested_tags=['copr_builder', 'arch_x86_64'] [2025-05-05 08:23:04,727][ INFO][PID:1311062] Allocating ssh connection to builder [2025-05-05 08:23:04,728][ INFO][PID:1311062] Checking that builder machine is OK [2025-05-05 08:23:05,068][ INFO][PID:1311062] Running remote command: copr-builder-ready srpm-builds [2025-05-05 08:23:05,308][ INFO][PID:1311062] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-05-05 08:23:05,310][ INFO][PID:1311062] Filling build.info file with builder info [2025-05-05 08:23:05,313][ INFO][PID:1311062] 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": 1746433385.3136277, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8996084", "build_id": 8996084, "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.20.4.linux-amd64.tar.gz\\n%define go_sum 698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd\\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\": \"tmpnj85jh1o\", \"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--ecda3265-bc3d-4f5e-a773-f549f0b97e38", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "background": true, "repos": [], "destdir": "/var/lib/copr/public_html/results/ocm/tools", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools", "result_dir": "08996084", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 8996084, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2025-05-05 08:23:05,346][ INFO][PID:1311062] Sending fedora-messaging bus message in build.start [2025-05-05 08:23:05,893][ INFO][PID:1311062] Sending fedora-messaging bus message in chroot.start [2025-05-05 08:23:05,909][ INFO][PID:1311062] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8996084 --detached [2025-05-05 08:23:06,274][ INFO][PID:1311062] Downloading the builder-live.log file, attempt 1 [2025-05-05 08:23:06,276][ INFO][PID:1311062] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@35.175.191.96 copr-rpmbuild-log [2025-05-05 08:23:11,282][ INFO][PID:1311062] Periodic builder liveness probe: alive [2025-05-05 08:23:35,374][ INFO][PID:1311062] Downloading results from builder [2025-05-05 08:23:35,376][ INFO][PID:1311062] rsyncing of mockbuilder@35.175.191.96:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084 started [2025-05-05 08:23:35,378][ INFO][PID:1311062] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@35.175.191.96:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/ &> /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/build-08996084.rsync.log [2025-05-05 08:23:35,611][ INFO][PID:1311062] rsyncing finished. [2025-05-05 08:23:35,613][ INFO][PID:1311062] Releasing VM back to pool [2025-05-05 08:23:35,641][ INFO][PID:1311062] Searching for 'success' file in resultdir [2025-05-05 08:23:35,643][ ERROR][PID:1311062] Build failed: Backend process error: No success file => build failure [2025-05-05 08:23:35,645][ INFO][PID:1311062] Finished build: id=8996084 failed=True timeout=108000 destdir=/var/lib/copr/public_html/results/ocm/tools chroot=srpm-builds [2025-05-05 08:23:35,651][ ERROR][PID:1311062] Backend process error: No success file => build failure [2025-05-05 08:23:35,653][ INFO][PID:1311062] Worker failed build, took 30.33935308456421 [2025-05-05 08:23:35,654][ INFO][PID:1311062] 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": 1746433415.6529808, "started_on": 1746433385.3136277, "submitted_on": null, "status": 0, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8996084", "build_id": 8996084, "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.20.4.linux-amd64.tar.gz\\n%define go_sum 698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd\\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\": \"tmpnj85jh1o\", \"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--ecda3265-bc3d-4f5e-a773-f549f0b97e38", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "background": true, "repos": [], "destdir": "/var/lib/copr/public_html/results/ocm/tools", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools", "result_dir": "08996084", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 8996084, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2025-05-05 08:23:35,687][ INFO][PID:1311062] Sending fedora-messaging bus message in build.end [2025-05-05 08:23:35,708][ INFO][PID:1311062] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/builder-live.log by gzip [2025-05-05 08:23:35,710][ INFO][PID:1311062] Running command 'gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/builder-live.log' as PID 1312323 [2025-05-05 08:23:35,714][ INFO][PID:1311062] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/builder-live.log) [2025-05-05 08:23:35,716][ INFO][PID:1311062] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08996084/backend.log by gzip