From patchwork Tue Jul 27 09:10:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 486673 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:1185:0:0:0:0 with SMTP id f5csp38590jas; Tue, 27 Jul 2021 02:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWBry1wJC4y5S5CVcmGpqug5FuT+0IpDR3V+rPuQBDj1mm8T37hSgeMTf0Br+yk6gXmQ+o X-Received: by 2002:a05:6402:33a:: with SMTP id q26mr26313355edw.369.1627377258984; Tue, 27 Jul 2021 02:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627377258; cv=none; d=google.com; s=arc-20160816; b=HhHfCoi5OcXFzevB4JTzWXQ5byt/xYQ1MhhrlAviu3j6ZgXrQGAk9DwRxSOkddS56W vH8GVVq0q9ypy9nh9GfJrIA3TunNhb48y3RNLeoLRS6ofnFN+FRrPfHgTWLFwUvtiwTa Qdw5yy6A2gy1Q57cGaRPuUJ1HqprdVGYfH65uSpgk84QfmB/A17ODif404IszBOXpI4X IDZ7WaPT9Fx6IDgTYzr3VgRz/Q3+47iGYMUT+tV4fuytlEKvMbpejLUayUnIMDywRdzM /B04dO4n8hyXsG+2xGJncZwysR2cNFIecECa6yzBjQX6U4CTEkZvIl8JNbNSfZk/IH7g hmog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bTU/SvLx9U6vAbJNcUH+Zm4ORiTlon+WF+jOIekZaIM=; b=oPVp4iEdQXx6NCI7RY9E6nD/XPTGmAN3xLIIkL+0SrqEe3mH7JoZomVzeucEB/2vaK Xa3Eea8+rs02vNNRKP7GscmqU1KBfZT6Ee48FfUvO8JcmHR6xeE4+UglFe03e9cQDvRx EyH1kxb8pBVzZcAVvMnGwdgONkZl/rTkxWeYGMCqKhMPo02o5w3eG0F8qOuR4tjR5W2V 76FxNlsjYeu+amvlmvT3J0NSa5hEefwScg8UwZ4EzOBDiy1Yeq0ScWK9p/8Tiy2dwsrX FqIvl41Gc0e/hjJdwPgV3WQz7u6WO2gvtOUbWUm7N2EAMvE6vRxlwxk8ZJ42fAVHtlPY pl+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qSfRvKBu; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id q5si2402310edh.492.2021.07.27.02.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 02:14:18 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qSfRvKBu; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1BA068345D; Tue, 27 Jul 2021 11:14:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="qSfRvKBu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F05E08345F; Tue, 27 Jul 2021 11:12:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D5B7A83448 for ; Tue, 27 Jul 2021 11:12:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1030.google.com with SMTP id pf12-20020a17090b1d8cb0290175c085e7a5so3281566pjb.0 for ; Tue, 27 Jul 2021 02:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bTU/SvLx9U6vAbJNcUH+Zm4ORiTlon+WF+jOIekZaIM=; b=qSfRvKBuvQxwD5NzIYSCkYTcydZNBSSVLzdPhnrGgT8Yh7zhkyE4OXGzsSPJLO3GJb 2ry0B3EIzuowhpzbcW0jbJfBhQZmdhlU3XhtuItAd/wnOTBHt6PC/BSAEzRN71hVxwtE /HToDaeXDt8rhLvSG9UEbHB5lXX7dfnalIHf5ISa065ythqJ+Y+Zi9jefoSW7nf/GKnN YmiVcnkaAW+9TG0liJEVcaPdPa+1Owvx2EvXYVsLLI3TlSkwF5NLXfO7jJaYZFEwUxXV Z7tJIpyyev/BFrqXejZ8pmbtgU93tDUDLb81jQ3NCTbPoQxJyFXAQbWMk/w5oNhhdkcB er5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bTU/SvLx9U6vAbJNcUH+Zm4ORiTlon+WF+jOIekZaIM=; b=rh3Dx0gLVzDKLiTlTPf8eE6REOKEdoRsxr7TyuWVdlNdars89ZFSxIjIpBp2n2sJ/V ZqlKdXLSdYOfjrHIb/h2l5eYinhbresw63mTyACezH3aGNEpeOYeCQVQ4AE0bdXyGI++ sQl4GFBLu3cPtKyTRdliR/qrhyw7aR3aPt0d6dRk9+cs18+4E5NpE7bmMD5HgJ/9nLz9 /n4xmzCDA+p6mT772Odu1VS+QmKhv7YuoElzbHdXr+b+2R/Tilh2HhDtIWHS9nTWE1FG YzWIn2wqbklDnG1xwX7FaHi7DkDB3+5IvWqeSK8q3Lbj+JE3FuMp0qKu5fOF8e/j1kxN /tZg== X-Gm-Message-State: AOAM531K3IsEMY+wUPsr0fv8CTvWdeLb0w74FeZOyViU54/Y9kmGiBaS sXBlQJw4NFOvSbhHdnKfyIOayg== X-Received: by 2002:a17:903:2c2:b029:101:9c88:d928 with SMTP id s2-20020a17090302c2b02901019c88d928mr18051986plk.62.1627377163100; Tue, 27 Jul 2021 02:12:43 -0700 (PDT) Received: from localhost.localdomain (pdb6272ed.tkyea130.ap.so-net.ne.jp. [219.98.114.237]) by smtp.gmail.com with ESMTPSA id q13sm2008218pjq.10.2021.07.27.02.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 02:12:42 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, trini@konsulko.com, sjg@chromium.org Cc: ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v2 7/9] GitLab: add a test rule for efi capsule authentication test Date: Tue, 27 Jul 2021 18:10:52 +0900 Message-Id: <20210727091054.512050-8-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210727091054.512050-1-takahiro.akashi@linaro.org> References: <20210727091054.512050-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean To run efi capsule authentication test in CI loop, U-Boot binary must be compiled with an appropriate public key (esl file). Add a rule to build this binary with sandbox_capsule_auth_defconfig and run the test. Signed-off-by: AKASHI Takahiro --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.31.0 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86026a15f9da..ed67314fa4ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -193,6 +193,12 @@ sandbox_noinst_test.py: TEST_PY_TEST_SPEC: "test_ofplatdata or test_handoff or test_spl" <<: *buildman_and_testpy_dfn +sandbox_capsule_auth test.py: + variables: + TEST_PY_BD: "sandbox_capsule_auth" + TEST_PY_TEST_SPEC: "test_efi_capsule_signed" + <<: *buildman_and_testpy_dfn + evb-ast2500 test.py: variables: TEST_PY_BD: "evb-ast2500"