Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ tox -e py35 -- tests/unit/ -vx
py35 installed: beautifulsoup4==4.5.1,CherryPy==7.1.0,click==6.6,colorama==0.3.7,coverage==4.2,cssutils==1.0.1,decorator==4.0.10,Flask==0.11.1,glob2==0.4.1,httpbin==0.5.0,hypothesis==3.4.2,itsdangerous==0.24,Jinja2==2.8,Mako==1.0.4,MarkupSafe==0.23,parse==1.6.6,parse-type==0.3.4,py==1.4.31,Pygments==2.1.3,pyPEG2==2.15.2,pytest==3.0.1,pytest-bdd==2.17.1,pytest-catchlog==1.2.2,pytest-cov==2.3.1,pytest-faulthandler==1.3.0,pytest-instafail==0.3.0,pytest-mock==1.2,pytest-qt==2.0.0,pytest-repeat==0.4.1,pytest-rerunfailures==2.0.1,pytest-travis-fold==1.2.0,pytest-warnings==0.1.0,pytest-xvfb==0.2.1,PyYAML==3.11,qutebrowser==0.8.1,six==1.10.0,vulture==0.10,Werkzeug==0.11.10
py35 runtests: PYTHONHASHSEED='2415704538'
py35 runtests: commands[0] | /home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/bin/python scripts/link_pyqt.py --tox /home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35
py35 runtests: commands[1] | /home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/bin/python scripts/dev/run_pytest.py tests/unit -vx
====================================================================================== test session starts =======================================================================================
platform linux -- Python 3.5.2, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- /home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/bin/python
cachedir: .cache
PyQt5 5.7 -- Qt runtime 5.7.0 -- Qt compiled 5.7.0
rootdir: /home/lahwaacz/Bbox/pg/python3/qutebrowser, inifile: pytest.ini
plugins: bdd-2.17.1, travis-fold-1.2.0, warnings-0.1.0, qt-2.0.0, rerunfailures-2.0.1, repeat-0.4.1, xvfb-0.2.1, cov-2.3.1, faulthandler-1.3.0, catchlog-1.2.2, hypothesis-3.4.2, instafail-0.3.0, mock-1.2
collected 3937 items
tests/unit/test_app.py::test_on_focus_changed_issue1484 PASSED
tests/unit/browser/test_adblock.py::test_without_datadir PASSED
tests/unit/browser/test_adblock.py::test_disabled_blocking_update PASSED
tests/unit/browser/test_adblock.py::test_no_blocklist_update PASSED
tests/unit/browser/test_adblock.py::test_successful_update PASSED
tests/unit/browser/test_adblock.py::test_failed_dl_update PASSED
tests/unit/browser/test_adblock.py::test_blocking_with_whitelist PASSED
tests/unit/browser/test_adblock.py::test_config_change_initial PASSED
tests/unit/browser/test_adblock.py::test_config_change PASSED
tests/unit/browser/test_commands.py::test_openurl SKIPPED
tests/unit/browser/test_pdfjs.py::test_generate_pdfjs_script[http://foo.bar-http://foo.bar] PASSED
tests/unit/browser/test_pdfjs.py::test_generate_pdfjs_script[http://"-] PASSED
tests/unit/browser/test_pdfjs.py::test_generate_pdfjs_script[\x00-%00] PASSED
tests/unit/browser/test_pdfjs.py::test_generate_pdfjs_script[http://foobar/");alert("attack!");-http://foobar/%22);alert(%22attack!%22);] PASSED
tests/unit/browser/test_pdfjs.py::test_fix_urls PASSED
tests/unit/browser/test_pdfjs.py::test_remove_prefix[web/viewer.js-viewer.js] PASSED
tests/unit/browser/test_pdfjs.py::test_remove_prefix[build/locale/foo.bar-locale/foo.bar] PASSED
tests/unit/browser/test_pdfjs.py::test_remove_prefix[viewer.js-viewer.js] PASSED
tests/unit/browser/test_pdfjs.py::test_remove_prefix[foo/viewer.css-foo/viewer.css] PASSED
tests/unit/browser/test_signalfilter.py::test_filtering[0-True] PASSED
tests/unit/browser/test_signalfilter.py::test_filtering[1-False] PASSED
tests/unit/browser/test_signalfilter.py::test_logging[0-emitting] PASSED
tests/unit/browser/test_signalfilter.py::test_logging[1-ignoring] PASSED
tests/unit/browser/test_signalfilter.py::test_no_logging[0] PASSED
tests/unit/browser/test_signalfilter.py::test_no_logging[1] PASSED
tests/unit/browser/test_signalfilter.py::test_runtime_error PASSED
tests/unit/browser/test_tab.py::test_tab[QWebView] PASSED
tests/unit/browser/test_tab.py::test_tab[QWebEngineView] FAILED
____________________________________________________________________________________ test_tab[QWebEngineView] ____________________________________________________________________________________
tests/unit/browser/test_tab.py:108: Failure: Qt messages with level WARNING or above emitted
-------------------------------------------------------------------------------------- Captured Qt messages --------------------------------------------------------------------------------------
None:None:0:
QtWarningMsg: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled (IGNORED)
None:None:0:
QtWarningMsg: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled (IGNORED)
None:None:0:
QtWarningMsg: QOpenGLWidget: Failed to create context
None:None:0:
QtWarningMsg: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled (IGNORED)
None:None:0:
QtWarningMsg: QOpenGLWidget: Failed to create context
None:None:0:
QtWarningMsg: composeAndFlush: makeCurrent() failed
None:None:0:
QtWarningMsg: composeAndFlush: makeCurrent() failed
-------------------------------------------------------------------------------------- Captured stderr call --------------------------------------------------------------------------------------
[0829/082736:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Xlib: extension "GLX" missing on display ":7".
[0829/082736:ERROR:gl_surface_qt.cpp(187)] GLContextHelper::getXConfig() failed.
--------------------------------------------------------------------------------------- Captured log call ----------------------------------------------------------------------------------------
objreg.py 125 DEBUG schedule removal: 0
objreg.py 125 DEBUG schedule removal: tab
objreg.py 125 DEBUG schedule removal: hintmanager
Fatal Python error: Segmentation fault
Thread 0x00007fbd0bfeb400 (most recent call first):
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_parse.py", line 214 in getwidth
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_parse.py", line 214 in getwidth
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_compile.py", line 219 in _compile
File "/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/lib/python3.5/sre_parse.py", line 214 in getwidth
ERROR: InvocationError: '/home/lahwaacz/Bbox/pg/python3/qutebrowser/.tox/py35/bin/python scripts/dev/run_pytest.py tests/unit -vx'
____________________________________________________________________________________________ summary _____________________________________________________________________________________________
ERROR: py35: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment