[2025-11-11 12:30:41,166][ INFO][PID:1408101] Marking build as starting [2025-11-11 12:30:41,202][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:30:41,206][ INFO][PID:1408101] VM allocation process starts [2025-11-11 12:30:41,245][ INFO][PID:1408101] Trying to allocate VM: ResallocHost, ticket_id=6125975, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 12:30:44,271][ INFO][PID:1408101] Allocated host ResallocHost, ticket_id=6125975, hostname=3.84.15.166, name=aws_x86_64_normalreserved_prod_07938358_20251111_122927, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 12:30:44,272][ INFO][PID:1408101] Allocating ssh connection to builder [2025-11-11 12:30:44,272][ INFO][PID:1408101] Checking that builder machine is OK [2025-11-11 12:30:44,606][ INFO][PID:1408101] Running remote command: copr-builder-ready srpm-builds [2025-11-11 12:30:44,805][ INFO][PID:1408101] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-11-11 12:30:44,805][ INFO][PID:1408101] Filling build.info file with builder info [2025-11-11 12:30:44,806][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:30:44,807][ INFO][PID:1408101] 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": 1762864244.80725, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786579", "build_id": 9786579, "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# Create a temporary working directory (this becomes the /workdir in Mock)\\nWORK_DIR=$(mktemp -d)\\ntrap \\\"rm -rf $WORK_DIR\\\" EXIT\\nOUTPUT_DIR=\\\"$WORK_DIR/output\\\"\\nmkdir -p \\\"$OUTPUT_DIR\\\" # C\\u00edl, kam COPR o\\u010dek\\u00e1v\\u00e1 fin\\u00e1ln\\u00ed SRPM\\n\\n# --- 1. Clone Repository ---\\necho \\\"--- STEP: Cloning repository and changing directory ---\\\"\\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\\\"\\necho \\\"Calculated Version: $VERSION, Release: $RELEASE_FORMAT\\\"\\n\\n# --- 3. Download Spec File ---\\necho \\\"--- STEP: Downloading spec file ---\\\"\\ncurl -sSL \\\"$SPEC_URL\\\" -o \\\"$SPEC_FILE\\\"\\nif [ $? -ne 0 ]; then\\n echo \\\"ERROR: Failed to download the spec file. Aborting build.\\\"\\n exit 1\\nfi\\n\\n# --- 4. Prepare Directories for rpmbuild ---\\n# CRITICAL FIX: Create the SOURCES directory inside the current working directory,\\n# where rpmbuild expects source files based on the _topdir definition.\\necho \\\"--- STEP: Creating mandatory SOURCES directory for rpmbuild ---\\\"\\nmkdir -p ./SOURCES\\n\\n# --- 5. FIX: Patch Source0 to match the file we create (.tar.gz) ---\\necho \\\"--- FIX: Patching spec file to use .tar.gz extension ---\\\"\\n# Change Source0 (and SubSources) in the whole spec from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_FILE\\\"\\n\\n# --- 6. Create Source Tarball ---\\necho \\\"--- STEP: Creating source tarball (.tar.gz) and placing it into SOURCES ---\\\"\\nRELEASE_NAME=\\\"NetworkManager-libreswan-$VERSION\\\"\\n# Tarball is created and placed directly into ./SOURCES, kde ho rpmbuild o\\u010dek\\u00e1v\\u00e1.\\ngit archive --format=tar.gz --prefix=$RELEASE_NAME/ HEAD -o \\\"./SOURCES/$RELEASE_NAME.tar.gz\\\"\\n\\n# --- 7. Update Spec File Fields ---\\necho \\\"--- STEP: Patching Version and Release fields ---\\\"\\nSPEC_PATH_TARGET=\\\"$SPEC_FILE\\\" \\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\necho \\\"INFO: Spec file patched.\\\"\\n\\n# --- 8. Create Source RPM (SRPM) ---\\necho \\\"--- STEP: Creating Source RPM ---\\\"\\n# rpmbuild uses the current directory as _topdir (where SOURCES/ and SPECS/ implicitly live)\\nrpmbuild --define \\\"_topdir $(pwd)\\\" -bs \\\"$SPEC_PATH_TARGET\\\"\\n\\n# --- 9. Move SRPM to expected output location (CRITICAL FIX) ---\\necho \\\"--- STEP: Finalizing SRPM output ---\\\"\\n# SRPM se nach\\u00e1z\\u00ed v adres\\u00e1\\u0159i 'SRPMS' vytvo\\u0159en\\u00e9m v aktu\\u00e1ln\\u00edm pracovn\\u00edm prostoru\\nSRPM_FILE=$(find \\\"./SRPMS\\\" -name \\\"NetworkManager-libreswan-*.src.rpm\\\" -print -quit)\\n\\nif [[ -f \\\"$SRPM_FILE\\\" ]]; then\\n echo \\\"INFO: SRPM found: $SRPM_FILE\\\"\\n # CRITICAL FIX: Copy the final SRPM to the root of the temporary workspace ($WORK_DIR), \\n # which is the most reliable place for COPR/Mock to detect the output source file (A z\\u00e1rove\\u0148 zkop\\u00edrujeme i spec file pro spln\\u011bn\\u00ed po\\u017eadavku Mocku).\\n cp \\\"$SRPM_FILE\\\" \\\"$WORK_DIR/\\\" \\n cp \\\"$SPEC_FILE\\\" \\\"$WORK_DIR/\\\"\\nelse\\n echo \\\"ERROR: Final SRPM file was not found.\\\"\\n exit 1\\nfi\\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": "09786579", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786579, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 12:30:44,828][ INFO][PID:1408101] Sending fedora-messaging bus message in build.start [2025-11-11 12:30:45,770][ INFO][PID:1408101] Sending fedora-messaging bus message in chroot.start [2025-11-11 12:30:45,816][ INFO][PID:1408101] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9786579 --detached [2025-11-11 12:30:46,146][ INFO][PID:1408101] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '3.84.15.166' (ED25519) to the list of known hosts. [2025-11-11 12:30:46,147][ INFO][PID:1408101] Downloading the builder-live.log file, attempt 1 [2025-11-11 12:30:46,148][ INFO][PID:1408101] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@3.84.15.166 copr-rpmbuild-log [2025-11-11 12:30:51,207][ INFO][PID:1408101] Periodic builder liveness probe: alive [2025-11-11 12:30:51,207][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:30:56,209][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:31:01,210][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:31:06,211][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:31:11,212][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:31:16,213][ INFO][PID:1408101] Checking for cancel request [2025-11-11 12:31:16,261][ INFO][PID:1408101] Downloading results from builder [2025-11-11 12:31:16,262][ INFO][PID:1408101] rsyncing of mockbuilder@3.84.15.166:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579 started [2025-11-11 12:31:16,262][ INFO][PID:1408101] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@3.84.15.166:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/build-09786579.rsync.log [2025-11-11 12:31:16,470][ INFO][PID:1408101] rsyncing finished. [2025-11-11 12:31:16,471][ INFO][PID:1408101] Releasing VM back to pool [2025-11-11 12:31:16,481][ INFO][PID:1408101] Searching for 'success' file in resultdir [2025-11-11 12:31:16,481][ ERROR][PID:1408101] Build failed: Backend process error: No success file => build failure [2025-11-11 12:31:16,482][ INFO][PID:1408101] Finished build: id=9786579 failed=True timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-11-11 12:31:16,484][ ERROR][PID:1408101] Backend process error: No success file => build failure [2025-11-11 12:31:16,484][ INFO][PID:1408101] Worker failed build, took 31.67720675468445 [2025-11-11 12:31:16,484][ INFO][PID:1408101] 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": 1762864276.4844568, "started_on": 1762864244.80725, "submitted_on": null, "status": 0, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786579", "build_id": 9786579, "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# Create a temporary working directory (this becomes the /workdir in Mock)\\nWORK_DIR=$(mktemp -d)\\ntrap \\\"rm -rf $WORK_DIR\\\" EXIT\\nOUTPUT_DIR=\\\"$WORK_DIR/output\\\"\\nmkdir -p \\\"$OUTPUT_DIR\\\" # C\\u00edl, kam COPR o\\u010dek\\u00e1v\\u00e1 fin\\u00e1ln\\u00ed SRPM\\n\\n# --- 1. Clone Repository ---\\necho \\\"--- STEP: Cloning repository and changing directory ---\\\"\\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\\\"\\necho \\\"Calculated Version: $VERSION, Release: $RELEASE_FORMAT\\\"\\n\\n# --- 3. Download Spec File ---\\necho \\\"--- STEP: Downloading spec file ---\\\"\\ncurl -sSL \\\"$SPEC_URL\\\" -o \\\"$SPEC_FILE\\\"\\nif [ $? -ne 0 ]; then\\n echo \\\"ERROR: Failed to download the spec file. Aborting build.\\\"\\n exit 1\\nfi\\n\\n# --- 4. Prepare Directories for rpmbuild ---\\n# CRITICAL FIX: Create the SOURCES directory inside the current working directory,\\n# where rpmbuild expects source files based on the _topdir definition.\\necho \\\"--- STEP: Creating mandatory SOURCES directory for rpmbuild ---\\\"\\nmkdir -p ./SOURCES\\n\\n# --- 5. FIX: Patch Source0 to match the file we create (.tar.gz) ---\\necho \\\"--- FIX: Patching spec file to use .tar.gz extension ---\\\"\\n# Change Source0 (and SubSources) in the whole spec from .tar.xz to .tar.gz\\nsed -i 's/\\\\.tar\\\\.xz/\\\\.tar\\\\.gz/g' \\\"$SPEC_FILE\\\"\\n\\n# --- 6. Create Source Tarball ---\\necho \\\"--- STEP: Creating source tarball (.tar.gz) and placing it into SOURCES ---\\\"\\nRELEASE_NAME=\\\"NetworkManager-libreswan-$VERSION\\\"\\n# Tarball is created and placed directly into ./SOURCES, kde ho rpmbuild o\\u010dek\\u00e1v\\u00e1.\\ngit archive --format=tar.gz --prefix=$RELEASE_NAME/ HEAD -o \\\"./SOURCES/$RELEASE_NAME.tar.gz\\\"\\n\\n# --- 7. Update Spec File Fields ---\\necho \\\"--- STEP: Patching Version and Release fields ---\\\"\\nSPEC_PATH_TARGET=\\\"$SPEC_FILE\\\" \\nsed -i \\\"s/^Version:.*/Version: $VERSION/\\\" \\\"$SPEC_PATH_TARGET\\\"\\nsed -i \\\"s/^Release:.*/Release: $RELEASE_FORMAT%{?dist}/\\\" \\\"$SPEC_PATH_TARGET\\\"\\necho \\\"INFO: Spec file patched.\\\"\\n\\n# --- 8. Create Source RPM (SRPM) ---\\necho \\\"--- STEP: Creating Source RPM ---\\\"\\n# rpmbuild uses the current directory as _topdir (where SOURCES/ and SPECS/ implicitly live)\\nrpmbuild --define \\\"_topdir $(pwd)\\\" -bs \\\"$SPEC_PATH_TARGET\\\"\\n\\n# --- 9. Move SRPM to expected output location (CRITICAL FIX) ---\\necho \\\"--- STEP: Finalizing SRPM output ---\\\"\\n# SRPM se nach\\u00e1z\\u00ed v adres\\u00e1\\u0159i 'SRPMS' vytvo\\u0159en\\u00e9m v aktu\\u00e1ln\\u00edm pracovn\\u00edm prostoru\\nSRPM_FILE=$(find \\\"./SRPMS\\\" -name \\\"NetworkManager-libreswan-*.src.rpm\\\" -print -quit)\\n\\nif [[ -f \\\"$SRPM_FILE\\\" ]]; then\\n echo \\\"INFO: SRPM found: $SRPM_FILE\\\"\\n # CRITICAL FIX: Copy the final SRPM to the root of the temporary workspace ($WORK_DIR), \\n # which is the most reliable place for COPR/Mock to detect the output source file (A z\\u00e1rove\\u0148 zkop\\u00edrujeme i spec file pro spln\\u011bn\\u00ed po\\u017eadavku Mocku).\\n cp \\\"$SRPM_FILE\\\" \\\"$WORK_DIR/\\\" \\n cp \\\"$SPEC_FILE\\\" \\\"$WORK_DIR/\\\"\\nelse\\n echo \\\"ERROR: Final SRPM file was not found.\\\"\\n exit 1\\nfi\\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": "09786579", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786579, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 12:31:16,539][ INFO][PID:1408101] Sending fedora-messaging bus message in build.end [2025-11-11 12:31:16,581][ INFO][PID:1408101] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/builder-live.log by gzip [2025-11-11 12:31:16,582][ INFO][PID:1408101] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/builder-live.log' as PID 1411012 [2025-11-11 12:31:16,587][ INFO][PID:1408101] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/builder-live.log) [2025-11-11 12:31:16,587][ INFO][PID:1408101] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/backend.log by gzip [2025-11-11 12:31:16,588][ INFO][PID:1408101] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786579/backend.log' as PID 1411013