From patchwork Sun Aug 20 17:31:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1823398 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=fewT7h96; 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) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RTN2Q59stz1yZd for ; Mon, 21 Aug 2023 03:31:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0886C869AB; Sun, 20 Aug 2023 19:31:36 +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="fewT7h96"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DAACC86A0F; Sun, 20 Aug 2023 19:31:34 +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=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URI_TRY_3LD autolearn=no autolearn_force=no version=3.4.2 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) (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 C3EC286993 for ; Sun, 20 Aug 2023 19:31:31 +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-yw1-x1129.google.com with SMTP id 00721157ae682-58a24ac48eeso29642787b3.0 for ; Sun, 20 Aug 2023 10:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1692552690; x=1693157490; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=cin58rdSQJH9+2oCnYjLknoE+GVEDsYcvnuVQr+jyg0=; b=fewT7h966g7Z3JIeHh47mkO99ORuUDV+2nkDE9+TB0PSNRX3bbTjl9Ty89x1MBQcJE 1KcaO9zSraU9uadeZcg6ylUjhYEaEKJqvnrz5bOHFY45BsYAfdFWOAWY1oNShzv5lfp/ gDU+8Lwj/KyLcwL5ueHt3+6ZIqZe5EzXv/HOU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692552690; x=1693157490; 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=cin58rdSQJH9+2oCnYjLknoE+GVEDsYcvnuVQr+jyg0=; b=b76krwoicZYTiID/oLEjyWQeqtjgUemYdCeqUKJHvPInqA2ByP+G/CWwbJ2gfBIIxw VAbya7AahlE6jqEJ32a4QKsQllzB8ZC6ZZZ80vAdrqbZkk8vWTJysRMnKNpdrQ/eOiRE roQ8jOtebExAHNspHPLl3IofbZKrX6VQGV+z/rLi4Ox3a6I/EmZOOHW1fCzL3DOzZe/G waz+V328dHht3QpykaIfs2xKEeN2KECy6Vyg17xh9A5/N4RYqPJzeX5CjBNKlaWeh/ct 08Azi3nTC4+KTLCnQ6ZY97ke58MUXGYhihP3CRDgfxU8xqHXhZivy5cZEAORorTJr/Aa yUGQ== X-Gm-Message-State: AOJu0YylHa/XJ2WA1lJj2chBAO/Dxp0aTwXCOIO3hLnSG2nH2Ye+7uuy Ldn2drBayARmrMVDx3X3nmV/NoiVBxG/RAHj+JvenQ== X-Google-Smtp-Source: AGHT+IF9PFGHG6hyzLmZeWyBJaXPu+U4F/80t/3XzPGQWUR61HHoPOuQJ0/rK/QlXaUzcaofKgMnLQ== X-Received: by 2002:a0d:df47:0:b0:577:a46:26e5 with SMTP id i68-20020a0ddf47000000b005770a4626e5mr5369628ywe.31.1692552690254; Sun, 20 Aug 2023 10:31:30 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-2d48-63ba-cc6c-366e.res6.spectrum.com. [2603:6081:7b00:6400:2d48:63ba:cc6c:366e]) by smtp.gmail.com with ESMTPSA id i194-20020a816dcb000000b0057042405e2csm1800683ywc.71.2023.08.20.10.31.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 10:31:30 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 1/4] Azure: Set the timeout for jobs to the maximum Date: Sun, 20 Aug 2023 13:31:26 -0400 Message-Id: <20230820173129.781985-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 As per current Azure Pipelines documentation we qualify for 3600 minutes per job, if specified, as the timeout. The default unspecified timeout is 60 minutes. Rework things to specify 0 as the timeout (and so maximum allowed) so that we don't have failures due to running slightly past 60 minutes total. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- .azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 61d4bf8c8e5f..fc3188a806f4 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -468,6 +468,7 @@ stages: - stage: world_build jobs: - job: build_the_world + timeoutInMinutes: 0 # Use the maximum allowed displayName: 'Build the World' pool: vmImage: $(ubuntu_vm) From patchwork Sun Aug 20 17:31:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1823399 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=kNAuf3gk; 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 4RTN2Y38SLz1yZd for ; Mon, 21 Aug 2023 03:31:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4E69886A42; Sun, 20 Aug 2023 19:31:36 +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="kNAuf3gk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8F3E486993; Sun, 20 Aug 2023 19:31:35 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) (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 54AEE869AE for ; Sun, 20 Aug 2023 19:31:32 +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-yw1-x112b.google.com with SMTP id 00721157ae682-58caaedb20bso28844227b3.1 for ; Sun, 20 Aug 2023 10:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1692552691; x=1693157491; 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=doLLs0zwMV/OdDYCgPuj6HIEbNik6a0YlMYITNkNiYI=; b=kNAuf3gkgydc3w3rklP5A7Tj3jldJzMsG95p3xZBfjJc1BRxcdiU38NpohyimQSAig KPIR4dV0p7s5BktqGuHLEjDBNYzsQNIAVgDCY4ERaaBHYqcH5gLZlGR2xNt1EbTTTibE 7oIh6Q9IBXvd3tZuvzOy/phohGzK//gtJISnE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692552691; x=1693157491; 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=doLLs0zwMV/OdDYCgPuj6HIEbNik6a0YlMYITNkNiYI=; b=ZKK5OsuhuwWFoHBryKac1qaZVTC8cANh+V1qsNfTm6CJJH3N/MdQlECPE4LnT5IXw/ mmXfv/Wl+ewcPin4uzB89c+pmS9IPwTKDwYFT4As9/69oV5PHImsXQ9elpcUqgD6c/x2 iIRAu1EOfswg+f7vwxI3dfUoVGcqXxgm5viaXYp8LVEOP8BjBECU+Vne4/n+oSf4wBcy WCVuRQx1wF1fUceFqGfiqM8UTeGKzGGjh07jXs6fZJDxjT8L4yKRIxpPZ0K6Pf+LoW6S zsqY7L+L7fQfcroetxP4tgXJkjibLJHEF+D5dKggde/6+yEhMqpAMjk6Iqkx5HLaERBz vqXQ== X-Gm-Message-State: AOJu0YzPEdznu92CPhz7CFhBrv6wTnLHURcHRXaFdj/d0ypUJK85DD7o jmI49G5HIdUgh1dR/UF7YUsPNSP6tHEqNKFATYtArg== X-Google-Smtp-Source: AGHT+IGgOCTrRxngvVkbVJedzqCVYBCJxq7Ax5CXo0VIi7xD6bE/6bGJCjXNO1Ujc5FxfLO0vpitdw== X-Received: by 2002:a81:7c06:0:b0:583:d363:8d1b with SMTP id x6-20020a817c06000000b00583d3638d1bmr4653343ywc.47.1692552690983; Sun, 20 Aug 2023 10:31:30 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-2d48-63ba-cc6c-366e.res6.spectrum.com. [2603:6081:7b00:6400:2d48:63ba:cc6c:366e]) by smtp.gmail.com with ESMTPSA id i194-20020a816dcb000000b0057042405e2csm1800683ywc.71.2023.08.20.10.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 10:31:30 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: [PATCH 2/4] Azure: Rework build the world jobs Date: Sun, 20 Aug 2023 13:31:27 -0400 Message-Id: <20230820173129.781985-2-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230820173129.781985-1-trini@konsulko.com> References: <20230820173129.781985-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 3600 minutes per build job, condense and rework things such that our overall time largely doesn't change, but we can also largely avoid having to re-tweak this job to avoid timeouts. Given that we have 10 threads, we also move a few of the specific sandbox test builds to a prior stage. Note that while sandbox builds with address sanitization enabled (ASAN) not all tests pass, so we limit ourselves to just checking that the version test passes for now. Link: https://learn.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#timeouts Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- Cc: Simon Glass I believe we merged ASAN with the intention of fixing some of the found issues later, so this isn't really a functional change. --- .azure-pipelines.yml | 100 +++++++++++-------------------------------- 1 file changed, 25 insertions(+), 75 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index fc3188a806f4..ab3f961e01ee 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -254,9 +254,17 @@ stages: matrix: sandbox: TEST_PY_BD: "sandbox" + sandbox_asan: + TEST_PY_BD: "sandbox" + OVERRIDE: "-a ASAN" + TEST_PY_TEST_SPEC: "version" sandbox_clang: TEST_PY_BD: "sandbox" OVERRIDE: "-O clang-16" + sandbox_clang_asan: + TEST_PY_BD: "sandbox" + OVERRIDE: "-O clang-16 -a ASAN" + TEST_PY_TEST_SPEC: "version" sandbox_nolto: TEST_PY_BD: "sandbox" BUILD_ENV: "NO_LTO=1" @@ -476,84 +484,26 @@ stages: # Use almost the same target division in .travis.yml, only merged # 3 small build jobs (arc/microblaze/xtensa) into one. matrix: - arc_nios2_m68k_microblaze_xtensa: - BUILDMAN: "arc nios2 microblaze m68k xtensa" - amlogic: - BUILDMAN: "amlogic" - arm11_arm7_arm920t_arm946es: - BUILDMAN: "arm11 arm7 arm920t arm946es" - arm926ejs: - BUILDMAN: "arm926ejs -x freescale,siemens,at91,kirkwood,omap" - at91_non_armv7: - BUILDMAN: "at91 -x armv7" - at91_non_arm926ejs: - BUILDMAN: "at91 -x arm926ejs" - boundary_engicam_toradex: - BUILDMAN: "boundary engicam toradex" - arm_bcm: - BUILDMAN: "bcm -x mips" - nxp_arm32: - BUILDMAN: "freescale -x powerpc,m68k,aarch64,ls101,ls102,ls104,ls108,ls20,lx216" - nxp_ls101x_ls108x: - BUILDMAN: "freescale&ls101 freescale&ls108" - nxp_ls102x: - BUILDMAN: "freescale&ls102 -x keymile" - nxp_ls104x: - BUILDMAN: "freescale&ls104" - nxp_ls20xx_lx216x: - BUILDMAN: "freescale&ls20 freescale&lx216" - imx6: - BUILDMAN: "mx6 -x boundary,engicam,freescale,technexion,toradex" + am33xx_at91_kirkwood_mvebu_omap: + BUILDMAN: "am33xx at91_kirkwood mvebu omap -x siemens" + amlogic_bcm_boundary_engicam_siemens_technexion_oradex: + BUILDMAN: "amlogic bcm boundary engicam siemens technexion toradex -x mips" + arm_nxp_minus_imx: + BUILDMAN: "freescale -x powerpc,m68k,imx,mx" imx: - BUILDMAN: "mx -x mx6,imx8,freescale,technexion,toradex" - imx8_imx9: - BUILDMAN: "imx8 imx9 -x engicam,technexion,toradex" - keymiles_siemens_technexion: - BUILDMAN: "keymile siemens technexion" - keystone2_keystone3: - BUILDMAN: "k2 k3 -x siemens,toradex" - sandbox_asan: - BUILDMAN: "sandbox" - OVERRIDE: "-a ASAN" - sandbox_clang_asan: - BUILDMAN: "sandbox" - OVERRIDE: "-O clang-16 -a ASAN" - samsung_socfpga_renesas: - BUILDMAN: "samsung socfpga renesas" - sun4i_sun9i: - BUILDMAN: "sun4i sun9i" - sun5i_sun6i: - BUILDMAN: "sun5i sun6i" - sun7i: - BUILDMAN: "sun7i" - sun8i: - BUILDMAN: "sun8i" - sun50i: - BUILDMAN: "sun50i" - arm_catch_all: - BUILDMAN: "arm -x arm11,arm7,arm9,aarch64,at91,bcm,freescale,kirkwood,mvebu,renesas,siemens,tegra,uniphier,mx,samsung,sunxi,am33xx,omap,toradex,socfpga,k2,k3,zynq" - sandbox_x86: - BUILDMAN: "sandbox x86" - kirkwood_mvebu_uniphier: - BUILDMAN: "kirkwood mvebu uniphier" - mips: - BUILDMAN: "mips" + BUILDMAN: "mx imx -x boundary,engicam,technexion,toradex" + rk: + BUILDMAN: "rk" + sunxi: + BUILDMAN: "sunxi" powerpc: - BUILDMAN: "powerpc -x keymile" - tegra: - BUILDMAN: "tegra -x toradex" - am33xx_omap: - BUILDMAN: "am33xx omap -x siemens" + BUILDMAN: "powerpc" + arm_catch_all: + BUILDMAN: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex" aarch64_catch_all: - BUILDMAN: "aarch64 -x amlogic,bcm,imx8,imx9,k3,tegra,ls1,ls2,lx216,mvebu,uniphier,renesas,sunxi,samsung,socfpga,rk,versal,zynq" - rk_non_rockchip_64bit: - BUILDMAN: "rk&aarch64 -x rockchip" - rk_rockchip_64bit: - BUILDMAN: "rk&aarch64&rockchip" - zynq_zynqmp_versal: - BUILDMAN: "zynq&armv7 versal zynqmp&aarch64" - riscv: - BUILDMAN: "riscv" + BUILDMAN: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex" + everything_but_arm_and_powerpc: + BUILDMAN: "-x arm,powerpc" steps: - script: | cat << EOF > build.sh From patchwork Sun Aug 20 17:31:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1823400 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=rBKy64mR; 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) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RTN2r5JBXz1yZd for ; Mon, 21 Aug 2023 03:32:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9544A869B9; Sun, 20 Aug 2023 19:31:38 +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="rBKy64mR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 66F5086AF4; Sun, 20 Aug 2023 19:31:37 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) (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 E991E869B4 for ; Sun, 20 Aug 2023 19:31:32 +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-yw1-x112e.google.com with SMTP id 00721157ae682-591ba8bd094so8083167b3.3 for ; Sun, 20 Aug 2023 10:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1692552691; x=1693157491; 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=jOBFJXH2wi6n98XVTSgcJAnW8vZQVdttkbBLwQSVoD0=; b=rBKy64mRA8m/fNBln+HeKdIqY2Nx2kg+vhzQmJvofoPba2MjXUmRlGn+Zpmtck/mcU 0GsVyOxgXpfA52HueD7rMLmegQ+QfoJ0RjA43nUALqnxr8/l9iWu25ZJJI9xEUIZ/DuX lMBA7VAo1V+9PbcILrDl6GF1HTdLQbxAdwCbQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692552691; x=1693157491; 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=jOBFJXH2wi6n98XVTSgcJAnW8vZQVdttkbBLwQSVoD0=; b=QU+1rOuRxRbpuQyoX3QfQnN1CZr++EsMHhB4pCpbB1rsm8ctC/K0aUrZchXDF93yFi WUB78lYG5zV6AxOunbOp7N6LwMDqMJ7FBpz9ICna1zRb5gmQN2YqZNSL2AWBY9Kqtv+D qThNsps5ANyWUQcmtJ9eiltFLEiz8z2213ytqAmo0jpSHb0F2xaZEO1ZG1tkyFcMI4pX lPPQyWTdw7Ik+mKPH4triDhSgokIt0hbNnTNYLgaPThCwCwlpV8+F7s3IT+UZeEGLE+/ 3t+tZ2WZHC7o7/0ufPGSc5j35AGsPwQ6qcpqzIBb0Z62Mxi3VyTIgZm7O3l9X8OEEpPs H56g== X-Gm-Message-State: AOJu0YzclJ7DR6MvYWFHO1BMwNqc47x63RnSXTddIQm//oAKygPc+kgJ d0p/ClJh0Vla08ArxPZQMr+axSizDVBzLQzO+UrLkA== X-Google-Smtp-Source: AGHT+IHgWL3z9n45kQJ6GipySI7pAWGk4J6ULfI4TOAeDDZuQWfKo0CMTsbv7hzahrsE8a3LhgArcg== X-Received: by 2002:a81:60c2:0:b0:591:4f2b:7eea with SMTP id u185-20020a8160c2000000b005914f2b7eeamr2756652ywb.18.1692552691504; Sun, 20 Aug 2023 10:31:31 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-2d48-63ba-cc6c-366e.res6.spectrum.com. [2603:6081:7b00:6400:2d48:63ba:cc6c:366e]) by smtp.gmail.com with ESMTPSA id i194-20020a816dcb000000b0057042405e2csm1800683ywc.71.2023.08.20.10.31.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 10:31:31 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 3/4] CI: Combine tools-only and envtools jobs Date: Sun, 20 Aug 2023 13:31:28 -0400 Message-Id: <20230820173129.781985-3-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230820173129.781985-1-trini@konsulko.com> References: <20230820173129.781985-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 These jobs are to confirm specific build targets, on a Linux host. We can safely combine these two build tests, with a make mrproper in between. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 13 ++----------- .gitlab-ci.yml | 12 ++++-------- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index ab3f961e01ee..e0ac7166d653 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -126,7 +126,7 @@ stages: ./tools/buildman/buildman --maintainer-check || exit 0 - job: tools_only - displayName: 'Ensure host tools build' + displayName: 'Ensure host tools and env tools build' pool: vmImage: $(ubuntu_vm) container: @@ -135,16 +135,7 @@ stages: steps: - script: | make tools-only_config tools-only -j$(nproc) - - - job: envtools - displayName: 'Ensure env tools build' - pool: - vmImage: $(ubuntu_vm) - container: - image: $(ci_runner_image) - options: $(container_option) - steps: - - script: | + make mrproper make tools-only_config envtools -j$(nproc) - job: utils diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9f6b31792f3..7400d1225d9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -190,16 +190,12 @@ Check for configs without MAINTAINERS entry: - ./tools/buildman/buildman --maintainer-check || exit 0 # Ensure host tools build -Build tools-only: +Build tools-only and envtools: stage: testsuites script: - - make tools-only_config tools-only -j$(nproc) - -# Ensure env tools build -Build envtools: - stage: testsuites - script: - - make tools-only_config envtools -j$(nproc) + - make tools-only_config tools-only -j$(nproc); + make mrproper; + make tools-only_config envtools -j$(nproc) Run binman, buildman, dtoc, Kconfig and patman testsuites: stage: testsuites From patchwork Sun Aug 20 17:31:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1823401 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=K1ChZzp+; 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 4RTN2x40phz1yfj for ; Mon, 21 Aug 2023 03:32:09 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D7BB586B7E; Sun, 20 Aug 2023 19:31:38 +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="K1ChZzp+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7B77D869B4; Sun, 20 Aug 2023 19:31:37 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (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 B2F4E869D0 for ; Sun, 20 Aug 2023 19:31:33 +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-yw1-x112d.google.com with SMTP id 00721157ae682-589e4179fc7so29526007b3.2 for ; Sun, 20 Aug 2023 10:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1692552692; x=1693157492; 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=1Z/ceWneChRxGjG2HqTty+p0mSSKTIfbSneWl8CQahM=; b=K1ChZzp+XT5w5Z8jfpU0chiO1e9cnn44wsLdeiEPaRnwJcia7TfPAW5zUP4cl9obL4 yxYyiO1tcOZx8h21EiyFEOcU4qVeJEFVHWzRl13pysIIKYriIGltkrfhiJN2P5y1l/gj u+JGYH0kkAavQEctopC6Ab9mVwLsebb/XHleY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692552692; x=1693157492; 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=1Z/ceWneChRxGjG2HqTty+p0mSSKTIfbSneWl8CQahM=; b=O19fnSFrFBQPKMUCdWWf/Iqxg4KsE6Ha80UcMi7p9XL2iUhxT0CuSkmuiwT3tWD13A 2lbgYZiYIAJbP65l0lr5CI6RV7zdtM6FXvWFcOMy0c4OBquiP9iUrIAWYxB2dfIgvQqS qXwQ8q7VLRuOuhtzvGooM0QnIXVfezxmYkvUCRKH3pytXAMXWaT+oMhRNX/FBjdAftFH /dn5USTJnp4X4nBBZNFnglyJXBxoEfOVZxBnjWXGSHhzgwfO0sBQpTWlD5cmZNg/oEaS y11pt/YRJAE74OyfrxLI+mhzNyimDLLPf20+czXFGFnqBNClkAlq91HjsGPIKJdNQO8a 4Quw== X-Gm-Message-State: AOJu0YxorOd250VGU+XJ+hKV3zbKJWOmQry2ACEQ+GsxeZbHUX+a/9eG CqKhT0OBr683xNI2yq+thg9kXWbSMkIFs5Hnd7UrrA== X-Google-Smtp-Source: AGHT+IFP43ww9He5z+mBLbCyb+Q+i5oIiB9sthGbwyUT9fQu9dleFK1Mz+8LuZkXCHw7DNtPeLK1tw== X-Received: by 2002:a0d:c405:0:b0:56d:43cb:da98 with SMTP id g5-20020a0dc405000000b0056d43cbda98mr4862128ywd.29.1692552692204; Sun, 20 Aug 2023 10:31:32 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-2d48-63ba-cc6c-366e.res6.spectrum.com. [2603:6081:7b00:6400:2d48:63ba:cc6c:366e]) by smtp.gmail.com with ESMTPSA id i194-20020a816dcb000000b0057042405e2csm1800683ywc.71.2023.08.20.10.31.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 10:31:31 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 4/4] CI: Drop some jobs we didn't really utilize Date: Sun, 20 Aug 2023 13:31:29 -0400 Message-Id: <20230820173129.781985-4-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230820173129.781985-1-trini@konsulko.com> References: <20230820173129.781985-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 - We have added more TODO/etc comments since this task was created and never focused on removing them. - The output of sloccount isn't preserved or looked at, and if desired should be in the release stats pages instead somehow. - The results of cppcheck aren't investigated and require modeling work to be useful to start with. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- .azure-pipelines.yml | 32 -------------------------------- .gitlab-ci.yml | 22 ---------------------- tools/docker/Dockerfile | 2 -- 3 files changed, 56 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index e0ac7166d653..ad04f43b4339 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -67,16 +67,6 @@ stages: :^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0 - - job: cppcheck - displayName: 'Static code analysis with cppcheck' - pool: - vmImage: $(ubuntu_vm) - container: - image: $(ci_runner_image) - options: $(container_option) - steps: - - script: cppcheck -j$(nproc) --force --quiet --inline-suppr . - - job: docs displayName: 'Build documentation' pool: @@ -92,28 +82,6 @@ stages: make htmldocs KDOC_WERROR=1 make infodocs - - job: todo - displayName: 'Search for TODO within source tree' - pool: - vmImage: $(ubuntu_vm) - container: - image: $(ci_runner_image) - options: $(container_option) - steps: - - script: grep -r TODO . - - script: grep -r FIXME . - - script: grep -r HACK . | grep -v HACKKIT - - - job: sloccount - displayName: 'Some statistics about the code base' - pool: - vmImage: $(ubuntu_vm) - container: - image: $(ci_runner_image) - options: $(container_option) - steps: - - script: sloccount . - - job: maintainers displayName: 'Ensure all configs have MAINTAINERS entries' pool: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7400d1225d9e..7f3ad40eae8d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -151,22 +151,6 @@ check for new CONFIG symbols outside Kconfig: :^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0 -# QA jobs for code analytics -# static code analysis with cppcheck (we can add --enable=all later) -cppcheck: - stage: testsuites - script: - - cppcheck -j$(nproc) --force --quiet --inline-suppr . - -# search for TODO within source tree -grep TODO/FIXME/HACK: - stage: testsuites - script: - - grep -r TODO . - - grep -r FIXME . - # search for HACK within source tree and ignore HACKKIT board - - grep -r HACK . | grep -v HACKKIT - # build documentation docs: stage: testsuites @@ -177,12 +161,6 @@ docs: - make htmldocs KDOC_WERROR=1 - make infodocs -# some statistics about the code base -sloccount: - stage: testsuites - script: - - sloccount . - # ensure all configs have MAINTAINERS entries Check for configs without MAINTAINERS entry: stage: testsuites diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 3d2b64a355f3..4d496700f1fd 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -42,7 +42,6 @@ RUN apt-get update && apt-get install -y \ clang-16 \ coreutils \ cpio \ - cppcheck \ curl \ device-tree-compiler \ dosfstools \ @@ -104,7 +103,6 @@ RUN apt-get update && apt-get install -y \ python3-virtualenv \ rpm2cpio \ sbsigntool \ - sloccount \ socat \ softhsm2 \ sparse \