From patchwork Wed Feb 15 19:25:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 653736 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp524241wrr; Wed, 15 Feb 2023 11:26:04 -0800 (PST) X-Google-Smtp-Source: AK7set+Lljlw2+fkge2YH5WASAbrc9aS+ujeJj6wc3MIOvGHsh29aABSYpyXyrV/tF4WJxC7ZmY+ X-Received: by 2002:a05:622a:1648:b0:3bc:f954:323b with SMTP id y8-20020a05622a164800b003bcf954323bmr4732889qtj.29.1676489164442; Wed, 15 Feb 2023 11:26:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676489164; cv=none; d=google.com; s=arc-20160816; b=nAVjqk8VWRT3qFmDE23dYMw1D0Y1R4iaq74mWRWXxCBj2L2M2qtgmp01H3VieIG02e 5bY+nwfcbam6J7yBka8x8PWFujRAhdIbwnVYJ2ioGgfMJWlcqH/VaemlWMpfLYDnkWmo tdYqFpASyRy0nWftsHBtoL+1/WTWWQWXs4o0dWT1UplYOJwKqlgSnmhee6jLScdFg9Ho VRgvLh0mvIikivdtPimgWmrrDZzRud49mjymPPojzx2dNNYxdY7ONHvVpaiE2Qcvo+CQ qFPPEcC31eoioG0EXK05qiWqyilT5OuQC0BUix9SDVkQIrpHUFnAb2PqeBNWu/RebCnE S39w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=WM6/8uD1nkP3DANq3sh0KIkSDB5grWzaeai/tBVh8W4=; b=lLWnJS+sCTZVdzjF3TjDyFu7laullyk3TW95hVYlj5Zd2ftjszyZv1QHC1sa77/BNH trlZrdB8KqRYdpADnW0OJ3Zwsjknlgcf0Trs8jzdrUxwOB4/3u84t3aiXR3DEcdl9nOK 0eWKwMkfEu61QbLwiyOJm/WeYagPc8/X7sR7c6aiQm2jZ+R9KKSTnJf2wZow/sQxseCj qrBZtpyD4D2Jd9h4nuOtioxJbqeLwdxAw7+4PgDH4cbo5VUJzkjjm1Zvc9K9iaZyGtI3 JTNqMOOX1eO1nieuu2+KKaZVVCPpNfBxesg3mylC/0JepUAu9esNt/6GvP+zuKUKJH+m zJJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XtdIM31A; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x142-20020a376394000000b007235a285c59si12980621qkb.245.2023.02.15.11.26.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Feb 2023 11:26:04 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XtdIM31A; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSNPM-0006hi-K5; Wed, 15 Feb 2023 14:25:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSNPK-0006gn-Ec for qemu-devel@nongnu.org; Wed, 15 Feb 2023 14:25:34 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSNPI-0001fr-TS for qemu-devel@nongnu.org; Wed, 15 Feb 2023 14:25:34 -0500 Received: by mail-wr1-x435.google.com with SMTP id co8so16494340wrb.1 for ; Wed, 15 Feb 2023 11:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=WM6/8uD1nkP3DANq3sh0KIkSDB5grWzaeai/tBVh8W4=; b=XtdIM31AIzDHxM6T4Bk5uNoEnuf8BT8L7dxz82gi0mNM9nMl70Rx5l3+d0JptqMqjp u/h1+pYF2SnLt7oZ1ZZzQwkObhn6jrWw3ShoFDbdtRt8PII9qqZClvvd2urXgXKZaDHU l1hd0kH7Pgrgl5usbjJH7js8iD1MY6MvgPvQLWp2106UyueINEz1nKGapkch9gnZ5hFv r0urC7nY2CoSCQZshwuM8UlZ28EtKlLq+Fa3C178WsIOqPTIHi6gBWwvFWaGsFo2TEsV lpYGn2HtH3rCz9kgAZZg/ZqVNqwyS3G73ql5L/77ldJAlts+T+bvuQElXPH3nYVqeiKV grWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=WM6/8uD1nkP3DANq3sh0KIkSDB5grWzaeai/tBVh8W4=; b=weVxXybQgLNroINsQ4tcQUeTbwG8uUcUg1VTNmGU7Ze2ELSYXdR4SsOWY1TWdZQzuZ 7J/tmiBKPBUcc9HiF+NrAcIJE5G++OVcMl8Og/Scb6RNq0q6eBtPT7MOl43VbjSGh5Hc 76T5sEKATBP/knH7VcQzYg0G1yZfMtA48X+bxA4iMewL1JrTTiVl9UcYMe+T498yQM3C HeriMR3DZFASSL5l32a+fNTNA22z+BdAznE2U/lG0P+r3cPF34EWWE/pfnozby1ExskJ H7pMZgsV5+eio3ehXyIyy0O98x8oAymI5KXul5Z97bgoEOK68q+ChUseKY5UlA8r1K5v pNrA== X-Gm-Message-State: AO0yUKWZceTfCAliNa3uCgqV/NW0e+liyHGO5OLoY9dt72hbQIOvtqs6 u8D3F84Ln6jeVMaiFyaM38LJWQ== X-Received: by 2002:adf:ef02:0:b0:2bf:b839:c48b with SMTP id e2-20020adfef02000000b002bfb839c48bmr2809119wro.51.1676489131485; Wed, 15 Feb 2023 11:25:31 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id w11-20020adff9cb000000b002c54e9f6bc2sm11834697wrr.77.2023.02.15.11.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 11:25:31 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 80A191FFB8; Wed, 15 Feb 2023 19:25:30 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Michael Roth , Alexander Bulekov , Qiuhao Li , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Markus Armbruster , Paolo Bonzini , qemu-arm@nongnu.org, John Snow , Pavel Dovgalyuk , Darren Kenny , =?utf-8?q?Alex_Benn=C3=A9e?= , Stefan Hajnoczi , Bandan Das , Cleber Rosa , Peter Maydell , Bastian Koppelmann , Yonggang Luo , Li-Wen Hsu , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Thomas Huth , Beraldo Leal , Ed Maste , Wainer dos Santos Moschetta Subject: [PATCH 01/12] gitlab: tweak and filter ninja output to reduce build noise Date: Wed, 15 Feb 2023 19:25:19 +0000 Message-Id: <20230215192530.299263-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215192530.299263-1-alex.bennee@linaro.org> References: <20230215192530.299263-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org A significant portion of our CI logs are just enumerating each successfully built object file. The current widespread versions of ninja don't have a quiet option so we use NINJA_STATUS to add a fixed string to the ninja output which we then filter with grep. If there are any errors in the output we get them from the compiler. Signed-off-by: Alex Bennée --- .gitlab-ci.d/buildtest-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml index 73ecfabb8d..3af51846cd 100644 --- a/.gitlab-ci.d/buildtest-template.yml +++ b/.gitlab-ci.d/buildtest-template.yml @@ -21,7 +21,7 @@ then ../meson/meson.py configure . -Dbackend_max_links="$LD_JOBS" ; fi || exit 1; - - make -j"$JOBS" + - env NINJA_STATUS="[ninja][%f/%t] " make -j"$JOBS" | grep -v "\[ninja\]\[.*[123456789]/" - if test -n "$MAKE_CHECK_ARGS"; then make -j"$JOBS" $MAKE_CHECK_ARGS ;