From patchwork Tue Feb 21 09:45:50 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: 655365 Delivered-To: patch@linaro.org Received: by 2002:adf:9bcd:0:0:0:0:0 with SMTP id e13csp1869087wrc; Tue, 21 Feb 2023 01:47:55 -0800 (PST) X-Google-Smtp-Source: AK7set+GMf8uxzDMFCUX3Be2hGuyE9rBT0T7xK2LRZPbxsL8iYMJ2gA2iDlKxQ2i5MVISyWp2T5f X-Received: by 2002:a05:622a:120a:b0:3bb:8c08:dfb0 with SMTP id y10-20020a05622a120a00b003bb8c08dfb0mr23269180qtx.12.1676972875121; Tue, 21 Feb 2023 01:47:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676972875; cv=none; d=google.com; s=arc-20160816; b=UwsRFxFjBW4DSDFQphkeeWtx6LGy9FcyuPQgY/q0gfvP2iKeLp06GoMTByzMhmwUtD DX1QFF7u1ewaGrmxVgnaa+aQ+YctvHGn1pql9uK+pHQ+YqghXYU31FcAe+miuHyNoRKr bosep2gjCDoeThIZhHb7r1I6MtqtJuzVaQ+mKJHXagMYpOmfj2/Q846NxqSJSGJuF5tH Vq+1kBZuMsqLcItpOQKO1HwIwGYeQ6v62XvMvnlEWCtDy7vt0Kwk4nTTbuAIZ1R1B9KI XVZhq3MaoC2Lb8kthARe9XuDCPA/5KZVPjNDkrc2TPMSnl5Wsq3N8wPyGdkn0GtROa1B 5wTA== 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=fPMJZKPW+lS52lKT2TCgAnBcE8BtNLFJK6252gDfDns=; b=Q6MWQQb4xiW7Il/fVuCAe7xZ9n9gUQEQy1LHNrwIBCtR4IRhNsDRBA9IKVJZj7dTbm h4+CTHMpoiqTPqIYlV/ZdmsKzwbNutL/E8vz8FpjZi0qYb809Yp600UrF/brj5CZzYe3 ooSHJM7s7Fr4AlmPVRvL9CmeA4DAS5xN6bEP0g6XGDbQD1bTo8HMGtwi33D1ySqE8yKa +KjX3prKJDaUVVcxeacPAudw1lMu6FwkM0DlteU6nQpLkolEfw7ScU69KS0Rs66Ondgv q63f1S5zfwzN7eRcoAk0KCeCVtK9BRttlMebPsb7U2ncqjSJzGGiaXFDrRg6xYecV8mA R96A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ewmLyAlE; 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 p21-20020a05622a00d500b003b63c3333easi12013442qtw.158.2023.02.21.01.47.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Feb 2023 01:47:55 -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=ewmLyAlE; 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 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-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_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-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_Lureau?= , Pavel Dovgalyuk , Alexander Bulekov , Darren Kenny , Aurelien Jarno , Bastian Koppelmann , Wainer dos Santos Moschetta , Stefan Hajnoczi , Kevin Wolf , John Snow , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P?= =?utf-8?q?=2E_Berrang=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 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+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 --- .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