Comments (2)
Here is the error when running "make presubmit":
from fuzzbench.
`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)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
.venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.dict)
analysis/test_plotting.py:19: in
from analysis import plotting
analysis/plotting.py:17: in
import Orange
.venv/lib/python3.10/site-packages/Orange/init.py:33: in
import pyqtgraph # import pyqtgraph first so that it can detect Qt5
.venv/lib/python3.10/site-packages/pyqtgraph/init.py:18: in
from .colors import palette
.venv/lib/python3.10/site-packages/pyqtgraph/colors/palette.py:1: in
from ..Qt import QtGui
.venv/lib/python3.10/site-packages/pyqtgraph/Qt/init.py:156: in
import PyQt5.QtGui
E ImportError: libGL.so.1: cannot open shared object file: No such file or directory
______________________________________________________________________________ ERROR collecting experiment/test_dispatcher.py ______________________________________________________________________________
ImportError while importing test module '/root/cispa/fuzzbench/experiment/test_dispatcher.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)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
.venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.dict)
experiment/test_dispatcher.py:23: in
from experiment import dispatcher
experiment/dispatcher.py:35: in
from experiment import reporter
experiment/reporter.py:27: in
from analysis import generate_report
analysis/generate_report.py:25: in
from analysis import plotting
analysis/plotting.py:17: in
import Orange
.venv/lib/python3.10/site-packages/Orange/init.py:33: in
import pyqtgraph # import pyqtgraph first so that it can detect Qt5
.venv/lib/python3.10/site-packages/pyqtgraph/init.py:18: in
from .colors import palette
.venv/lib/python3.10/site-packages/pyqtgraph/colors/palette.py:1: in
from ..Qt import QtGui
.venv/lib/python3.10/site-packages/pyqtgraph/Qt/init.py:156: in
import PyQt5.QtGui
E ImportError: libGL.so.1: cannot open shared object file: No such file or directory
_______________________________________________________________________________ ERROR collecting experiment/test_reporter.py _______________________________________________________________________________
ImportError while importing test module '/root/cispa/fuzzbench/experiment/test_reporter.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)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
.venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
exec(co, module.dict)
experiment/test_reporter.py:22: in
from experiment import reporter
experiment/reporter.py:27: in
from analysis import generate_report
analysis/generate_report.py:25: in
from analysis import plotting
analysis/plotting.py:17: in
import Orange
.venv/lib/python3.10/site-packages/Orange/init.py:33: in
import pyqtgraph # import pyqtgraph first so that it can detect Qt5
.venv/lib/python3.10/site-packages/pyqtgraph/init.py:18: in
from .colors import palette
.venv/lib/python3.10/site-packages/pyqtgraph/colors/palette.py:1: in
from ..Qt import QtGui
.venv/lib/python3.10/site-packages/pyqtgraph/Qt/init.py:156: in
import PyQt5.QtGui
E ImportError: libGL.so.1: cannot open shared object file: No such file or directory
============================================================================================= warnings summary =============================================================================================
.venv/lib/python3.10/site-packages/google/cloud/logging_v2/init.py:17
/root/cispa/fuzzbench/.venv/lib/python3.10/site-packages/google/cloud/logging_v2/init.py:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
.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`
from fuzzbench.
Related Issues (20)
- Running several experiments at one time
- freetype_ftfuzzer oss-fuzz benchmark uses outdated commit
- llvm-cov show command report warning: <N> functions have mismatched data
- Allow setting `merge_with_nonprivate` in `run_experiment.py` command line params
- unknown flag: --gpus all when executing run_experiment.py
- No snapshot data when running local experiment HOT 6
- Average rank scoring
- Retire benchmarks that dont show differences HOT 1
- edges_found and edges_covered mismatch
- [docs] Outdated documentation about fuzzer configs
- Encounter problems when adding a new fuzzer HOT 3
- Why the report-data only contains the code covrage data? HOT 2
- Update `Python` dependencies to update deprecated packages and resolve conflicts HOT 3
- Some error about "run the local bug experiment". HOT 4
- Cannot pull gcr.io/fuzzbench/base-image docker image from Artifact Registry HOT 1
- local experiment issue : Local uncommitted changes found, exiting - raise ValidationError('Local uncommitted changes found, exiting.') HOT 1
- Show data and report links in `experiment` CI
- Fix/Remove `aspell_aspell_fuzzer_e8eb74` from tag `SBFT'23`
- Is it possible to migrate a java or python benchmark from OSS-Fuzz to fuzzbench? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzbench.