From patchwork Fri Jun 4 19:02:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alper Nebi Yasak X-Patchwork-Id: 1488054 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZTFHDai5; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FxXH02ZHPz9sPf for ; Sat, 5 Jun 2021 05:03:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 718B782F24; Fri, 4 Jun 2021 21:02:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="ZTFHDai5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C53082F1C; Fri, 4 Jun 2021 21:02:55 +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,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 AF7CB82EF0 for ; Fri, 4 Jun 2021 21:02:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id g18so10309807edq.8 for ; Fri, 04 Jun 2021 12:02:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9sbQUevDY3HEAnslrhuWcc8RxRiXUpx8QWUxevppfaY=; b=ZTFHDai5h3m7qCLu3hcr0VeavrztKDqMtFuOspAkNOsqimPzJ6OL9gbyViEUSJEDhD 51bpTvce4+1lNan+Th/51vLKnV//BQYnxRUbTOns9TgciH1j16MjxVuYKHyRHD+WeSOL ydos/ZhpVAcDNB5FS5K5EOQzkpBJwZ2F+bqsIFORoGyDyXkrSl12+La2KTTkn7CV3Z8N FsXCLFP/KY2sPv5kSBDyo5Fqb6hQ7KyuNGF/ZQ7Gt99C/5nVJ/v9fbLSdCnpskl6g2R/ nsKxCmN20c5lgZfm/aE+h4qWU060OJQXFYO19O74mIeXsy9jwJMBgcePAKnAqX/45GbM yCdw== 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=9sbQUevDY3HEAnslrhuWcc8RxRiXUpx8QWUxevppfaY=; b=KlGGN9UO8mi4TsGBbiJJ0iSczSkyZQjRsTqVb7cTfVHoE5NnpDXmt/AU4P9xfROE/L mabBYxD322H16MouQL3N1wyjSRexUYAUHFNXYhJtQNRnjMktewbZCIE1I6ntgvC0yl8T U9OLHe5XOe2tFUEUHd7E3w5b0dGlfuAq/jwXQBu6PVI5IyLQBUNe6S2B+49gnFzJ8DUj k8Yzhy0to7Co5FdMfRBX5T6htAowkdhTbSqIk3bWyCASRsoRaKh/adnGV5JwAJJHbLo9 1AfrdG73UJp9pfeTxZiG5NVVzHumVFpZ0ikxXzJGg/u+hc3iXFAWNEPn7KcVYIWjMuZn s38Q== X-Gm-Message-State: AOAM531O4tbDfqYEsZcb+TWzUyj+K/qZ4fGsNYFZPV96SJ/IFs7yCJBz iyPAMZXPEyI6cVP/BfdHvHK/V2QCEuA= X-Google-Smtp-Source: ABdhPJwHLj+KN2PiwTNINH8C6kqJsVf+bRcv0QMxP6riTMhzrDGfr9wAsb3Angppu/VeisHYPZ6fSA== X-Received: by 2002:a05:6402:368:: with SMTP id s8mr6372488edw.129.1622833371172; Fri, 04 Jun 2021 12:02:51 -0700 (PDT) Received: from localhost.localdomain ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id n2sm3668819edi.32.2021.06.04.12.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 12:02:50 -0700 (PDT) From: Alper Nebi Yasak To: u-boot@lists.denx.de Cc: Bin Meng , Heinrich Schuchardt , Tom Rini , Daniel Schwierzeck , Simon Glass , Marek Vasut , Alper Nebi Yasak Subject: [PATCH 4/4] Azure/GitLab: Install a readable kernel for libguestfs-tools Date: Fri, 4 Jun 2021 22:02:06 +0300 Message-Id: <20210604190207.44805-5-alpernebiyasak@gmail.com> X-Mailer: git-send-email 2.32.0.rc2 In-Reply-To: <20210604190207.44805-1-alpernebiyasak@gmail.com> References: <20210604190207.44805-1-alpernebiyasak@gmail.com> 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.102.4 at phobos.denx.de X-Virus-Status: Clean Some sandbox-only test setups use virt-make-fs and guestmount, which require a readable kernel to work. However, no such kernel is currently available on the Docker container image that is used to run the tests on CIs. Although a previous patch adds a kernel package to the Dockerfile used to build the container, try to explicitly install it in the CI scripts so that it's not immediately necessary to rebuild the container for that change. Signed-off-by: Alper Nebi Yasak --- .azure-pipelines.yml | 5 +++++ .gitlab-ci.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 3ec396ae8905..fe82cc57feb0 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -293,6 +293,11 @@ jobs: wget -O - https://github.com/riscv/opensbi/releases/download/v0.9/opensbi-0.9-rv-bin.tar.xz | tar -C /tmp -xJ; export OPENSBI=/tmp/opensbi-0.9-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin; fi + if [[ "${TEST_PY_BD}" == "sandbox" ]]; then + sudo apt update + sudo apt install -y linux-image-kvm + sudo chmod +r /boot/vmlinu* /lib/modules/*/vmlinu* || true + fi # the below corresponds to .gitlab-ci.yml "script" cd ${WORK_DIR} export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD}; diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d072e833a3de..be3be8e045e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,11 @@ stages: wget -O - https://github.com/riscv/opensbi/releases/download/v0.9/opensbi-0.9-rv-bin.tar.xz | tar -C /tmp -xJ; export OPENSBI=/tmp/opensbi-0.9-rv-bin/share/opensbi/lp64/generic/firmware/fw_dynamic.bin; fi + - if [[ "${TEST_PY_BD}" == "sandbox" ]]; then + sudo apt update; + sudo apt install -y linux-image-kvm; + sudo chmod +r /boot/vmlinu* /lib/modules/*/vmlinu* || true; + fi after_script: - rm -rf /tmp/uboot-test-hooks /tmp/venv