From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A328C07E99 for ; Tue, 6 Jul 2021 00:59:22 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F0DB96196C for ; Tue, 6 Jul 2021 00:59:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0DB96196C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1060382C25; Tue, 6 Jul 2021 02:59:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="GvMCtMLJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0451182C19; Tue, 6 Jul 2021 02:59:04 +0200 (CEST) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 6E51B82C03 for ; Tue, 6 Jul 2021 02:59:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x733.google.com with SMTP id i125so7101785qke.12 for ; Mon, 05 Jul 2021 17:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mPphzkj4GzfO8ixkNBdCgE1xaXfeagFjWGDL+YC3Hak=; b=GvMCtMLJ24YrKfU8fCdW2R0uUmGuwly+UzgpBi36h/oNy43IhqobkIc9OEQpgYEhuc cHCFGlhyM1HgBcCaX0wlxdZ5hq2s71bbWLH53HmkSbbzeQwVl2V6D/Fkey6tiG/a7C+H wK5+rhW6zIGRwk7H1pazotFb6cOFTNO0UIZ/w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mPphzkj4GzfO8ixkNBdCgE1xaXfeagFjWGDL+YC3Hak=; b=XwQqRj/vNl3jmbbLLrgpW0QGfitWLBLRBOyikUw6R5p5t3XgZRncmaptHSSb1iqp6j AKBX7Vmzla+QYo6gp6fX1S4nz4NB2RDfbaudvIZvVN4kei5GJcRep+Kn8gNhtBcnYYgF GUWOZNo4D8eGlWXQC9aPrTxUMcLEmWGR5eyl2bFRnxGsN4nxT8/+/85X7WX6thrBjjPp +/zKAnVcwJl1E7F2jPqnO1XHtBO+eI1zhT2BKnw1e6dyWQWCvK77/jql2yHlKhdJuVGD ELvGBVyx596g6SP9rgZrr+rDI05D8/SaTdylPx81xEBIbpqcQVTFC0nLC1irg5DBbWwe jFTg== X-Gm-Message-State: AOAM532ShSxoKW1ZQt5WkT1g7P8DOk0Kqp4shw6HJ+O8tDhPZtmiCiri U72h7xspuZ6Qvaur5TkS1jntFQ== X-Google-Smtp-Source: ABdhPJzjkZS+a9ejPYxfu3A4DxSzOdHgyfX9FiPIrwdtbElgchs2NiUUurwdCEtS9AYTjrwZj3yHGA== X-Received: by 2002:a37:db0a:: with SMTP id e10mr17427223qki.262.1625533139261; Mon, 05 Jul 2021 17:58:59 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5170-f33c-21eb-73eb.res6.spectrum.com. [2603:6081:7b01:cbda:5170:f33c:21eb:73eb]) by smtp.gmail.com with ESMTPSA id t20sm1368594qtx.48.2021.07.05.17.58.57 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Jul 2021 17:58:58 -0700 (PDT) Date: Mon, 5 Jul 2021 20:58:56 -0400 From: Tom Rini To: Alper Nebi Yasak Cc: u-boot@lists.denx.de, Daniel Schwierzeck , Simon Glass , Bin Meng , AKASHI Takahiro , Heinrich Schuchardt , Marek Vasut Subject: Re: [PATCH v3 1/3] tools: docker: Install a readable kernel for libguestfs-tools Message-ID: <20210706005856.GI9516@bill-the-cat> References: <20210621185156.9108-1-alpernebiyasak@gmail.com> <20210621185156.9108-2-alpernebiyasak@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+NKOx4Ceb5iGQE4S" Content-Disposition: inline In-Reply-To: <20210621185156.9108-2-alpernebiyasak@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --+NKOx4Ceb5iGQE4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 21, 2021 at 09:51:54PM +0300, Alper Nebi Yasak wrote: > The filesystem and EFI (capsule and secure boot) test setups try to use > guestmount and virt-make-fs respectively to prepare disk images to run > tests on. However, these libguestfs tools need a kernel image and fail > with the following message (revealed in debug/trace mode) if it can't > find one: >=20 > supermin: failed to find a suitable kernel (host_cpu=3Dx86_64). >=20 > I looked for kernels in /boot and modules in /lib/modules. >=20 > If this is a Xen guest, and you only have Xen domU kernels > installed, try installing a fullvirt kernel (only for > supermin use, you shouldn't boot the Xen guest with it). >=20 > This failure then causes these tests to be skipped in CIs. Install a > kernel package in the Docker containers so the CIs can run these > tests with libguestfs tools again (assuming the container is run with > necessary host devices and privileges). As this kernel would be only > used for virtualization, we can use the kernel package specialized for > that. On Ubuntu systems kernel images are not readable by non-root > users, so explicitly add read permissions with chmod as well. >=20 > Signed-off-by: Alper Nebi Yasak > Acked-by: Heinrich Schuchardt Applied to u-boot/master, thanks! --=20 Tom --+NKOx4Ceb5iGQE4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDjqtAACgkQFHw5/5Y0 tyyYngv+KEUbtC+O2TKws4z+ULSYLIEeWmRjrcDlK4AVS5zcBdkvJIeuLgCgj9SF Ml/oOU0OkLPB7vusZV738bHNXxpCgp+IzzyIQ+VcwHnAEGUjow69s1EA+5qbhD2E SKGQOoH4TQEGy6HhHi9j7xIzBdzrFi7WTmhardfkP5xCLO+VozeCPhDc0eiPrKWB C+DKk8tn9f4upmUvQhmyeW+a0ND8L4zLBsRauzMa3Qe5lU/GrA3bGlilGhiMLq/m 9hWLuad2/Naaq86YNeWYDgCiJXSoxoydyIEsGeY+7nObw3zrvhaKG8Bt48v28704 CVXar1N8Uhvs6ESgqMk805Dy71JtLGhiVIabT40q6R8vMcRXvRWVJAWtkfMBmJtf C1aALKnEM1eECeE5/yIKpkxWjUB904ouu0kwKjrTLTlXAgD7Ni6SGLpRb0NgHx5p xZTHSAMXkJrqjDwaKFSFusaJpSfEnRUSZVftOoWwCBB08rtXkiv2g+ZY3HGFAiXF 1nLlstDc =wtR7 -----END PGP SIGNATURE----- --+NKOx4Ceb5iGQE4S--