[2025-11-11 13:28:09,585][ INFO][PID:1686706] Marking build as starting [2025-11-11 13:28:09,660][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:09,661][ INFO][PID:1686706] VM allocation process starts [2025-11-11 13:28:09,679][ INFO][PID:1686706] Trying to allocate VM: ResallocHost, ticket_id=6126473, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 13:28:12,696][ INFO][PID:1686706] Allocated host ResallocHost, ticket_id=6126473, hostname=98.94.37.42, name=aws_x86_64_normalreserved_prod_07939009_20251111_132108, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 13:28:12,696][ INFO][PID:1686706] Allocating ssh connection to builder [2025-11-11 13:28:12,697][ INFO][PID:1686706] Checking that builder machine is OK [2025-11-11 13:28:13,021][ INFO][PID:1686706] Running remote command: copr-builder-ready srpm-builds [2025-11-11 13:28:13,225][ INFO][PID:1686706] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-11-11 13:28:13,225][ INFO][PID:1686706] Filling build.info file with builder info [2025-11-11 13:28:13,226][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:13,227][ INFO][PID:1686706] 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": 1762867693.2268436, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786677", "build_id": 9786677, "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\\n# This is critical for Mock to find the source\\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 to generate ./configure\\n# This command inserts './autogen.sh' on a new line right after the '%autosetup -p1' line.\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$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": "09786677", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786677, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 13:28:13,256][ INFO][PID:1686706] Sending fedora-messaging bus message in build.start [2025-11-11 13:28:14,147][ INFO][PID:1686706] Sending fedora-messaging bus message in chroot.start [2025-11-11 13:28:14,193][ INFO][PID:1686706] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9786677 --detached [2025-11-11 13:28:14,519][ INFO][PID:1686706] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '98.94.37.42' (ED25519) to the list of known hosts. [2025-11-11 13:28:14,519][ INFO][PID:1686706] Downloading the builder-live.log file, attempt 1 [2025-11-11 13:28:14,521][ INFO][PID:1686706] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@98.94.37.42 copr-rpmbuild-log [2025-11-11 13:28:19,527][ INFO][PID:1686706] Periodic builder liveness probe: alive [2025-11-11 13:28:19,528][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:24,529][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:29,531][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:34,532][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:39,533][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:44,534][ INFO][PID:1686706] Checking for cancel request [2025-11-11 13:28:49,480][ INFO][PID:1686706] Downloading results from builder [2025-11-11 13:28:49,481][ INFO][PID:1686706] rsyncing of mockbuilder@98.94.37.42:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677 started [2025-11-11 13:28:49,482][ INFO][PID:1686706] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@98.94.37.42:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/build-09786677.rsync.log [2025-11-11 13:28:49,704][ INFO][PID:1686706] rsyncing finished. [2025-11-11 13:28:49,705][ INFO][PID:1686706] Releasing VM back to pool [2025-11-11 13:28:49,715][ INFO][PID:1686706] Searching for 'success' file in resultdir [2025-11-11 13:28:49,716][ INFO][PID:1686706] Getting build details [2025-11-11 13:28:49,716][ INFO][PID:1686706] Retrieving SRPM info from /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677 [2025-11-11 13:28:49,717][ INFO][PID:1686706] SRPM URL: https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/NetworkManager-libreswan-1.2.28-763.copr.dd28708.src.rpm [2025-11-11 13:28:49,717][ INFO][PID:1686706] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/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 13:28:49,718][ INFO][PID:1686706] Finished build: id=9786677 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-11-11 13:28:49,719][ INFO][PID:1686706] Worker succeeded build, took 36.49263119697571 [2025-11-11 13:28:49,720][ INFO][PID:1686706] 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": 1762867729.7194748, "started_on": 1762867693.2268436, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786677", "build_id": 9786677, "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\\n# This is critical for Mock to find the source\\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 to generate ./configure\\n# This command inserts './autogen.sh' on a new line right after the '%autosetup -p1' line.\\nsed -i '/^%autosetup -p1/a ./autogen.sh' \\\"$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/09786677/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": "09786677", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.2.28-763.copr.dd28708", "id": 9786677, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 13:28:49,760][ INFO][PID:1686706] Sending fedora-messaging bus message in build.end [2025-11-11 13:28:49,803][ INFO][PID:1686706] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/builder-live.log by gzip [2025-11-11 13:28:49,804][ INFO][PID:1686706] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/builder-live.log' as PID 1691128 [2025-11-11 13:28:49,809][ INFO][PID:1686706] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/builder-live.log) [2025-11-11 13:28:49,809][ INFO][PID:1686706] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/backend.log by gzip [2025-11-11 13:28:49,811][ INFO][PID:1686706] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786677/backend.log' as PID 1691129