Giter VIP home page Giter VIP logo

Comments (2)

VidmS avatar VidmS commented on July 16, 2024

Here is the error when running "make presubmit":
Bildschirmfoto vom 2024-01-11 13-10-31

from fuzzbench.

VidmS avatar VidmS commented on July 16, 2024

`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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.