[2025-12-02 21:26:49,213][ INFO][PID:506437] Marking build as starting [2025-12-02 21:26:49,254][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:26:49,255][ INFO][PID:506437] VM allocation process starts [2025-12-02 21:26:49,324][ INFO][PID:506437] Trying to allocate VM: ResallocHost, ticket_id=94444, requested_tags=['copr_builder', 'arch_x86_64'] [2025-12-02 21:26:52,347][ INFO][PID:506437] Allocated host ResallocHost, ticket_id=94444, hostname=2620:52:3:1:dead:beef:cafe:c11a, name=copr_hv_x86_64_01_prod_00116007_20251202_211149, requested_tags=['copr_builder', 'arch_x86_64'] [2025-12-02 21:26:52,347][ INFO][PID:506437] Allocating ssh connection to builder [2025-12-02 21:26:52,348][ INFO][PID:506437] Checking that builder machine is OK [2025-12-02 21:26:52,914][ INFO][PID:506437] Running remote command: copr-builder-ready srpm-builds [2025-12-02 21:26:53,240][ INFO][PID:506437] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-12-02 21:26:53,241][ INFO][PID:506437] Filling build.info file with builder info [2025-12-02 21:26:53,242][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:26:53,243][ INFO][PID:506437] 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": null, "ended_on": null, "started_on": 1764710813.2433689, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9858337", "build_id": 9858337, "package_name": "NetworkManager-libreswan", "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# Change the expected source extension from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Update Source0 to match the exact tarball name we created\\nsed -i \\\"s,^Source0:.*,Source0: $RELEASE_NAME.tar.gz,\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Patch Version and Release fields\\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Add autogen.sh to %prep section to generate ./configure\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Add missing BuildRequires for the autogen.sh script\\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\": \"\", \"tmp\": \"tmpbyu_4mrh\", \"hook_data\": true}", "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--d407a731-a13a-4f68-9eb4-1b22c89c0f61", "results": null, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "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": "09858337", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9858337, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-12-02 21:26:53,286][ INFO][PID:506437] Sending fedora-messaging bus message in build.start [2025-12-02 21:26:54,023][ INFO][PID:506437] Sending fedora-messaging bus message in chroot.start [2025-12-02 21:26:54,053][ INFO][PID:506437] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9858337 --detached [2025-12-02 21:26:54,638][ INFO][PID:506437] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c11a' (ED25519) to the list of known hosts. [2025-12-02 21:26:54,639][ INFO][PID:506437] Downloading the builder-live.log file, attempt 1 [2025-12-02 21:26:54,641][ INFO][PID:506437] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@2620:52:3:1:dead:beef:cafe:c11a copr-rpmbuild-log [2025-12-02 21:26:59,644][ INFO][PID:506437] Periodic builder liveness probe: alive [2025-12-02 21:26:59,645][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:04,646][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:09,647][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:14,648][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:19,649][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:24,650][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:29,651][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:34,653][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:39,654][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:44,655][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:49,656][ INFO][PID:506437] Checking for cancel request [2025-12-02 21:27:52,078][ INFO][PID:506437] Downloading results from builder [2025-12-02 21:27:52,078][ INFO][PID:506437] rsyncing of mockbuilder@[2620:52:3:1:dead:beef:cafe:c11a]:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337 started [2025-12-02 21:27:52,079][ INFO][PID:506437] 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:c11a]:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/build-09858337.rsync.log [2025-12-02 21:27:52,477][ INFO][PID:506437] rsyncing finished. [2025-12-02 21:27:52,478][ INFO][PID:506437] Releasing VM back to pool [2025-12-02 21:27:52,488][ INFO][PID:506437] Searching for 'success' file in resultdir [2025-12-02 21:27:52,489][ INFO][PID:506437] Getting build details [2025-12-02 21:27:52,489][ INFO][PID:506437] Retrieving SRPM info from /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337 [2025-12-02 21:27:52,490][ INFO][PID:506437] SRPM URL: https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/NetworkManager-libreswan-1.2.29-800.copr.544abe9.src.rpm [2025-12-02 21:27:52,490][ INFO][PID:506437] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/NetworkManager-libreswan-1.2.29-800.copr.544abe9.src.rpm', 'pkg_name': 'NetworkManager-libreswan', 'pkg_version': '1.2.29-800.copr.544abe9'} [2025-12-02 21:27:52,491][ INFO][PID:506437] Finished build: id=9858337 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-12-02 21:27:52,492][ INFO][PID:506437] Worker succeeded build, took 59.24954080581665 [2025-12-02 21:27:52,493][ INFO][PID:506437] 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": null, "ended_on": 1764710872.4929097, "started_on": 1764710813.2433689, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9858337", "build_id": 9858337, "package_name": "NetworkManager-libreswan", "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# Change the expected source extension from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Update Source0 to match the exact tarball name we created\\nsed -i \\\"s,^Source0:.*,Source0: $RELEASE_NAME.tar.gz,\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Patch Version and Release fields\\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Add autogen.sh to %prep section to generate ./configure\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$SPEC_PATH_TARGET\\\"\\n\\n# Add missing BuildRequires for the autogen.sh script\\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\": \"\", \"tmp\": \"tmpbyu_4mrh\", \"hook_data\": true}", "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/09858337/NetworkManager-libreswan-1.2.29-800.copr.544abe9.src.rpm", "uses_devel_repo": null, "sandbox": "networkmanager/NetworkManager-libreswan-next--d407a731-a13a-4f68-9eb4-1b22c89c0f61", "results": { "name": "NetworkManager-libreswan", "epoch": null, "version": "1.2.29", "release": "800.copr.544abe9", "exclusivearch": [], "excludearch": [] }, "appstream": false, "allow_user_ssh": null, "ssh_public_keys": null, "storage": null, "repos": [], "background": true, "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": "09858337", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.2.29-800.copr.544abe9", "id": 9858337, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-12-02 21:27:52,535][ INFO][PID:506437] Sending fedora-messaging bus message in build.end [2025-12-02 21:27:52,563][ INFO][PID:506437] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/builder-live.log by gzip [2025-12-02 21:27:52,564][ INFO][PID:506437] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/builder-live.log' as PID 512941 [2025-12-02 21:27:52,569][ INFO][PID:506437] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/builder-live.log) [2025-12-02 21:27:52,569][ INFO][PID:506437] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/backend.log by gzip [2025-12-02 21:27:52,570][ INFO][PID:506437] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09858337/backend.log' as PID 512942