在Red Hat Linux Server上运行Lighthouse测试作为Jenkins Build的一部分

时间:2018-06-05 20:33:05

标签: jenkins redhat chromium google-chrome-headless lighthouse

我在Red Hat Linux Server上的VM上运行Chromium时遇到问题。 目前,当我运行chromium-browser --remote-debugging-port=9222 --headless --disable-gpu --no-sandbox时,我得到以下输出:

[0605/132840.720308:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.
DevTools listening on ws://127.0.0.1:9222/devtools/browser/3655f1ce-fc31-4ea2-834a-305e017c38f4
Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf
[0605/132841.449751:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0605/132841.451640:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization
[0605/132841.452345:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service
[0605/132841.961702:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0605/132841.963550:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization
[0605/132842.484800:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0605/132842.486803:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization
[0605/132843.021027:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0605/132843.022726:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization
[0605/132843.023477:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service

以下是版本:

google-chrome-stable --version: Google Chrome 67.0.3396.62
chromium-browser --version: Chromium 65.0.3325.181 Fedora Project
chromedriver --version: ChromeDriver 2.39.562737 (dba483cee6a5f15e2e2d73df16968ab10b38a2bf)
lighthouse --version: 2.9.4
Red Hat Enterprise Linux Server release 7.4 (Maipo)

0 个答案:

没有答案