From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64A6AC61DA3 for ; Tue, 21 Feb 2023 09:47:55 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUPE6-0006iL-6q; Tue, 21 Feb 2023 04:46:22 -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 1pUPDs-0006YF-DR for qemu-devel@nongnu.org; Tue, 21 Feb 2023 04:46:08 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUPDo-0005iO-3G for qemu-devel@nongnu.org; Tue, 21 Feb 2023 04:46:07 -0500 Received: by mail-wr1-x429.google.com with SMTP id r7so3541824wrz.6 for ; Tue, 21 Feb 2023 01:46:03 -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=fPMJZKPW+lS52lKT2TCgAnBcE8BtNLFJK6252gDfDns=; b=ewmLyAlEqI8ExrnzJ4o629Hx+2naRUe+He88wAsS1qwvHnZpQeSwOgaRd1izFWLsPv djSOs7+k9bOXk0Jh/wKG0kHH0EXXAq+QYidCFblBxGPsxSckhuwnjMw92QNA3l8E6O4Y 0WhZ+wJpUPSdrRllIWT+jG/X46HJS35zq1S4aBEd0u4zZ6ecLQSgkmY6MPPMi3xWDKPe ErdtZ9UoVH75EvFQ52Ldtfv/coNqWYh1/Vimsc2ZB7V8fihCsNdpUTwwTMCLS57/oFmD ABQ8oepZ1WgT0VynYxIqzNGOKx1iR/HorQFPjR12r7MyM7DGNup0RU4QAvYI6Edqlw9o O9Iw== 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=fPMJZKPW+lS52lKT2TCgAnBcE8BtNLFJK6252gDfDns=; b=0wDgNEIhlyYNZj2rz7gzABuD5XWJ2cEUXI9eec7IQdb3Tkbjyx120PZfnaZIW8CLqh piw52WRTKvPqaVIGrvdj8OvVYEwNnSQI70QNOQ7MQ2/0L6LFCeV0j4UTKL4tXfVmt74S ml6IOY+0M7Fv1R7N9dwjnNQDCBC8VV3rugCHEq2iHUKmc4ydesrGa9BUljRGEm4QRlUt NPJiw1YpDA2wisKZWDlvD67nrM+CQP3ws6dL72oAAJNvloEQx9PD7/QVo2/WNr9I5Kvj pAyxzlIHJ/H8MAcT4HRJ1RSceewVeE8I8SbzPHO70K4Fx1OzQYpRMBs+N9gPdpPYRt/r +kuw== X-Gm-Message-State: AO0yUKV7TBYyTV2+DE2B3f2JGOOCLQpavtySWZW64y+6975JL+17031r nMcD6Mlua2dd0V4pkDqFlV160Q== X-Google-Smtp-Source: AK7set9jOJCWcR6s8ES7zfIaBPz38gAVbQS6iqHD29AZDADm6dnxiGDDG3Sda5FoPwSI28wPo3s9tQ== X-Received: by 2002:adf:dccb:0:b0:2c7:691:18b4 with SMTP id x11-20020adfdccb000000b002c7069118b4mr732405wrm.39.1676972762183; Tue, 21 Feb 2023 01:46:02 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id o24-20020a5d58d8000000b002c7066a6f77sm738070wrf.31.2023.02.21.01.46.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 01:46:00 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B010C1FFBE; Tue, 21 Feb 2023 09:45:59 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Markus Armbruster , Peter Maydell , Yonggang Luo , Li-Wen Hsu , Paolo Bonzini , Thomas Huth , Ed Maste , Bandan Das , Cleber Rosa , Qiuhao Li , qemu-block@nongnu.org, Beraldo Leal , Hanna Reitz , qemu-arm@nongnu.org, Michael Roth , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Pavel Dovgalyuk , Alexander Bulekov , Darren Kenny , Aurelien Jarno , Bastian Koppelmann , Wainer dos Santos Moschetta , Stefan Hajnoczi , Kevin Wolf , John Snow , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH v2 06/14] gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs Date: Tue, 21 Feb 2023 09:45:50 +0000 Message-Id: <20230221094558.2864616-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221094558.2864616-1-alex.bennee@linaro.org> References: <20230221094558.2864616-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.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=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.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 --- .gitlab-ci.d/cirrus/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.1