[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN PATCH v3] automation/eclair: add new analysis jobs with differing configurations


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • Date: Fri, 31 Oct 2025 08:55:47 +0100
  • Arc-authentication-results: i=1; bugseng.com; arc=none smtp.remote-ip=93.47.230.207
  • Arc-message-signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1761897358; h=DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=ME+0SCXxm8YQBolCBgj/0l4x8meUElYa/nRF4zoAzgw=; b=sx22his5U8vhlUxMPLB15BZN/j0kaltEDlvYuNOst/IHcVjx/XIwTX/TyjeUO0x2XBmc ZGA3nmoOfv32BT0K0bAGKU+X6VRRqNHyEQcmkydrd8mTTxCTtyMkhLVedGhNYyJ8HcWQB 6+z1f/D3aEFbEJJBfSCd4ThRmoFp3OEi7WUBNiIkv7Qi1TVyWoj6ax6ns7PU5QtAb7az+ rhs4tBPHOkyAbdb9fAe81JMosF09KpkbFXaso5EOyT7TJxxIiY4ZhkcsVilS/1+gYuDy2 RX3hJw9D/S2uyq/9nJCOTp5pVHso2duHNL5f/Hvk1+ug5WynSKXEO5CGyzUSDXo/tsi1P Q+jPem/eIpmL+0kBdQOxl5dnIOZ6FJDX3YT2vJc95xw/7YoUiwf+M5HSQoZILu8GjNxnF ab3uVBy785lShsugK05ITLsPVcm39ByjSy+ZcvMbMOeKL2vIqJ93m0ZD3Wv3miPFMPs3V 11du538bG8LJ+A8UlEVT49mtKCATBS0GBnBY+S7x/0ueLGHq/Pu7x/CR0H8ptBhw/vZOJ U3k6LG0iNlEDS9FTewl1PkhxOMxOmJo0/q/Tw/kZN3MU54l6AAg5O8zDHjielzb8qjCa/ k8C8j2viF3D45vxxeFsfflPmd4b0hHRKFexNXxugZZ4DOdRyBr25hOCFhq+x848=
  • Arc-seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1761897358; b=rJ/24UpygnSyHVDwSaYQJG2mOVK0B6pBaKcNkHBkD9o4wknzW74Z6jmfIZnP/F0N0ydw Y/5+Tv+WLbW0OWV8Cu4OPYUNXaHGXt0kEUsAqiI/wQ/zdLuiUYGQeWWhQ8sgX1grnH0PU Fy+HTUN4mihdEYO5R7a6Zzcgnd6AYS66MCsTMd69UmkoDDDrZ4Xr0wIcc/nzu2FQCX1U0 Z9h59CJncXQ87QN5eutjsGYdTEQ7PLnPisnNnylhRhfip/gNb/5FgXgOe5DWaB3tEyFQs aJHjGuPIiBHEmyg1MRWqrx+DDhZegI7CfzsARJhvo6ZZEteLtn5aT+8ZneQj/+hcwWUB0 6D4DiULeweBrFm3pJtDveQIokYuJBmhva7IkoKYOCBiPsMy2FzqGrdtxR8pGlSHo0YDa7 ZsFO3CG78AaHqWczoBdF7V3CwEIJDn0/lhTv8dnw8aVKrvp30/RIe/nrb8TpT7cp7cSF9 x2WAvABJkB1yb20Taq7k1Q/sCy8c0bK2QDj75Dv8r5R4ESCrAhQrjr6f4aWmjEFM69ruK nE/yGBJ+2gYfVFRm0y/IPxURQkr3Q1YUFRFLX/Dv+nWTaR9XzMH0a6fuAKvkRQ+YV1Y+D OFcuVpljUKBJeN5xLtGj9fV2WkcD3ve8nPaTn1utWPqs8i4CPLJ0yu4uhwZDZ3c=
  • Authentication-results: bugseng.com; arc=none smtp.remote-ip=93.47.230.207
  • Cc: sstabellini@xxxxxxxxxx, consulting@xxxxxxxxxxx, Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
  • Delivery-date: Fri, 31 Oct 2025 07:56:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The following analysis jobs are performed:
