Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930178 - sys-power/autosuspend-5.0.0 fails tests
Summary: sys-power/autosuspend-5.0.0 fails tests
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-17 23:40 UTC by Jonathan Lovelace
Modified: 2025-06-01 04:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-power:autosuspend-5.0.0:20240417-215309.log (sys-power:autosuspend-5.0.0:20240417-215309.log,100.08 KB, text/plain; charset=utf-8)
2024-04-17 23:41 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.04 KB, text/plain; charset=utf-8)
2024-04-17 23:41 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-04-17 23:40:23 UTC
When rebuilding due to the addition of USE=python_targets_python3_12, =sys-power/autosuspend-5.0.0 fails its test suite on this system:

=========================================================== short test summary info ============================================================
SKIPPED [1] tests/test_checks_systemd.py:20: No dbusmock implementation available
SKIPPED [1] tests/test_checks_systemd.py:83: No known way to set idle hint in dbus mock right now
ERROR tests/test_checks_systemd.py::TestLogindSessionsIdle::test_ignore_unknow_type - AssertionError: PID 87 still alive?
ERROR tests/test_checks_systemd.py::TestLogindSessionsIdle::test_ignore_unknown_class - AssertionError: PID 87 still alive?
ERROR tests/test_checks_systemd.py::TestLogindSessionsIdle::test_dbus_error - AssertionError: PID 87 still alive?
ERROR tests/test_util_systemd.py::test_list_logind_sessions_empty - AssertionError: PID 87 still alive?
ERROR tests/test_util_systemd.py::test_list_logind_sessions_dbus_error - AssertionError: PID 87 still alive?
===================================== 342 passed, 2 skipped, 1 deselected, 18 warnings, 5 errors in 4.49s ======================================

It's possible that the fact that this system uses OpenRC as its init system may be relevant (or that other factors in its configuration or current state are the real cause), but I don't know enough about this package to say.
Comment 1 Jonathan Lovelace 2024-04-17 23:41:12 UTC
Created attachment 891030 [details]
sys-power:autosuspend-5.0.0:20240417-215309.log
Comment 2 Jonathan Lovelace 2024-04-17 23:41:57 UTC
Created attachment 891031 [details]
emerge-info.txt
Comment 3 Larry the Git Cow gentoo-dev 2025-06-01 04:13:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2218613711c9e580fd263f677a16ecaba584603d

commit 2218613711c9e580fd263f677a16ecaba584603d
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-05-31 00:06:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-06-01 04:12:11 +0000

    sys-power/autosuspend: add 7.2.0
    
    Bug: https://bugs.gentoo.org/930178
    Bug: https://bugs.gentoo.org/952748
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/42366
    Closes: https://github.com/gentoo/gentoo/pull/42366
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-power/autosuspend/Manifest                 |  1 +
 sys-power/autosuspend/autosuspend-7.2.0.ebuild | 70 ++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)