]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/rpm.py: Increase timeout and add debug output
authorPavel Zhukov <pavel@zhukoff.net>
Sun, 25 Dec 2022 12:46:58 +0000 (13:46 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 9 Jan 2023 16:30:45 +0000 (06:30 -1000)
commite4d2351a2b5aa0c4d900abc5d75ab5da9b5e1f8a
tree74b577e2359726f2068386746fa5a25fcf78c71f
parent75b7e86c9d9931c9e4e114af026b51710f1920a2
oeqa/rpm.py: Increase timeout and add debug output

[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.

[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/rpm.py