From 044ff519e9c76c45143d884d480e26065dabcc54 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Mon, 1 Feb 2021 16:38:26 +0100 Subject: [PATCH 1/2] Introduce kernel rebuild CI test. Introduce baseos-qe.koji-build.scratch-build.validation as a new gating test for binutils. The test makes sure that the binutils update under test doesn't break the kernel build process. The testing kernel build happens in koji in a side-tag buildroot containing the binutils build under test. The source code of this new testcase lives here: https://github.com/fedora-ci/scratch-build-test In case of a failure that is considered a false positive, the test result can be waived using Bodhi this way: https://docs.fedoraproject.org/en-US/ci/gating/#_waive --- gating.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/gating.yaml b/gating.yaml index 8bc7d0a..6ab7326 100644 --- a/gating.yaml +++ b/gating.yaml @@ -5,6 +5,7 @@ decision_context: bodhi_update_push_stable subject_type: koji_build rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation} --- !Policy product_versions: - rhel-9 From 49b89d94efa65f243f9d5107b86b2d3a909989d9 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Mon, 1 Feb 2021 17:41:51 +0100 Subject: [PATCH 2/2] Use baseos-qe.koji-build.scratch-build.validation as gating. Replace fedora-ci.koji-build.tier0.functional with baseos-qe.koji-build.scratch-build.validation. The former testcase, fedora-ci.koji-build.tier0.functional, aims to perform the kernel rebuild on a fedora CI test system, not in koji. The latter, baseos-qe.koji-build.scratch-build.validation is supposed to run a kernel rebuild in a side-tag koji buildroot, which is closer to a real kernel rebuild. This commit sets baseos-qe.koji-build.scratch-build.validation as the default kernel rebuild gating test for binutils. --- gating.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/gating.yaml b/gating.yaml index 6ab7326..5210263 100644 --- a/gating.yaml +++ b/gating.yaml @@ -4,7 +4,6 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation} --- !Policy product_versions: