From patchwork Wed Feb 17 12:19:28 2021 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: 383846 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp2759533jao; Wed, 17 Feb 2021 04:22:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+rp9u7XoYIY9CeWD1tY2KGKYINEU3mOajuKe57ypFnEyfKy1L3e+QUH9KoAGJBKNbQ+ga X-Received: by 2002:a25:2b08:: with SMTP id r8mr29123356ybr.194.1613564555800; Wed, 17 Feb 2021 04:22:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613564555; cv=none; d=google.com; s=arc-20160816; b=o3NY9Hw2aK2VqulLP39imqPHjAg3kSVUfesuzYYjDt/UhjcG2/+nuZOTb6GOrP2slo h7OJQARXsrcBhDLxTabta7+BoX2CzXF2N+2iL5oODh8IhzwFECYROmuU4g09jzPmTC8a qebNeSRhFtISX9+m7iI0eo1Ec++WVY2Lu7hMsECLyojQBULf2jWGDJvaR77dXkrfY16k QgUcoGmKt8UsgK38py2EFrWogqJNASj2wbQAWLXFKT66zytGdlWpirFhWc6nBAZJw7kV 2agOjYHlJJJDWNwY1qKONXN/uowak6zGAevj1sph8peE7G9jjQIXS6iAigEPxP3UNU8m 1daA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=Z7xvEMHCAPUwYe789c1mfBls6VgPCLJJofS5unRcGOk=; b=cpA+53knj/4eSwL0sRfCdD5zh4n01bKyPYzR0vj+8N2w8HzEOkItMTeE7DJ29/fzVA kFZ7frmOTBSjdfs91Ys8u+CwlzHHkxBsbYoO38fPgqD1tt6Gga3TfEtsELlANXDw3EtY XPrG7qy+AMjygLa+VbU9VbOrSqtnudXO1mdJ3tR1Es/hzqHahiLMwShm8y+GryIl1hNj yq++oRuwytcUBeUDGrOUAMtq9t3rxMeziWHbf3tjINZEz6OVjJSfx4YY3xbTRT0BBMZT 1dglMjn81LNQfhzvmIxyL4hnpMPRVRFtbuRJxh5vYNu/PG/SpKZ/Z4tmZ0nTdHoovZOT rYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CW0uoIIY; 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=fail (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 j186si2449819ybg.39.2021.02.17.04.22.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Feb 2021 04:22:35 -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=fail header.i=@linaro.org header.s=google header.b=CW0uoIIY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCLql-00061l-AQ for patch@linaro.org; Wed, 17 Feb 2021 07:22:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCLo6-0002TH-FO for qemu-devel@nongnu.org; Wed, 17 Feb 2021 07:19:52 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:42987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCLny-0000Jy-NJ for qemu-devel@nongnu.org; Wed, 17 Feb 2021 07:19:50 -0500 Received: by mail-wr1-x42b.google.com with SMTP id r21so17135415wrr.9 for ; Wed, 17 Feb 2021 04:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z7xvEMHCAPUwYe789c1mfBls6VgPCLJJofS5unRcGOk=; b=CW0uoIIY1/EXmRPSDiWjrOU5/6WETRgGy6B2uJql5oW9rtGGZkiaUiP2ZA4/rjH7g/ +ek9zPMJeh3X16ljmMt60y+aS/UrxylAdkvWIELGX9RfCb17f32HBmla1/sPoXI3I1F8 ZLEOeR3BFUh7ontvlt5kawfPmo8NnDPe6Pfa6QrSgFoa/vSkEeakt7ZLmoiDd8A1qgWs 2ITf/Uw5n0L1QBUFvmytPLJEPinBpfx+/WBD40ipbe8AJX5EA/M9RD/rQfmTA6Med8ez V6I67C09Xx/PzgSvodzg5Cq07Uv8egDGK5jDDAROhAg3AiLxmYfLhjQjRwhrDa552133 OFBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z7xvEMHCAPUwYe789c1mfBls6VgPCLJJofS5unRcGOk=; b=nfOQbxOYpbz14ghs3ZMrbgOeZhFXxE82sLzuxwwYQPRLSBJzzms32FP7vsu2RUuGSN s2gse/LQeb/Ej1rsXFc4PmvlOZORqDQ3GJQQNUbTkKBsA8+k3GAHX1tzIFkWcQluANOu ZbrSffLgSBiwX2dkhRbLV/dw9MTkEikxQOCZULWZsjMmLzjoRWM1Aektl8yMyO7nsUlC 7L1KjyaQnD6CndtOq/2yzHfOToR9xxTVMUDb40lcEZ7STfdHIdxFzxaCpKXWA6q3QcJE EaEAwvaqHED9Ksm7JqOkMg3tI/W0HO7EK9NV1op2gqr41O+d7qqZxnBylSrm/m8LfXwJ R8GQ== X-Gm-Message-State: AOAM531RTss5HcRSxInPxORcS9nYeAreTDxoMwcf5YAYRHrlEucNkbqZ PieeRMAq461ooV+oLPEm6hr60A== X-Received: by 2002:adf:f542:: with SMTP id j2mr21475801wrp.46.1613564378780; Wed, 17 Feb 2021 04:19:38 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o129sm2847535wme.21.2021.02.17.04.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Feb 2021 04:19:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A46071FF8C; Wed, 17 Feb 2021 12:19:32 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/6] gitlab-ci: Display Avocado log content when tests timeout Date: Wed, 17 Feb 2021 12:19:28 +0000 Message-Id: <20210217121932.19986-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210217121932.19986-1-alex.bennee@linaro.org> References: <20210217121932.19986-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , f4bug@amsat.org, Wainer dos Santos Moschetta , Willian Rampazzo , stefanha@redhat.com, pbonzini@redhat.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Since commit ba2232bae6d ("gitlab-ci: Refactor code that show logs of failed acceptances") we display the log content of failing tests (Avocado "FAIL" event). Since we are also interested in tests timeouting, update our global Avocado config to display log content for the "INTERRUPT" event, "possible when the timeout is reached" (See [*]). [*] https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#test-statuses Suggested-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20210215171438.935665-1-philmd@redhat.com> --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Acked-by: Thomas Huth diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7adb9a4cef..234cead60c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ include: - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf - echo "cache_dirs = ['${CI_PROJECT_DIR}/avocado-cache']" >> ~/.config/avocado/avocado.conf - - echo -e '[job.output.testlogs]\nstatuses = ["FAIL"]' + - echo -e '[job.output.testlogs]\nstatuses = ["FAIL", "INTERRUPT"]' >> ~/.config/avocado/avocado.conf - if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then du -chs ${CI_PROJECT_DIR}/avocado-cache ;