summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-09-06 16:36:24 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-09-06 16:38:54 +0200
commitc0b624a06e23f81efac77bc2a8510941c31595d6 (patch)
tree50ea212e55a0e05485c78ae9d738eef1b69f57d2
parentb5f68e0eeac376e0354b2e7f0ed4ed4fe42f4e45 (diff)
downloadqutebrowser-c0b624a06e23f81efac77bc2a8510941c31595d6.tar.gz
qutebrowser-c0b624a06e23f81efac77bc2a8510941c31595d6.zip
tests: Ignore some more irrelevant messages
(cherry picked from commit ae2e679dfc095d7501bdd3cfbd9323729a354f63)
-rw-r--r--pytest.ini4
-rw-r--r--tests/end2end/fixtures/quteprocess.py11
2 files changed, 14 insertions, 1 deletions
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)