From patchwork Tue Jun 18 14:18:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949192 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=NSxitAG+; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) 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 ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W3TRG2r48z20Ws for ; Wed, 19 Jun 2024 00:19:54 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E6653883CD; Tue, 18 Jun 2024 16:18:59 +0200 (CEST) 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="NSxitAG+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF321883BB; Tue, 18 Jun 2024 16:18:58 +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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 9A78F88356 for ; Tue, 18 Jun 2024 16:18:56 +0200 (CEST) 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-ot1-x32d.google.com with SMTP id 46e09a7af769-6fa11ac8695so3070370a34.3 for ; Tue, 18 Jun 2024 07:18:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718720335; x=1719325135; darn=lists.denx.de; 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=elVymhwo2OdpJadyrd8yaQq/Z18oiqjUd3sCF5Meh8E=; b=NSxitAG+jLiZ64HvpDKK2QqXEv/gm2FfTIUqsQQZAyvD1aKX8MHlUZp+oNi0VM8nPq MrL72vlXNIvAkkv52DzI9dHEQTiQ3x0fme1kYhBCoZlm7+z+FOgp+tmQBeaNhp/dy6K2 ibdOwQmcyzh8tsqeYLcTraWDE1QBp2oa/qplU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718720335; x=1719325135; 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=elVymhwo2OdpJadyrd8yaQq/Z18oiqjUd3sCF5Meh8E=; b=m4tCaF8okx6m2JlAPg27phYDy0uvUVPR82LJaT7pk25M+rRa35i2ycDhAK2nBtCSqb Iyj4ZGatrvT9X8VPWVFSbDBzuYRFGf/v+YNdoumY8h+LnyuM+OHOlZ4MwglWMktTiTMS 0ivqUrWkUc5zbMMDT7XGXqqbsoER6co1VkOlKp6noUyTp91K9po/impgCSHi1v3NkO5f Eye2myzKXVzeySJtgatHs0Q7Oq+0q4LOYnIHvqM77YwtfKvBQo+4UehgXh+D/G9iIeWP uQQhnCUjE+iTleLPrnj3xROOnTbGTFkQchbNfWnKdCF35VvmnO5DXj+9uon5fu408W6E L+hA== X-Gm-Message-State: AOJu0YyrxzQO1aSKfeaY/BFPc6moEsoAdodjY5D4VNr140Egn3g93WjJ spWIvEciJ6Y+1tAwNwepzqFAa1vTHBq1ItduRVjsEXdlVdswyRCAQG+kZY9D+996x4m9WEEIMxE KpC1law== X-Google-Smtp-Source: AGHT+IHpxtM41BaJv3KbA72dtPIYepS367SrMQXIP9kPFLbZClslXRslS4YycsghB2auTn8FTO9tZw== X-Received: by 2002:a9d:6f01:0:b0:6fa:17c9:1978 with SMTP id 46e09a7af769-6fb93b09545mr13325075a34.30.1718720335342; Tue, 18 Jun 2024 07:18:55 -0700 (PDT) Received: from bill-the-cat.tail58a08.ts.net (fixed-187-190-205-45.totalplay.net. [187.190.205.45]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-6fb5b1b0bd9sm1844183a34.27.2024.06.18.07.18.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:18:55 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 5/5] Azure: Count all of the machines we would build Date: Tue, 18 Jun 2024 08:18:51 -0600 Message-Id: <20240618141851.3303112-5-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618141851.3303112-1-trini@konsulko.com> References: <20240618141851.3303112-1-trini@konsulko.com> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Now that we have each stage of the world build using variables to define what it will attempt to build, and that we have added in missing machines, add a job to make sure that we would always be building everything. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 116ce903b067..c43bb51066a5 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -196,6 +196,34 @@ stages: steps: - script: make pip + - job: count_built_machines + displayName: 'Ensure we build all possible machines' + pool: + vmImage: $(ubuntu_vm) + container: + image: $(ci_runner_image) + options: $(container_option) + steps: + - script: | + BMANARGS="-o /tmp --dry-run -v" + # First get the total number of boards + total=$(tools/buildman/buildman ${BMANARGS} | grep "Total boards to build for each commit" | cut -d ' ' -f 8) + # Now build up the list of what each job built. + built="$(tools/buildman/buildman ${BMANARGS} $(am33xx_kirkwood_ls1_mvebu_omap) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(amlogic_bcm_boundary_engicam_siemens_technexion_oradex) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(arm_nxp_minus_imx_and_at91) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(imx) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(rk) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(sunxi) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(powerpc) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(arm_catch_all) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(aarch64_catch_all) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(everything_but_arm_and_powerpc) | grep '^ ')" + # Finally see how many machines that is. + actual=$(tools/buildman/buildman ${BMANARGS} $built | grep "Total boards to build for each commit" | cut -d ' ' -f 8) + echo We would build a total of $actual out of $total platforms this CI run + [ $actual -eq $total ] && exit 0 || exit 1 + - job: create_test_py_wrapper_script displayName: 'Create and stage a wrapper for test.py runs' pool: