| Summary: | Не проходит тест test-execute | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Alexander Makeenkov <amakeenk> | ||||
| Component: | systemd-tests | Assignee: | Alexey Shabalin <shaba> | ||||
| Status: | NEW --- | QA Contact: | qa-sisyphus | ||||
| Severity: | normal | ||||||
| Priority: | P5 | CC: | arseny, gorjachevas, obidinog, shaba, varaksaaa | ||||
| Version: | unstable | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
Воспроизводится на версии systemd-254.7-alt1.x86_64 а если при загрузке ядру передать psi=1? Версия пакета: systemd-tests-255.18-alt1.x86_64
На данный момент тест падает так:
UID 3 is no longer referenced, cleaning up its IPC.
GID 4 is no longer referenced, cleaning up its IPC.
PID: 8312
Start Timestamp: Tue 2025-04-01 17:45:06 MSK
Exit Timestamp: Tue 2025-04-01 17:45:06 MSK
Exit Code: exited
Exit Status: 1
src/test/test-execute.c:976:test_exec_dynamicuser: exec-dynamicuser-fixeduser-adm.service: can_unshare=yes: exit status 1, expected 0
(test-execute-root) terminated by signal ABRT.
Assertion 'r >= 0' failed at src/test/test-execute.c:1403, function prepare_ns(). Aborting.
Система загружена с psi=1.
Актуально для systemd-tests-255.21-alt1.x86_64. Актуально для systemd-257.7-alt1.x86_64: src/test/test-execute.c:1015:test_exec_dynamicuser: exec-dynamicuser-fixeduser-adm.service: can_unshare=yes: exit status 1, expected 0 (test-execute-root) terminated by signal ABRT. src/test/test-execute.c:1447: Assertion failed: expected "r" to succeed, but got error: Ошибка протокола Актуально для systemd-257.9-alt1.x86_64 Попробуйте еще поставить пакет sysctl-conf-userns. Актуально для systemd-258.3-alt1.x86_64, установка пакета sysctl-conf-userns-0.2-alt1.noarch не помогла src/test/test-execute.c:1034:test_exec_dynamicuser: exec-dynamicuser-fixeduser-adm.service: can_unshare=yes: exit status 1, expected 0 (test-execute-root) terminated by signal ABRT. src/test/test-execute.c:1470: Assertion failed: Expected "r" to succeed, but got error: -71/EPROTO Аварийный останов (образ памяти сброшен на диск) |
Created attachment 9928 [details] test-execute-log Шаги воспроизведения: # apt-get install systemd-tests # /usr/lib/systemd/tests/run-unit-tests.py либо запустить только этот тест: # /usr/lib/systemd/tests/test-execute Тест падает с ошибкой: exec-capabilityboundingset-simple.service: About to execute /bin/sh -x -c 'c=$$(capsh --print | grep "Bounding set "); test "$$c" = "Bounding set =cap_fowner,cap_kill"' exec-capabilityboundingset-simple.service: Forked /bin/sh as 8431 exec-capabilityboundingset-simple.service: Changed dead -> start Received SIGCHLD from PID 8431 (sh). Child 8431 (sh) died (code=exited, status=1/FAILURE) exec-capabilityboundingset-simple.service: Failed to read oom_kill field of memory.events cgroup attribute: No such file or directory exec-capabilityboundingset-simple.service: Child 8431 belongs to exec-capabilityboundingset-simple.service. exec-capabilityboundingset-simple.service: Main process exited, code=exited, status=1/FAILURE exec-capabilityboundingset-simple.service: Failed with result 'exit-code'. exec-capabilityboundingset-simple.service: Service will not restart (restart setting) exec-capabilityboundingset-simple.service: Changed start -> failed exec-capabilityboundingset-simple.service: Unit entered failed state. src/test/test-execute.c:718:test_exec_capabilityboundingset: exec-capabilityboundingset-simple.service: exit status 1, expected 0 Полный лог теста во вложении. Отмечу, что в Fedora 35 с systemd-249.6-2.fc35 данный тест проходит успешно.