]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Dec 2022 18:40:36 +0000 (18:40 +0000)
commit972fcc0ed1e0d36c3470071a9c667c5327c1ef78
tree8c8c4ea8759747d4794c9d21d0974adc4f64e50a
parentd82e521995832580e990c0c173651aafd43d299c
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>
meta/lib/oeqa/runtime/cases/rpm.py