[gdal-dev] Test failure
Andrew Bell
andrew.bell.ia at gmail.com
Thu Feb 21 07:03:20 PST 2019
Hi,
I'm having an issue running autotest on Ubuntu 18.04. Ideas appreciated:
===========
acbell at ubuntu-gdal:~/gdal/autotest$ LD_LIBRARY_PATH=../gdal/.libs
PYTHONPATH=../gdal/swig/python/build/lib.linux-x86_64-2.7 pytest
============================= test session starts
==============================
platform linux2 -- Python 2.7.15rc1, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /home/acbell/gdal/autotest, inifile: pytest.ini
collected 6474 items
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py",
line 105, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py",
line 142, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 617, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 222, in
_hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 216, in <lambda>
INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 201, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 77, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 180, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py",
line 152, in pytest_collection
INTERNALERROR> return session.perform_collect()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/_pytest/main.py",
line 685, in perform_collect
INTERNALERROR> config=self.config, items=items)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 617, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers +
self._wrappers, kwargs)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 222, in
_hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File
"/usr/lib/python2.7/dist-packages/pluggy/__init__.py", line 216, in <lambda>
INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 201, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 77, in get_result
INTERNALERROR> _reraise(*ex) # noqa
INTERNALERROR> File "/usr/lib/python2.7/dist-packages/pluggy/callers.py",
line 180, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/home/acbell/gdal/autotest/conftest.py", line 61, in
pytest_collection_modifyitems
INTERNALERROR> for mark in item.iter_markers('require_driver'):
INTERNALERROR> AttributeError: 'Function' object has no attribute
'iter_markers'
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190221/8a908f71/attachment-0001.html>
More information about the gdal-dev
mailing list