[Bug 1942113] Re: systemd unit test regression in autopkgtest (oomd-utils)

Lukas Märdian 1942113 at bugs.launchpad.net
Fri Sep 10 12:52:45 UTC 2021


** Also affects: glibc via
   https://github.com/systemd/systemd/issues/20593
   Importance: Unknown
       Status: Unknown

** Project changed: glibc => systemd

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1942113

Title:
  systemd unit test regression in autopkgtest (oomd-utils)

Status in systemd:
  Unknown
Status in glibc package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  New

Bug description:
  The latest systemd upload fails its tests against glibc 2.34. The
  failing test is test-oomd-util within the unit-tests, with the
  following logs:

  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Bus n/a: changing state UNSET → OPENING
  sd-bus: starting bus by connecting to /run/dbus/system_bus_socket...
  Bus n/a: changing state OPENING → AUTHENTICATING
  Bus n/a: changing state AUTHENTICATING → HELLO
  Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
  Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
  Got message type=method_return sender=org.freedesktop.DBus destination=:1.23 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a
  Bus n/a: changing state HELLO → RUNNING
  Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=StartTransientUnit cookie=3 reply_cookie=0 signature=ssa(sv)a(sa(sv)) error-name=n/a error-message=n/a
  Got message type=method_return sender=:1.0 destination=:1.23 path=n/a interface=n/a member=n/a cookie=299 reply_cookie=3 signature=o error-name=n/a error-message=n/a
  Got message type=signal sender=org.freedesktop.DBus destination=:1.23 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
  Got message type=method_return sender=org.freedesktop.DBus destination=:1.23 path=n/a interface=n/a member=n/a cookie=3 reply_cookie=2 signature=n/a error-name=n/a error-message=n/a
  Match type='signal',sender='org.freedesktop.systemd1',path='/org/freedesktop/systemd1',interface='org.freedesktop.systemd1.Manager',member='JobRemoved' successfully installed.
  Got message type=signal sender=:1.0 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=304 reply_cookie=0 signature=uoss error-name=n/a error-message=n/a
  Got result done/Success for job test-oomd-util-9beb716b2ffb3d99.scope
  Bus n/a: changing state RUNNING → CLOSED
  Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
  test-oomd-util: Cannot set user xattrs, skipping tests.
  Error getting memory.current from /system.slice/test-oomd-util-9beb716b2ffb3d99.scope: No data available
  Assertion 'oomd_cgroup_context_acquire(cgroup, &ctx) == 0' failed at src/oom/test-oomd-util.c:117, function test_oomd_cgroup_context_acquire_and_insert(). Aborting.

  I wasn't able to reproduce the failure, either using autopkgtest-virt-
  lxd or manually in an armhf VM. You'll find below the test logs of the
  VM run for this particular test, as a comparison point.

  ubuntu at autopkgtest:~$ sudo /usr/lib/systemd/tests/test-oomd-util 
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 2 for /zupa.slice. Using last pgscan of zero.
  Last pgscan 33 greater than current pgscan 1 for /herp.slice/derp.scope. Using last pgscan of zero.
  Bus n/a: changing state UNSET → OPENING
  sd-bus: starting bus by connecting to /run/dbus/system_bus_socket...
  Bus n/a: changing state OPENING → AUTHENTICATING
  Bus n/a: changing state AUTHENTICATING → HELLO
  Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message
  =n/a
  Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=2 reply_cookie=0 signature=s error-name=n/a error-messag
  e=n/a
  Got message type=method_return sender=org.freedesktop.DBus destination=:1.13 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a
  Bus n/a: changing state HELLO → RUNNING
  Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=StartTransientUnit cookie=3 reply_cookie=0 signature
  =ssa(sv)a(sa(sv)) error-name=n/a error-message=n/a
  Got message type=method_return sender=:1.2 destination=:1.13 path=n/a interface=n/a member=n/a cookie=228 reply_cookie=3 signature=o error-name=n/a error-message=n/a
  Got message type=signal sender=org.freedesktop.DBus destination=:1.13 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-messag
  e=n/a
  Got message type=method_return sender=org.freedesktop.DBus destination=:1.13 path=n/a interface=n/a member=n/a cookie=3 reply_cookie=2 signature=n/a error-name=n/a error-message=n/a
  Match type='signal',sender='org.freedesktop.systemd1',path='/org/freedesktop/systemd1',interface='org.freedesktop.systemd1.Manager',member='JobRemoved' successfully installed.
  Got message type=signal sender=:1.2 destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=233 reply_cookie=0 signature=uoss error-name=n/a error-messa
  ge=n/a
  Got result done/Success for job test-oomd-util-72cb961924930039.scope
  Bus n/a: changing state RUNNING → CLOSED
  Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
  oomd attempting to kill 893 with KILL
  oomd attempting to kill 894 with KILL
  oomd attempting to kill 895 with KILL
  oomd attempting to kill 896 with KILL
  Last pgscan 18446744073709551615 greater than current pgscan 0 for /system.slice/test-oomd-util-72cb961924930039.scope. Using last pgscan of zero.

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1942113/+subscriptions




More information about the foundations-bugs mailing list