From nobody Sat Nov 15 03:13:55 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1756211788; cv=none; d=zohomail.com; s=zohoarc; b=atllM4xCjydPvF0yiau4dIkDgvIwfI36KHXjY5QK2cAlZ+l9Y5u+qCU8hZsTPYk2BxuxiR6WUZAoFlCqqosqbcBf/qysvPNK99X06sKCafsbelgkB5wwEgFd6UjuFh+V2W2Rjp2VxO9fpn0lbT5IAAHAC2V0NadiK8pGdOzYpeY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756211788; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OVImhz4TNfHl3GmVSBulLFByeCJIESRF7O8GLCtrNtA=; b=aPZKu6cjIIBRpvHk6sO1NNz91Aky1PPL2KBejJtuBYKvCcPR9cR3uiHI5svPYpeaNagBn84ao5dGEoLx6htJO9azkquBBNhGkITPGYs0SoCo7XZfSVjelZ9Br5UiqRX6m/VegRlMkgG5jwbJpbn0OMD54zTbcBSRf1R9q8dYemY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1756211788899972.5081912171424; Tue, 26 Aug 2025 05:36:28 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uqstK-0006n3-NQ; Tue, 26 Aug 2025 08:35:10 -0400 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 1uqstH-0006le-Jn for qemu-devel@nongnu.org; Tue, 26 Aug 2025 08:35:07 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uqstD-0001ZT-J7 for qemu-devel@nongnu.org; Tue, 26 Aug 2025 08:35:07 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3c763484ccdso1864014f8f.0 for ; Tue, 26 Aug 2025 05:35:00 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b66cb60e1sm13140455e9.6.2025.08.26.05.34.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Aug 2025 05:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756211698; x=1756816498; 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=OVImhz4TNfHl3GmVSBulLFByeCJIESRF7O8GLCtrNtA=; b=vH7AQgZ+wS2E1vDSc2ug+Q+ChLXCSigwNmtXbNsPB7FXMHGLA12r+waG1N04g10ov3 nw251AWNIi3718CfMmfv6ibWcrC0PaLaxBxcCIWZPP3A9PPcSM/jOiO9svjAAN0QH6WB zUPvuswCWeOHzVvNMPHBWMjt2TRzAej2gv6MCP/Zno3yPvDoSzrO7BvY/y9y9BuwikRI cY8UPN0pEKVhfGDQmJyXgsyiQ1EYY2mIaR1Oku8Ld+Cx0v4OfDYCkGq15v6XkTwY/kCL DeBu3bIKeVoRTlTiwqz3jNMyPxeo/rxWyiCjnJfIySQlHw9MA2GYfFj+p1C4/jbRwQwc vGtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756211698; x=1756816498; 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=OVImhz4TNfHl3GmVSBulLFByeCJIESRF7O8GLCtrNtA=; b=FNOIAyCr4HRw+ig2Fdg7ayMaKAaQsJWCsNZkIr219HRP+jkCm8+cCNS+4jn54CmtW0 vpxTMNszN5xsV/b9lC3AAqud9EI8tPvRFxhwLLmU7PwzRJVDS+6Z/uTjD8Z24VDvOKI0 HCOmJFXRmklFEITgNjN6IvHY2DJiZyylNvyZbYfrJ3wMYWQua7/Xh8sfCVdx7bQxjOdS BOOe08ZkfQXagJkI9RIIXCfouX/Yx/ytO7LesMkjfqfIcAtZh40M8Z1nu5PdEb/fHChD AvRGBw1rJGPzCarMH8Iu3Wt5lAqTIWSY5LUerlhqO6DRR5xoJSQivFP92KhmskHsAgCc PnLg== X-Gm-Message-State: AOJu0Yyy/QTw9vmhCSp2xwEdaO5I9O3nxQbqQ0wJVwMcJr7dXYKJP2Ce ZhGVFmpcPuqJJNcazzZYss76SK3jYUi2mTbOADPmMgKU5qOFB/aYrNjNzLDAOgGgRAs62vP8ueP hm25K X-Gm-Gg: ASbGnctHLcAT9L43uCghA0CDhvulnxBopwucL8LOi7kl2AcVJOHj4ygeWxTIG+qwFJr 5Ok2grK7/L5mK3OX6dI54pUOl4jvVjvrAZOgae8kGqvxQgqzc1BkvKxABdcmMfQB4s/xJihOdkx 8sGXqe6T4YUogeGgM9OEY1v6aQFxJUKcj87WpKtkgtBHtu4pneaCtFYERMupkpd94dI1pRPKzOD J4gX1iOUoGfPhX+suN+4HlVX1DF2j8LzUKVvgIJulsYQdjVEb5bXbylhUCM1eOvR5+qgkJnxD6R JYEVU1TZJugikQU1DCI21fg7J4XG7uDNozMr8tPA9mh9ryc4kYTZSUwwPIjyAS99NnowHEmdX4U Ic4m5C2i+76gRq5PIQmPPXFWhssXUlyEBNxUyQSU= X-Google-Smtp-Source: AGHT+IF8IbqJLZBq/KHOeQPkii07d+3jeqU5Z57ns6OfeJdMTy6U4Hhc5punwGBEz3SGh6tCpTtinw== X-Received: by 2002:a05:6000:3106:b0:3bd:13d6:6c21 with SMTP id ffacd0b85a97d-3cbb15ca095mr1380703f8f.0.1756211697538; Tue, 26 Aug 2025 05:34:57 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Akihiko Odaki , Dmitry Osipenko Subject: [PATCH] tests/functional/test_aarch64_virt_gpu: Skip test if EGL won't initialize Date: Tue, 26 Aug 2025 13:34:55 +0100 Message-ID: <20250826123455.2856988-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x429.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1756211791552124100 Content-Type: text/plain; charset="utf-8" If you are using the Nvidia drivers and have installed new versions of those packages but have not yet rebooted the host kernel, attempting to use the egl-headless display will cause QEMU to fail to start with $ qemu-system-aarch64 -M virt -display egl-headless qemu-system-aarch64: egl: eglInitialize failed: EGL_NOT_INITIALIZED qemu-system-aarch64: egl: render node init failed together with this complaint in the host kernel dmesg: [7874777.555649] NVRM: API mismatch: the client has the version 535.247.01,= but NVRM: this kernel module has the version 535.230.02. Plea= se NVRM: make sure that this kernel module and all NVIDIA dri= ver NVRM: components have the same version. This isn't a problem with QEMU itself, so reporting this as a test failure is misleading. Instead skip the tests, as we already do for various other kinds of "host system can't actually run the EGL display" situation. Signed-off-by: Peter Maydell Acked-by: Alex Benn=C3=A9e Acked-by: Dmitry Osipenko Reviewed-by: Akihiko Odaki Reviewed-by: Manos Pitsidianakis --- I run into this fairly often so I got fed up with just ignoring the spurious test failure messages... --- tests/functional/test_aarch64_virt_gpu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/t= est_aarch64_virt_gpu.py index 38447278579..4e50887c3e9 100755 --- a/tests/functional/test_aarch64_virt_gpu.py +++ b/tests/functional/test_aarch64_virt_gpu.py @@ -76,6 +76,8 @@ def _launch_virt_gpu(self, gpu_device): self.skipTest("egl-headless support is not available") elif "'type' does not accept value 'dbus'" in excp.output: self.skipTest("dbus display support is not available") + elif "eglInitialize failed: EGL_NOT_INITIALIZED" in excp.outpu= t: + self.skipTest("EGL failed to initialize on this host") else: self.log.info("unhandled launch failure: %s", excp.output) raise excp --=20 2.43.0