From patchwork Thu Feb 23 15:57:12 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: 655976 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp408625wrb; Thu, 23 Feb 2023 07:57:33 -0800 (PST) X-Google-Smtp-Source: AK7set/WTVEhTXqkFcoHeAfts5kRXxrEO3VeVU7ow+lKla/Ys3XN0fqa/j4eQHjasSGTld+iJqZp X-Received: by 2002:ac8:5bd6:0:b0:3b9:b817:e9ae with SMTP id b22-20020ac85bd6000000b003b9b817e9aemr21619029qtb.5.1677167853548; Thu, 23 Feb 2023 07:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677167853; cv=none; d=google.com; s=arc-20160816; b=YUtPgBox/n0le+1VgUHUitHGQvx6jrBuApStbzhmzUeJWPOsQSiCQ8tNHuf6wYa70X u0MB7UZuTZVbbxkBgGUMHjxUIHinlN8f/hYtMUHTPY9nHuR5OpuBMTdkl+OMODWN91sf pT1P+dLE/tkquNNrr+WDQ+c4lJo8vjnk4Ex0FVxi4Nkj9IUaN8QtesOHCsVw9Ny6Qohn cwjXNtz3MFsv3UAo2cJRXDP3C4U4/CjSKFZYoVOhaJGtm6rLcCcI42tMw6aHOVlqpzYW s/X8s5EsJU2Agzqak+MkX4AcJXqUstAB6Smi9P7ZWIFdsmOxMHkFukBfVUB4gWlt11Az f11A== 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=cxT8CnhgY0D2r8NxQicEQ9Z5WyfyndJneuRY8lJ1+eo=; b=Mq04vduBviTPNmJNaNmtEw4LRXEneE7ImgHHpuzkApj3tlvA2ZvnDW8RAlOk8hAkzf NBUwY+ma0VuhykfZp3OSuEoDm9I4JV+qdldoJ93pdygi1tWDBxIca3Fh1uSj92+FlwzJ vx3/6NItT3nlgs6Fh9sH5aV7ODY5qfTy+/IZM8PsexxfrvoFaPVUoTniKW7SstK3K7kH QW0h/cwkCGe8EZ1v9FbdX3NOghhEBQZpYLlT/l+hliYTMO7s+lHnduuZ8H6q6Jj7ZoOw mCl1cWcuTTPlVNQ2zS6MikxXwHO/b+ArAM1Dc3WOBHyf4CIrSluycTIQptUkQoUX1vYN vX6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BoP902A0; 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 x14-20020a05620a448e00b0073b4a55a2d6si8277360qkp.486.2023.02.23.07.57.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Feb 2023 07:57:33 -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=BoP902A0; 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 1pVDyK-0008RE-P2; Thu, 23 Feb 2023 10:57:28 -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 1pVDyI-0008CF-Ks for qemu-devel@nongnu.org; Thu, 23 Feb 2023 10:57:26 -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 1pVDyG-0004ib-SU for qemu-devel@nongnu.org; Thu, 23 Feb 2023 10:57:26 -0500 Received: by mail-wr1-x432.google.com with SMTP id r7so10890785wrz.6 for ; Thu, 23 Feb 2023 07:57:24 -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=cxT8CnhgY0D2r8NxQicEQ9Z5WyfyndJneuRY8lJ1+eo=; b=BoP902A0sb/FLK02Ci73PsdyvrgfWgqy11RUdU+y6do+xqWOCLMnrOZQGswqb+8xb4 PDP45XuzmPSUAsbRvalmUl+MMBWeTrlsdJnMbb6v2O6iL3kMbo5d5Qpwt1u0ipw7GKT8 0w71zciDreVBB91Wqn+WBYm7tvbMmKfZ5cM+nbk6FUu399wUHi1GwUrB+B9J2taZChyb m27EbCZjZ+dCeF/Pkw3PCYKxvjhkoWt0cSpCpfMaKrEzqk6Z42hvbscAtcgquIMMG7W0 T7CHCFg39wFmPYS/DLaYr/ZF/8R1YmgmNH/AF6k9AUcDuSWmzbE4aAIbLkxhG8GwvIR3 /IPw== 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=cxT8CnhgY0D2r8NxQicEQ9Z5WyfyndJneuRY8lJ1+eo=; b=1CKclpgCaP3Q7L8wdZX4RszLclSVNoXqoGzP43RYwhmXXtCELQYryfFPiPemsBZWxO ps5/msVU8VP0zjAHomk46EsNS9z/o3SOWJwaBHWy4XWkwu2eTeR7VF3A92DzeVUpu0xl AGiVIDnuoWvRCjVe+rU7YAdoQxWWiM7kWQwQKXwwHDRCVqwTcysv3+cKOC9ElA1O2HcV thNvry96c4aFC5soiSm6gq4FJzSU79n6RXb2imH1QHBmRQ0q+WYr2D17B6xuCAicL6w8 I/CTJD/P9Z39wL6PrFSW2eF2uOrS2IaL2Q49COP1+h2NfmpTDsx+AJBIUeTmH/+gVJlN 6UzQ== X-Gm-Message-State: AO0yUKXOyE0AFEkiNcLBBxXVHsG3QK2Jq+u0T+tFn7QUcyU2NPzL1mJ7 xD2J69yFGGlpzJUTN5F9Fz3G9A== X-Received: by 2002:a5d:4851:0:b0:2c7:1159:dfde with SMTP id n17-20020a5d4851000000b002c71159dfdemr2126472wrs.31.1677167842962; Thu, 23 Feb 2023 07:57:22 -0800 (PST) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id u13-20020a5d434d000000b002c55ec7f661sm9476530wrr.5.2023.02.23.07.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 07:57:21 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 014771FFB7; Thu, 23 Feb 2023 15:57:21 +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 05/13] gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs Date: Thu, 23 Feb 2023 15:57:12 +0000 Message-Id: <20230223155720.310593-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230223155720.310593-1-alex.bennee@linaro.org> References: <20230223155720.310593-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: <20230221094558.2864616-7-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