Bug 2223582 - test-login fails when executed under Fedora's mock
Summary: test-login fails when executed under Fedora's mock
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemd
Version: CentOS Stream
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jacek Migacz
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-18 10:19 UTC by Jacek Migacz
Modified: 2023-07-21 09:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-plumbers systemd-rhel8 pull 404 0 None open (#2223582) test-login: skip consistency checks when logind is not active 2023-07-18 10:33:03 UTC
Red Hat Issue Tracker RHELPLAN-162550 0 None None None 2023-07-18 10:21:08 UTC

Description Jacek Migacz 2023-07-18 10:19:39 UTC
Description of problem:
test-login fails with SIGABRT

How reproducible:
Run systemd tests under Zuul

Actual results:
>> DEBUG: 239/298 test-login                                FAIL             0.11s   killed by signal 6 SIGABRT
>> DEBUG: >>> MALLOC_PERTURB_=112 SYSTEMD_KBD_MODEL_MAP=/builddir/build/BUILD/systemd-239/src/locale/kbd-model-map SYSTEMD_LANGUAGE_FALLBACK_MAP=/builddir/build/BUILD/systemd-239/src/locale/language-fallback-map PATH=/builddir/build/BUILD/systemd-239/x86_64-redhat-linux-gnu:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin /builddir/build/BUILD/systemd-239/x86_64-redhat-linux-gnu/test-login
>> DEBUG: ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
>> DEBUG: stderr:
>> DEBUG: /* Information printed is from the live system */
>> DEBUG: sd_pid_get_unit(0, …) → OK / "session-1.scope"
>> DEBUG: sd_pid_get_user_unit(0, …) → ENODATA / "(null)"
>> DEBUG: sd_pid_get_slice(0, …) → OK / "user-1000.slice"
>> DEBUG: sd_pid_get_owner_uid(0, …) → OK / 1000
>> DEBUG: sd_pid_get_session(0, …) → OK / "1"
>> DEBUG: sd_pid_get_cgroup(0, …) → OK / "/user.slice/user-1000.slice/session-1.scope"
>> DEBUG: sd_uid_get_display(1000, …) → ENODATA / "(null)"
>> DEBUG: sd_uid_get_sessions(1000, …) → OK ""
>> DEBUG: sd_uid_get_seats(1000, …) → OK ""
>> DEBUG: Assertion 'r >= 0' failed at ../src/libsystemd/sd-login/test-login.c:118, function test_login(). Aborting.

Expected results:
PASS

Additional info:
n\a


Note You need to log in before you can comment on or make changes to this bug.