Skip to content

TEST-37-RUNTIMEDIRECTORYPRESERVE gets stuck on focal-s390x, focal-ppc64el #21458

Closed

Description

@bluca

For a couple of weeks now s390x and ppc64el runs of integration tests seem to timeout pretty consistently (but not 100% of the time). Adding some timestamps (#21455), it seems the whole test suite runs in a few minutes, but then gets stuck for ~3 hours:

[01:35:40] --x-- Running TEST-01-BASIC --x--
[01:36:16] --x-- Running TEST-02-UNITTESTS --x--
[01:39:27] --x-- Running TEST-03-JOBS --x--
[01:39:39] --x-- Running TEST-04-JOURNAL --x--
[01:39:55] --x-- Running TEST-05-RLIMITS --x--
[01:39:56] --x-- Running TEST-06-SELINUX --x--
[01:39:56] --x-- Running TEST-07-ISSUE-1981 --x--
[01:39:58] --x-- Running TEST-08-ISSUE-2730 --x--
[01:40:31] --x-- Running TEST-09-ISSUE-2691 --x--
[01:40:32] --x-- Running TEST-10-ISSUE-2467 --x--
[01:40:43] --x-- Running TEST-11-ISSUE-3166 --x--
[01:40:44] --x-- Running TEST-12-ISSUE-3171 --x--
[01:40:47] --x-- Running TEST-13-NSPAWN-SMOKE --x--
[01:40:49] --x-- Running TEST-14-MACHINE-ID --x--
[01:40:51] --x-- Running TEST-15-DROPIN --x--
[01:41:02] --x-- Running TEST-16-EXTEND-TIMEOUT --x--
[01:42:08] --x-- Running TEST-17-UDEV --x--
[01:42:08] --x-- Running TEST-18-FAILUREACTION --x--
[01:42:10] --x-- Running TEST-19-DELEGATE --x--
[01:42:11] --x-- Running TEST-20-MAINPIDGAMES --x--
[01:42:15] --x-- Running TEST-22-TMPFILES --x--
[01:42:19] --x-- Running TEST-23-TYPE-EXEC --x--
[01:42:20] --x-- Running TEST-24-CRYPTSETUP --x--
[01:42:55] --x-- Running TEST-26-SETENV --x--
[01:42:57] --x-- Running TEST-27-STDOUTFILE --x--
[01:42:58] --x-- Running TEST-28-PERCENTJ-WANTEDBY --x--
[01:43:00] --x-- Running TEST-29-PORTABLE --x--
[01:43:06] --x-- Running TEST-30-ONCLOCKCHANGE --x--
[01:43:07] --x-- Running TEST-31-DEVICE-ENUMERATION --x--
[01:43:07] --x-- Running TEST-32-OOMPOLICY --x--
[01:43:08] --x-- Running TEST-33-CLEAN-UNIT --x--
[01:43:10] --x-- Running TEST-34-DYNAMICUSERMIGRATE --x--
[01:43:14] --x-- Running TEST-37-RUNTIMEDIRECTORYPRESERVE --x--
autopkgtest [04:22:20]: ERROR: timed out on command ...

Activity

  1. added this to the v250 milestone on Nov 20, 2021
  2. mrc0mmand commented on Nov 23, 2021

    @mrc0mmand
    Member

    Ugh, that's... interesting. The test takes so long because it "loops". When it gets to the "daemon-reload":

    systemctl daemon-reload
    systemctl start --wait testservice-34.service

    after de-serializing the state the scripts starts from the beginning.

    run-u42.service: Job 2111 run-u42.service/start finished, result=done
    [  OK  ] Started /usr/bin/test -f /run/zzz/test-missing.
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1588 reply_cookie=0 signature=sa{sv}as error-name=n/a err
    or-message=n/a
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1589 reply_cookie=0 signature=sa{sv}as error-name=n/a err
    or-message=n/a
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=JobRemoved cookie=1590 reply_cookie=0 signature=uoss 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=RemoveMatch cookie=1591 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1592 reply_cookie=0 signature=sa{sv}as error-name=n/a err
    or-message=n/a
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1593 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    Got message type=method_call sender=:1.42 destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=GetAll cookie=5 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Found unit run-u42.service at /run/systemd/transient/run-u42.service (regular file)
    Preset files don't specify rule for run-u42.service. Enabling.
    run-u42.service: Kernel keyring access prohibited, ignoring.
    Sent message type=method_return sender=n/a destination=:1.42 path=n/a interface=n/a member=n/a cookie=1594 reply_cookie=5 signature=a{sv} error-name=n/a error-message=n/a
    systemd-journald.service: Got notification message from PID 18 (FDSTORE=1)run-u42.service: Executing: /usr/bin/test -f /run/zzz/test-missing
    
    systemd-journald.service: Added fd 15 (n/a) to fd store.
    Got message type=method_call sender=:1.42 destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/run_2du42_2eservice interface=org.freedesktop.DBus.Properties member=GetAll cookie=6 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Sent message type=method_return sender=n/a destination=:1.42 path=n/a interface=n/a member=n/a cookie=1595 reply_cookie=6 signature=a{sv} error-name=n/a error-message=n/a
    Received SIGCHLD from PID 160 (test).
    Child 160 (test) died (code=exited, status=1/FAILURE)
    run-u42.service: Child 160 belongs to run-u42.service.
    run-u42.service: Main process exited, code=exited, status=1/FAILURE
    run-u42.service: Failed with result 'exit-code'.
    run-u42.service: Service will not restart (restart setting)
    run-u42.service: Changed running -> failed
    ...
    Accepted new private connection.
    Bus private-bus-connection: changing state AUTHENTICATING → RUNNING
    Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=Reload cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
    Reloading.
    Setting log level to debug.
    Setting log target to console.
    ...
    Received serialized fd 25 → socket:[250557]
    Received serialized fd 26 → socket:[250558]
    Received serialized fd 28 → socket:[251076]
    Received serialized fd 38 → socket:[250994]
    Received serialized fd 33 → socket:[250569]
    Received serialized fd 30 → socket:[251278]
    Received serialized fd 52 → socket:[254101]
    Received serialized fd 51 → socket:[251239]
    Received serialized fd 36 → socket:[250567]
    Received serialized fd 24 → socket:[250556]
    Received serialized fd 37 → /run/initctl
    Received serialized fd 34 → socket:[250571]
    Received serialized fd 27 → socket:[250565]
    Received serialized fd 29 → socket:[251210]
    Deserializing state...
    Setting log level to debug.
    Setting log target to console.
    ...
    run-u44.service: About to execute /usr/bin/touch /var/cache/zzz/test
    run-u44.service: Forked /usr/bin/touch as 182
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du44_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1984 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/run_2du44_2eservice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=1985 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    run-u44.service: Changed dead -> running
    run-u44.service: Job 2209 run-u44.service/start finished, result=done
    [  OK  ] Started /usr/bin/touch /var/cache/zzz/test.
    ...
    
  3. bluca commented on Nov 23, 2021

    @bluca
    MemberAuthor

    It's running the same check for the various directory types - is the daemon-reload the issue? I can make it change the unit name, that should not require a daemon-reload anymore then

  4. bluca commented on Nov 23, 2021

    @bluca
    MemberAuthor

    but there must be some race somewhere, it couldn't possibly take 3 hours...

  5. mrc0mmand commented on Nov 23, 2021

    @mrc0mmand
    Member

    It's running the same check for the various directory types - is the daemon-reload the issue? I can make it change the unit name, that should not require a daemon-reload anymore then

    Ahh, nevermind, I completely missed it's in a function, sigh. I'll continue looking...

  6. bluca commented on Nov 23, 2021

    @bluca
    MemberAuthor

    Let's see if removing daemon-reload does anything: #21478

  7. mrc0mmand commented on Nov 24, 2021

    @mrc0mmand
    Member

    Hmm, I checked multiple timed out job's logs and the issue seems to be in TEST-37 rather than TEST-34:

    [12:19:34] --x-- Running TEST-01-BASIC --x--
    [12:20:09] --x-- Result of TEST-01-BASIC: 0 --x--
    ...
    [12:57:56] --x-- Result of TEST-31-DEVICE-ENUMERATION: 0 --x--
    [12:57:56] --x-- Running TEST-32-OOMPOLICY --x--
    [12:59:47] --x-- Result of TEST-32-OOMPOLICY: 0 --x--
    [12:59:47] --x-- Running TEST-33-CLEAN-UNIT --x--
    [12:59:49] --x-- Result of TEST-33-CLEAN-UNIT: 0 --x--
    [12:59:49] --x-- Running TEST-34-DYNAMICUSERMIGRATE --x--
    [12:59:59] --x-- Result of TEST-34-DYNAMICUSERMIGRATE: 2 --x--
    [12:59:59] --x-- Running TEST-36-NUMAPOLICY --x--
    [13:13:09] --x-- Result of TEST-36-NUMAPOLICY: 0 --x--
    [13:13:09] --x-- Running TEST-37-RUNTIMEDIRECTORYPRESERVE --x--
    

    the CI just gets stuck there (on both s390x and ppc64le).

  8. changed the title [-]TEST-34-DYNAMICUSERMIGRATE gets stuck on focal-s390x, focal-ppc64el[/-] [+]TEST-37-RUNTIMEDIRECTORYPRESERVE gets stuck on focal-s390x, focal-ppc64el[/+] on Nov 24, 2021
  9. bluca commented on Nov 24, 2021

    @bluca
    MemberAuthor

    Uh of course, and it's also obvious from the output i attached here... d'oh!

  10. mrc0mmand commented on Nov 24, 2021

    @mrc0mmand
    Member

    Interesting (and not very useful, so far):

    System is tainted: cgroupsv1
             Starting /etc/rc.local Compatibility...
             Starting User Login Management...
             Starting Permit User Sessions...
             Starting TEST-37-RUNTIMEDIRECTORYPRESERVE...
    [  572.550911] rc.local[26]: /etc/rc.local: 2: iptables: not found
    [  OK  ] Started /etc/rc.local Compatibility.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Console Getty.
    [  OK  ] Reached target Login Prompts.
    [  572.574139] testsuite-37.sh[30]: + set -o pipefail
    [  572.574261] testsuite-37.sh[30]: + systemd-mount -p RuntimeDirectory=hoge -p RuntimeDirectoryPreserve=yes -t tmpfs tmpfs /tmp/aaa
             Mounting /tmp/aaa...
    [  OK  ] Mounted /tmp/aaa.
    [  572.592839] testsuite-37.sh[32]: Started unit tmp-aaa.mount for mount point: /tmp/aaa
    [  572.593125] testsuite-37.sh[30]: + touch /run/hoge/foo
    [  572.598720] testsuite-37.sh[30]: + touch /tmp/aaa/bbb
    [  572.608309] testsuite-37.sh[30]: + systemctl restart tmp-aaa.mount
             Unmounting /tmp/aaa...
    tmp-aaa.mount: Deactivated successfully.
    [  OK  ] Unmounted /tmp/aaa.
    [  OK  ] Started D-Bus System Message Bus.
    [  572.661057] systemd-logind[27]: New seat seat0.
    [  OK  ] Started User Login Management.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    systemd-update-utmp-runlevel.service: Deactivated successfully.
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
    H login: Trying to halt container. Send SIGTERM again to trigger immediate termination.
    [ 1172.315403] testsuite-37.sh[36]: Warning! D-Bus connection terminated.
    [ 1172.316873] testsuite-37.sh[36]: Failed to wait for response: Connection reset by peer
    Container root terminated by signal KILL.
    E: Test timed out after 600s
    
    $ journalctl --file artifacts/TEST-37-RUNTIMEDIRECTORYPRESERVE.journal -o short-monotonic
    -- Journal begins at Wed 2021-11-24 12:58:02 CET, ends at Wed 2021-11-24 13:08:02 CET. --
    [  572.512762] H systemd-journald[17]: Journal started
    [  572.512806] H systemd-journald[17]: Runtime Journal (/run/log/journal/432a59df398744368b68ecb52a8fc365) is 3.7M, max 29.8M, 26.1M free.
    [  572.521076] H systemd-journald[17]: Time spent on flushing to /var/log/journal/432a59df398744368b68ecb52a8fc365 is 724us for 2 entries.
    [  572.521076] H systemd-journald[17]: System Journal (/var/log/journal/432a59df398744368b68ecb52a8fc365) is 5.2M, max 41.9M, 36.7M free.
    [  572.535022] H systemd-tmpfiles[24]: Cannot set file attributes for '/var/log/journal', maybe due to incompatibility in specified attributes, previous=0x00080000, current=0x00080000, expected=0x00880000, ignoring.
    [  572.535418] H systemd-tmpfiles[24]: Cannot set file attributes for '/var/log/journal/432a59df398744368b68ecb52a8fc365', maybe due to incompatibility in specified attributes, previous=0x00080000, current=0x00080000, expected=0x00880000,>
    [  572.550615] H rc.local[26]: /etc/rc.local: 2: iptables: not found
    [  572.573983] H testsuite-37.sh[30]: + set -o pipefail
    [  572.573983] H testsuite-37.sh[30]: + systemd-mount -p RuntimeDirectory=hoge -p RuntimeDirectoryPreserve=yes -t tmpfs tmpfs /tmp/aaa
    [  572.592697] H testsuite-37.sh[32]: Started unit tmp-aaa.mount for mount point: /tmp/aaa
    [  572.593120] H testsuite-37.sh[30]: + touch /run/hoge/foo
    [  572.598709] H testsuite-37.sh[30]: + touch /tmp/aaa/bbb
    [  572.608297] H testsuite-37.sh[30]: + systemctl restart tmp-aaa.mount
    [  572.660880] H systemd-logind[27]: New seat seat0.
    [  572.672558] H dbus-daemon[38]: [system] Successfully activated service 'org.freedesktop.systemd1'
    [ 1172.315230] H testsuite-37.sh[36]: Warning! D-Bus connection terminated.
    [ 1172.315230] H testsuite-37.sh[36]: Failed to wait for response: Connection reset by peer
    

    Let's try again with KERNEL_APPEND=debug...

  11. mrc0mmand commented on Nov 24, 2021

    @mrc0mmand
    Member

    Nevertheless, the CI at least finishes with QEMU_TIMEOUT= and NSPAWN_TIMEOUT= set:

    TEST-01-BASIC:                      SUCCESS  ( 38 s)
    ...
    TEST-30-ONCLOCKCHANGE:              SUCCESS  (  1 s)
    TEST-31-DEVICE-ENUMERATION:         SUCCESS  (  0 s)
    TEST-32-OOMPOLICY:                  SUCCESS  (  1 s)
    TEST-33-CLEAN-UNIT:                 SUCCESS  (  2 s)
    TEST-34-DYNAMICUSERMIGRATE:         FAIL     (  5 s)
    TEST-37-RUNTIMEDIRECTORYPRESERVE:   FAIL     (601 s)
    ...
    TEST-56-EXIT-TYPE:                  SUCCESS  (  2 s)
    TEST-59-RELOADING-RESTART:          SUCCESS  ( 10 s)
    TEST-60-MOUNT-RATELIMIT:            SUCCESS  (127 s)
    TEST-62-RESTRICT-IFACES:            SUCCESS  (  1 s)
    TEST-63-ISSUE-17433:                SUCCESS  (  3 s)
    TEST-64-UDEV-STORAGE:               SUCCESS  (  0 s)
    TEST-65-ANALYZE:                    SUCCESS  (  2 s)
    TEST-66-DEVICE-ISOLATION:           SUCCESS  (  0 s)
    TEST-67-INTEGRITY:                  SUCCESS  (  3 s)
    
    TOTAL FAILURES: 2 OF 64
    

    So it would be good to set some reasonable values for these timeouts in Ubuntu CI (as they default to infinity) to not waste resources in such cases.

  12. mrc0mmand commented on Nov 24, 2021

    @mrc0mmand
    Member

    Ugh, I'm still not sure what's going wrong, but it's getting stuck on systemctl restart tmp-aaa.mount:

             Unmounting /tmp/aaa...
    Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/tmp_2daaa_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/unit/tmp_2daaa_2emount interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=8 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    Sent message type=signal sender=org.freedesktop.systemd1 destination=n/a path=/org/freedesktop/systemd1/job/82 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=9 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
    Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=GetUnit cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
    Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=10 reply_cookie=2 signature=o error-name=n/a error-message=n/a
    Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1/unit/tmp_2daaa_2emount interface=org.freedesktop.DBus.Properties member=Get cookie=3 reply_cookie=0 signature=ss error-name=n/a error-message=n/a
    Sent message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=11 reply_cookie=3 signature=v error-name=n/a error-message=n/a
    Remounted /run/systemd/unit-root/run/systemd/incoming.
    Remounted /run/systemd/unit-root/run/user.
    systemd-journald.service: Got notification message from PID 17 (FDSTORE=1)
    systemd-journald.service: Added fd 37 (n/a) to fd store.
    tmp-aaa.mount: Kernel keyring access prohibited, ignoring.
    tmp-aaa.mount: Executing: /bin/umount /tmp/aaa -c
    Event source 0x2aa2616ecc0 (mount-monitor-dispatch) entered rate limit state.
    Remounted /run/systemd/unit-root/sys/fs/cgroup/freezer.
    systemd-journald.service: Received EPOLLHUP on stored fd 37 (stored), closing.
    Received SIGCHLD from PID 37 (umount).
    Child 37 (umount) died (code=exited, status=0/SUCCESS)
    tmp-aaa.mount: Child 37 belongs to tmp-aaa.mount.
    tmp-aaa.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
    tmp-aaa.mount: Deactivated successfully.
    tmp-aaa.mount: Changed unmounting -> dead
    tmp-aaa.mount: Job 82 tmp-aaa.mount/restart finished, result=done
    [  OK  ] Unmounted /tmp/aaa.
    tmp-aaa.mount: Converting job tmp-aaa.mount/restart -> tmp-aaa.mount/start
    ...
    Remounted /run/systemd/unit-root/usr/lib/modules.
    mount_setattr() failed, falling back to classic remounting: Function not implemented
    Remounted /run/systemd/unit-root/run/credentials.
    Remounted /run/systemd/unit-root/run/systemd/incoming.
    ...
    Event source 0x2aa2616ecc0 (mount-monitor-dispatch) left rate limit state.
    KDSETMODE ioctl for switching to text mode failed on TTY, ignoring: Inappropriate ioctl for device
    Not writing wtmp: No such file or directory
    console-getty.service: Kernel keyring access prohibited, ignoring.
    console-getty.service: Executing: /sbin/agetty -o "-p -- \\u" --noclear --keep-baud - 115200,38400,9600 unknown
    
    H login: systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    systemd-logind.service: Got notification message from PID 27 (WATCHDOG=1)
    systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    systemd-logind.service: Got notification message from PID 27 (WATCHDOG=1)
    systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    systemd-logind.service: Got notification message from PID 27 (WATCHDOG=1)
    systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    systemd-logind.service: Got notification message from PID 27 (WATCHDOG=1)
    systemd-journald.service: Got notification message from PID 17 (WATCHDOG=1)
    Trying to halt container. Send SIGTERM again to trigger immediate termination.
    Container root terminated by signal KILL.
    E: Test timed out after 600s
    

    Here's the full TEST-37 log (for convenience), along with the respective journal, maybe someone else can figure out what's going on:

  13. poettering commented on Nov 24, 2021

    @poettering
    Member

    hmm the journal ends in this:

    Nov 24 15:08:39 H testsuite-37.sh[36]: Warning! D-Bus connection terminated.
    Nov 24 15:08:39 H testsuite-37.sh[36]: Failed to wait for response: Connection reset by peer
    

    THis is interesting. It suggests that D-Bus kicks systemctl off the bus. Which it typically does when there are protocol issues, in particular when we send rubbish to it, or something dbus-daemon thinks is rubbish...

    might be good to get dbus-daemon debug logs somehow

    i figure the fedora test cases all use dbus-broker so we haven't seen this so far there

  14. 15 remaining items

  15. bluca commented on Nov 24, 2021

    @bluca
    MemberAuthor

    Excellent job, thank you!

  16. poettering commented on Nov 25, 2021

    @poettering
    Member
  17. mrc0mmand commented on Nov 25, 2021

    @mrc0mmand
    Member

    Relevant lines from the console log - #21458 (comment) (regarding the rate limiting):

    tmp-aaa.mount: Executing: /bin/umount /tmp/aaa -c
    Remounted /run/systemd/unit-root/run/systemd/incoming.
    ...
    Event source 0x2aa1f5d4a50 (mount-monitor-dispatch) entered rate limit state.
    ...
    Remounted /run/systemd/unit-root/run/user.
    dbus.service: Kernel keyring access prohibited, ignoring.
    systemd-journald.service: Added fd 38 (n/a) to fd store.
    systemd-journald.service: Got notification message from PID 17 (FDSTORE=1)
    dbus.service: Executing: /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
    systemd-journald.service: Added fd 39 (n/a) to fd store.
    Received SIGCHLD from PID 38 (umount).
    Child 38 (umount) died (code=exited, status=0/SUCCESS)
    tmp-aaa.mount: Child 38 belongs to tmp-aaa.mount.
    tmp-aaa.mount: Mount process exited, code=exited, status=0/SUCCESS (success)
    tmp-aaa.mount: Deactivated successfully.
    tmp-aaa.mount: Changed unmounting -> dead
    tmp-aaa.mount: Job 82 tmp-aaa.mount/restart finished, result=done
    [  OK  ] Unmounted tmp-aaa.mount.
    [  OK  ] Unmounted tmp-aaa.mount.
    tmp-aaa.mount: Converting job tmp-aaa.mount/restart -> tmp-aaa.mount/start
    
    ...
    [  OK  ] Finished systemd-update-utmp-runlevel.service.
    ...
    systemd-journald.service: Got notification message from PID 17 (FDSTORE=1)
    systemd-journald.service: Added fd 38 (n/a) to fd store.
    systemd-journald.service: Received EPOLLHUP on stored fd 38 (stored), closing.
    Event source 0x2aa1f5d4a50 (mount-monitor-dispatch) left rate limit state.
    KDSETMODE ioctl for switching to text mode failed on TTY, ignoring: Inappropriate ioctl for device
    Not writing wtmp: No such file or directory
    ...
    Trying to halt container. Send SIGTERM again to trigger immediate termination.
    Container root terminated by signal KILL.
    E: Test timed out after 600s
    

    So, yeah, it looks like we just drop the start job for the mount unit, because we're rate limited, but then we don't re-enqueue it back once the rate limit is lifted.

  18. added
    bug 🐛
    on Nov 25, 2021
  19. bluca commented on Nov 25, 2021

    @bluca
    MemberAuthor

    Great find - I'd say let's wait a few days until next week for a follow-up, and if not revert and re-introduce after the release of v250, so that we don't introduce regressions

  20. linked a pull request that will close this issuedebug-only: TEST-37 debug #21477on Nov 25, 2021
  21. added
    regression ⚠️
    on Nov 25, 2021
  22. msekletar commented on Nov 25, 2021

    @msekletar
    Contributor

    So, yeah, it looks like we just drop the start job for the mount unit, because we're rate limited, but then we don't re-enqueue it back once the rate limit is lifted.

    Actually, commit edc027b should do exactly that. Previously we skipped mount start job because we were ratelimited but once ratelimit is over we should dispatch jobs in run queue in the next event loop iteration.

  23. added 4 commits that reference this issue on Nov 25, 2021
    14df643
    bd6eb7b
    64ec2c3
    5ca1ebb
  24. added a commit that references this issue on Nov 26, 2021
    179f342
  25. added a commit that references this issue on Nov 29, 2021
    c29e6a9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛regression ⚠️tests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions