[2025-11-11 13:35:40,716][ INFO][PID:1741893] Marking build as starting [2025-11-11 13:35:40,757][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:35:40,757][ INFO][PID:1741893] VM allocation process starts [2025-11-11 13:35:40,766][ INFO][PID:1741893] Trying to allocate VM: ResallocHost, ticket_id=6126617, requested_tags=['copr_builder', 'arch_x86_64'] [2025-11-11 13:35:43,808][ INFO][PID:1741893] Allocated host ResallocHost, ticket_id=6126617, 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:35:43,809][ INFO][PID:1741893] Allocating ssh connection to builder [2025-11-11 13:35:43,810][ INFO][PID:1741893] Checking that builder machine is OK [2025-11-11 13:35:44,148][ INFO][PID:1741893] Running remote command: copr-builder-ready srpm-builds [2025-11-11 13:35:44,344][ INFO][PID:1741893] Red Hat subscription not needed for srpm-builds Builder is ready to be used [2025-11-11 13:35:44,344][ INFO][PID:1741893] Filling build.info file with builder info [2025-11-11 13:35:44,345][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:35:44,346][ INFO][PID:1741893] 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": 1762868144.3460286, "submitted_on": null, "status": 3, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786692", "build_id": 9786692, "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 libtool autoconf automake wget file findutils gcc gettext-devel glib2-devel gtk3-devel gtk4-devel libnma-gtk4-devel libnl3-devel intltool libtool libsecret-devel libnma-devel NetworkManager-libnm-devel pkgconfig autoconf automake make\", \"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": "09786692", "built_packages": "", "tags": [ "arch_x86_64" ], "id": 9786692, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 13:35:44,365][ INFO][PID:1741893] Sending fedora-messaging bus message in build.start [2025-11-11 13:35:45,183][ INFO][PID:1741893] Sending fedora-messaging bus message in chroot.start [2025-11-11 13:35:45,229][ INFO][PID:1741893] Starting remote build: copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9786692 --detached [2025-11-11 13:35:45,545][ INFO][PID:1741893] 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:35:45,546][ INFO][PID:1741893] Downloading the builder-live.log file, attempt 1 [2025-11-11 13:35:45,548][ INFO][PID:1741893] Popen command started: ssh -F /home/copr/.ssh/config mockbuilder@98.94.37.42 copr-rpmbuild-log [2025-11-11 13:35:50,551][ INFO][PID:1741893] Periodic builder liveness probe: alive [2025-11-11 13:35:50,552][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:35:55,553][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:00,553][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:05,554][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:10,555][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:15,556][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:20,557][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:25,558][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:30,560][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:35,561][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:40,562][ INFO][PID:1741893] Checking for cancel request [2025-11-11 13:36:40,791][ INFO][PID:1741893] Downloading results from builder [2025-11-11 13:36:40,792][ INFO][PID:1741893] 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/09786692 started [2025-11-11 13:36:40,793][ INFO][PID:1741893] 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/09786692/ &> /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/build-09786692.rsync.log [2025-11-11 13:36:41,058][ INFO][PID:1741893] rsyncing finished. [2025-11-11 13:36:41,059][ INFO][PID:1741893] Releasing VM back to pool [2025-11-11 13:36:41,069][ INFO][PID:1741893] Searching for 'success' file in resultdir [2025-11-11 13:36:41,070][ INFO][PID:1741893] Getting build details [2025-11-11 13:36:41,070][ INFO][PID:1741893] Retrieving SRPM info from /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692 [2025-11-11 13:36:41,071][ INFO][PID:1741893] SRPM URL: https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/NetworkManager-libreswan-1.2.28-763.copr.dd28708.src.rpm [2025-11-11 13:36:41,071][ INFO][PID:1741893] build details: {'srpm_url': 'https://download.copr.fedorainfracloud.org/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/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:36:41,072][ INFO][PID:1741893] Finished build: id=9786692 failed=False timeout=108000 destdir=/var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next chroot=srpm-builds [2025-11-11 13:36:41,074][ INFO][PID:1741893] Worker succeeded build, took 56.7280068397522 [2025-11-11 13:36:41,074][ INFO][PID:1741893] 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": 1762868201.0740354, "started_on": 1762868144.3460286, "submitted_on": null, "status": 1, "chroot": "srpm-builds", "arch": "x86_64", "buildroot_pkgs": null, "task_id": "9786692", "build_id": 9786692, "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 libtool autoconf automake wget file findutils gcc gettext-devel glib2-devel gtk3-devel gtk4-devel libnma-gtk4-devel libnl3-devel intltool libtool libsecret-devel libnma-devel NetworkManager-libnm-devel pkgconfig autoconf automake make\", \"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/09786692/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": "09786692", "built_packages": "", "tags": [ "arch_x86_64" ], "pkg_version": "1.2.28-763.copr.dd28708", "id": 9786692, "mockchain_macros": { "copr_username": "networkmanager", "copr_projectname": "NetworkManager-libreswan-next", "vendor": "Fedora Project COPR (networkmanager/NetworkManager-libreswan-next)" } } ] } [2025-11-11 13:36:41,110][ INFO][PID:1741893] Sending fedora-messaging bus message in build.end [2025-11-11 13:36:41,153][ INFO][PID:1741893] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/builder-live.log by gzip [2025-11-11 13:36:41,155][ INFO][PID:1741893] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/builder-live.log' as PID 1748614 [2025-11-11 13:36:41,163][ INFO][PID:1741893] Finished after 0 seconds with exit code 0 (gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/builder-live.log) [2025-11-11 13:36:41,164][ INFO][PID:1741893] Compressing /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/backend.log by gzip [2025-11-11 13:36:41,165][ INFO][PID:1741893] Running command 'gzip /var/lib/copr/public_html/results/networkmanager/NetworkManager-libreswan-next/srpm-builds/09786692/backend.log' as PID 1748615