From patchwork Sun Jun 13 14:07:29 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: 1491438 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=E0F7Jlp5; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G2xJN4kCXz9sT6 for ; Mon, 14 Jun 2021 00:08:36 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 398C680EC8; Sun, 13 Jun 2021 16:08:19 +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="E0F7Jlp5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7EFAC80C96; Sun, 13 Jun 2021 16:08:15 +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-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 40AA480C96 for ; Sun, 13 Jun 2021 16:08:11 +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-x531.google.com with SMTP id d13so29477998edt.5 for ; Sun, 13 Jun 2021 07:08:11 -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=WtT6KME2ArXgTy92BaNOX2LrSHfzhib8Gs1gTFaDfBU=; b=E0F7Jlp5atuGAqsxA5ZlYpKmqn9bf7Wmfq5sbJLi6yX3fdau33piMoBNzc09mmicMA Pu+TxFD+GEPy6Om2qqVqNynJFU3Nl9J9dmODtIj0D47r+fUPj05CXfldxie7vwFUqEZx SVu+RQApLXmH/UYwwOSc367t433b19+yp2+A94C66Q8x3YlzWGUu6d2Eh6hW+FymgEET n2PMTRluJbGk9ch6LlBh3B4SPLW8y6rcN9m1Faw32BVTxzoLRk7eCgB2eLbkyDfCtmZL YHL5uK0BhmrQxbRCm4FpRkUoRCmG0vqikLcgJDn5B+bhqBCcQ+XpxNvqOtV56jRSASBl Z+SA== 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=WtT6KME2ArXgTy92BaNOX2LrSHfzhib8Gs1gTFaDfBU=; b=GUqI0m7Kh0yS/RHE2W5XQz270pWY+S099TB0YJcpcqKgfdX2rT/wxF5FBge065ZfRm dN3kpHbfPTCzQQIG7SlFMM3zF1hx5IHCX/hBUPmUOPdqq5R9dPZ6cgFM5F1OGIHubCLd FOLRebTrKTNub3NuIJ+2lskpR4ZnODkv86s+83XXStFtUMDGyrerDLJZZTD3/skf0kxx VZ8Obn2KAHPuOj4noJ81vhzLumc5YWGJ+cj8xNzqyC4DzfjmoDTfuZD6JcQCDomYAN0t i+PZ5qlFhBHUmw6O4BOoBLq9kAWWafijRzPoefY4lO1bdYwCCJqA36mPm1Tuc29z2enl ZxGg== X-Gm-Message-State: AOAM533QBxTYbrXhoL0WvnEbmuBByZF5EwukFArQLx+Fume5ID6e+NPX USw+VxA6v3Gd6qu7zE5d8USbtjmuxNA= X-Google-Smtp-Source: ABdhPJxUAXsUbOb4q7qXrwHWudPHf9yWW9W5R3gbLm638vA7x8AntK2qevl2TstrV88IhDh/WZWLEg== X-Received: by 2002:aa7:cb90:: with SMTP id r16mr12885018edt.121.1623593290734; Sun, 13 Jun 2021 07:08:10 -0700 (PDT) Received: from localhost.localdomain ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id n15sm5929803eds.28.2021.06.13.07.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 07:08:10 -0700 (PDT) From: Alper Nebi Yasak To: u-boot@lists.denx.de Cc: AKASHI Takahiro , Bin Meng , Tom Rini , Simon Glass , Daniel Schwierzeck , Marek Vasut , Heinrich Schuchardt , Alper Nebi Yasak Subject: [PATCH v2 2/3] Azure: Add fuse device for test.py tests Date: Sun, 13 Jun 2021 17:07:29 +0300 Message-Id: <20210613140731.16254-3-alpernebiyasak@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210613140731.16254-1-alpernebiyasak@gmail.com> References: <20210613140731.16254-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 --- 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'