← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] autopkgtest-cloud:no-raspi-kernel into autopkgtest-cloud:master

 

Brian Murray has proposed merging autopkgtest-cloud:no-raspi-kernel into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/463642

An MP, https://code.launchpad.net/~juergh/britney/+git/britney2-ubuntu/+merge/460817, was made to britney to prevent tests from being with linux-meta-raspi as a trigger. However, that doesn't prevent users (see https://autopkgtest.ubuntu.com/packages/acpi-call/focal/arm64 for examples) from requesting these tests and we should also do that if the tests will always fail.
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:no-raspi-kernel into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
index e7f1613..5848e64 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -178,6 +178,13 @@ class Submit:
                     "Malformed trigger: %s\nversion: %s" % (trigsrc, trigver)
                 )
 
+            # The raspi kernel can't be tested with autopkgtest. It doesn't
+            # support EFI and won't boot in OpenStack.
+            if trigsrc.startswith("linux-meta-raspi"):
+                raise BadRequest(
+                    "The raspi kernel can't be tested with autopkgtest."
+                )
+
             # Special snowflake
             if trigger in ("qemu-efi-noacpi/0", "migration-reference/0"):
                 continue

Follow ups