[2025-11-11 14:16:58,830][ INFO][PID:2042953] Marking build as starting [2025-11-11 14:16:58,881][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:16:58,885][ INFO][PID:2042953] VM allocation process starts [2025-11-11 14:16:58,913][ INFO][PID:2042953] Trying to allocate VM: ResallocHost, ticket_id=6127388, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 14:17:03,917][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:04,989][ INFO][PID:2042953] Allocated host ResallocHost, ticket_id=6127388, hostname=2620:52:3:1:dead:beef:cafe:c19a, name=copr_hv_x86_64_03_prod_07940219_20251111_140018, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 14:17:04,991][ INFO][PID:2042953] Allocating ssh connection to builder [2025-11-11 14:17:04,992][ INFO][PID:2042953] Checking that builder machine is OK [2025-11-11 14:17:05,578][ INFO][PID:2042953] Running remote command: copr-builder-ready srpm-builds [2025-11-11 14:17:05,930][ INFO][PID:2042953] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-11-11 14:17:05,934][ INFO][PID:2042953] Filling build.info file with builder info [2025-11-11 14:17:05,939][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:05,942][ INFO][PID:2042953] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "networkmanager", "project_name": "NetworkManager-libreswan-next", "project_dirname": "NetworkManager-libreswan-next", "submitter": "networkmanager", "ended_on": null, "started_on": 1762870625.9419198, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786802", "build_id": 9786802, "package_name": null, "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#!/bin/bash\\n# Enable command tracing (set -x) and immediate exit on error (set -e)\\nset -xe \\n\\n# --- Configuration ---\\nREPO_URL=\\\"https://gitlab.gnome.org/GNOME/NetworkManager-libreswan.git\\\"\\nSPEC_URL=\\\"https://src.fedoraproject.org/rpms/NetworkManager-libreswan/raw/main/f/NetworkManager-libreswan.spec\\\"\\nSPEC_FILE=\\\"NetworkManager-libreswan.spec\\\"\\n\\n# --- Workspace Setup ---\\necho \\\"--- STEP: Setting up build workspace ---\\\"\\n# We must use the current directory (/workdir) provided by COPR.\\n# DO NOT use mktemp or trap.\\nWORK_DIR=$(pwd) \\necho \\\"INFO: Working directory is: $WORK_DIR\\\"\\n\\n# --- 1. Clone Repository ---\\necho \\\"--- STEP: Cloning repository and changing directory ---\\\"\\n# Clone into a subdirectory within /workdir\\nREPO_CLONE_PATH=\\\"$WORK_DIR/repo\\\"\\ngit clone $REPO_URL \\\"$REPO_CLONE_PATH\\\"\\ncd \\\"$REPO_CLONE_PATH\\\"\\n\\n# --- 2. Get Custom Versioning Info ---\\necho \\\"--- STEP: Calculating custom versioning ---\\\"\\n# Base version (e.g., 1.2.28)\\nGIT_DESCRIBE=$(git describe --tags --long 2>/dev/null || echo \\\"0.0.0-0-g$(git rev-parse --short HEAD)\\\")\\nVERSION=$(echo \\\"$GIT_DESCRIBE\\\" | sed -r 's/([0-9]+\\\\.[0-9]+\\\\.[0-9]+).*/\\\\1/')\\n# Commit count (e.g., 763)\\nCOMMIT_COUNT=$(git rev-list --count HEAD)\\n# Short commit ID (e.g., dd28708)\\nSHORT_COMMIT=$(git rev-parse --short HEAD)\\n\\n# Define the custom Release format: .copr.\\nRELEASE_FORMAT=\\\"$COMMIT_COUNT.copr.$SHORT_COMMIT\\\"\\nRELEASE_NAME=\\\"NetworkManager-libreswan-$VERSION\\\"\\necho \\\"Calculated Version: $VERSION, Release: $RELEASE_FORMAT, Tarball: $RELEASE_NAME.tar.gz\\\"\\n\\n# --- 3. Create Source Tarball (Output to /workdir) ---\\necho \\\"--- STEP: Creating source tarball in /workdir ---\\\"\\n# Output tarball directly to the parent directory (/workdir)\\ngit archive --format=tar.gz --prefix=$RELEASE_NAME/ HEAD -o \\\"../$RELEASE_NAME.tar.gz\\\"\\n\\n# --- 4. Download Spec File (Output to /workdir) ---\\necho \\\"--- STEP: Downloading spec file to /workdir ---\\\"\\n# Output spec file directly to the parent directory (/workdir)\\ncurl -sSL \\\"$SPEC_URL\\\" -o \\\"../$SPEC_FILE\\\"\\n\\n# --- 5. Patch Spec File (in /workdir) ---\\necho \\\"--- STEP: Patching spec file in /workdir ---\\\"\\n# Define the path to the spec file, which is now in the parent dir\\nSPEC_PATH_TARGET=\\\"../$SPEC_FILE\\\" \\n\\n# 5a. FIX: Change the extension from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5b. FIX: Update Source0 to match the exact tarball name we created\\nsed -i \\\"s,^Source0:.*,Source0: $RELEASE_NAME.tar.gz,\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5c. Patch Version and Release\\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5d. CRITICAL FIX: Add autogen.sh to %prep section\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5e. CRITICAL FIX: Add missing BuildRequires for autogen.sh\\n# We add them after a known, existing BuildRequires (like pkgconfig)\\nsed -i '/BuildRequires: pkgconfig/a BuildRequires: libtool\\\\nBuildRequires: autoconf\\\\nBuildRequires: automake\\\\nBuildRequires: gettext-devel' \\\"$SPEC_PATH_TARGET\\\"\\n\\necho \\\"INFO: Spec file patched.\\\"\\n\\n# --- 6. Go back to /workdir and list files ---\\ncd ..\\necho \\\"--- STEP: Listing final files in /workdir ---\\\"\\nls -l\\n# Mock should now find the spec file and the tar.gz file here.\\n\\necho \\\"--- Custom build script completed. ---\\\"\\n\", \"chroot\": \"fedora-43-x86_64\", \"builddeps\": \"git-core rpm-build curl which sed make tar\", \"resultdir\": \"\", \"repos\": \"\"}", "pkg_name": null, "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": null, "uses_devel_repo": null, "sandbox": "networkmanager/NetworkManager-libreswan-next--networkmanager", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": false, "destdir": "/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next", "result_dir": "09786802", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786802, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 14:17:05,998][ INFO][PID:2042953] Sending fedora-messaging bus message in build.start [2025-11-11 14:17:07,389][ INFO][PID:2042953] Sending fedora-messaging bus message in chroot.start [2025-11-11 14:17:07,465][ INFO][PID:2042953] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9786802 --detached [2025-11-11 14:17:08,134][ INFO][PID:2042953] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c19a' (ED25519) to the list of known hosts. [2025-11-11 14:17:08,139][ INFO][PID:2042953] Downloading the builder-live.log file, attempt 1 [2025-11-11 14:17:08,141][ INFO][PID:2042953] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@2620:52:3:1:dead:beef:cafe:c19a copr-rpmbuild-log [2025-11-11 14:17:13,175][ INFO][PID:2042953] Periodic builder liveness probe: alive [2025-11-11 14:17:13,176][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:18,177][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:23,180][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:28,182][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:33,186][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:38,187][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:43,189][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:48,192][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:53,195][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:17:58,197][ INFO][PID:2042953] Checking for cancel request [2025-11-11 14:18:01,205][ INFO][PID:2042953] Downloading results from builder [2025-11-11 14:18:01,205][ INFO][PID:2042953] rsyncing of mockbuilder@[2620:52:3:1:dead:beef:cafe:c19a]:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802 started [2025-11-11 14:18:01,207][ INFO][PID:2042953] 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:c19a]:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/build-09786802.rsync.log [2025-11-11 14:18:01,636][ INFO][PID:2042953] rsyncing finished. [2025-11-11 14:18:01,639][ INFO][PID:2042953] Releasing VM back to pool [2025-11-11 14:18:01,656][ INFO][PID:2042953] Searching for 'success' file in resultdir [2025-11-11 14:18:01,658][ INFO][PID:2042953] Getting build details [2025-11-11 14:18:01,659][ INFO][PID:2042953] Retrieving SRPM info from /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802 [2025-11-11 14:18:01,661][ INFO][PID:2042953] SRPM URL: https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/NetworkManager-libreswan-1.2.28-763.copr.dd28708.src.rpm [2025-11-11 14:18:01,663][ INFO][PID:2042953] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/NetworkManager-libreswan-1.2.28-763.copr.dd28708.src.rpm', 'pkg_name': 'NetworkManager-libreswan', 'pkg_version': '1.2.28-763.copr.dd28708'} [2025-11-11 14:18:01,666][ INFO][PID:2042953] Finished build: id=9786802 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-11-11 14:18:01,669][ INFO][PID:2042953] Worker succeeded build, took 55.7278790473938 [2025-11-11 14:18:01,673][ INFO][PID:2042953] Sending build state back to frontend: { "builds": [ { "timeout": 108000, "frontend_base_url": "https://copr.fedorainfracloud.org", "memory_reqs": null, "enable_net": true, "project_owner": "networkmanager", "project_name": "NetworkManager-libreswan-next", "project_dirname": "NetworkManager-libreswan-next", "submitter": "networkmanager", "ended_on": 1762870681.6697989, "started_on": 1762870625.9419198, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786802", "build_id": 9786802, "package_name": null, "package_version": null, "git_repo": null, "git_hash": null, "git_branch": null, "source_type": 9, "source_json": "{\"script\": \"#!/bin/bash\\n# Enable command tracing (set -x) and immediate exit on error (set -e)\\nset -xe \\n\\n# --- Configuration ---\\nREPO_URL=\\\"https://gitlab.gnome.org/GNOME/NetworkManager-libreswan.git\\\"\\nSPEC_URL=\\\"https://src.fedoraproject.org/rpms/NetworkManager-libreswan/raw/main/f/NetworkManager-libreswan.spec\\\"\\nSPEC_FILE=\\\"NetworkManager-libreswan.spec\\\"\\n\\n# --- Workspace Setup ---\\necho \\\"--- STEP: Setting up build workspace ---\\\"\\n# We must use the current directory (/workdir) provided by COPR.\\n# DO NOT use mktemp or trap.\\nWORK_DIR=$(pwd) \\necho \\\"INFO: Working directory is: $WORK_DIR\\\"\\n\\n# --- 1. Clone Repository ---\\necho \\\"--- STEP: Cloning repository and changing directory ---\\\"\\n# Clone into a subdirectory within /workdir\\nREPO_CLONE_PATH=\\\"$WORK_DIR/repo\\\"\\ngit clone $REPO_URL \\\"$REPO_CLONE_PATH\\\"\\ncd \\\"$REPO_CLONE_PATH\\\"\\n\\n# --- 2. Get Custom Versioning Info ---\\necho \\\"--- STEP: Calculating custom versioning ---\\\"\\n# Base version (e.g., 1.2.28)\\nGIT_DESCRIBE=$(git describe --tags --long 2>/dev/null || echo \\\"0.0.0-0-g$(git rev-parse --short HEAD)\\\")\\nVERSION=$(echo \\\"$GIT_DESCRIBE\\\" | sed -r 's/([0-9]+\\\\.[0-9]+\\\\.[0-9]+).*/\\\\1/')\\n# Commit count (e.g., 763)\\nCOMMIT_COUNT=$(git rev-list --count HEAD)\\n# Short commit ID (e.g., dd28708)\\nSHORT_COMMIT=$(git rev-parse --short HEAD)\\n\\n# Define the custom Release format: .copr.\\nRELEASE_FORMAT=\\\"$COMMIT_COUNT.copr.$SHORT_COMMIT\\\"\\nRELEASE_NAME=\\\"NetworkManager-libreswan-$VERSION\\\"\\necho \\\"Calculated Version: $VERSION, Release: $RELEASE_FORMAT, Tarball: $RELEASE_NAME.tar.gz\\\"\\n\\n# --- 3. Create Source Tarball (Output to /workdir) ---\\necho \\\"--- STEP: Creating source tarball in /workdir ---\\\"\\n# Output tarball directly to the parent directory (/workdir)\\ngit archive --format=tar.gz --prefix=$RELEASE_NAME/ HEAD -o \\\"../$RELEASE_NAME.tar.gz\\\"\\n\\n# --- 4. Download Spec File (Output to /workdir) ---\\necho \\\"--- STEP: Downloading spec file to /workdir ---\\\"\\n# Output spec file directly to the parent directory (/workdir)\\ncurl -sSL \\\"$SPEC_URL\\\" -o \\\"../$SPEC_FILE\\\"\\n\\n# --- 5. Patch Spec File (in /workdir) ---\\necho \\\"--- STEP: Patching spec file in /workdir ---\\\"\\n# Define the path to the spec file, which is now in the parent dir\\nSPEC_PATH_TARGET=\\\"../$SPEC_FILE\\\" \\n\\n# 5a. FIX: Change the extension from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5b. FIX: Update Source0 to match the exact tarball name we created\\nsed -i \\\"s,^Source0:.*,Source0: $RELEASE_NAME.tar.gz,\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5c. Patch Version and Release\\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5d. CRITICAL FIX: Add autogen.sh to %prep section\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# 5e. CRITICAL FIX: Add missing BuildRequires for autogen.sh\\n# We add them after a known, existing BuildRequires (like pkgconfig)\\nsed -i '/BuildRequires: pkgconfig/a BuildRequires: libtool\\\\nBuildRequires: autoconf\\\\nBuildRequires: automake\\\\nBuildRequires: gettext-devel' \\\"$SPEC_PATH_TARGET\\\"\\n\\necho \\\"INFO: Spec file patched.\\\"\\n\\n# --- 6. Go back to /workdir and list files ---\\ncd ..\\necho \\\"--- STEP: Listing final files in /workdir ---\\\"\\nls -l\\n# Mock should now find the spec file and the tar.gz file here.\\n\\necho \\\"--- Custom build script completed. ---\\\"\\n\", \"chroot\": \"fedora-43-x86_64\", \"builddeps\": \"git-core rpm-build curl which sed make tar\", \"resultdir\": \"\", \"repos\": \"\"}", "pkg_name": "NetworkManager-libreswan", "pkg_main_version": null, "pkg_epoch": null, "pkg_release": null, "srpm_url": "https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/NetworkManager-libreswan-1.2.28-763.copr.dd28708.src.rpm", "uses_devel_repo": null, "sandbox": "networkmanager/NetworkManager-libreswan-next--networkmanager", "results": { "name": "NetworkManager-libreswan", "epoch": null, "version": "1.2.28", "release": "763.copr.dd28708", "exclusivearch": [], "excludearch": [] }, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": false, "destdir": "/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next", "results_repo_url": "https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next", "result_dir": "09786802", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.2.28-763.copr.dd28708", "id": 9786802, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 14:18:01,709][ INFO][PID:2042953] Sending fedora-messaging bus message in build.end [2025-11-11 14:18:01,765][ INFO][PID:2042953] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/builder-live.log by gzip [2025-11-11 14:18:01,768][ INFO][PID:2042953] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/builder-live.log' as PID 2051049 [2025-11-11 14:18:01,783][ INFO][PID:2042953] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/builder-live.log) [2025-11-11 14:18:01,784][ INFO][PID:2042953] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/backend.log by gzip [2025-11-11 14:18:01,786][ INFO][PID:2042953] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786802/backend.log' as PID 2051055