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 802ACC64EC4 for ; Tue, 28 Feb 2023 20:29:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7D8F885BE7; Tue, 28 Feb 2023 21:29:00 +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="cxNhoMVa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 18FCD85BD1; Tue, 28 Feb 2023 21:28:57 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 5E47985BE7 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-qt1-x82b.google.com with SMTP id w23so12028152qtn.6 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:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=mwvraA80ykldx2S54UvQwBsdgIZ5mb1DaSZ7CKlKVAI=; b=cxNhoMVaehXmCx1h0LgaqfWhH0czAe589xQpyaMEta87cav393IfzoVrEumBvWbqfB taL5Gc2hDsPzUFSxUAEPSYzoYD6FVDgFbk+/ry1KOQzzg7lFEeRCtUhoB7gl9kAd8Mgs bYc6cn0oke1cUWmNb0y+OxWG1UHqbyiKiWLXg= 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:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mwvraA80ykldx2S54UvQwBsdgIZ5mb1DaSZ7CKlKVAI=; b=j8GyXW0+2lOmRWRYsdni9Ho0KmwvkoAd7kBRviQwe5bboc7e6+ahOctELgj2qR7mAu zrs1MhRUtKb3gmpfHS4saTh2gm/4TNjCxgfFLbzasIAPDu49i08LdX7ULRNiEyZRwaer vyuSg2zTzh3NvXnY4kSGqsI9Q/YQYHdXi3HTudCb1DMAanUJCTfEXFEi3FJWscLLvJOG mSLzKdcaJJ8eyIl3vxAg46vlGFWffr+nvHnepOZnaetXKobEgwdBdnQdKXWRg+ksyxBJ MOsT16UU3A1iB/BR2uSi8IldA3dHYY7p4FZd8L6Vfw8D544RPIdgArTZeOjjF5qbxZe/ ugQg== X-Gm-Message-State: AO0yUKXVZ7NOeJ4nU1f6/kUWBCgM+C9cyVoU3dJeyiPdbGzzpzf/MIXx jnegUfzi96vgjWN5er1si++PzNNesp2UNYE13ZM= X-Google-Smtp-Source: AK7set+owiiCPQJZkZyAwlGO/1Xs5eCgcie829G2hFKPBQZ1vbNGSEycX+DlQA55jrD+8pT8kyQloQ== X-Received: by 2002:a05:622a:186:b0:3bf:c388:cbea with SMTP id s6-20020a05622a018600b003bfc388cbeamr7088164qtw.43.1677616130951; Tue, 28 Feb 2023 12:28:50 -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.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 12:28:50 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/2] Azure CI: Save pytest output automatically Date: Tue, 28 Feb 2023 15:28:48 -0500 Message-Id: <20230228202849.2378561-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 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 Enable use of the python-azurepipelines package which provides automatic formatting and uploading of the pytest output. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index f6609bbd6bd1..609020fa5498 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -194,10 +194,11 @@ stages: virtualenv -p /usr/bin/python3 /tmp/venv . /tmp/venv/bin/activate pip install -r test/py/requirements.txt + pip install pytest-azurepipelines 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"; + ./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"; # the below corresponds to .gitlab-ci.yml "after_script" rm -rf /tmp/uboot-test-hooks /tmp/venv EOF -- 2.34.1