canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01196
[Merge] ~andersson123/autopkgtest-cloud:package_with_new_tests into autopkgtest-cloud:master
Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:package_with_new_tests into autopkgtest-cloud:master.
Requested reviews:
Canonical's Ubuntu QA (canonical-ubuntu-qa)
For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/450442
--
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:package_with_new_tests 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 e40e3d4..b14d5d1 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -133,12 +133,13 @@ class Submit:
skip_result_check = (
release == "vivid" and triggers and triggers[0].startswith("linux")
)
- if not self.is_valid_package_with_results(
- None if (ppas or skip_result_check) else release, arch, package
- ):
- raise NotFound(
- "package", package, "does not have any test results"
- )
+ if "requester" is None:
+ if not self.is_valid_package_with_results(
+ None if (ppas or skip_result_check) else release, arch, package
+ ):
+ raise NotFound(
+ "package", package, "does not have any test results"
+ )
if "migration-reference/0" in triggers:
if len(triggers) != 1:
Follow ups