- eclair-{x86_64,ARM64}: analyze Xen using the default configuration for
  that architecture; runs on runners tagged `eclair-analysis'.

- eclair-{x86-64,ARM64}-safety: analyze Xen using the configuration for
  safety, which is more restricted; runs on runners tagged
  `eclair-analysis-safety`.

- eclair-{x86_64,ARM64}-testing: analyze Xen using the default
  configuration for the purposes of testing new runner updates; runs on
  runners tagged `eclair-analysis-testing`.

Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
---
CI pipeline: 
https://gitlab.com/xen-project/people/bugseng/xen/-/pipelines/2130873833

Note: the eclair-ARM64 and eclair-x86_64 jobs are allowed to fail because the
configuration is not (yet) clean for all checked MISRA guidelines.

Changes in v3:
- Use a variable instead of testing the repository PATH to decide whether a job
  should be run for *-testing and *-safety analyses;
- Allow eclair-{x86_64,ARM64} default configurations to fail, as the 
configuration
  is not yet clean for MISRA.
Changes in v2:
- rebased to current staging;
- fixed regex path issue.
---
 automation/gitlab-ci/analyze.yaml | 42 ++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/automation/gitlab-ci/analyze.yaml 
b/automation/gitlab-ci/analyze.yaml
index d50721006740..fae55a23dbb5 100644
--- a/automation/gitlab-ci/analyze.yaml
+++ b/automation/gitlab-ci/analyze.yaml
@@ -45,6 +45,22 @@ eclair-x86_64:
     LOGFILE: "eclair-x86_64.log"
     VARIANT: "X86_64"
     RULESET: "monitored"
+  allow_failure: true
+
+eclair-x86_64-testing:
+  extends: eclair-x86_64
+  tags:
+    - eclair-analysis-testing
+  rules:
+    - if: $ECLAIR_TESTING
+      when: always
+    - !reference [.eclair-analysis:triggered, rules]
+
+eclair-x86_64-safety:
+  extends: eclair-x86_64
+  tags:
+    - eclair-analysis-safety
+  variables:
     EXTRA_XEN_CONFIG: |
       CONFIG_AMD=y
       CONFIG_INTEL=n
@@ -75,6 +91,10 @@ eclair-x86_64:
       CONFIG_DEBUG_LOCKS=n
       CONFIG_SCRUB_DEBUG=n
       CONFIG_XMEM_POOL_POISON=n
+  rules:
+    - if: $ECLAIR_SAFETY && $CI_COMMIT_BRANCH =~ /^staging$/
+      when: always
+    - !reference [.eclair-analysis:triggered, rules]
 
 eclair-ARM64:
   extends: .eclair-analysis:triggered
@@ -82,6 +102,22 @@ eclair-ARM64:
     LOGFILE: "eclair-ARM64.log"
     VARIANT: "ARM64"
     RULESET: "monitored"
+  allow_failure: true
+
+eclair-ARM64-testing:
+  extends: eclair-ARM64
+  tags:
+    - eclair-analysis-testing
+  rules:
+    - if: $ECLAIR_TESTING
+      when: always
+    - !reference [.eclair-analysis:triggered, rules]
+
+eclair-ARM64-safety:
+  extends: eclair-ARM64
+  tags:
+    - eclair-analysis-safety
+  variables:
     EXTRA_XEN_CONFIG: |
       CONFIG_NR_CPUS=16
       CONFIG_GICV2=n
@@ -120,13 +156,17 @@ eclair-ARM64:
       CONFIG_DEBUG_LOCKS=n
       CONFIG_SCRUB_DEBUG=n
       CONFIG_XMEM_POOL_POISON=n
+  rules:
+    - if: $ECLAIR_SAFETY && $CI_COMMIT_BRANCH =~ /^staging$/
+      when: always
+    - !reference [.eclair-analysis, rules]
 
 .eclair-analysis:on-schedule:
   extends: .eclair-analysis
   rules:
     - if: $CI_PIPELINE_SOURCE != "schedule"
       when: never
-    - !reference [.eclair-analysis, rules]
+    - !reference [.eclair-analysis:triggered, rules]
 
 eclair-x86_64:on-schedule:
   extends: .eclair-analysis:on-schedule
-- 
2.43.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.