mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-11 02:21:33 +00:00
Revert "Add more logging around riscv64 filtering"
This reverts commit 75d0ee30a16c6ccb23b409e115444b82cb933c5d. This reverts commit 2317404ee1bba836c4cbbe284f8cf27c34c924aa. This reverts commit 9b1167f52d3c9f7fe2868d11fa1b509e75a275c3. This reverts commit f8c4cc3ecc19509c05345bf0f34ce76462aa1186.
This commit is contained in:
parent
b77350f31d
commit
ff73327eec
@ -845,18 +845,12 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
# The goal is to stress test the autopkgtest infrastructure by having
|
# The goal is to stress test the autopkgtest infrastructure by having
|
||||||
# britney throw some tests at it, but we don't want the whole universe to come
|
# britney throw some tests at it, but we don't want the whole universe to come
|
||||||
# there either, hence the filtering on main.
|
# there either, hence the filtering on main.
|
||||||
self.logger.info(f"[riscv64] Checking if we should run a riscv64 test, arch is {arch}")
|
|
||||||
try:
|
try:
|
||||||
# Filter tests to main packages on riscv64
|
# Filter tests to main packages on riscv64
|
||||||
if arch == "riscv64":
|
if arch == "riscv64":
|
||||||
self.logger.info("[riscv64] Arch detected as riscv64")
|
tests = [(src, version) for (src, version) in tests if sources_info[src].component == "main"]
|
||||||
self.logger.info("[riscv64] pre-filtering tests: %s", tests)
|
|
||||||
tests = [(src, version) for (src, version) in tests if ((self.logger.info("[riscv64] sources info: %s - component: %s", sources_info[src], sources_info[src].component) or True) and sources_info[src].component == "main")]
|
|
||||||
self.logger.info("[riscv64] post-filtering tests: %s", tests)
|
|
||||||
except KeyError: # Sometimes™, sources_info[src] raises KeyError
|
except KeyError: # Sometimes™, sources_info[src] raises KeyError
|
||||||
self.logger.info("[riscv64] KeyError while checking component")
|
|
||||||
pass
|
pass
|
||||||
self.logger.info("[riscv64] done checking for riscv64")
|
|
||||||
|
|
||||||
tests.sort(key=lambda s_v: s_v[0])
|
tests.sort(key=lambda s_v: s_v[0])
|
||||||
return tests
|
return tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user