Message ID | 20250411153040.1772000-6-jerome.forissier@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4882:0:b0:38f:210b:807b with SMTP id g2csp826367wrq; Fri, 11 Apr 2025 08:31:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWjmz0VLeameCxk06d7jLjAUc6EyKToUb7IY2qL9d0hR8WNjUL/v8g+52THgBHxRzP+KRc6TQ==@linaro.org X-Google-Smtp-Source: AGHT+IHGSpLMXTomSbHxko8Y6OoA0dXmk0NQGurVhF7D803FsMkVraQLvqFAeUTK0BQ8DkgSaNtn X-Received: by 2002:a05:6102:3ece:b0:4bb:c490:7d6c with SMTP id ada2fe7eead31-4c9e4ef15fdmr2342364137.9.1744385506808; Fri, 11 Apr 2025 08:31:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744385506; cv=none; d=google.com; s=arc-20240605; b=Nl9OGGMfFAcpzFgASEYHQu48+3Fe/oORafRw3ghPC2CLOOzdRbsVS2KjNvXK1h/QA3 +l8rY0M0xBlEfxXzrP7xVuVYDj23ovAWW5UrUsJQbYNOL94IL+iMcAIXuyT+I0DBSrDh W0nasFbsyz/jQ782qh5sOHrb6lpRfSDAKb8xXHNOBfwJf68lZm8vHdhOntPik/Q0/JsI 9uv/cEmGAjF3L5NRQy5Z59mj4z7d4CMtEhSdAhFKLNMCo8zBi8fCstFtP/ZYhg3V05Y1 4uBGE1zj3Bm2XpuV1fKJLF+PWM9cjl/Nd3YRHDrmeVgPQODyQ6GtxApxNyOXx53s34Vd 8bjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DMgY9ksSmExFbWzvay4LioQwsmmTDVnEOWiIAKfLOIM=; fh=SBsxzH/dx+vhtWi73tHNQQyNGGj8g+b1JH2Du4UNeks=; b=T2YbdANf2aW4ATQ2chhfslgOvR6w3CdOwOPesTXPuEF7S2KF6ao9ED5oKiuZ1ieSas p+5hksDjbuBeamNtVeCbqcU6vpb9KTLQw+VEnm/d7qV0A+kj3J/AZeFAdw2zpxkLmii2 FthJ4cDRUl/aifUFYkLmiVQ4ftsEHv3diJUhUsSfAVH0piaxeFNjEXyO4EQUKyT4UObq AVNMlF8wtst0NQa7O7RQLI5YBA3JwQpKIE3nHWR55qeylbYai7H8QwbuDB8EXHu5mXHS HMaKdLo9odw2PxhLeIe+27XDYjc2zzxbscD1tovZ/tvBgV08j+V0GIkv5Zr6vqGZ83lv xwcQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mAVgtpci; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ada2fe7eead31-4c9c989114bsi1963136137.231.2025.04.11.08.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Apr 2025 08:31:46 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mAVgtpci; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 65551841B9; Fri, 11 Apr 2025 17:31:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="mAVgtpci"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB6D484003; Fri, 11 Apr 2025 17:31:02 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 04AB78419C for <u-boot@lists.denx.de>; Fri, 11 Apr 2025 17:31:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43d0782d787so14558835e9.0 for <u-boot@lists.denx.de>; Fri, 11 Apr 2025 08:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1744385459; x=1744990259; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DMgY9ksSmExFbWzvay4LioQwsmmTDVnEOWiIAKfLOIM=; b=mAVgtpcifJQo8VIbVXhnPk4e1Upm2dmX3etyvEJ7VrD2CUD+yUbbkLjXIol8jjI+pM JKcIsCjRnSZIBs8LwYsnyFnw/cG7itqDthHdc6ckgHdHGWgYVkCdCMAhBCVH8ExGnVQL n5RlYx8B8ijnzAzVgkA7/75xh4mOtri3SkZ71179Co4CkFYsWsNpYs73mQKhlJ8Y+cp5 vcEzz0aNxSzThX4grndvR30ZiJhrbrcU1fe1pWCN+I0Lzh5XyRyWFl9YeE5KGUwQcMqw 7DeeIilcxHjgr4ssUTcULBSX4s5k+nu8XcXYQlDXDf7D+6otzzKlJyuEDylM/4/kMjKQ A1qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744385459; x=1744990259; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DMgY9ksSmExFbWzvay4LioQwsmmTDVnEOWiIAKfLOIM=; b=nOpmDwCiG18uLMFtHMw0kDimLXpm6wlpcrp91+fWO0jhrIJ90n7sS/eIvfEUdd0+Kr NpjFwMxfzt4Nx2Ds59OlhrzzF6Ssg91Yrhn4gIMkyS06QRASAiSk8bdvxSRTLdlwgoyS gVz+uxon1Z+cdATTLKSH58l/9n1JEUdPj8/DuO/QtF5RaIgXgvNs/AE/kNdCe2dBOMdc bQ/TvsO+IbyitMuuuohRnf6plXInnYJje3uEBb7GhFYq8ruGrcGWbPiOaiIRFJnCuefB 39Bp7+5hpTeE/+tTaKMNbl7QjI/8avgnuSWo1TpuH5t+GxgNI7DSDo1FVTr8U618wS4/ LqMQ== X-Gm-Message-State: AOJu0YxGlxRiA28wBHr0QS1ZX1ToKwdhDTkgtijVnTfzNnQeBzfikY4Z YKeaAQpjUkB4PfDeX3i2speEWBtPWRUfQ33V71fFE5nWKBbO0FSTlHDVDqQ35veloOAWWH2CsjY vgR8= X-Gm-Gg: ASbGncugLwEllL5EN7KWp/MDJ4ImqqKUUUfUxkt5eJ5676QdQuTSTubEwR2wZhjlxs6 LXgPcB46PuX0Pe5pSimCdSPwp2AbCKh7xM2x4i83ZuykAzSFv79bP/xldXcZuJ4cV3PxMJuOp+Q PhSH/AZEuH+3958wWRHHmYyDCRIxIPRiPWMzaCcAQzvExzfYmhpVCRTT1o0urkGvdUbUeCAYDhC JVlj5460Ia+vKk5IsVQ0YfObZbO7pgXwZnIdioSWs+DhbKZTepA0/OqxKTX0lkNfhFbaK0cHkq0 kSrws4Nx6AW06n1n7ylOCsAkI3IDcOT3+36Y6VPGCg5mt3aKPQ== X-Received: by 2002:a05:600c:1c91:b0:43c:f64c:447f with SMTP id 5b1f17b1804b1-43f3a9b4870mr24355425e9.29.1744385459256; Fri, 11 Apr 2025 08:30:59 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:94cf:dbda:d223:8de8]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43f205ecf30sm90337355e9.1.2025.04.11.08.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Apr 2025 08:30:58 -0700 (PDT) From: Jerome Forissier <jerome.forissier@linaro.org> To: U-Boot mailing list <u-boot@lists.denx.de> Cc: Jerome Forissier <jerome.forissier@linaro.org>, Love Kumar <love.kumar@amd.com>, Michal Simek <michal.simek@amd.com>, Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com> Subject: [RFC PATCH v1 5/7] test/py/tests/test_bootstage.py: add test for InfluxDB report Date: Fri, 11 Apr 2025 17:29:31 +0200 Message-ID: <20250411153040.1772000-6-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250411153040.1772000-1-jerome.forissier@linaro.org> References: <20250411153040.1772000-1-jerome.forissier@linaro.org> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Bootstage reports for CI
|
expand
|
diff --git a/test/py/tests/test_bootstage.py b/test/py/tests/test_bootstage.py index 8d0afe2611b..5619eaf4676 100644 --- a/test/py/tests/test_bootstage.py +++ b/test/py/tests/test_bootstage.py @@ -39,6 +39,17 @@ def test_bootstage_report_json(ubman): assert '"dm_r"' in output assert '"reset~board_init_f"' in output +@pytest.mark.buildconfigspec('bootstage') +@pytest.mark.buildconfigspec('cmd_bootstage') +@pytest.mark.buildconfigspec('bootstage_report_influxdb') +def test_bootstage_report_influxdb(ubman): + output = ubman.run_command('bootstage report') + assert '=== Begin InfluxDB v2 bootstage report ===' in output + assert 'u-boot_bootstage_report,' in output + assert 'u_boot_version=' in output + assert 'dm_r=' in output + assert 'reset~board_init_f=' in output + @pytest.mark.buildconfigspec('bootstage') @pytest.mark.buildconfigspec('cmd_bootstage') @pytest.mark.buildconfigspec('bootstage_stash')
Add test for CONFIG_BOOTSTAGE_REPORT_INFLUXDB. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> --- test/py/tests/test_bootstage.py | 11 +++++++++++ 1 file changed, 11 insertions(+)