Skip to content

Runs with apache driver version 3.29.3 don't have SCYLLA_VERSION set #108

@sylwiaszunejko

Description

@sylwiaszunejko

It fails with:

2026-01-30 23:00:03,416 DEBUG [__init__:95]: Using default event loop (libev)
00:00:04  ImportError while loading conftest '/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-apache/tests/integration/conftest.py'.
00:00:04  tests/integration/__init__.py:193: in <module>
00:00:04      cassandra_version = Version(mcv_string)
00:00:04  venv/apache/3.29.3/lib/python3.9/site-packages/packaging/version.py:359: in __init__
00:00:04      match = self._regex.fullmatch(version)
00:00:04  E   TypeError: expected string or bytes-like object
00:00:04  ERROR:root:3.29.3 failed
00:00:04  Traceback (most recent call last):
00:00:04    File "/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-matrix/main.py", line 31, in main
00:00:04      result = runner.run()
00:00:04    File "/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-matrix/run.py", line 235, in run
00:00:04      junit.save_after_analysis(driver_version=self.driver_version, protocol=self._protocol,
00:00:04    File "/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-matrix/processjunit.py", line 89, in save_after_analysis
00:00:04      tree = ElementTree.parse(self._xunit_file).find("testsuite[@name='pytest']")
00:00:04    File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 1222, in parse
00:00:04      tree.parse(source, parser)
00:00:04    File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 569, in parse
00:00:04      source = open(source, "rb")
00:00:04  FileNotFoundError: [Errno 2] No such file or directory: '/jenkins/workspace/scylla-master/driver-tests/python-driver-matrix-test/python-driver-matrix/xunit/3.29.3/pytest.apache.v3.3.29.3.xml'

What is weird for version 3.28.0 it doesn't have this problem and successfully runs all tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions