Warning: Permanently added '54.227.85.165' (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/9589626 Version: 1.5 PID: 8729 Logging PID: 8731 Task: {'appstream': False, 'background': True, 'build_id': 9589626, 'chroot': None, 'package_name': 'insights-client', 'project_dirname': 'latest', 'project_name': 'latest', 'project_owner': '@yggdrasil', 'repos': [], 'sandbox': '@yggdrasil/latest--https://api.github.com/users/pholica', 'source_json': {'clone_url': 'https://github.com/RedHatInsights/insights-client', 'committish': 'b9e95c1d1edc44552ab7b003afcdff5d7c975723', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/pholica', 'task_id': '9589626'} Running: git clone https://github.com/RedHatInsights/insights-client /var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/RedHatInsights/insights-client', '/var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client'... Running: git checkout b9e95c1d1edc44552ab7b003afcdff5d7c975723 -- cmd: ['git', 'checkout', 'b9e95c1d1edc44552ab7b003afcdff5d7c975723', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client rc: 0 stdout: stderr: Note: switching to 'b9e95c1d1edc44552ab7b003afcdff5d7c975723'. 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 b9e95c1 feat(test): Add selinux_context=None for user-invoked functionality tests 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-_cixb09a/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client rc: 0 stdout: Wrote: /var/lib/copr-rpmbuild/results/insights-client.spec Wrote: /var/lib/copr-rpmbuild/results/insights-client-3.10.1-0.src.rpm RPM build warnings: stderr: git_dir_pack: archiving /var/lib/copr-rpmbuild/workspace/workdir-_cixb09a/insights-client: commit b9e95c1d1edc44552ab7b003afcdff5d7c975723 (HEAD, origin/main, origin/HEAD, main) Author: zpetrace Date: Wed Jul 30 15:30:34 2025 +0200 feat(test): Add selinux_context=None for user-invoked functionality tests Accommodate changes to InsightsClient.run() which now uses runcon by default to execute insights-client with insights_client_t SELinux context, matching production systemd behavior. Updated user-invoked functionality tests to use selinux_context=None: - test_version.py: --version command (1 call) - test_client_options.py: --support, --validate, and unregistered --diagnosis (3 calls) - test_connection.py: all --test-connection calls (5 calls) - test_status.py: all --status calls (3 calls) - test_motd.py: --status calls for MOTD testing (2 calls) - test_collection.py: --verbose for timeout configuration testing (1 call) Production/service functionality tests (registration, upload, compliance, data collection) retain default SELinux context to match systemd behavior. This ensures tests properly differentiate between user-invoked commands and production service operations while maintaining comprehensive coverage of both scenarios. Message Created by Cursor (calude-4-sonnet) git_dir_pack: Wrote: /var/lib/copr-rpmbuild/results/insights-client-b9e95c1d.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-b9e95c1d.tar.gz', 'insights-client.spec', 'insights-client-3.10.1-0.src.rpm'] Running SRPMResults tool Package info: { "name": "insights-client", "epoch": null, "version": "3.10.1", "release": "0", "exclusivearch": [], "excludearch": [] } SRPMResults finished