You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First reported in #1911 by @hannes101 and moved into its own issue here.
The test TestRestorePathInfo.test_change_group failes because the testing user is not member in a second usergroup.
This happens in Fedora 41 build environments which use mock (chroot) to isolate the build.
____________________ TestRestorePathInfo.test_change_group _____________________
self = <test.test_snapshots.TestRestorePathInfo testMethod=test_change_group>
def test_change_group(self):
> newGroup = [x for x in GROUPS if x != CURRENTGROUP][0]
E IndexError: list index out of range
test/test_snapshots.py:608: IndexError
The constant CURRENTGROUP is created in common/test/constants.py:
First reported in #1911 by @hannes101 and moved into its own issue here.
The test
TestRestorePathInfo.test_change_group
failes because the testing user is not member in a second usergroup.This happens in Fedora 41 build environments which use
mock
(chroot
) to isolate the build.The constant
CURRENTGROUP
is created incommon/test/constants.py
:GROUPS
is created incommon/test/test_snapshots.py
:About a possible solution:
len(GROUPS) < 2
.len(GROUPS) < 2
and instruct to add the user to a second group. It would be an instruction for distro maintainers.It was recommended to use solution 1.
The text was updated successfully, but these errors were encountered: