From c0b624a06e23f81efac77bc2a8510941c31595d6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Sep 2023 16:36:24 +0200 Subject: tests: Ignore some more irrelevant messages (cherry picked from commit ae2e679dfc095d7501bdd3cfbd9323729a354f63) --- pytest.ini | 4 +++- tests/end2end/fixtures/quteprocess.py | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 8d7cf2e95..f2f746284 100644 --- a/pytest.ini +++ b/pytest.ini @@ -59,6 +59,8 @@ qt_log_ignore = ^QObject::connect: Connecting from COMPAT signal \(QSocketNotifier::activated\(int\)\)$ # Randomly started showing up on Qt 5.15.2 ^QBackingStore::endPaint\(\) called with active painter; did you forget to destroy it or call QPainter::end\(\) on it\?$ + # Qt 6.5 after system update, from qt-qt.accessibility.atspi + Error in contacting registry: "org\.freedesktop\.DBus\.Error\.Disconnected" "Not connected to D-Bus server" xfail_strict = true filterwarnings = error @@ -66,5 +68,5 @@ filterwarnings = # Python 3.12: https://github.com/jendrikseipp/vulture/issues/314 ignore:ast\.Str is deprecated and will be removed in Python 3\.14; use ast\.Constant instead:DeprecationWarning:vulture\.core # Python 3.12: https://github.com/ionelmc/pytest-benchmark/issues/240 - ignore:datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC. datetime\.now\(datetime\.UTC\)\.:DeprecationWarning:pytest_benchmark\.utils + ignore:(datetime\.)?datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC. (datetime\.)?datetime\.now\(datetime\.UTC\)\.:DeprecationWarning:pytest_benchmark\.utils faulthandler_timeout = 90 diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index cf00c38da..9a093bba8 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -61,6 +61,12 @@ def is_ignored_lowlevel_message(message): # Randomly started showing up on Qt 5.15.2 'QPaintDevice: Cannot destroy paint device that is being painted', + + # Qt 6.6 on GitHub Actions + ( + 'libva error: vaGetDriverNameByIndex() failed with unknown libva error, ' + 'driver_name = (null)' + ) ] return any(testutils.pattern_match(pattern=pattern, value=message) for pattern in ignored_messages) @@ -194,6 +200,11 @@ def is_ignored_chromium_message(line): # [5464:5464:0318/024215.821650:ERROR:interface_endpoint_client.cc(687)] Message 6 rejected by interface blink.mojom.WidgetHost # [5718:5718:0318/031330.803863:ERROR:interface_endpoint_client.cc(687)] Message 3 rejected by interface blink.mojom.Widget "Message * rejected by interface blink.mojom.Widget*", + + # GitHub Actions, Qt 6.6 + # [9895:9983:0904/043039.500565:ERROR:gpu_memory_buffer_support_x11.cc(49)] + # dri3 extension not supported. + "dri3 extension not supported.", ] return any(testutils.pattern_match(pattern=pattern, value=message) for pattern in ignored_messages) -- cgit v1.2.3-54-g00ecf