Also, this release has an exclude clause in the debian/rules under override_dh_auto_test to skip unittests/policy_tests.py due to the avocado dependency introduced due to https://github.com/sosreport/sos/commit/c59ab1c169098fd3a173a68e09373bdc2498139a
Without that , the build fails with,
~~~
test_tail_too_many (tests.unittests.utilities_tests.TailTest) ... ok
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'avocado')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 417, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/<<PKGBUILDDIR>>/tests/unittests/policy_tests.py", line 10, in <module>
from avocado.utils import distro
ModuleNotFoundError: No module named 'avocado'
~~~
Uploading all the debdiffs, starting with mantic.
Additional patch built on top of upstream sos 4.5.4 is in these packages, patch is https:/ /github. com/sosreport/ sos/pull/ 3263 which fixes https:/ /github. com/sosreport/ sos/issues/ 3261 (Thanks for this fix Arif++)
Also, this release has an exclude clause in the debian/rules under override_ dh_auto_ test to skip unittests/ policy_ tests.py due to the avocado dependency introduced due to https:/ /github. com/sosreport/ sos/commit/ c59ab1c169098fd 3a173a68e09373b dc2498139a unittests. utilities_ tests.TailTest) ... ok
Without that , the build fails with,
~~~
test_tail_too_many (tests.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- python3/ dist-packages/ nose/failure. py", line 39, in runTest val.with_ traceback( self.tb) python3/ dist-packages/ nose/loader. py", line 417, in loadTestsFromName python3/ dist-packages/ nose/importer. py", line 47, in importFromPath Dir(dir_ path, fqname) python3/ dist-packages/ nose/importer. py", line 94, in importFromDir part_fqname, fh, filename, desc) python3. 6/imp.py" , line 235, in load_module python3. 6/imp.py" , line 172, in load_source _bootstrap> ", line 684, in _load _bootstrap> ", line 665, in _load_unlocked _bootstrap_ external> ", line 678, in exec_module _bootstrap> ", line 219, in _call_with_ frames_ removed >>/tests/ unittests/ policy_ tests.py" , line 10, in <module> rror: No module named 'avocado'
ERROR: Failure: ModuleNotFoundError (No module named 'avocado')
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.exc_
File "/usr/lib/
addr.filename, addr.module)
File "/usr/lib/
return self.importFrom
File "/usr/lib/
mod = load_module(
File "/usr/lib/
return load_source(name, filename, file)
File "/usr/lib/
module = _load(spec)
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "<frozen importlib.
File "/<<PKGBUILDDIR
from avocado.utils import distro
ModuleNotFoundE
~~~
Uploading all the debdiffs, starting with mantic.