[2024-12-09 17:30:30,912][ INFO][PID:3563612] Marking build as starting [2024-12-09 17:30:30,945][ INFO][PID:3563612] Trying to allocate VM [2024-12-09 17:30:34,021][ INFO][PID:3563612] Allocated host ResallocHost, ticket_id=100308, hostname=2620:52:3:1:dead:beef:cafe:c119 [2024-12-09 17:30:34,021][ INFO][PID:3563612] Allocating ssh connection to builder [2024-12-09 17:30:34,021][ INFO][PID:3563612] Checking that builder machine is OK [2024-12-09 17:30:34,677][ INFO][PID:3563612] Filling build.info file with builder info [2024-12-09 17:30:34,679][ INFO][PID:3563612] 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": 1733765434.6789658, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8368239", "build_id": 8368239, "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-41-x86_64\", \"builddeps\": \"jq\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmp6fvdy0w_\", \"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--d9ad1d4e-53f8-40d3-8ee4-580c48211c1c", "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": "08368239", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 8368239, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2024-12-09 17:30:34,699][ INFO][PID:3563612] Sending fedora-messaging bus message in build.start [2024-12-09 17:30:35,237][ INFO][PID:3563612] Sending fedora-messaging bus message in chroot.start [2024-12-09 17:30:35,254][ INFO][PID:3563612] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8368239 --detached [2024-12-09 17:30:35,941][ INFO][PID:3563612] Downloading the builder-live.log file, attempt 1 [2024-12-09 17:30:35,943][ INFO][PID:3563612] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@2620:52:3:1:dead:beef:cafe:c119 copr-rpmbuild-log [2024-12-09 17:30:40,947][ INFO][PID:3563612] Periodic builder liveness probe: alive [2024-12-09 17:31:27,361][ INFO][PID:3563612] Downloading results from builder [2024-12-09 17:31:27,362][ INFO][PID:3563612] rsyncing of mockbuilder@[2620:52:3:1:dead:beef:cafe:c119]:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239 started [2024-12-09 17:31:27,363][ INFO][PID:3563612] 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:c119]:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/ &> /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/build-08368239.rsync.log [2024-12-09 17:31:27,808][ INFO][PID:3563612] rsyncing finished. [2024-12-09 17:31:27,809][ INFO][PID:3563612] Releasing VM back to pool [2024-12-09 17:31:27,818][ INFO][PID:3563612] Searching for 'success' file in resultdir [2024-12-09 17:31:27,819][ INFO][PID:3563612] Getting build details [2024-12-09 17:31:27,819][ INFO][PID:3563612] Retrieving SRPM info from /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239 [2024-12-09 17:31:27,820][ INFO][PID:3563612] SRPM URL: https://download.copr.fedorainfracloud.org/results/ocm/tools/srpm-builds/08368239/ocm-cli-1.0.3-1.src.rpm [2024-12-09 17:31:27,820][ INFO][PID:3563612] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/ocm/tools/srpm-builds/08368239/ocm-cli-1.0.3-1.src.rpm', 'pkg_name': 'ocm-cli', 'pkg_version': '1.0.3-1'} [2024-12-09 17:31:27,821][ INFO][PID:3563612] Finished build: id=8368239 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/ocm/tools chroot=srpm-builds [2024-12-09 17:31:27,822][ INFO][PID:3563612] Worker succeeded build, took 53.14392280578613 [2024-12-09 17:31:27,823][ INFO][PID:3563612] 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": 1733765487.8228886, "started_on": 1733765434.6789658, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "8368239", "build_id": 8368239, "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-41-x86_64\", \"builddeps\": \"jq\", \"resultdir\": \"\", \"repos\": \"\", \"tmp\": \"tmp6fvdy0w_\", \"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/08368239/ocm-cli-1.0.3-1.src.rpm", "uses_devel_repo": null, "sandbox": "ocm/tools--d9ad1d4e-53f8-40d3-8ee4-580c48211c1c", "results": { "name": "ocm-cli", "epoch": null, "version": "1.0.3", "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/ocm/tools", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/ocm/tools", "result_dir": "08368239", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.0.3-1", "id": 8368239, "mockchain_macros": { "copr_username": "ocm", "copr_projectname": "tools", "vendor": "Fedora Project COPR (ocm/tools)" } } ] } [2024-12-09 17:31:27,862][ INFO][PID:3563612] Sending fedora-messaging bus message in build.end [2024-12-09 17:31:27,881][ INFO][PID:3563612] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/builder-live.log by gzip [2024-12-09 17:31:27,883][ INFO][PID:3563612] Running command 'gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/builder-live.log' as PID 3569403 [2024-12-09 17:31:27,887][ INFO][PID:3563612] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/builder-live.log) [2024-12-09 17:31:27,888][ INFO][PID:3563612] Compressing /var/lib/copr/public_html/results/ocm/tools/srpm-builds/08368239/backend.log by gzip