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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 C8D5EC4743C for ; Mon, 21 Jun 2021 18:52:43 +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 4D9D760231 for ; Mon, 21 Jun 2021 18:52:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D9D760231 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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 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) 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 Content-Transfer-Encoding: 8bit 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' -- 2.32.0