From patchwork Sun Apr 2 13:16:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 22109 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37482C7619A for ; Sun, 2 Apr 2023 19:33:10 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.52469.1680463979724466586 for ; Sun, 02 Apr 2023 12:33:00 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jon.mason@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 56C42FEC for ; Sun, 2 Apr 2023 12:33:43 -0700 (PDT) Received: from jdm-VirtualBox.lan?044arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BD5DF3F840 for ; Sun, 2 Apr 2023 12:32:58 -0700 (PDT) From: Jon Mason To: meta-arm@lists.yoctoproject.org Subject: [PATCH v2 1/2] CI: dev kernel allow failure Date: Sun, 2 Apr 2023 09:16:58 -0400 Message-Id: <20230402131659.560595-1-jon.mason@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 02 Apr 2023 19:33:10 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4529 The dev kernel can frequently fail, and is not anything that is used in production. Allow failure to prevent CI issues but still notify that there are potential issues. Signed-off-by: Jon Mason --- .gitlab-ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28d0cc19..41d8940f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,9 +42,21 @@ stages: extends: .setup variables: KUBERNETES_CPU_REQUEST: $CPU_REQUEST - only: - variables: - - $BUILD_ENABLE_REGEX == null || $CI_JOB_NAME =~ $BUILD_ENABLE_REGEX + rules: + # Don't run MR pipelines + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + when: never + # Don't run pipelines for tags + - if: $CI_COMMIT_TAG + when: never + # Don't run if BUILD_ENABLE_REGEX is set, but the job doesn't match the regex + - if: '$BUILD_ENABLE_REGEX != null && $CI_JOB_NAME !~ $BUILD_ENABLE_REGEX' + when: never + # Allow the dev kernels to fail and not fail the overall build + - if: '$KERNEL == "linux-yocto-dev"' + allow_failure: true + # Catch all for everything else + - if: '$KERNEL != "linux-yocto-dev"' script: - KASFILES=$(./ci/jobs-to-kas "$CI_JOB_NAME") - kas dump --update --force-checkout --resolve-refs --resolve-env $KASFILES From patchwork Sun Apr 2 13:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 22110 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 380E4C77B60 for ; Sun, 2 Apr 2023 19:33:10 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.52468.1680463979705318753 for ; Sun, 02 Apr 2023 12:33:00 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jon.mason@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 85BEF1042 for ; Sun, 2 Apr 2023 12:33:43 -0700 (PDT) Received: from jdm-VirtualBox.lan?044arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F394E3F840 for ; Sun, 2 Apr 2023 12:32:58 -0700 (PDT) From: Jon Mason To: meta-arm@lists.yoctoproject.org Subject: [PATCH v2 2/2] arm/linux-yocto: remove IP_VS config fragment Date: Sun, 2 Apr 2023 09:16:59 -0400 Message-Id: <20230402131659.560595-2-jon.mason@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230402131659.560595-1-jon.mason@arm.com> References: <20230402131659.560595-1-jon.mason@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 02 Apr 2023 19:33:10 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4530 This config fragment was needed to get the dev kernel working. Since it in now allowed to fail, it is no longer necessary (and doesn't appear to be an issue). Signed-off-by: Jon Mason --- meta-arm/recipes-kernel/linux/files/no-ipvs.cfg | 1 - meta-arm/recipes-kernel/linux/linux-yocto%.bbappend | 1 - 2 files changed, 2 deletions(-) delete mode 100644 meta-arm/recipes-kernel/linux/files/no-ipvs.cfg diff --git a/meta-arm/recipes-kernel/linux/files/no-ipvs.cfg b/meta-arm/recipes-kernel/linux/files/no-ipvs.cfg deleted file mode 100644 index fcfd2b21..00000000 --- a/meta-arm/recipes-kernel/linux/files/no-ipvs.cfg +++ /dev/null @@ -1 +0,0 @@ -CONFIG_IP_VS=n diff --git a/meta-arm/recipes-kernel/linux/linux-yocto%.bbappend b/meta-arm/recipes-kernel/linux/linux-yocto%.bbappend index cab7f47e..883ed2ca 100644 --- a/meta-arm/recipes-kernel/linux/linux-yocto%.bbappend +++ b/meta-arm/recipes-kernel/linux/linux-yocto%.bbappend @@ -10,7 +10,6 @@ COMPATIBLE_MACHINE:generic-arm64 = "generic-arm64" FILESEXTRAPATHS:prepend:generic-arm64 = "${ARMFILESPATHS}" SRC_URI:append:generic-arm64 = " \ file://generic-arm64-kmeta;type=kmeta;destsuffix=generic-arm64-kmeta \ - file://no-ipvs.cfg \ " FILESEXTRAPATHS:prepend:qemuarm64-secureboot = "${ARMFILESPATHS}"