From patchwork Mon Jun 21 18:51:55 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: 1495273 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=mtN98IvE; 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 4G7zDY74QTz9sRN for ; Tue, 22 Jun 2021 04:52:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9725D829C8; Mon, 21 Jun 2021 20:52:27 +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="mtN98IvE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 29B95829BE; Mon, 21 Jun 2021 20:52:21 +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-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (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 AAEE6829B5 for ; Mon, 21 Jun 2021 20:52:16 +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-ej1-x631.google.com with SMTP id hq39so3446110ejc.5 for ; Mon, 21 Jun 2021 11:52:16 -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=eKP7kNC951TZYJAYCxEp4ZyiupnmiJAdAnVss6ISk5I=; b=mtN98IvE1ukAvR9OgHYpVXVORr0L7FCPnXcg2UCljohu8BAM7SRzZadjdHD30k1NCK 9T6Q4dBtipG3/PReW2qW/hhAY1XaauWuJ+DvD/Id77Ag704XZBN3uTervjZarhStk0sw 2dU0vhKPQTnpmRpd5ixj87ZMSaPjyU+65PTPgjMQECvqraHAf0PkxIY0/5M6kiz9TQ6r h2PM8Xmg1UiSO4gBJ8+1scF0QqmK/oMeLDPhPRvltKcfirmscPf5QGphnMhiXKzdbACw jfLYI8bXNNhKBDxIzTRSbFJ0t3DqCv1rFP5L5sHIg1xCQ05Q8fX6pc96xvajBAIF20nk BItw== 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=eKP7kNC951TZYJAYCxEp4ZyiupnmiJAdAnVss6ISk5I=; b=kVUQhA3qZq5Zw9XdEC7EZlpuOTMkZp1sDnDGUBskO3MUS6rjASG6jXS8U9sQp4fp1W cPvQOAKoPpvCg7I5YbBom0+NGv9oByLOSBxqnmA60msDDIYTVhE7YXEuYnp41gIR1u9U ylV+HzFTCSR7MB/+l1ZT1w6Oks5yfftyJvHIHWSwaZhYDXkGn98GNdGdPlS9IrTNc0hS gDqfgY6wSKi/lQYNFhAxOCNNSqBK2xcaKJ+U2ymHkzQhH/W1LMI6KuCBf3XRuxmlBj8Q W2ctyhSOVQfJ1MWQvJhMqA7xsAJeuhZQ5CQixxOB6dRVwLxvuMAjH86yFr6O/xJZF/Nj g29g== X-Gm-Message-State: AOAM5314twxG0aCmf6rEBMMSzcrJzHif8DR9aSVJHYNQdyNhjKfbAkWf vn36ItNIJIorJhFAOGFfNsgqgSL5yMM= X-Google-Smtp-Source: ABdhPJxdLT1sfT3bHs+BEZiMfNRRnETLHa0uGaZjYfpC5WmLps+Q/29Pyy4i39TLiJ+D/Epdb7j02g== X-Received: by 2002:a17:906:f0a:: with SMTP id z10mr27098122eji.115.1624301536158; Mon, 21 Jun 2021 11:52:16 -0700 (PDT) Received: from localhost.localdomain ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id n11sm5205690ejg.43.2021.06.21.11.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 11:52:15 -0700 (PDT) From: Alper Nebi Yasak To: u-boot@lists.denx.de Cc: Daniel Schwierzeck , Simon Glass , Bin Meng , AKASHI Takahiro , Heinrich Schuchardt , Marek Vasut , Tom Rini , Alper Nebi Yasak Subject: [PATCH v3 2/3] Azure: Add fuse device for test.py tests Date: Mon, 21 Jun 2021 21:51:55 +0300 Message-Id: <20210621185156.9108-3-alpernebiyasak@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621185156.9108-1-alpernebiyasak@gmail.com> References: <20210621185156.9108-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.103.2 at phobos.denx.de X-Virus-Status: Clean The EFI secure boot and capsule test setups need to prepare disk images for their tests using virt-make-fs, which requires access to the host fuse device. This is not exposed to the docker container by default and has to be added explicitly. Add it. Signed-off-by: Alper Nebi Yasak --- (no changes since v2) Changes in v2: - Always pass in /dev/fuse to Azure's docker run invocation. .azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 35ab7f30b276..976868dd2eb7 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -318,7 +318,8 @@ jobs: # as sandbox testing need create files like spi flash images, etc. # (TODO: clean up this in the future) chmod 777 . - docker run -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh + # Some tests using libguestfs-tools need the fuse device to run + docker run --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh - job: build_the_world displayName: 'Build the World'