[Python-modules-team] Bug#943548: python-setoptconf: autopkgtest regression: No module named 'StringIO'
Paul Gevers
elbrus at debian.org
Sat Oct 26 10:20:23 BST 2019
Source: python-setoptconf
Version: 0.2.0-4
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainers,
With a recent upload of python-setoptconf the autopkgtest of
python-setoptconf fails in testing when that autopkgtest is run with the
binary packages of python-setoptconf from unstable. It passes when run
with only packages from testing. In tabular form:
pass fail
python-setoptconf from testing 0.2.0-4
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it? If needed, please
change the bug's severity.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=python-setoptconf
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-setoptconf/3248224/log.gz
/usr/lib/python3/dist-packages/nose/importer.py:12: DeprecationWarning:
the imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
from imp import find_module, load_module, acquire_lock, release_lock
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
Failure: ModuleNotFoundError (No module named 'StringIO') ... ERROR
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 244, in load_module
return load_package(name, filename)
File "/usr/lib/python3.7/imp.py", line 216, in load_package
return _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_configuration.py",
line 2, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_datatypes.py",
line 3, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_directory_modifiers.py",
line 1, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_file_sources.py",
line 5, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_manager.py",
line 3, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_settings.py",
line 3, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'StringIO')
----------------------------------------------------------------------
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.7/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.7/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/test/test_sources.py",
line 3, in <module>
import setoptconf as soc
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/__init__.py",
line 4, in <module>
from .config import *
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/config.py",
line 2, in <module>
from .util import UnicodeMixin
File
"/tmp/autopkgtest-lxc.__4tm9ok/downtmp/build.0Wc/src/setoptconf/util.py",
line 2, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'
Name Stmts Miss Cover Missing
-------------------------------------------------------
setoptconf/exception.py 11 0 100%
----------------------------------------------------------------------
Ran 8 tests in 0.034s
FAILED (errors=8)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20191026/02427ec9/attachment-0001.sig>
More information about the Python-modules-team
mailing list