scylladb / python-driver-matrix

3 stars 11 forks source link

tests.integration.standard.test_scylla_cloud is failing since LibevConnection wasn't compiled #44

Closed fruch closed 1 year ago

fruch commented 1 year ago
ImportError while importing test module '/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-scylla/tests/integration/standard/test_scylla_cloud.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
cassandra/io/libevreactor.py:29: in <module>
    import cassandra.io.libevwrapper as libev
E   ModuleNotFoundError: No module named 'cassandra.io.libevwrapper'

During handling of the above exception, another exception occurred:
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/integration/standard/test_scylla_cloud.py:10: in <module>
    from cassandra.io.libevreactor import LibevConnection
cassandra/io/libevreactor.py:31: in <module>
    raise ImportError(
E   ImportError: The C extension needed to use libev was not found.  This probably means that you didn't have the required build dependencies when installing the driver.  See http://datastax.github.io/python-driver/installation.html#c-extensions for instructions on installing build dependencies and building the C extension.

this is a newly introduced test, that uses multiple connection backends, we need to make sure all of them are compiled/working when running this test.