From patchwork Mon Mar 3 18:57:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 869840 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1561:b0:38f:210b:807b with SMTP id 1csp2289952wrz; Mon, 3 Mar 2025 10:58:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWpIOEk1wCfMA1ELTBLjo2Lf1teNYv9SnLSrogQnNcHwtcksZ4XpAeY9z42/1WrIRG226TQkQ==@linaro.org X-Google-Smtp-Source: AGHT+IGYh1N2coCQYTsbbrSh9ujxix0ATIVhlCSGU78g9fCW7tjEB0x2mLM1CkM1w3k1Dh6PrdYM X-Received: by 2002:a05:622a:118d:b0:471:cdd6:9dee with SMTP id d75a77b69052e-474bc0865c7mr228423351cf.21.1741028332336; Mon, 03 Mar 2025 10:58:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741028332; cv=none; d=google.com; s=arc-20240605; b=GBXQ2bT/NOdm81+x9YYnrd7+XQQOAzxU0i0uuUutAMLKf0mC9sSwfTaqhhuYZYAozA OJniTsk8PLdPqph98L5d/fWbkuep+qayN40zYl0dc2A2M5a+qk4kNBzlgJGD9+lOS72S W8qXROEqVs76MitbT0OdvFXXY/xum5uY6lukIk1skVX8Ug595XPwt2Ozp4X0QSapJtP7 BXlQU4vO9/6EWTA59p8XbOysygD09SUWZEGriGmn3gUbz16cGx9Dv426WV45XA3l9xxz ehhJ/4/ByzN6i/Pr8k0Uut/zCdq8TZgLZX8DnK1OGQhAWk81l3VNdYoS9UWh/tLcs4Vw I1yQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=MlxeaBTa0OnfkqZwMGX009w7nxjBMGcnOIKYJ90xgwk=; fh=gWql9JDu0wziqzkwjjGbZdoY6tqDdOWZcBgzlFDfDtE=; b=awLpkDYL1pwY07Xxe595rUUrcQI7Kd2AIBR4MraEt+Ch08wdzGvFXw1Or9W6FDILv0 oY2aSuWmQdjkPUoBrdJQxPaWLSGZ8F0xpJVsu3xUueYwWdTHFozNtQVAcv6XpLQxzaqz J/UJvkPmwoeNINXC4TpZML0PWx9Jvm5YHWS1kcPmy77FmWkhw1byET5kdlmmvQvWZi7D GnTLyaAFv2+2dVIJLqOeqknsWBBoWEsgKk5YcCA2bIVcR8tG0MQEa/P/NHHkotfDgFqO /AeGZYNuw7XE07MYgCZi76rFRFLmUdH31CjtK9MxQnBN6wnE5KCdJ6Y+9rhP+wQt7RmY 2psQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S7sxl5Oy; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-474e81284d0si26367931cf.484.2025.03.03.10.58.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Mar 2025 10:58:52 -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=S7sxl5Oy; 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 ) id 1tpAzU-0006N1-7J; Mon, 03 Mar 2025 13:58:14 -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 1tpAzQ-0006MU-DD for qemu-devel@nongnu.org; Mon, 03 Mar 2025 13:58:09 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tpAzI-00082v-IY for qemu-devel@nongnu.org; Mon, 03 Mar 2025 13:58:08 -0500 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-2235908a30aso72601625ad.3 for ; Mon, 03 Mar 2025 10:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741028273; x=1741633073; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MlxeaBTa0OnfkqZwMGX009w7nxjBMGcnOIKYJ90xgwk=; b=S7sxl5OyzUjVscw7PHEmeUPPI0EfaASXcIjmiZ8oRSUyhMBLgnw31oMD93J5tsQPNt Mms08IXrFSImKZIrEJNcRGUMJUPfmr/rPq1hbqpgl2sz5atCIKlZzUFvBy1CFgm4ja3X fUaPjZOxG2mWO6/ZK2jFF1ToxEBrsISsaevL1D9xB4omlIafPPvRwqNlNFML6ggDfiO9 hU3O31BCK+9UBiYLT8RyrDuWwgyVMEmWjyTN3vuEXasCmMoY61bWsgrxotn/OxirZcO/ gB05HwqNZ0ObZlBcVz+PfBbPiJOpTU2ByZF8LmIyTJ1coa55EPiq0Ut4AyDeCNiaIUd8 dH8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741028273; x=1741633073; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MlxeaBTa0OnfkqZwMGX009w7nxjBMGcnOIKYJ90xgwk=; b=c+IE2E9POhFRmqT2UA2lOZXkXlZuiIV86f9EH5wte6teVOg3HBbuhT8g1e2aTJqx9I P+MX6vQ7Z6VzjorNb3zdkWE7sr/rbeUsIObZFllt0AZ9YvWe6EE7lK0jse6zvGe0oZqH ngKp1rH7ulwoQOhdfzCyvhbcbknX8Wl2q3kt7TShRgXy14e209Ioa0aDozyV3B+wtuVF G4VfjDabcvgrZTheisWU312Jgucx7cwGRLqBJCug2UxR0dp9Mf54ix4h6VqzVMkzCMoJ r4UFnYtVZDxIkVbwA8uqlImtGrJUwQPo08NXh3ncAXK+ZOpbNun4MJpz5o+0N4jLKM5m wsrQ== X-Gm-Message-State: AOJu0YwfgqC4hEX9xXQ+z7vjz8rQO4+JbdaR1bN/EC4S8Us+a118klwU BBcZt+z/4sLOfA7L1xK2hCppdDBqUNTSUy7D5JSGbLFdT4ZiSaKsfUww4Pzgw3XSSV0d1sPVcgl n50z4Dg== X-Gm-Gg: ASbGncuyGmrKX5wnkiFSyzHFtxqL78CTsDxucLPW64z7e0sfobHwj5xTKZtEE9QnEY4 sVJaxTObrzq0cLx2vBnQRhLopUPFdpMwrt7Et9mUj83EybYHZQXJk2EKWoPavnZpCHLaHS5Co7p 7ADX20VE2BMcy2pyx+Er19FO0JjV8kkj1Y7dYdyq+00IPI723F+Co62YhS8xVHt3pzKX9ZpMsrK yN64KY/hQUSQeJIdHw8Tvng2jg6l5S5LfihHuuicp5Swni8O93ERtZw3h6x2S9a+xVuW/3Ximn+ 202eYW31vgNkv/PMMD6bwAq6etWnAiIsyK/A0+05OLms X-Received: by 2002:a17:902:cec7:b0:223:5c33:56b4 with SMTP id d9443c01a7336-22368f91d03mr219979805ad.20.1741028273256; Mon, 03 Mar 2025 10:57:53 -0800 (PST) Received: from pc.. ([38.39.164.180]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-223504c5dcesm81214225ad.119.2025.03.03.10.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Mar 2025 10:57:52 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Peter Maydell , Troy Lee , Paolo Bonzini , qemu-arm@nongnu.org, alex.bennee@linaro.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= , Steven Lee , Richard Henderson , Niek Linnenbank , Alistair Francis , Joel Stanley , Andrew Jeffery , Jamin Lin , Pierrick Bouvier Subject: [PATCH] tests/functional: add boot error detection for RME tests Date: Mon, 3 Mar 2025 10:57:45 -0800 Message-Id: <20250303185745.2504842-1-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x629.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 It was identified that those tests randomly fail with a synchronous exception at boot (reported by EDK2). While we solve this problem, report failure immediately so tests don't timeout in CI. Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daudé --- tests/functional/test_aarch64_rme_sbsaref.py | 3 ++- tests/functional/test_aarch64_rme_virt.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_aarch64_rme_sbsaref.py b/tests/functional/test_aarch64_rme_sbsaref.py index 93bb5283386..ddcc9493a6c 100755 --- a/tests/functional/test_aarch64_rme_sbsaref.py +++ b/tests/functional/test_aarch64_rme_sbsaref.py @@ -60,7 +60,8 @@ def test_aarch64_rme_sbsaref(self): self.vm.launch() # Wait for host VM boot to complete. - wait_for_console_pattern(self, 'Welcome to Buildroot') + wait_for_console_pattern(self, 'Welcome to Buildroot', + failure_message='Synchronous Exception at') exec_command_and_wait_for_pattern(self, 'root', '#') test_realms_guest(self) diff --git a/tests/functional/test_aarch64_rme_virt.py b/tests/functional/test_aarch64_rme_virt.py index 42b9229b4cb..38e01721a4e 100755 --- a/tests/functional/test_aarch64_rme_virt.py +++ b/tests/functional/test_aarch64_rme_virt.py @@ -89,7 +89,8 @@ def test_aarch64_rme_virt(self): self.vm.launch() # Wait for host VM boot to complete. - wait_for_console_pattern(self, 'Welcome to Buildroot') + wait_for_console_pattern(self, 'Welcome to Buildroot', + failure_message='Synchronous Exception at') exec_command_and_wait_for_pattern(self, 'root', '#') test_realms_guest(self)