From patchwork Mon Jun 17 18:21:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai.Sathujoda@toshiba-tsip.com X-Patchwork-Id: 13701231 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 05E14C41513 for ; Mon, 17 Jun 2024 18:21:58 +0000 (UTC) Received: from mo-csw.securemx.jp (mo-csw.securemx.jp [210.130.202.152]) by mx.groups.io with SMTP id smtpd.web11.64206.1718648517146592211 for ; Mon, 17 Jun 2024 11:21:57 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: toshiba-tsip.com, ip: 210.130.202.152, mailfrom: sai.sathujoda@toshiba-tsip.com) Received: by mo-csw.securemx.jp (mx-mo-csw1802) id 45HILrUx062029; Tue, 18 Jun 2024 03:21:54 +0900 X-Iguazu-Qid: 2yAb3nxBrIuzsbqawq X-Iguazu-QSIG: v=2; s=0; t=1718648513; q=2yAb3nxBrIuzsbqawq; m=l2BqCbzPP6bmQR6EeK66sg4N1uff7xqZRFBZVbwUFNw= Received: from imx12-a.toshiba.co.jp ([38.106.60.135]) by relay.securemx.jp (mx-mr1801) id 45HILqhs3710892 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 03:21:53 +0900 From: Sai.Sathujoda@toshiba-tsip.com To: cip-dev@lists.cip-project.org, jan.kiszka@siemens.com Cc: sai ashrith sathujoda , dinesh.kumar@toshiba-tsip.com, kazuhiro3.hayashi@toshiba.co.jp Subject: [isar-cip-core v1 1/3] .gitlab-ci.yml: Break current test jobs to run one LAVA job per Gitlab job Date: Mon, 17 Jun 2024 23:51:45 +0530 X-TSB-HOP2: ON Message-Id: <20240617182147.1724078-2-Sai.Sathujoda@toshiba-tsip.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240617182147.1724078-1-Sai.Sathujoda@toshiba-tsip.com> References: <20240617182147.1724078-1-Sai.Sathujoda@toshiba-tsip.com> MIME-Version: 1.0 X-OriginalArrivalTime: 17 Jun 2024 18:21:45.0785 (UTC) FILETIME=[360E0A90:01DAC0E3] 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 ; Mon, 17 Jun 2024 18:21:58 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/16267 From: sai ashrith sathujoda Signed-off-by: sai ashrith sathujoda --- .gitlab-ci.yml | 80 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 71 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3f1fc6..b567556 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ variables: deploy_kernelci: disable build_swu_v2: disable swupdate_version: default + test_function: swupdate stages: - build @@ -355,6 +356,8 @@ build:qemu-riscv64: tags: - small allow_failure: true + script: + - scripts/submit_lava.sh ${test_function} ${target} ${CI_COMMIT_SHORT_SHA} ${release} ${CI_COMMIT_REF_SLUG} artifacts: name: "$CI_JOB_NAME" when: always @@ -364,23 +367,82 @@ build:qemu-riscv64: reports: junit: results/results*.xml -test-qemu-secure-boot: +test:qemu-amd64-secure-boot: extends: - .test-cip-core - script: - - scripts/submit_lava.sh secure-boot ${CI_COMMIT_SHA} ${release} ${CI_COMMIT_REF_SLUG} + variables: + target: qemu-amd64 + test_function: secure-boot -test-qemu-swupdate: +test:qemu-arm64-secure-boot: extends: - .test-cip-core - script: - - scripts/submit_lava.sh swupdate ${CI_COMMIT_SHA} ${release} ${CI_COMMIT_REF_SLUG} + variables: + target: qemu-arm64 + test_function: secure-boot + +test:qemu-arm-secure-boot: + extends: + - .test-cip-core + variables: + target: qemu-arm + test_function: secure-boot + +test:qemu-amd64-swupdate: + extends: + - .test-cip-core + variables: + target: qemu-amd64 + test_function: swupdate + +test:qemu-arm64-swupdate: + extends: + - .test-cip-core + variables: + target: qemu-arm64 + test_function: swupdate + +test:qemu-arm-swupdate: + extends: + - .test-cip-core + variables: + target: qemu-arm + test_function: swupdate + +test:qemu-amd64-swupdate-kernel-panic: + extends: + - .test-cip-core + variables: + target: qemu-amd64 + test_function: kernel-panic -test-qemu-IEC: +test:qemu-amd64-swupdate-initramfs-crash: + extends: + - .test-cip-core + variables: + target: qemu-amd64 + test_function: initramfs-crash + +test:qemu-amd64-IEC: extends: - .test-cip-core - script: - - scripts/submit_lava.sh IEC ${CI_COMMIT_SHA} ${release} ${CI_COMMIT_REF_SLUG} + variables: + target: qemu-amd64 + test_function: IEC + +test:qemu-arm64-IEC: + extends: + - .test-cip-core + variables: + target: qemu-arm64 + test_function: IEC + +test:qemu-arm-IEC: + extends: + - .test-cip-core + variables: + target: qemu-arm + test_function: IEC cve-checks: stage: cve-check