Seems to unconditionally assume systemd is available. Passes on systemd stage. FAILED tests/pytests/unit/modules/test_aptpkg.py::test_autoremove - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_aptpkg.py::test_upgrade - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_aptpkg.py::test_upgrade_downloadonly - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_aptpkg.py::test_upgrade_allow_downgrades - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_default - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_with_kwargs - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_linux_sysctl.py::test_persist_no_conf_failure - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_latest_version_with_options - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_list_repo_pkgs_with_options - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_list_upgrades_dnf - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_list_upgrades_yum - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_refresh_db_with_options - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_call_yum_default - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/pytests/unit/modules/test_yumpkg.py::test_call_yum_with_kwargs - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/unit/modules/test_kernelpkg_linux_yum.py::YumKernelPkgTestCase::test_remove_error - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/unit/modules/test_kernelpkg_linux_yum.py::YumKernelPkgTestCase::test_remove_success - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' FAILED tests/unit/modules/test_zypperpkg.py::ZypperTestCase::test_remove_purge - FileNotFoundError: [Errno 2] No such file or directory: 'systemctl' Reproducible: Always
Created attachment 884810 [details] build.log and emerge --info
Strange, I run the tests on an openrc system. Oh well, should be pretty easy to skip those tests when systemd isn't installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5fe311f71bcf58ab584c6d198b8cd65c4ca0d7 commit da5fe311f71bcf58ab584c6d198b8cd65c4ca0d7 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2024-02-13 19:10:21 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2024-02-13 19:27:22 +0000 app-admin/salt: Skip systemd tests in 3005.5 (bug #924377) Closes: https://bugs.gentoo.org/924377 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> app-admin/salt/salt-3005.5.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)