From nobody Tue Nov 18 22:46:03 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1613409285486947.6472640621135; Mon, 15 Feb 2021 09:14:45 -0800 (PST) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-492-RDCaTDyqNJeIYOf5oT5hxw-1; Mon, 15 Feb 2021 12:14:41 -0500 Received: by mail-wr1-f72.google.com with SMTP id c9so10155719wrq.18 for ; Mon, 15 Feb 2021 09:14:41 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id v15sm26754651wra.61.2021.02.15.09.14.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Feb 2021 09:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613409284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5+R4mFhMsSveEph5jOrDNesxebc4zbmrsIY1tGpqbpE=; b=cXIdteRW49TagyvUmHAFMBUFtrvyAp0czgIkUYpTX6ZwT/HacJT53xMBYZ6TxjTY9GAsx/ ptatyvRo/WoQEnFnbR2g2cQw1rrruumuCr9D/RETYOTeWau2F43RVyNU7CwAd8FqY2Rqy1 LYy9E1mBg7vKqTTljb7T6eZ5fmJ/dUE= X-MC-Unique: RDCaTDyqNJeIYOf5oT5hxw-1 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:mime-version :content-transfer-encoding; bh=5+R4mFhMsSveEph5jOrDNesxebc4zbmrsIY1tGpqbpE=; b=ZAeRTN5aYcVdGl/2GNsLiulcfx3+f4KFsOEAs8j4aDIfpI7WXPi8VZZqgWwydUetHf VqAMZu/SI6RPCzurYQdS4xvvbPDnmoclf7mkTTPxsENLqrt2IQN2zaTKwoGNDc+ulRLf diSi5Wsjfq9ogcvM9zsYv8gw8ORoimhV0+3+2HdEfC2Ihze40iEfUJ+ivbBeGSubPT2j 2HEfgstPF8+y/WBUaVbqvT+ba2+1gedOW+iTmgjyExd4apJQd2MhDEpN56KlYoZ6I0Pc gQljAlNIAlv73CZQAGBasJg/4gVFaqHN8WztaO1fuJI2M2SOiLVvzO998FgLWcMZiVKM AnTA== X-Gm-Message-State: AOAM532q9Slr2SdRoBIvUEexnhzV2zoVyeWa6DuxioH7Gwb5fKiL1E84 AM1XjzZxAObVuOUnsuLH7NfTM0fG02dTG8OWEeCOeCI44lyfibG+xUh7WT/F7og6bxV/kiqjRRV 9/b0++Pa8sR6q0w== X-Received: by 2002:adf:dc8d:: with SMTP id r13mr19758543wrj.209.1613409280585; Mon, 15 Feb 2021 09:14:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsAxabAK/+ogVuC9UJ/dbinMQCeBylkv0VU2pXVhwtxnyWJBRC5EBVfKZeNoysH7Ud76Kj3A== X-Received: by 2002:adf:dc8d:: with SMTP id r13mr19758528wrj.209.1613409280389; Mon, 15 Feb 2021 09:14:40 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Willian Rampazzo Subject: [PATCH] gitlab-ci: Display Avocado log content when tests timeout Date: Mon, 15 Feb 2021 18:14:38 +0100 Message-Id: <20210215171438.935665-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) 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/chapte= rs/writing.html#test-statuses Suggested-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7adb9a4cef0..234cead60c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ include: - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf - echo "cache_dirs =3D ['${CI_PROJECT_DIR}/avocado-cache']" >> ~/.config/avocado/avocado.conf - - echo -e '[job.output.testlogs]\nstatuses =3D ["FAIL"]' + - echo -e '[job.output.testlogs]\nstatuses =3D ["FAIL", "INTERRUPT"]' >> ~/.config/avocado/avocado.conf - if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then du -chs ${CI_PROJECT_DIR}/avocado-cache ; --=20 2.26.2