[2025-11-11 12:46:24,592][ INFO][PID:1485903] Marking build as starting [2025-11-11 12:46:24,613][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:24,614][ INFO][PID:1485903] VM allocation process starts [2025-11-11 12:46:24,627][ INFO][PID:1485903] Trying to allocate VM: ResallocHost, ticket_id=6126075, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 12:46:27,642][ INFO][PID:1485903] Allocated host ResallocHost, ticket_id=6126075, hostname=52.55.190.188, name=aws_x86_64_normalreserved_prod_07938512_20251111_123942, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 12:46:27,643][ INFO][PID:1485903] Allocating ssh connection to builder [2025-11-11 12:46:27,643][ INFO][PID:1485903] Checking that builder machine is OK [2025-11-11 12:46:27,976][ INFO][PID:1485903] Running remote command: copr-builder-ready srpm-builds [2025-11-11 12:46:28,180][ INFO][PID:1485903] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-11-11 12:46:28,181][ INFO][PID:1485903] Filling build.info file with builder info [2025-11-11 12:46:28,181][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:28,182][ INFO][PID:1485903] 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": 1762865188.1826034, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786593", "build_id": 9786593, "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\\\"\\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 je vytvo\\u0159en a um\\u00edst\\u011bn p\\u0159\\u00edmo do ./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 (FINAL 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\\n# Zde pou\\u017e\\u00edv\\u00e1me jednoduch\\u00e9 testov\\u00e1n\\u00ed (\\u0159e\\u0161\\u00ed chybu v Mocku)\\n[ -f \\\"$SRPM_FILE\\\" ] || { echo \\\"ERROR: Final SRPM file was not found.\\\"; exit 1; }\\n\\necho \\\"INFO: SRPM found: $SRPM_FILE\\\"\\n\\n# CRITICAL FIX: Kop\\u00edrujeme POUZE fin\\u00e1ln\\u00ed SRPM do ko\\u0159ene pracovn\\u00edho adres\\u00e1\\u0159e ($WORK_DIR)\\n# Mock/COPR automaticky rozbal\\u00ed SRPM a pou\\u017eije spec file uvnit\\u0159.\\ncp \\\"$SRPM_FILE\\\" \\\"$WORK_DIR/\\\" \\n# D\\u016fle\\u017eit\\u00e9: T\\u00edmto se vyh\\u00fdb\\u00e1me chyb\\u011b \\\"no spec file available\\\", proto\\u017ee Mock najde jeden SRPM soubor.\\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": "09786593", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786593, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 12:46:28,204][ INFO][PID:1485903] Sending fedora-messaging bus message in build.start [2025-11-11 12:46:29,025][ INFO][PID:1485903] Sending fedora-messaging bus message in chroot.start [2025-11-11 12:46:29,068][ INFO][PID:1485903] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9786593 --detached [2025-11-11 12:46:29,411][ INFO][PID:1485903] The copr-rpmbuild seems started, per: stdout: stderr: Warning: Permanently added '52.55.190.188' (ED25519) to the list of known hosts. [2025-11-11 12:46:29,412][ INFO][PID:1485903] Downloading the builder-live.log file, attempt 1 [2025-11-11 12:46:29,414][ INFO][PID:1485903] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@52.55.190.188 copr-rpmbuild-log [2025-11-11 12:46:34,417][ INFO][PID:1485903] Periodic builder liveness probe: alive [2025-11-11 12:46:34,418][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:39,419][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:44,515][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:49,517][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:54,590][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:46:59,593][ INFO][PID:1485903] Checking for cancel request [2025-11-11 12:47:01,828][ INFO][PID:1485903] Downloading results from builder [2025-11-11 12:47:01,829][ INFO][PID:1485903] rsyncing of mockbuilder@52.55.190.188:/var/lib/copr-rpmbuild/results/ to /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593 started [2025-11-11 12:47:01,829][ INFO][PID:1485903] Popen command started: /usr/bin/rsync -rltDvH --chmod=D755,F644 -e 'ssh -F /home/copr/.ssh/config' mockbuilder@52.55.190.188:/var/lib/copr-rpmbuild/results/ /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/build-09786593.rsync.log [2025-11-11 12:47:02,044][ INFO][PID:1485903] rsyncing finished. [2025-11-11 12:47:02,044][ INFO][PID:1485903] Releasing VM back to pool [2025-11-11 12:47:02,056][ INFO][PID:1485903] Searching for 'success' file in resultdir [2025-11-11 12:47:02,057][ ERROR][PID:1485903] Build failed: Backend process error: No success file => build failure [2025-11-11 12:47:02,057][ INFO][PID:1485903] Finished build: id=9786593 failed=True timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-11-11 12:47:02,059][ ERROR][PID:1485903] Backend process error: No success file => build failure [2025-11-11 12:47:02,059][ INFO][PID:1485903] Worker failed build, took 33.87680697441101 [2025-11-11 12:47:02,059][ INFO][PID:1485903] 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": 1762865222.0594103, "started_on": 1762865188.1826034, "submitted_on": null, "status": 0, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786593", "build_id": 9786593, "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\\\"\\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 je vytvo\\u0159en a um\\u00edst\\u011bn p\\u0159\\u00edmo do ./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 (FINAL 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\\n# Zde pou\\u017e\\u00edv\\u00e1me jednoduch\\u00e9 testov\\u00e1n\\u00ed (\\u0159e\\u0161\\u00ed chybu v Mocku)\\n[ -f \\\"$SRPM_FILE\\\" ] || { echo \\\"ERROR: Final SRPM file was not found.\\\"; exit 1; }\\n\\necho \\\"INFO: SRPM found: $SRPM_FILE\\\"\\n\\n# CRITICAL FIX: Kop\\u00edrujeme POUZE fin\\u00e1ln\\u00ed SRPM do ko\\u0159ene pracovn\\u00edho adres\\u00e1\\u0159e ($WORK_DIR)\\n# Mock/COPR automaticky rozbal\\u00ed SRPM a pou\\u017eije spec file uvnit\\u0159.\\ncp \\\"$SRPM_FILE\\\" \\\"$WORK_DIR/\\\" \\n# D\\u016fle\\u017eit\\u00e9: T\\u00edmto se vyh\\u00fdb\\u00e1me chyb\\u011b \\\"no spec file available\\\", proto\\u017ee Mock najde jeden SRPM soubor.\\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": "09786593", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786593, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 12:47:02,102][ INFO][PID:1485903] Sending fedora-messaging bus message in build.end [2025-11-11 12:47:02,147][ INFO][PID:1485903] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/builder-live.log by gzip [2025-11-11 12:47:02,148][ INFO][PID:1485903] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/builder-live.log' as PID 1487694 [2025-11-11 12:47:02,152][ INFO][PID:1485903] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/builder-live.log) [2025-11-11 12:47:02,152][ INFO][PID:1485903] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/backend.log by gzip [2025-11-11 12:47:02,153][ INFO][PID:1485903] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786593/backend.log' as PID 1487695