Nathan Teodosio has proposed merging 
~nteodosio/autopkgtest-cloud/+git/autopkgtest-cloud-1:riscv64-error-apkgtst 
into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)
Related bugs:
  Bug #2083484 in Auto Package Testing: "Autopkgtest: "You submitted an invalid 
request: arch riscv64 not found.""
  https://bugs.launchpad.net/auto-package-testing/+bug/2083484

For more details, see:
https://code.launchpad.net/~nteodosio/autopkgtest-cloud/+git/autopkgtest-cloud-1/+merge/474764
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of 
~nteodosio/autopkgtest-cloud/+git/autopkgtest-cloud-1:riscv64-error-apkgtst 
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 3666733..10a79df 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -154,6 +154,9 @@ class Submit:
         if release not in self.releases:
             raise NotFound("release", release)
         if arch not in self.architectures:
+            if arch == "riscv64":
+                raise NotFound("arch", arch, "is currently not supported by "
+                               "Launchpad's infrastructure for autopkgtesting.")
             raise NotFound("arch", arch)
         for ppa in ppas:
             if not self.is_valid_ppa(ppa):
-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to