Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c1d7' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9600804 Version: 1.5 PID: 2439 Logging PID: 2441 Task: {'appstream': False, 'background': True, 'build_id': 9600804, 'chroot': None, 'package_name': 'insights-client', 'project_dirname': 'latest', 'project_name': 'latest', 'project_owner': '@yggdrasil', 'repos': [], 'sandbox': '@yggdrasil/latest--https://api.github.com/users/m-horky', 'source_json': {'clone_url': 'https://github.com/RedHatInsights/insights-client', 'committish': 'a041b29033b843a52c9e01d99383d586cb09cdf8', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/m-horky', 'task_id': '9600804'} Running: git clone https://github.com/RedHatInsights/insights-client /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/RedHatInsights/insights-client', '/var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client'... Running: git checkout a041b29033b843a52c9e01d99383d586cb09cdf8 -- cmd: ['git', 'checkout', 'a041b29033b843a52c9e01d99383d586cb09cdf8', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client rc: 0 stdout: stderr: Note: switching to 'a041b29033b843a52c9e01d99383d586cb09cdf8'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at a041b29 fix: Do not switch context when running as unconfined_service_t Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://github.com/%(repo_path)s [lookaside] download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client rc: 0 stdout: Wrote: /var/lib/copr-rpmbuild/results/insights-client.spec Wrote: /var/lib/copr-rpmbuild/results/insights-client-3.9.0-0.src.rpm RPM build warnings: stderr: git_dir_pack: archiving /var/lib/copr-rpmbuild/workspace/workdir-0um1_alk/insights-client: commit a041b29033b843a52c9e01d99383d586cb09cdf8 (HEAD, origin/rhel-9-main) Author: pkoprda Date: Thu Sep 25 13:35:17 2025 +0200 fix: Do not switch context when running as unconfined_service_t * Card ID: CCT-1632 The logic for changing SELinux context at runtime should not apply when running as unconfined_service_t. This context is active when insights-client is run as a systemd daemon: during automatic registration, when executed via rhc-worker-playbook. (cherry picked from commit 8c9f44c482a10bdc6bd12a311db815532bfbd08d) git_dir_pack: Wrote: /var/lib/copr-rpmbuild/results/insights-client-a041b290.tar.gz Building target platforms: noarch Building for target noarch warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Output: ['insights-client.spec', 'insights-client-3.9.0-0.src.rpm', 'insights-client-a041b290.tar.gz'] Running SRPMResults tool Package info: { "name": "insights-client", "epoch": null, "version": "3.9.0", "release": "0", "exclusivearch": [], "excludearch": [] } SRPMResults finished