Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 2146FC64EC7 for ; Tue, 28 Feb 2023 20:29:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BE45085BD0; Tue, 28 Feb 2023 21:28:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (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="LqxpNwu4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B03A85237; Tue, 28 Feb 2023 21:28:57 +0100 (CET) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 D5F6A85BF8 for ; Tue, 28 Feb 2023 21:28:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf32.google.com with SMTP id nv15so7773692qvb.7 for ; Tue, 28 Feb 2023 12:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1677616131; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Tkz+krgcqQeWCnsXsZ3OPULP7Wl5whR+WYNYOtqtaIo=; b=LqxpNwu4Ci6KMHNKsH6iX3jeHx+ECgP0qNcn6oB0CudYQ01Nfq8t4EcQdUbj6zPa3L gK692MI9qui9PeMc+qyQvaY6A6BcEEpaF9uxk0D+9vfqC8Gt6lgVBJ2hgG8dBJ5ge1UG X050IBE2HIRN+AUu3RJMuo39wpErEbT+0SCz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677616131; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tkz+krgcqQeWCnsXsZ3OPULP7Wl5whR+WYNYOtqtaIo=; b=OVX9QlN4C89FwBtu+BnNaFUJubsdUdjldL1midS3W2lhoOdBK1CLEg1v9XVBMSr1tT Qfo1sCrUZbahHPeQugmOhTcrrYU8uf57XWbl/phlQdMl5gvUXT2NFb9SMGwxZlUg92FE FmhWT9sh61/K4Ku+2oF/nNBX4cPA4FwveRZ/NwdhkSRHTuYR3Skbg7El71fXWhPQjBhp W0cL9xxzqdR0lZHAVMRm+JhWmsvkiLj+E1UT0y0BImPsG+ijUnN06aXzMrfZafA5wCuy 4Bd/9QdH95hMSoU8rTXFTVZfDOm95BEFDcrmfzvdsbntiYfcFvboe8nWT1JQoF9RxL/I eLBg== X-Gm-Message-State: AO0yUKXT52uLxVLd171m3+qmB154FoYXrL5erQslj7chGqC0bGYrsBaD dOU0lkk9YlEjUxlwNt40y0ICGl6VTDzmLDv7U6I= X-Google-Smtp-Source: AK7set/J9WHzE5GN2zpDu2PN/PoyV4pY6JDoooTbtiFrTZKqI0JuXKLmkKZ4IoTs4txJF49VDtgxZw== X-Received: by 2002:a05:6214:2429:b0:56e:b16d:de64 with SMTP id gy9-20020a056214242900b0056eb16dde64mr8294905qvb.49.1677616131521; Tue, 28 Feb 2023 12:28:51 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id 190-20020a3705c7000000b0073b9ccb171asm7308414qkf.130.2023.02.28.12.28.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 12:28:51 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 2/2] Azure CI: Be explicit about pytest cache directory Date: Tue, 28 Feb 2023 15:28:49 -0500 Message-Id: <20230228202849.2378561-2-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228202849.2378561-1-trini@konsulko.com> References: <20230228202849.2378561-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean The default pytest cache directory is in a read-only directory in Azure, which results in a warning on the build page. Use the pytest command line option to set the cache dir to somewhere writable. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 609020fa5498..e0c499f8a407 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -198,7 +198,7 @@ stages: export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH}; export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci; # "${var:+"-k $var"}" expands to "" if $var is empty, "-k $var" if not - ./test/py/test.py -ra --bd ${TEST_PY_BD} ${TEST_PY_ID} ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"} --build-dir "$UBOOT_TRAVIS_BUILD_DIR" --report-dir "$UBOOT_TRAVIS_BUILD_DIR"; + ./test/py/test.py -ra -o cache_dir="$UBOOT_TRAVIS_BUILD_DIR"/.pytest_cache --bd ${TEST_PY_BD} ${TEST_PY_ID} ${TEST_PY_TEST_SPEC:+"-k ${TEST_PY_TEST_SPEC}"} --build-dir "$UBOOT_TRAVIS_BUILD_DIR" --report-dir "$UBOOT_TRAVIS_BUILD_DIR"; # the below corresponds to .gitlab-ci.yml "after_script" rm -rf /tmp/uboot-test-hooks /tmp/venv EOF -- 2.34.1