From patchwork Tue Jun 18 14:18:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949186 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=O7exKGax; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4W3TQF1K9zz20Ws for ; Wed, 19 Jun 2024 00:19:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5982488315; Tue, 18 Jun 2024 16:18:57 +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="O7exKGax"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 174BD88356; Tue, 18 Jun 2024 16:18:56 +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-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 EB50F8839C for ; Tue, 18 Jun 2024 16:18:53 +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-x32a.google.com with SMTP id 46e09a7af769-6f855b2499cso3025536a34.1 for ; Tue, 18 Jun 2024 07:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718720332; x=1719325132; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=mCs3UThhKT7zVvO8QZopGlP21s6srKizjKNVIUot+/M=; b=O7exKGaxN+OJ6QADyhbbVQh4wxo3dapIh5KGkkM9qNo6jqQfczNn8sk38qT/bie9Ut XfQSPeMr8f6TiPsnUKt3ns4WTIwhtO8ne+x7s/6zqWBzOjkrCRc6LtO5pKig9Mz/wD1g V2W/51nV9w+5m88Btu2TOqPpRRAIuIlNISyYc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718720332; x=1719325132; 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=mCs3UThhKT7zVvO8QZopGlP21s6srKizjKNVIUot+/M=; b=Hp2RPFtzAL16R5wW9Xrvd7bW9p1+/LFwSFTufyIW6pHpJw7EgXacIA0KjmilmBBI98 bjAbM6KS9Phoz6YHydpHXghkb0zQiiyvM+D4L7sLEIeggd7UiR84JMVvgtce+vPTWOzL cwoJMpE6VXSoFibAodscBx3kPwE3lPscRPPRHpAikLo9WUkUeU3oDzQdDp9wpZ0UCwp/ aKfOL/xKjJhArPvIHPLI3jjrKKhE0v2K+HyQKs3OVqDZj9WHbBHhM6Wz0uXfsy7ipWux 3FRE5FCq7XkWjcBjh5odHrebehBUVwNmCpfhaPR8q7JmXTQzQ5e3G17CyF37StCjJ082 8IQA== X-Gm-Message-State: AOJu0Yz+fJXTegjFwqWD06gDftmCiVpuijM1C6Z5OXgFEUMG/4z9u9Y+ zwo0Nc5IB4C1PCbK8/sM8OrCgNU7ad85My4GirfjW8QyJllNu/aKV+wJPx0+2zw4a6RI66yeHI1 RN9yDUg== X-Google-Smtp-Source: AGHT+IH0p8R+yJ9EKOJRWZNmMshYfNEfH/8Mx9QT6qXmSuW+ZLtesFmf1Hn3CU28v4pWvcPrFRQ+pg== X-Received: by 2002:a05:6830:a:b0:6f9:a91e:f0fd with SMTP id 46e09a7af769-6fb932992e8mr14808263a34.2.1718720332518; Tue, 18 Jun 2024 07:18:52 -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.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:18:52 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/5] Azure: Correct comment about the strategy in the world matrix build Date: Tue, 18 Jun 2024 08:18:47 -0600 Message-Id: <20240618141851.3303112-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 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 At this point noting that we have a split in our job similar to TravisCI (which we have not used in years) isn't helpful, and is also not true anymore either. Instead, explain that we split the world up in to 10 jobs as that's the maximum we can have going in parallel on the free tier of Azure. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 27f69583c655..f662f41872fd 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -473,8 +473,8 @@ stages: pool: vmImage: $(ubuntu_vm) strategy: - # Use almost the same target division in .travis.yml, only merged - # 3 small build jobs (arc/microblaze/xtensa) into one. + # We split the world up in to 10 jobs as we can have at most 10 + # parallel jobs going on the free tier of Azure. matrix: am33xx_at91_kirkwood_mvebu_omap: BUILDMAN: "am33xx at91_kirkwood mvebu omap -x siemens" From patchwork Tue Jun 18 14:18:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949187 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=B84F9Orw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4W3TQV6BDMz20Ws for ; Wed, 19 Jun 2024 00:19:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BC0AB8839A; Tue, 18 Jun 2024 16:18:57 +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="B84F9Orw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA1E288365; Tue, 18 Jun 2024 16:18:56 +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-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (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 78D9188366 for ; Tue, 18 Jun 2024 16:18:54 +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-x332.google.com with SMTP id 46e09a7af769-6f986b92acaso3144591a34.2 for ; Tue, 18 Jun 2024 07:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718720333; x=1719325133; 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=gjjKzzxwKK6tdjrGjRUaaPd6zCLINVKoINdApMJRfIg=; b=B84F9Orw10FKue68AAxIEsLRyAraRrL/Ds3H2ErDgi1lyX97SP5tJHZ/PosT97W8Ad r5zElJ5eiwHsSMFsOTlfLYiatG+der6rV184+RzJB+zJlPTHRQPZG6MMR7gSb8QtOY5C wuMVAhlvH7WWCSXFltg4RgiyCd8ZuGoK1RcUs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718720333; x=1719325133; 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=gjjKzzxwKK6tdjrGjRUaaPd6zCLINVKoINdApMJRfIg=; b=RQTWGEyliWfQcaDN0qWS6jogbyxDVZ3qsG3HdRX+rvBby7n3SzGio4ZpYu7P0RGkNN 1xK2mAU05kUlnvaYwKCcLjo9FATZPtpsQp3jLOfiP9nizxHVDkDtWtf8rBZP0Y7Emjkq WnvYvo0p0TlLgrZURjCWiNTg1T66aXLfy76xDYvL1eTqx0OnOTdVCjOuXrW1gGkJaidb qK3EBO94oXY1hdFk4/vZKfNHCFYSmmLwnTJ18hG4Muj7Smqk3gFH2QyeF+RYv5ml0Phh KvSiasYdrzfsSsmfKEpXlQOjrhe/zZA4MXvpF6kF6v3WTmvdU44Kebl/RkNHNnJpz60i PJfA== X-Gm-Message-State: AOJu0YwbH0eutzUnuhLSZo4pgYgkTYoTNOMXpeGayZP4Y8yPns+oGWZ3 S7WhREAZkjF6nlf2Ktj0+IfL72a1k5hPVhumGaWC95Et1D0osJSO3k2H/En1EE9d2VQUk2sJIbc gC/EeaQ== X-Google-Smtp-Source: AGHT+IHVb0XOgMbR4m27Lp3Ms03OUbFiV8aNoJ3ujbtskVnoutc0kNw7b8L9BijHJkEtLobdeG5Ilw== X-Received: by 2002:a05:6830:1209:b0:6f9:8f34:81ce with SMTP id 46e09a7af769-6fb9378419fmr14411064a34.17.1718720333156; Tue, 18 Jun 2024 07:18:53 -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.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:18:52 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 2/5] Azure: Rework how we define what to build in the world build Date: Tue, 18 Jun 2024 08:18:48 -0600 Message-Id: <20240618141851.3303112-2-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 Instead of defining BUILDMAN to the value we'll build in each part of the matrix job, define a variable with that name and have it list what to build. This will allow us to reference these multiple times consistently later on. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index f662f41872fd..6d3bdcee8aac 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -8,6 +8,17 @@ variables: # since our $(ci_runner_image) user is not root. container_option: -u 0 work_dir: /u + # We define all of these as variables so we can easily reference them twice + am33xx_at91_kirkwood_mvebu_omap: "am33xx at91_kirkwood mvebu omap -x siemens" + amlogic_bcm_boundary_engicam_siemens_technexion_oradex: "amlogic bcm boundary engicam siemens technexion toradex -x mips" + arm_nxp_minus_imx: "freescale -x powerpc,m68k,imx,mx" + imx: "mx imx -x boundary,engicam,technexion,toradex" + rk: "rk" + sunxi: "sunxi" + powerpc: "powerpc" + arm_catch_all: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex" + aarch64_catch_all: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex" + everything_but_arm_and_powerpc: "-x arm,powerpc" stages: - stage: testsuites @@ -477,25 +488,25 @@ stages: # parallel jobs going on the free tier of Azure. matrix: am33xx_at91_kirkwood_mvebu_omap: - BUILDMAN: "am33xx at91_kirkwood mvebu omap -x siemens" + BUILDMAN: $(am33xx_at91_kirkwood_mvebu_omap) amlogic_bcm_boundary_engicam_siemens_technexion_oradex: - BUILDMAN: "amlogic bcm boundary engicam siemens technexion toradex -x mips" + BUILDMAN: $(amlogic_bcm_boundary_engicam_siemens_technexion_oradex) arm_nxp_minus_imx: - BUILDMAN: "freescale -x powerpc,m68k,imx,mx" + BUILDMAN: $(arm_nxp_minus_imx) imx: - BUILDMAN: "mx imx -x boundary,engicam,technexion,toradex" + BUILDMAN: $(imx) rk: - BUILDMAN: "rk" + BUILDMAN: $(rk) sunxi: - BUILDMAN: "sunxi" + BUILDMAN: $(sunxi) powerpc: - BUILDMAN: "powerpc" + BUILDMAN: $(powerpc) arm_catch_all: - BUILDMAN: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex" + BUILDMAN: $(arm_catch_all) aarch64_catch_all: - BUILDMAN: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex" + BUILDMAN: $(aarch64_catch_all) everything_but_arm_and_powerpc: - BUILDMAN: "-x arm,powerpc" + BUILDMAN: $(everything_but_arm_and_powerpc) steps: - script: | cat << EOF > build.sh From patchwork Tue Jun 18 14:18:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949189 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=W6zPnCSf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4W3TQl5Rlkz20XR for ; Wed, 19 Jun 2024 00:19:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2CAF188354; Tue, 18 Jun 2024 16:18:58 +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="W6zPnCSf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4AB9188365; Tue, 18 Jun 2024 16:18:57 +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-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) (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 2DE1B88315 for ; Tue, 18 Jun 2024 16:18:55 +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-oo1-xc30.google.com with SMTP id 006d021491bc7-5b96a78639aso2213472eaf.1 for ; Tue, 18 Jun 2024 07:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718720334; x=1719325134; 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=7/ljBTKVBkJc69pQUofLCg1eq11QW/ZCdFB+3nhtYOQ=; b=W6zPnCSfKds7wAAk+9fbVTnc3pIXESAzIifCvcMPxsfQLtK3v6aMmPwt+tSq1aCQmj 7EIk+wMgLX4t8OAKFKiM2M034kO2Tzs0aovqlGDka2AQ6giAV8Ny8FXLm8K8BxMlR9vN 6LeJsVT0hxRJWXL3GvTGNrwpjZ71jZjx3a8wI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718720334; x=1719325134; 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=7/ljBTKVBkJc69pQUofLCg1eq11QW/ZCdFB+3nhtYOQ=; b=YzZ2Gqvq8JFXr1gkiw6WEtp65o7BhyllS7dL/kL5XpT0BKCcL9JIq4+9sFu94BBR1J PS1hdG4P0MeLuVKELymmtDV/qqAmHrLi/Nz+kkATqMkWT1LOi69SDhgZUEKS9K6w4773 yIzdc3AAO7pdFEijBixSdhyX7i9FMRW3joIl+3SqeIOInd1NVfSU6E5L2aPAS9uxi5VA uOm5j0stDnFYLWDNZy0t9mEQopqI4T0WPDJ8WxiCPZDJOfGd6SIHw7UCPmPuWvjeiVIT wIUhNr2YFbC9zOAeV298hJVTdYCaIH1dgwaxqRa/I5/2Hkx7wc0qWgWDamVpR3fp8QO9 O6jg== X-Gm-Message-State: AOJu0YzIjsA9BHUCjIJWDoL/yF+vx8v9N1fxQzkIPaot0RJXgOnMRNhD ZDYEuoralPvWH1mhMJNiLswcPoyUEXQtypbRRCRMgGMcTaY6eV+Zva8VyTCLRgBsDCF0V6hIxPQ U0E5Lxg== X-Google-Smtp-Source: AGHT+IEOUhTk9BHkz7RuNgA4J7mEOjxVdDmX0G6bADPj7qDc2ZfyH3XS3nXNvmqVyccNxh3OrD1Kow== X-Received: by 2002:a05:6871:293:b0:254:9ec6:c8cd with SMTP id 586e51a60fabf-258428535admr14703830fac.7.1718720333813; Tue, 18 Jun 2024 07:18:53 -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.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:18:53 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 3/5] Azure: Spell out the "everything" job Date: Tue, 18 Jun 2024 08:18:49 -0600 Message-Id: <20240618141851.3303112-3-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 In order to get the list of boards that will be done in a "dry run" build we need to have something listed and not just an exclude list. Populate the job with all architecture directories except arm and powerpc. 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 6d3bdcee8aac..2c2d0809cab1 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -18,7 +18,7 @@ variables: powerpc: "powerpc" arm_catch_all: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex" aarch64_catch_all: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex" - everything_but_arm_and_powerpc: "-x arm,powerpc" + everything_but_arm_and_powerpc: "arc m68k microblaze mips nios2 riscv sandbox sh x86 xtensa -x arm,powerpc" stages: - stage: testsuites From patchwork Tue Jun 18 14:18:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1949190 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=D1FkF0GJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4W3TR05kqYz20Ws for ; Wed, 19 Jun 2024 00:19:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8BFA988356; 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="D1FkF0GJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 185A6883AE; 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-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 E67168832D for ; Tue, 18 Jun 2024 16:18:55 +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-x329.google.com with SMTP id 46e09a7af769-6f971cb3c9cso3063266a34.1 for ; Tue, 18 Jun 2024 07:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718720334; x=1719325134; 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=xEShGuK54v9H+H5+rWnraL3Cvaw73v+vDZ6FALI63cM=; b=D1FkF0GJlzs5hvKP3VpknMti3yZ+5jjx27ZikMC//h0aFbS3xxUI+YhLIdthejnF8y H6X3vwufbCOU9qt2KiIKBDzpXukzoT9xHCZRWnAYykcKpGdsK9EBqkitydi3FWCN0kzC su+JqEBnFiV4AaVBMhVJT3EjFnNYWpwut/k/M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718720334; x=1719325134; 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=xEShGuK54v9H+H5+rWnraL3Cvaw73v+vDZ6FALI63cM=; b=pnhUvtE+oNKfvKn1ByjjRWdE3pAvlJmoPYBYV8IXEz2tAa9Wtam26pA+mDPS5Qmq/N t566c/uVWVpcgFauEKnpuZJ2f7FwSTU+teOa+Gw/YvRBJSp7LSkVsWnjWnFQj2AyfgTe jkFcZUtz56pm2pJNMyovZCnpQxmlYmGX9QAY+NMr6xqg3ZW94n4YLneVCVUMbIP4AC63 kUu/mQvaQsmV2QLoa9fLuNLaDUwG5o58Gi8lgnklm7iJCgn+4rnZ/vy332Tnk5VDEPJR oTS0KpXE+VwULqeLk8dlGcyKp9yFIelwN/XhKglCxzQXtjrbGv7POzM8WmQG8N8C8ZzA aX9Q== X-Gm-Message-State: AOJu0YwmVlEh7X1N0b98x+aMMT9gvMSTNaXjpvtuTIksdxyT2ur8AYdy oFLPGzpJTPokaI8pYPbTpwGCUnL8NUcLMqh8fyroTwlVIuvSRWjStg+pjh71suu1hY9m4V7tghd 1ku/2cQ== X-Google-Smtp-Source: AGHT+IH8g5Mr+VLgHfz3OCVH1RUJAZLVgTfX09hLMR6TBFxfy27QUriPaj3u/WtHIWdCBxVlQAFBzw== X-Received: by 2002:a05:6830:114b:b0:6f9:6065:5253 with SMTP id 46e09a7af769-6fb93b3b2ecmr11980328a34.38.1718720334615; Tue, 18 Jun 2024 07:18:54 -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 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 07:18:54 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Jiaxun Yang Subject: [PATCH 4/5] Azure: Update some job breakdowns so we build the world again Date: Tue, 18 Jun 2024 08:18:50 -0600 Message-Id: <20240618141851.3303112-4-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 As part of commit 9aeac898da66 ("Azure: Rework build the world jobs") I made a few mistakes. An errant '_' meant that we built neither at91 nor kirkwood platforms. Further, the non-freescale (NXP) "LS1xxx" platforms were also not being built. Adjust some jobs to have these be built again. Fixes: 9aeac898da66 ("Azure: Rework build the world jobs") Signed-off-by: Tom Rini --- Cc: Jiaxun Yang --- .azure-pipelines.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 2c2d0809cab1..116ce903b067 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -9,9 +9,9 @@ variables: container_option: -u 0 work_dir: /u # We define all of these as variables so we can easily reference them twice - am33xx_at91_kirkwood_mvebu_omap: "am33xx at91_kirkwood mvebu omap -x siemens" + am33xx_kirkwood_ls1_mvebu_omap: "am33xx kirkwood ls1 mvebu omap -x siemens,freescale" amlogic_bcm_boundary_engicam_siemens_technexion_oradex: "amlogic bcm boundary engicam siemens technexion toradex -x mips" - arm_nxp_minus_imx: "freescale -x powerpc,m68k,imx,mx" + arm_nxp_minus_imx_and_at91: "at91 freescale -x powerpc,m68k,imx,mx" imx: "mx imx -x boundary,engicam,technexion,toradex" rk: "rk" sunxi: "sunxi" @@ -487,12 +487,12 @@ stages: # We split the world up in to 10 jobs as we can have at most 10 # parallel jobs going on the free tier of Azure. matrix: - am33xx_at91_kirkwood_mvebu_omap: - BUILDMAN: $(am33xx_at91_kirkwood_mvebu_omap) + am33xx_kirkwood_ls1_mvebu_omap: + BUILDMAN: $(am33xx_kirkwood_ls1_mvebu_omap) amlogic_bcm_boundary_engicam_siemens_technexion_oradex: BUILDMAN: $(amlogic_bcm_boundary_engicam_siemens_technexion_oradex) - arm_nxp_minus_imx: - BUILDMAN: $(arm_nxp_minus_imx) + arm_nxp_minus_imx_and_at91: + BUILDMAN: $(arm_nxp_minus_imx_and_at91) imx: BUILDMAN: $(imx) rk: 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: