From patchwork Tue Feb 28 19:06:34 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: 657487 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3098161wrb; Tue, 28 Feb 2023 11:11:04 -0800 (PST) X-Google-Smtp-Source: AK7set/gl+oUyLiA5jVPZKcEg7EAl3rBuaTaIFsMjbx1g3IanZmH9h6p+R+HwJdlcqmwnezapJ4s X-Received: by 2002:ad4:4eac:0:b0:572:636d:625f with SMTP id ed12-20020ad44eac000000b00572636d625fmr7794917qvb.33.1677611464530; Tue, 28 Feb 2023 11:11:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677611464; cv=none; d=google.com; s=arc-20160816; b=PBKr9Sm+EkWnGQqBIIxIIDIC8cXj372vzx5iXNUn46mHFTdboKGpttLuz2mYrv9dPO ziORZqO3XMLRihaUTy9YRgAbXMi4QU6Ueu9nwD2OmXgPsO4kiAy1pGcomPKQO59o4o12 DzgfvP5yPCvf55FMwZSlAcHR7v6UeHdQNwRoC+FtyTULliZkv16WawLAvyKOF2uFrvYr sM3n2VINYXZNOaBSUKdfJkHwQ91lB3YeeCsFKE7CSr7bpetiQgpHL16r4mAgze6vAjnB 6DOY9Ff3xoyNJVyvB6aMFqFl/EE4BpapYj7fr05Ti0pT4D0oWk4uOhSpmZtQIOYVHjS3 iy+w== 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=T0snCxknU51VUiIyOYYXzqb7lXY8Z5Vkr/7qnzRTdnE=; b=O0gHaEsDW17+G6ECq605EQ+uSy7QQ+ChBNPSCmVxjfv4DmZVdjiff2OpbXD+vhEZe4 9d0zxPp2vO2REBMYZNrAOqJJ4uQYYkl1CypuWHgy9cOWQtep6G5M3KRLKzrx7Emhp5gH siKP3pBdyEcPHhWvLesZGgilnkQ6n5P/+BDpHTziUprXXQb0b9/39wheX24ZVBYwBDOL M06YHy2wnD4YoPPxnz7I2/8BGYZqZ7gT1UqeOAa2fyxyHSojIWc9Xu1yWSVQMmDDmwfS xyiumV5qR+W8BcTWKPcoVZZnNiJ2qyInMgpz/Nyc3ckq8P/wG7hff8i4p0tI7DSrJ2gI DLJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jxXSJywn; 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 o19-20020a0ccb13000000b0056f0a55b3b2si8877268qvk.90.2023.02.28.11.11.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2023 11:11: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=jxXSJywn; 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 1pX5KA-0002Td-Md; Tue, 28 Feb 2023 14:07:42 -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 1pX5Jb-0002G8-T1 for qemu-devel@nongnu.org; Tue, 28 Feb 2023 14:07:15 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX5JS-0002o5-9l for qemu-devel@nongnu.org; Tue, 28 Feb 2023 14:07:03 -0500 Received: by mail-wm1-x329.google.com with SMTP id l7-20020a05600c4f0700b003e79fa98ce1so6514589wmq.2 for ; Tue, 28 Feb 2023 11:06:57 -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=T0snCxknU51VUiIyOYYXzqb7lXY8Z5Vkr/7qnzRTdnE=; b=jxXSJywnNu0PLak5jn92nBPa5UJuUl5rRmwSrHfecXKSJwwFeXOo34e46hs2exhJr4 uig/+YUIfQkOfetcsfwn8k2rJB91hgp+1EPDFy2hPvq8nVVla/zQ6ZI3/yQwz80Tunte YKL/Ru9VM+iPlWc9zQO4nGaBX28uizr+noVM96+o/3c9n1trUqn0udW5wpncxtsQlsIn 5FF8LSRMHt1/1q9RK0D3GGgNXISyPR0DMR34zLwwjWnB3VPQ/GDV1OaKtAguQKO5ukyI ev3zpbR8+XoB06E4QCuqAZTd09Zl7koxiZEYlxX4hKrnaBJQEFX+TnhOiuk4Hf/3caca FuxA== 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=T0snCxknU51VUiIyOYYXzqb7lXY8Z5Vkr/7qnzRTdnE=; b=5D2j9kuLunt2rqBogv11z4TU7gAaTBjrPbuP75ClJqwVQjJGx/fQ82ZTNyfdFueMyu G4TeTSAG2Y2TFItRWmzlZAgadJcvp+nkiBo4jE68C7TcjbAcoJaud7oBP+6/DHiY+TaM 7tfXTlsdnohpN1ttQW4HDbIdWDoVk6nMD2JbrxjIqQQuyQdnApwQYpwkPcVW/xF4m2y8 9WeVeq7gBbEH3emFbPVSIEMb6tWHTx9+6BFggfgZUJ/pQfL05l3k3ewjaiVEA9R7ecmK gENZwXYdNLe4/you65bCNhgDnCmJ7HiQ+2C+GU5r+hPmp/szxivAQvh/Yh3UNWJuLCdB FCBw== X-Gm-Message-State: AO0yUKUoY8M1WxSqcR8B9ndDTeJB9m01nwNrd3J8vgCLuJJH4iY4bPgm EGcXy2XEPNqmIjjdrRvjzHWe4w== X-Received: by 2002:a05:600c:3506:b0:3ea:d620:579b with SMTP id h6-20020a05600c350600b003ead620579bmr3066036wmq.0.1677611216721; Tue, 28 Feb 2023 11:06:56 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id bi22-20020a05600c3d9600b003dc42d48defsm13548583wmb.6.2023.02.28.11.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 11:06:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D455A1FFBD; Tue, 28 Feb 2023 19:06:53 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Michael Roth , Peter Maydell , Kevin Wolf , =?utf-8?q?Alex_Benn=C3=A9e?= , Beraldo Leal , Alexander Bulekov , Aurelien Jarno , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Darren Kenny , Hanna Reitz , Cleber Rosa , John Snow , Ed Maste , qemu-arm@nongnu.org, Fam Zheng , Thomas Huth , Yonggang Luo , qemu-block@nongnu.org, Paolo Bonzini , Stefan Hajnoczi , Bandan Das , Li-Wen Hsu , Pavel Dovgalyuk , Laurent Vivier , Bastian Koppelmann , Qiuhao Li , Wainer dos Santos Moschetta Subject: [PATCH v3 05/24] gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs Date: Tue, 28 Feb 2023 19:06:34 +0000 Message-Id: <20230228190653.1602033-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228190653.1602033-1-alex.bennee@linaro.org> References: <20230228190653.1602033-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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 Message-Id: <20230221094558.2864616-7-alex.bennee@linaro.org> --- .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