fuzzbench
fuzzbench copied to clipboard
PyQt5 Issue
After installing Fuzzbench I went into an issue when I tried the "make presubmit" to test if the appication works. It hang up at some function corresponding to PyQt5. I was able to solve this issue by manually installing PyQt5 on my ubuntu via apt: "sudo apt-get install python3-pyqt5". After that all worked.
Here is the error when running "make presubmit":
`Verify that your local setup is working correctly by running the presubmit check source .venv/bin/activate && python3 presubmit.py =========================================================================================== test session starts ============================================================================================ platform linux -- Python 3.10.12, pytest-7.1.3, pluggy-1.3.0 -- /root/cispa/fuzzbench/.venv/bin/python3 cachedir: .pytest_cache rootdir: /root/cispa/fuzzbench, configfile: pytest.ini plugins: anyio-4.2.0, pyfakefs-5.0.0 collected 293 items / 3 errors
================================================================================================== ERRORS ==================================================================================================
________________________________________________________________________________ ERROR collecting analysis/test_plotting.py ________________________________________________________________________________
ImportError while importing test module '/root/cispa/fuzzbench/analysis/test_plotting.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.venv/lib/python3.10/site-packages/_pytest/python.py:608: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
.venv/lib/python3.10/site-packages/_pytest/pathlib.py:533: in import_path
importlib.import_module(module_name)
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868: 12 warnings
/root/cispa/fuzzbench/.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868
/root/cispa/fuzzbench/.venv/lib/python3.10/site-packages/pkg_resources/init.py:2868: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google.cloud')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
.venv/lib/python3.10/site-packages/pkg_resources/init.py:2348
/root/cispa/fuzzbench/.venv/lib/python3.10/site-packages/pkg_resources/init.py:2348: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google')
.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========================================================================================= short test summary info ========================================================================================== ERROR analysis/test_plotting.py ERROR experiment/test_dispatcher.py ERROR experiment/test_reporter.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ====================================================================================== 22 warnings, 3 errors in 7.07s ====================================================================================== ERROR: test failed, see errors above. Failed checks: test Failed. make: *** [Makefile:60: presubmit] Error 1`