From patchwork Tue Mar 4 22:24:11 2025 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: 870123 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:178f:b0:38f:210b:807b with SMTP id e15csp492265wrg; Tue, 4 Mar 2025 14:25:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWp4VWmQXM+soLmfEUgzx91/pGhjhlkWUiUFcKXrFBwAyoKE8oWiH5wW6gUAX1ZOv2GO+ExnA==@linaro.org X-Google-Smtp-Source: AGHT+IEEdTwQocBkNZCrZ2hKa/dRI4cY8I6DeX7TeMxKv9oa249KPxXyH5qP0VknD/8855QxgB0x X-Received: by 2002:a05:620a:63c1:b0:7c0:6419:8bd3 with SMTP id af79cd13be357-7c3d8e4cd63mr215806485a.22.1741127116434; Tue, 04 Mar 2025 14:25:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741127116; cv=none; d=google.com; s=arc-20240605; b=PWnOnIpL5S3vvnrJT5oQeHqmMbi3uAyVKJ9oinjlWwccjBP69HKl8C21NGcSlFRr3I HJWFE4Ntt/chuKVcrPaLPs4tYU1fF/nXO7Iu2FWdzyn+QXU74BVdZ9unDunu/+1jhhOZ Al6xHEA48HFk4w/x/jwXi7a01V/EiDJJyCl8PyTAtvNMvuKCSGCI/PEzFhLkCiTOS7yC s2J/eO3JH1QwHnrawSMU0b+l0G/OSCVLyExo9t7qkYBJguy6P6a7lg7lH72tstZqdvpN NCMLtc7hZ7mN9j+50C3zOnEhC5IOqH4kEdC8XdD+jcTtfBOXQPx8I1UvBPVjz4/OTfgK gixg== 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=/V8FHPuhrbSfKCzVBzyT2YXGRtU+MVGBZXlL9rDafTM=; fh=6Bzz00MUAZSz1sM9FDoE/jB6E9D8TQzH70NWpntkZX8=; b=PPUlZVxB1VEMC/3Cr6LbOU+gTrhs8tbvdJVoDdUIwPcf48d1Ocxb581CmHrOqaU6bA l4sGLaqPxe3j8I90mT4MQHTL23vn4P8ty3i9IluGFPNB5Czn+Vuj/Py+awefel6lrQXb JrSmduDWbjZc5P3wgrIjp6LMhWPiN/0TrEgBCSGCPokr28CWFqlkiA7tH1xjcfi11U/L n/odqfb2Nqgarx9zf54dv97D5xMppNakkWCMtpXeoyjLSz45PRG8Ou/WdmxwbL1r2yqM Omi1gvEWEB9Ct9ki11AmxLzp4gn1k8BoZP3QoR0lKKjqedd7532HXkGPIINughlkBy5R lWtA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hcajr0O9; 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 af79cd13be357-7c3b540b508si558423685a.92.2025.03.04.14.25.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Mar 2025 14:25:16 -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=Hcajr0O9; 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 1tpagw-0005Kx-Rd; Tue, 04 Mar 2025 17:24:47 -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 1tpagu-0005Ja-KF for qemu-devel@nongnu.org; Tue, 04 Mar 2025 17:24:44 -0500 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tpags-0006T7-OQ for qemu-devel@nongnu.org; Tue, 04 Mar 2025 17:24:44 -0500 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-aaeec07b705so947508766b.2 for ; Tue, 04 Mar 2025 14:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741127081; x=1741731881; 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=/V8FHPuhrbSfKCzVBzyT2YXGRtU+MVGBZXlL9rDafTM=; b=Hcajr0O9mCscbNwq+1EvprKepCi3H+mPci4RUVJfe9YigU3+CsP0lXaE11IH7XTJBJ x+jrNMzkUwLIpPFFMOEs8orZL+DhvJf8n5j4vxC1e8J2yKfzjtkEQzqN0MS77Dtw5wWV rJey7oThFOWWQzHC8QP8HrBnHjw97pqRWRqPecVedFdQ0lkpE5yosWC+XzjDQqv6HrAm H+pyeHbzqcZ8wsR+92QZPgbeNdlZFB2n/LAJaki5n8ulJTK90aeUikhBaJakeUKTsSzY 6G6/7YPlHt/3ZVisvH62sgZrlU55yXuoQC1cK/3GPkzsYmAx9WSv1/fWRoHTaOvWNZK+ PSOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741127081; x=1741731881; 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=/V8FHPuhrbSfKCzVBzyT2YXGRtU+MVGBZXlL9rDafTM=; b=btZa5oexL45szLYzRN0L8pPQghWc4G/9QENA9u4tsZ5BBozv67/8ri5MyO967/1m4D 2MFy6Om7YrTpZY/2hJU9fzFE1usHfSH9KOJGPUaxkXugvlBE97+uuswRf2nNzZEvM/oH f4Lt3ojpi9g3gwZlkst0QjvfKVn+K9sYinqUp0TW7YHShUkiL/IlP0zMX/L088bd4jTP AKJaKksDnjDHEAd0zcXSJpdfBLasTaU2eT0C0c7GusvUjC6i3ZnXv3HOOTNba3M2dTgm 7b9l+pJU9DRK1wJkEqN0/o3gIcnQZxXWG0xS4CvN+VTUMVWz1rIdrHa7PzPzprcp13Kj sA5Q== X-Gm-Message-State: AOJu0YwFlzdP6YM9fRESPwWwecc6Jk049C/mjEWASzA6bie9y/WZEtlo /ME+8P6a1rEYvghcGsVRyX84VLDdDUL8eVRgmmtARxPxFE5QOMr9Jtcg2Yue6fI= X-Gm-Gg: ASbGncuWWm+B3R4d9aylwVzEW2o2q7jlyabd6jecToGaDRZl5VN7RIt4aC2KOG2BW/Z oaVB3lbvZZlZkT0PgnNOS07itrW2EmN1ZsJZKKOm2trjeC0OVVaL9u3G2TatV0W9KiEqDiG0xH6 poNr6g0iWCnhSVmNCIzStX4HdsvYLu8IIXjSNPsJC1m5+EX7WsKAq48fwE3RHo6x8Tbla3Nt242 r/Yvd/auDF6onPM0VERy3EIEyayFB6GzDqEzlKd+9MZH3dYLO337VEAPQmwafwyeTTIsTqZ6uew aCXZhDrCfo+4IM23dfA66MVH6ofzzsEZM/VBtOcsqncxgag= X-Received: by 2002:a17:907:2d1e:b0:abf:6d24:10c8 with SMTP id a640c23a62f3a-ac20daff0d0mr73564066b.53.1741127080975; Tue, 04 Mar 2025 14:24:40 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abf75c6d4f3sm441451566b.184.2025.03.04.14.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Mar 2025 14:24:40 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id BDE4F5FCAA; Tue, 4 Mar 2025 22:24:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Li-Wen Hsu , Peter Maydell , Laurent Vivier , qemu-arm@nongnu.org, Alexandre Iooss , Paolo Bonzini , Richard Henderson , Riku Voipio , Warner Losh , Brian Cain , Mahmoud Mandour , Kyle Evans , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Ed Maste , Pierrick Bouvier , =?utf-8?q?Marc-Andr=C3=A9_L?= =?utf-8?q?ureau?= , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth Subject: [PATCH v2 04/32] tests/functional: bail early if vkmark hangs Date: Tue, 4 Mar 2025 22:24:11 +0000 Message-Id: <20250304222439.2035603-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250304222439.2035603-1-alex.bennee@linaro.org> References: <20250304222439.2035603-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62b.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 The message: MESA-VIRTIO: debug: stuck in fence wait with iter at %d Seems to occur more often on debug builds. Rather than waiting for our long timeout to hit we might as well bail as soon as we see the message. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/functional/test_aarch64_virt_gpu.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/test_aarch64_virt_gpu.py index 4420a6175f..7d7749e243 100755 --- a/tests/functional/test_aarch64_virt_gpu.py +++ b/tests/functional/test_aarch64_virt_gpu.py @@ -78,7 +78,7 @@ def _launch_virt_gpu(self, gpu_device): self.wait_for_console_pattern('buildroot login:') ec_and_wait(self, 'root', '#') - def _run_virt_weston_test(self, cmd): + def _run_virt_weston_test(self, cmd, fail = None): # make it easier to detect successful return to shell PS1 = 'RES=[$?] # ' @@ -87,7 +87,7 @@ def _run_virt_weston_test(self, cmd): ec_and_wait(self, 'export XDG_RUNTIME_DIR=/tmp', '#') ec_and_wait(self, f"export PS1='{PS1}'", OK_CMD) full_cmd = f"weston -B headless --renderer gl --shell kiosk -- {cmd}" - ec_and_wait(self, full_cmd, OK_CMD) + ec_and_wait(self, full_cmd, OK_CMD, fail) @skipIfMissingCommands('zstd') def test_aarch64_virt_with_vulkan_gpu(self): @@ -95,7 +95,9 @@ def test_aarch64_virt_with_vulkan_gpu(self): self.require_device('virtio-gpu-gl-pci') self._launch_virt_gpu("virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on") - self._run_virt_weston_test("vkmark -b:duration=1.0") + self._run_virt_weston_test("vkmark -b:duration=1.0", + "debug: stuck in fence wait with iter at") + if __name__ == '__main__': QemuSystemTest.main()