Hi all,

Vdsm travis tests are running file for some weeks. We have several
random failures, probably bad tests that needs to be fixed.

The most common failure is this - failing only in python 3.

======================================================================
ERROR: test_import_modules(('a.py', 'b.py', 'a.pyc', 'a.pyioas'),
('a', 'b')) (moduleloader_test.ImportModulesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/vdsm/tests/testlib.py", line 135, in wrapper
    return f(self, *args)
  File "/vdsm/tests/moduleloader_test.py", line 51, in test_import_modules
    with self._setup_test_modules(files) as module_name:
  File "/usr/lib64/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/vdsm/tests/moduleloader_test.py", line 42, in _setup_test_modules
    yield importlib.import_module(os.path.basename(path))
  File "/usr/lib64/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'tmpozng7rht'

See complete run:
https://travis-ci.org/nirs/vdsm/jobs/178894634

Piotr, can you check why this fail and get this test working on travis?

Thanks,
Nir
_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to