From b384208625d967c10c7bfad00b2deea71e958729 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 4 Dec 2020 21:13:36 +0100 Subject: scripts: Ignore DXVAVDA errors for smoke test When trying to release in my Windows VM, I get: [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)] DXVAVDA fatal error: could not LoadLibrary: mf.dll: The specified module could not be found. (0x7E) [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)] DXVAVDA fatal error: could not LoadLibrary: mfplat.dll: The specified module could not be found. (0x7E) [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1399)] DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: The specified module could not be found. (0x7E) [1568:5924:1204/204551.986:ERROR:dxva_video_decode_accelerator_win.cc(1407)] DXVAVDA fatal error: could not LoadLibrary: msvproc.dll: The specified module could not be found. (0x7E) This seems to happen on Windows 10 N only, where the Windows Media features (and thus probably DLLs) are missing. See https://github.com/microsoft/playwright/issues/2901 (cherry picked from commit 2e65f731b1b615b5cd60417c00b6993c2295e9f8) --- scripts/dev/build_release.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 6044a1e18..479283a92 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -116,7 +116,13 @@ def smoke_test(executable): (r'\[.*:ERROR:mach_port_broker.mm\(48\)\] bootstrap_look_up ' r'org\.chromium\.Chromium\.rohitfork\.1: Permission denied \(1100\)'), (r'\[.*:ERROR:mach_port_broker.mm\(43\)\] bootstrap_look_up: ' - r'Unknown service name \(1102\)') + r'Unknown service name \(1102\)'), + + # Windows N: + # https://github.com/microsoft/playwright/issues/2901 + (r'\[.*:ERROR:dxva_video_decode_accelerator_win.cc\(\d+\)\] ' + r'DXVAVDA fatal error: could not LoadLibrary: .*: The specified ' + r'module could not be found. \(0x7E\)'), ] proc = subprocess.run([executable, '--no-err-windows', '--nowindow', -- cgit v1.2.3-54-g00ecf