Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST-15-DROPIN is flaky in Github Actions #32731

Closed
DaanDeMeyer opened this issue May 9, 2024 · 0 comments · Fixed by #32882
Closed

TEST-15-DROPIN is flaky in Github Actions #32731

DaanDeMeyer opened this issue May 9, 2024 · 0 comments · Fixed by #32882
Labels
bug 🐛 Programming errors, that need preferential fixing

Comments

@DaanDeMeyer
Copy link
Contributor

systemd version the issue has been seen with

main

Used distribution

No response

Linux kernel version used

No response

CPU architectures issue was seen on

None

Component

No response

Expected behaviour you didn't see

No response

Unexpected behaviour you saw

https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318

gh run download 9005391896 --name ci-mkosi-9005391896-1-centos-9-failed-test-journals -D ci/ci-mkosi-9005391896-1-centos-9-failed-test-journals && journalctl --file ci/ci-mkosi-9005391896-1-centos-9-failed-test-journals/test/journal/TEST-15-DROPIN.journal --no-hostname -o short-monotonic -u testsuite-15.service -p info

Steps to reproduce the problem

No response

Additional program output to the terminal or log subsystem illustrating the issue

9/57 systemd:integration-tests / TEST-15-DROPIN                FAIL             48.27s   exit status 1
>>> SYSTEMD_INTEGRATION_TESTS=1 MALLOC_PERTURB_=[15](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:16)8 /home/runner/work/systemd/systemd/test/integration-test-wrapper.py --meson-source-dir /home/runner/work/systemd/systemd --meson-build-dir /mnt/mkosi/build --test-name TEST-15-DROPIN --test-number 15 --storage volatile --firmware linux --
――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[   36.337751] testsuite-15.sh[1749]: + x=sleepy
[   36.342715] testsuite-15.sh[1749]: + case "$x" in
[   36.345101] testsuite-15.sh[1749]: + return 0
[   36.346539] testsuite-15.sh[1749]: + '[' a-b-c.service.d '!=' a-b-c.service.d ']'
[   36.348583] testsuite-15.sh[1749]: + systemctl daemon-reload
[   36.969749] testsuite-15.sh[1749]: + check_ok a-b-c2.service Description sleepy
[   36.978694] testsuite-15.sh[2156]: ++ systemctl show --value -p Description a-b-c2.service
[   37.067202] testsuite-15.sh[1749]: + x=sleepy
[   37.075075] testsuite-15.sh[1749]: + case "$x" in
[   37.084985] testsuite-15.sh[1749]: + return 0
[   37.086352] testsuite-15.sh[1749]: + '[' a-b-c.service.d '!=' a-b-c.service.d ']'
[   37.088086] testsuite-15.sh[1749]: + systemctl stop a-b-c2.service
[   37.139269] testsuite-15.sh[1749]: + for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d
[   37.144495] testsuite-15.sh[1749]: + rm -rf /run/systemd/system/service.d
[   37.150114] testsuite-15.sh[1749]: + for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d
[   37.153366] testsuite-15.sh[1749]: + rm -rf /run/systemd/system/a-.service.d
[   37.190002] testsuite-15.sh[1749]: + for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d
[   37.2032[16](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:17)] testsuite-15.sh[1749]: + rm -rf /run/systemd/system/a-b-.service.d
[   37.208959] testsuite-15.sh[[17](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:18)49]: + for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d
[   37.212161] testsuite-15.sh[1749]: + rm -rf /run/systemd/system/a-b-c.service.d
[   37.214483] testsuite-15.sh[1749]: + clear_units a-b-c.service
[   37.216467] testsuite-15.sh[1749]: + for u in "$@"
[   37.2[18](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:19)214] testsuite-15.sh[1749]: + clear_unit a-b-c.service
[   37.220137] testsuite-15.sh[1749]: + local unit_name=a-b-c.service
[   37.222166] testsuite-15.sh[1749]: + local base suffix
[   37.224910] testsuite-15.sh[1749]: + systemctl stop a-b-c.service
[   37.255818] testsuite-15.sh[1749]: + rm -f /etc/systemd/system/a-b-c.service /run/systemd/system/a-b-c.service /usr/lib/systemd/system/a-b-c.service
[   37.268450] testsuite-15.sh[1749]: + rm -fr /etc/systemd/system/a-b-c.service.d /run/systemd/system/a-b-c.service.d /usr/lib/systemd/system/a-b-c.service.d
[   37.276927] testsuite-15.sh[1749]: + rm -fr /etc/systemd/system/a-b-c.service.wants /etc/systemd/system/a-b-c.service.requires /run/systemd/system/a-b-c.service.wants /run/systemd/system/a-b-c.service.requires /usr/lib/systemd/system/a-b-c.service.wants /usr/lib/systemd/system/a-b-c.service.requires
[   37.289766] testsuite-15.sh[1749]: + [[ a-b-c.service == *@* ]]
[   37.292917] testsuite-15.sh[1749]: + systemctl daemon-reload
[   37.996539] testsuite-15.sh[527]: + : '+++ testcase_hierarchical_service_dropins END +++'
[   37.998907] testsuite-15.sh[527]: + for testcase in "${testcases[@]}"
[   38.003949] testsuite-15.sh[527]: + [[ -n '' ]]
[   38.005488] testsuite-15.sh[527]: + : '+++ testcase_hierarchical_slice_dropins BEGIN +++'
[   38.014094] testsuite-15.sh[2207]: + testcase_hierarchical_slice_dropins
[   38.026736] testsuite-15.sh[2207]: + echo 'Testing hierarchical slice dropins...'
[   38.040672] testsuite-15.sh[2207]: Testing hierarchical slice dropins...
[   38.049277] testsuite-15.sh[2207]: + echo '*** test slice.d/ top level drop-in'
[   38.062709] testsuite-15.sh[2207]: *** test slice.d/ top level drop-in
[   38.065011] testsuite-15.sh[2207]: + check_ok a-b-c.slice Description 'Slice /a/b/c'
[   38.070064] testsuite-15.sh[2208]: ++ systemctl show --value -p Description a-b-c.slice
[   38.157886] testsuite-15.sh[2207]: + x='Slice /a/b/c'
[   38.176058] testsuite-15.sh[2207]: + case "$x" in
[   38.179979] testsuite-15.sh[2207]: + return 0
[   38.184872] testsuite-15.sh[2207]: + check_ok a-b-c.slice MemoryMax infinity
[   38.189344] testsuite-15.sh[2209]: ++ systemctl show --value -p MemoryMax a-b-c.slice
[   38.220215] testsuite-15.sh[2207]: + x=infinity
[   38.224313] testsuite-15.sh[2207]: + case "$x" in
[   38.226345] testsuite-15.sh[2207]: + return 0
[   38.230270] testsuite-15.sh[2207]: + for dropin in slice.d a-.slice.d a-b-.slice.d a-b-c.slice.d
[   38.233154] testsuite-15.sh[2207]: + mkdir -p /run/systemd/system/slice.d
[   38.242689] testsuite-15.sh[2207]: + cat
[   38.244602] testsuite-15.sh[2207]: + systemctl daemon-reload
[   38.885436] testsuite-15.sh[2207]: + check_ok a-b-c.slice MemoryMax 1000000000
[   38.892954] testsuite-15.sh[2251]: ++ systemctl show --value -p MemoryMax a-b-c.slice
[   38.993435] testsuite-15.sh[2207]: + x=1000000000
[   38.995214] testsuite-15.sh[2207]: + case "$x" in
[   38.996807] testsuite-15.sh[2207]: + return 0
[   38.998286] testsuite-15.sh[2207]: + busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager StartTransientUnit 'ssa(sv)a(sa(sv))' a-b-c.slice replace 2 Description s 'slice too' MemoryMax t 1000000002 0
[   39.016516] testsuite-15.sh[2252]: o "/org/freedesktop/systemd1/job/1669"
[   39.025159] testsuite-15.sh[2207]: + check_ok a-b-c.slice MemoryMax 1000000000
[   39.032161] testsuite-15.sh[2253]: ++ systemctl show --value -p MemoryMax a-b-c.slice
[   39.089918] testsuite-15.sh[2207]: + x=1000000000
[   39.091427] testsuite-15.sh[2207]: + case "$x" in
[   39.120328] testsuite-15.sh[2207]: + return 0
[   39.131874] testsuite-15.sh[2207]: + check_ok a-b-c.slice Description 'slice too'
[   39.152668] testsuite-15.sh[2254]: ++ systemctl show --value -p Description a-b-c.slice
[   39.174605] testsuite-15.sh[2207]: + x='slice too'
[   39.[19](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:20)0714] testsuite-15.sh[2207]: + case "$x" in
[   39.192560] testsuite-15.sh[2[20](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:21)7]: + return 0
[   39.194135] testsuite-15.sh[2207]: + systemctl daemon-reload
[   39.953455] testsuite-15.sh[2207]: + check_ok a-b-c.slice MemoryMax 1000000000
[   39.956507] testsuite-15.sh[2293]: ++ systemctl show --value -p MemoryMax a-b-c.slice
[   40.027918] testsuite-15.sh[2207]: + x=1000000000
[   40.030503] testsuite-15.sh[2207]: + case "$x" in
[   40.037751] testsuite-15.sh[2207]: + return 0
[   40.044552] testsuite-15.sh[2207]: + check_ok a-b-c.slice Description 'slice too'
[   40.056085] testsuite-15.sh[2295]: ++ systemctl show --value -p Description a-b-c.slice
[   40.080200] testsuite-15.sh[2207]: + x='slice too'
[   40.082653] testsuite-15.sh[2207]: + case "$x" in
[   40.084325] testsuite-15.sh[2207]: + return 0
[   40.094549] testsuite-15.sh[2207]: + busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager StopUnit ss a-b-c.slice replace
[   40.12[21](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:22)55] testsuite-15.sh[2296]: o "/org/freedesktop/systemd1/job/1676"
[   40.130860] testsuite-15.sh[[22](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:23)07]: + rm -f /run/systemd/system/slice.d/override.conf
[   40.144352] testsuite-15.sh[2207]: + for dropin in slice.d a-.slice.d a-b-.slice.d a-b-c.slice.d
[   40.154600] testsuite-15.sh[2207]: + mkdir -p /run/systemd/system/a-.slice.d
[   40.164187] testsuite-15.sh[2207]: + cat
[   40.165991] testsuite-15.sh[2207]: + systemctl daemon-reload
[   41.079822] testsuite-15.sh[2207]: + check_ok a-b-c.slice MemoryMax 1000000000
[   41.087[23](https://github.com/systemd/systemd/actions/runs/9005391896/job/24740589318#step:12:24)4] testsuite-15.sh[2340]: ++ systemctl show --value -p MemoryMax a-b-c.slice
[   41.186028] testsuite-15.sh[2207]: + x=infinity
[   41.187761] testsuite-15.sh[2207]: + case "$x" in
[   41.189452] testsuite-15.sh[2207]: + return 1
@DaanDeMeyer DaanDeMeyer added the bug 🐛 Programming errors, that need preferential fixing label May 9, 2024
yuwata added a commit to yuwata/systemd that referenced this issue May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing
Development

Successfully merging a pull request may close this issue.

1 participant