Message ID | 20241121165806.476008-19-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2391791wrx; Thu, 21 Nov 2024 09:11:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVpYiNzgtwRHYXxwRo6pKRoAn20Hv3X5kmToMPmf7ynV2S9p5ER1flo6I+lTCz9PE0BMPK62Q==@linaro.org X-Google-Smtp-Source: AGHT+IHvPpUN076Xc0kK5BmZrJfyD+1qQlMNtU+RGQTjT2xitP/mJwDOxJkTEth7FygHUdqy9piI X-Received: by 2002:a5d:64a3:0:b0:382:4a4e:25bb with SMTP id ffacd0b85a97d-38254b20f51mr5786131f8f.46.1732209092936; Thu, 21 Nov 2024 09:11:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209092; cv=none; d=google.com; s=arc-20240605; b=Fo/F88M3//7mtQIV43Duhhr21Lb0JMqZRZH2UJQVIf8bhudvty7g4FyJoqNAJpS5Zx ZGuygUf5p3zzrJxfLAobfOGjtF3o6Be4R0qKVwb9FLmOQfhntF59XRPJ40/4IAtCqje2 ZgZXRwKzugZ+ZKwT5rQPuiJRDjAjcDpVSSWv+CDMdF3eivgqCsiyi7lDu/yUq11qRxyC htpWEL0Os+qW2j6Com2O2ARU6omJv43kswmG3G7ZrAN90ceStAYMjdPOBa9pEZNtOvgs STvuUXUN26ZFanJq3f5iz0NnQcAYNMLZbp5mdYEhIvdZvbRHYDaV1FKcgpFCCV5nbq+X fWMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=P8fk8cXY9bGIpK/eeOJSXiYtJ76kuBzjztcBNjek6wRQD/Y/gGVQpfof9BbPHLk+B7 CclZOiQNpHGn08sb8ELzY8g07Rm4aBG4tG58E827YpZfszIYWNBXNcj26PRN9ZWiCMi9 49vJuohnAKkga2JQtt8+cct9aoqFJK73P1CTTARFfrb0cZUumJjZLvw5FUEwNfjE05eT 5lGUjtZDnHyrEvRzHF36mNpgw5IDfYnETe/kkUqfPrqlG3rNH3miDqz8lYHPqhEASqBP SwS95seNLDUDXUJJ63MJhBmAP0iJYgAHlHr457n6yKGiNIKG2USsNytIKFRGE6BSqRVR XsgA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AOeE2Lal; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb5a393si39596f8f.154.2024.11.21.09.11.32 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:11:32 -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=AOeE2Lal; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tEAeh-00023a-RN; Thu, 21 Nov 2024 12:07:48 -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 <alex.bennee@linaro.org>) id 1tEAdj-0000RS-3r for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:48 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1tEAdS-0001cG-Af for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:45 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3823cf963f1so687004f8f.1 for <qemu-devel@nongnu.org>; Thu, 21 Nov 2024 09:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208788; x=1732813588; darn=nongnu.org; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; b=AOeE2LaluN/ICVffAKIU064Nj9823lG3+p66XiA+bR6mSsZyDgzvwiRKXTH7CZoaGb WKSggR55H6Gf2lh6P0q8SknNqaabevu1LgKayiVTHtD6L3TKv1Jt2fTT3LcC1BoEfE+z B9ZOpHuU8v8t/fHFDlPuNU5UbLPVIgmJ9HEP2oYg29MXNsD1SMwoKFzCpLeS2AD0mvTi mOqzWODjCd/GY/hwaJKwzORFhzEe+xsxdocz+Efi4fFqVRbXnEBzlwKXJFrKEVY3dO13 GuX/z03wNvhV1lWdYgjsMZZauyWHgo4ziUzvL7+pleGFNbIJNMw5kkjgkUqUsuPAxo6m DMYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208788; x=1732813588; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; b=VYs9WxGMOPXRb08Lgu0SEjqO/RBlPCpG1a719OCS44YlUE3kSjrZ2KywdwYc7qL/+1 GfmgGDowkP9SSzLvqwm2z8KS/rbg5sVvPMI4Xkicj8/4iHioDkDGi2PlEs7RSSqh0wAv 49T5FH0ET3JIkArfkJ806W5I5zftH52yI5VtkGNZyfdF/o7Lvkx1elAfeNjSG2YyMuLb TFo16RHuF5WrP4wo/FXItybL578uDS4jyzlyiQXxirfii57Qw6+9uvVczAE6TrhG8nNn rys/PnUAbhtJ+kFp+GgYLoA809+ylVx00IiFpOaukIdhmtMsDISI9/wc6Ie+uRIorZkG RqEQ== X-Gm-Message-State: AOJu0YxQl2io2lvgxSbfrnN6X4p+5CQcKGpK468ofwzdV993P45lt44O VOTMsjTfhTrVaWW9GxNv4iZ6peGG14j2tAfWEu3dWLEyDmkiMQLSOLaZCdgg1iA= X-Gm-Gg: ASbGnctOdN0UEHI5RjPu1BryN8oaBg1Ft0evqcPk+egrdQKGsOCW1VHE5I/uhIboimy 5ItTOFHFDgsCOusQ9Tmtqorqn1uvhIMtMaN/KvPwv2Wi9JSFpnx1W66sy+foepdeZOKFsyMdjYN znMvQLSGUcp2vyaRYzfc1pdOGFbj/Xfj9epDon7ESv/kpa1DLvOIVtfkKGdgO1u4zTcPLOmbnEL go0+/2geKwYZOnWIjnLoVeoF68WpK2iYvSXaMcgFfcqY8kl X-Received: by 2002:a5d:6c6d:0:b0:382:3afd:125d with SMTP id ffacd0b85a97d-38254b0422dmr5944667f8f.34.1732208787943; Thu, 21 Nov 2024 09:06:27 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fad627bsm56549f8f.12.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 13BE460406; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= <philmd@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, qemu-ppc@nongnu.org, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Alexandre Iooss <erdnaxe@crans.org>, qemu-riscv@nongnu.org, Thomas Huth <huth@tuxfamily.org>, Bernhard Beschow <shentey@gmail.com>, Thomas Huth <thuth@redhat.com>, Eric Farman <farman@linux.ibm.com>, Bin Meng <bmeng.cn@gmail.com>, qemu-s390x@nongnu.org, Niek Linnenbank <nieklinnenbank@gmail.com>, qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, John Snow <jsnow@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Cleber Rosa <crosa@redhat.com>, qemu-rust@nongnu.org, Nicholas Piggin <npiggin@gmail.com>, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Markus Armbruster <armbru@redhat.com>, Weiwei Li <liwei1518@gmail.com>, Mahmoud Mandour <ma.mandourr@gmail.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Aurelien Jarno <aurelien@aurel32.net>, Ani Sinha <anisinha@redhat.com>, Alistair Francis <alistair.francis@wdc.com> Subject: [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Date: Thu, 21 Nov 2024 16:57:45 +0000 Message-Id: <20241121165806.476008-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
maintainer updates for -rc2 pre-PR
|
expand
|
diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index fceafb32b0..90ae59eb54 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -81,10 +81,12 @@ def main(): res = unittest.main(module = None, testRunner = tr, exit = False, argv=["__dummy__", path]) for (test, message) in res.result.errors + res.result.failures: - print('More information on ' + test.id() + ' could be found here:' - '\n %s' % test.log_filename, file=sys.stderr) - if hasattr(test, 'console_log_name'): - print(' %s' % test.console_log_name, file=sys.stderr) + + if hasattr(test, "log_filename"): + print('More information on ' + test.id() + ' could be found here:' + '\n %s' % test.log_filename, file=sys.stderr) + if hasattr(test, 'console_log_name'): + print(' %s' % test.console_log_name, file=sys.stderr) sys.exit(not res.result.wasSuccessful())