mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
setftest/cdn tests: check for exceptions also in fetcher diagnostics
Otherwise the output was cluttered with irrelevant lines that were describing missing, but excepted cache objects. (From OE-Core rev: 146e6e88b6c9400eb2c7442a319a6240b00ecaa2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab37ae5bdd
commit
1bd73eddb5
@@ -923,7 +923,7 @@ class SStateMirrors(SStateBase):
|
||||
else:
|
||||
missing_objects -= 1
|
||||
|
||||
if "urlopen failed for" in l:
|
||||
if "urlopen failed for" in l and not is_exception(l, exceptions):
|
||||
failed_urls_extrainfo.append(l)
|
||||
|
||||
self.assertEqual(len(failed_urls), missing_objects, "Amount of reported missing objects does not match failed URLs: {}\nFailed URLs:\n{}\nFetcher diagnostics:\n{}".format(missing_objects, "\n".join(failed_urls), "\n".join(failed_urls_extrainfo)))
|
||||
|
||||
Reference in New Issue
Block a user