[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v2] automation/eclair: add new analysis jobs with differing configurations
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
- Date: Tue, 28 Oct 2025 02:07:21 +0100
- Arc-authentication-results: i=1; bugseng.com; arc=none smtp.remote-ip=162.55.131.47
- Arc-message-signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1761613641; h=DKIM-Signature:MIME-Version:Date:From:To:Cc:Subject:In-Reply-To: References:Message-ID:X-Sender:Organization:Content-Type: Content-Transfer-Encoding; bh=jxp5tNcS/nhc4CJTFG9bzC7gB58PeQRZu2UTTVAvRAM=; b=GIOCC4gIyt4mdaaTgpaDnPEoP+KV/0blG3E92Q3SImeJHhkVLJn4db7AFAUWrF+chMqF 3chU+2xD0LM22vKDZx2bzZvQs4GeuNZ16SEpG3R10X/HtAypbxMYmmEUy6yeebzP6Uq7X PS5KvhZ7J4Wk+VTbp+Fxi7t4wh+pybLSrUn99XTqZjRN5gdswhna8BghsMODPvExmaaw0 /mtI7uxWRSMhu9jGOWwKBU87p2S4F4OR2r3VB9GmRwtSPbmDpjAeyLWYF2RuJCxAExWzv /r1tmJbcBDt8AdtgPgjcJ6jgfSe8HXrbjTkxEZt1LRj1Wu8/D7zR8zUvyAoL731ovyOtB 3CN2k2O8ug3MIWrLjprQwPfmzZY2NlZn9Yv7MT6s3hN5gappbgdBlzI9Ks1q6fSHcQuEu pEBMDSckaIrTTwllqoshwTstup3FKBNvkFNAPLXY7h/IvhDOy1xX42vzORGu0iCFKJbQ0 E/Ic44VvUx5h7NI/V6v4aa1MK5Kr+HGuHPTFKIxP3jnmXm7eNXmc5xoxwqGCemE7ABmbw ddS9HpCn9nIDOhRaS2FExAYRifji+848XcD12JQwwrH8P7V4iMPJ5vrjkNxInLXgbWGyR LWYjlmvn/po1XX2iGWpjB4cyHelaXOgahIOEBcE1jVdIxIvx75VyIgSmiKr5ZoY=
- Arc-seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1761613641; b=PFTvpHcfQjyUjaZRniKA8YeWold0Fe7WL3ezvRIAr5aCtZUKL+D6TqQ83QugsBPhbEhR WGGaL7w2H6DCUIKR9siHyExkIyCCScX6EXEa/UFWsTm5jsy0RBeM7YURIw2WukdX4XVFR RhotV1qkLqWua0aLD9S6fwyLcFvRIbGHyYvrW5A5zcv8ylu7d7Dn6DM5vKixMqmmvX5Jj UWsndFs/DlrEE36QMKm4dHh5C3kTOqclg0AMpBPvB0gp/2cdZzk437lF5A38JlkjEOhNE O0LhysXLK9rzcjQj6//8W7gtkJMxdMcnLMBlwFj0TLb5CKb1MNvRkELVkbvUbRRSwwaIb 4xQIzHm7YOLhyts0ugleA76onZxFn5kzeys1wj115Z5vR7V4KtzOeZ0+O/IzJoPFWNJXX r0GDGMy4O7X511gBW9Yzo2FfoPWK/7ZiVBtD0ftMrwW5IqTQgLb2kO/fsZmggzsvtmfLG L2orCe/BqYLgXcQjImkAS2r4SpEV8dm8+Y4GCZUaFQW3HRnM6s/RXEjWdhTLIlQTxg2em YgKTMgXpvx2JlYEUDcD+p32VDxlmKiTCh9866SLsQAXRUuHhjl6jFkO9rHatl823KzLVl 4w4zshNniK5z6tZ9A2andiJinbdJt7Mkqilx2whuz1VODTWWWD8vzZG17RWiE5A=
- Authentication-results: bugseng.com; arc=none smtp.remote-ip=162.55.131.47
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, consulting@xxxxxxxxxxx, Doug Goldstein <cardoe@xxxxxxxxxx>, Victor Lira <victorm.lira@xxxxxxx>
- Delivery-date: Tue, 28 Oct 2025 01:07:41 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2025-10-28 00:58, Stefano Stabellini wrote:
On Fri, 24 Oct 2025, Nicola Vetrini wrote:
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>
Do you have a link to a successful pipeline?
Just making sure we are not breaking things.
No; not yet, at least [1]. Without the right tags the safety runner
can't pick up jobs.
[1]
https://gitlab.com/xen-project/people/bugseng/xen/-/pipelines/2117835680
---
Changes in v2:
- rebased to current staging;
- fixed regex path issue.
---
automation/gitlab-ci/analyze.yaml | 38
+++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/automation/gitlab-ci/analyze.yaml
b/automation/gitlab-ci/analyze.yaml
index d50721006740..7bd644d75074 100644
--- a/automation/gitlab-ci/analyze.yaml
+++ b/automation/gitlab-ci/analyze.yaml
@@ -45,6 +45,21 @@ eclair-x86_64:
LOGFILE: "eclair-x86_64.log"
VARIANT: "X86_64"
RULESET: "monitored"
+
+eclair-x86_64-testing:
+ extends: eclair-x86_64
+ tags:
+ - eclair-analysis-testing
+ rules:
+ - if: $CI_PROJECT_PATH =~ /^xen-project\/people\/bugseng.*$/
+ when: always
+ - !reference [.eclair-analysis:triggered, rules]
given that everyone can change this yaml file when pushing to their own
branch, I think we should remove this, or (probably better) use a
separate env variable to set the default
it is better not to use the path, I think
That is a fair concern. One option would be to just use a project runner
assigned to the people/bugseng/xen subproject, but that might be a bit
inconvenient if we want to swap runners around. Another option, as you
said, is keeping the regex in a variable, but this wont't prevent rogue
modifications of the YAML. I might have found something runner-side with
[2], but I need to dig deeper on that one.
[2] pre_build_script at
https://docs.gitlab.com/runner/configuration/advanced-configuration/#the-runners-section
+eclair-x86_64-safety:
+ extends: eclair-x86_64
+ tags:
+ - eclair-analysis-safety
+ variables:
EXTRA_XEN_CONFIG: |
CONFIG_AMD=y
CONFIG_INTEL=n
@@ -75,6 +90,10 @@ eclair-x86_64:
CONFIG_DEBUG_LOCKS=n
CONFIG_SCRUB_DEBUG=n
CONFIG_XMEM_POOL_POISON=n
+ rules:
+ - if: $CI_PROJECT_PATH =~ /^xen-project\/hardware\/xen$/ &&
$CI_COMMIT_BRANCH =~ /^staging$/
+ when: always
+ - !reference [.eclair-analysis:triggered, rules]
same here
eclair-ARM64:
extends: .eclair-analysis:triggered
@@ -82,6 +101,21 @@ eclair-ARM64:
LOGFILE: "eclair-ARM64.log"
VARIANT: "ARM64"
RULESET: "monitored"
+
+eclair-ARM64-testing:
+ extends: eclair-ARM64
+ tags:
+ - eclair-analysis-testing
+ rules:
+ - if: $CI_PROJECT_PATH =~ /^xen-project\/people\/bugseng.*$/
+ when: always
+ - !reference [.eclair-analysis:triggered, rules]
and here
+eclair-ARM64-safety:
+ extends: eclair-ARM64
+ tags:
+ - eclair-analysis-safety
+ variables:
EXTRA_XEN_CONFIG: |
CONFIG_NR_CPUS=16
CONFIG_GICV2=n
@@ -120,6 +154,10 @@ eclair-ARM64:
CONFIG_DEBUG_LOCKS=n
CONFIG_SCRUB_DEBUG=n
CONFIG_XMEM_POOL_POISON=n
+ rules:
+ - if: $CI_PROJECT_PATH =~ /^xen-project\/hardware\/xen$/ &&
$CI_COMMIT_BRANCH =~ /^staging$/
+ when: always
+ - !reference [.eclair-analysis, rules]
and here
--
Nicola Vetrini, B.Sc.
Software Engineer
BUGSENG (https://bugseng.com)
LinkedIn: https://www.linkedin.com/in/nicola-vetrini-a42471253
|