From patchwork Wed Mar 1 15:15:45 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: 657803 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3543738wrb; Wed, 1 Mar 2023 07:17:18 -0800 (PST) X-Google-Smtp-Source: AK7set+d13F8iEL3SQSM8kNnE3QDvkH6P0D/pB+sTvPIFT3mEmMaT2FoiX+3w5Oe3MNOnaeW5hNK X-Received: by 2002:a05:6214:d03:b0:577:518b:68e5 with SMTP id 3-20020a0562140d0300b00577518b68e5mr656244qvh.23.1677683838551; Wed, 01 Mar 2023 07:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677683838; cv=none; d=google.com; s=arc-20160816; b=vysoTxHBrLmTiG6A0xp6kvAoSUHDAvUHS2LfjznRbU//QQDd55OWmaamacKnqhoFfU RhyY13GtCEGDRQlnSgKvIvJ70GzfWImBTSF3j/3kex/INcg5hs/oYDqwLVFQhnadjHwo hNr8qGxCwucpiftLvWdhK4VLZocbMbf5UCw9EmHMwjkO1CkZTFsEvvQQNZX5kOlOcky+ kipynUVSgnoU23TfnIMgi9lVsAWLKZRSxKa4TRGBpBRAQUte/FhH7T4h331a/RRbpm0y NOAta/9u8HWxkLdHh/D7GkaY6z2qFLcchWq3fWFTsrDWYevl93ho1cnOKTPymH9CqHhM rXzw== 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=JbykLvpPl5/hixH9ogfK/P0Luf51vXufeBGBbBQlZ/g=; b=tZWGMj5PkQLsnwUIL2PUFSSQ6UlPX2Z211eGnHmGydzWG3ESkqAtytfIpuCp3AcAsd EhcYHmh34HSytusLhoXJRjJN8mtLqLhPMosorNCENCyUyJtl0+EOkzYqbRdUmtJjFusp 9lUVplFL+OelJ2jj+Ve28gT+O5iEoiH+Av6Ux2ZXkLUNrxGuKrJGRIQzUZAeS2xVPzTA 6Xwh5/e8vd7m30S3HICn1MwISEVDAO0hClxqUWA4tRL3MKLjSH9BvlwVz1VNeROl+C7o sfthx6H/JMntSUYyCpOexg4Dx8/BFPbTPMIARBoiX1GUPW7EvyDD1WfbFn8zRrBZntgz 4NUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YYMyazvf; 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 x18-20020a0cb212000000b00574ae6321bdsi4843286qvd.568.2023.03.01.07.17.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Mar 2023 07:17:18 -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=YYMyazvf; 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 1pXOBl-0008Cw-Qu; Wed, 01 Mar 2023 10:16:18 -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 1pXOBh-00087n-MZ for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:16:14 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXOBd-0007bl-Dc for qemu-devel@nongnu.org; Wed, 01 Mar 2023 10:16:13 -0500 Received: by mail-wr1-x432.google.com with SMTP id g3so4716252wri.6 for ; Wed, 01 Mar 2023 07:16:09 -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=JbykLvpPl5/hixH9ogfK/P0Luf51vXufeBGBbBQlZ/g=; b=YYMyazvfdxunNJCuDGPxbbhondTnCvBTAUF+tAvM7n9WKIYw5qHGa/IeSY5xmOXBDn EOT4mK5OoVcdhknVhzPcZIPRGkv3slMvSVN1Lvs0FwjpTnlFGrGsFmtSWWFZ5J4bLnkG oFsxLaAw1/ccn0lTNmvzH9+J4eu5ohbvSaobDSyU2uoFX5D0zHAMsURWAR3nEtpNBcAx MDRg3hCL2/+QLldYo4G0//s1vggsgqynImuERERKF7b15C1iil8p0pki28Na2Xgv/m+S GAz9AzNl8QIxXewJ07SOetkftjjM9yxL34KUiot+VfgpC86p6m2JxaycaKQT8co6GbMt 4RVQ== 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=JbykLvpPl5/hixH9ogfK/P0Luf51vXufeBGBbBQlZ/g=; b=567AmSz/rO9oQWSCe3SJlEmvojADLbqQDLrbxq5aNvffyBBODpaByZviPWdzfvWlti n+qCf1oBejZ5PoAGTSpJ6WuFqJMF5uaj6mT+N04MdpmQfeWPTRZEZZwgRhuzwvaylWC5 vg0MsUiPmuY9DmACZnL0YvSK8aFxzHa9zTzuIwXqNrXswbbkI3ampiD3Jecy/B9xfSB0 AOU/MBV+0axHeG62/jwRcKURIrV/IBwQU5KwEmFxuq7LzSIBMGxtnR0KaRxvA3IIGYOk aYIJRbMlWtI7M2KTGo7armLcXzfZUNLaT/gynHMEgNypRv587kPNodZrpREJg6m+0eMn THnA== X-Gm-Message-State: AO0yUKVgClK1A63hpao6f2DyYw7y1Fd+h0ciWse0y6AaQQGu5ONRwmpO TH2sO/0qYhCcqs045+0D9gOg1A== X-Received: by 2002:a05:6000:81e:b0:2c4:489:fe93 with SMTP id bt30-20020a056000081e00b002c40489fe93mr11546664wrb.21.1677683768081; Wed, 01 Mar 2023 07:16:08 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id c18-20020adfed92000000b002c54c9bd71fsm13238487wro.93.2023.03.01.07.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 07:16:06 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 335FF1FFBD; Wed, 1 Mar 2023 15:16:05 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Thomas Huth , =?utf-8?q?Dani?= =?utf-8?q?el_P_=2E_Berrang=C3=A9?= , =?utf-8?q?Alex_Be?= =?utf-8?q?nn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL v2 05/24] gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs Date: Wed, 1 Mar 2023 15:15:45 +0000 Message-Id: <20230301151604.1948813-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230301151604.1948813-1-alex.bennee@linaro.org> References: <20230301151604.1948813-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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 From: Thomas Huth The meson log files can get very big, especially if running the tests in verbose mode. So dumping those logs to the console was a bad idea, since gitlab truncates the output if it is getting too big. Let's publish the logs as artifacts instead. This has the disadvantage that you have to look up the logs on cirrus-ci.com now instead, but that's still better than not having the important part of the log at all since it got truncated. Fixes: 998f334722 ("gitlab: show testlog.txt contents ...") Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrangé Message-Id: <20230215142503.90660-1-thuth@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20230228190653.1602033-6-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/cirrus/build.yml b/.gitlab-ci.d/cirrus/build.yml index 7ef6af8d33..a9444902ec 100644 --- a/.gitlab-ci.d/cirrus/build.yml +++ b/.gitlab-ci.d/cirrus/build.yml @@ -32,6 +32,9 @@ build_task: - $MAKE -j$(sysctl -n hw.ncpu) - for TARGET in $TEST_TARGETS ; do - $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 - || { cat meson-logs/testlog.txt; exit 1; } ; + $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 ; done + always: + build_result_artifacts: + path: build/meson-logs/*log.txt + type: text/plain