]> 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>
Wed, 11 Jan 2023 16:07:36 +0000 (06:07 -1000)
commited2c94ae744331a1e977dd4e02005390a84cd5be
tree398bb18546b84ebd5c5357f80d94ccf3dca6caca
parent539bc9d15e32c9574a0c038a6d1d666b5fb40d90
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