diff options
author | Ross Burton <ross.burton@arm.com> | 2023-11-21 13:19:24 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-11-24 05:01:37 -1000 |
commit | 9c1fb1c9ef1f49330ce90ae09ece4548e54ccf2b (patch) | |
tree | 60fd631e3f8d853c38a15876c2348319f9bdf5d2 /documentation/set_versions.py | |
parent | 6a35bdf5715de0018f2cec14efade52fdbc8eecb (diff) | |
download | poky-9c1fb1c9ef1f49330ce90ae09ece4548e54ccf2b.tar.gz |
oeqa/selftest/debuginfod: improve selftest
This test was occasionally failing for no obvious reason, so refactor
and improve:
- While waiting for the daemon, check that it is still running and
explicitly timeout after 10s when making the HTTP call.
- While waiting for the daemon to be ready, log the current state of the
daemon so we can tell if we're timing out as it is still scanning.
- This was in fact the cause of the intermittant failures, because the
TMPDIR is reused between tests and may contain a large number of
packages. Do the tests in an isolated TMPDIR to hopefully mitigate this
issue and increase the timeout to two minutes.
- Decorate the test using runqemu as such so that can be skipped in
environments without runqemu
- Add a second test that doesn't use runqemu or images, which is faster
but less realistic.
(From OE-Core rev: 99590fac1bfb5474f5bf0e02d3888b518af9fb3e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88b660aaae2527736b6eccec4c952eee969e20a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/set_versions.py')
0 files changed, 0 insertions, 0 deletions