[Python-modules-team] Bug#889843: nose2 FTBFS: ERROR: test_can_discover_test_modules_in_zipped_eggs (nose2.tests.functional.test_eggdiscovery_loader.EggDiscoveryFunctionalTest)

Adrian Bunk bunk at debian.org
Wed Feb 7 18:37:43 UTC 2018


Source: nose2
Version: 0.7.3-2
Severity: serious

Some recent change in unstable makes nose2 FTBFS:

https://tests.reproducible-builds.org/debian/history/nose2.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nose2.html

...
======================================================================
ERROR: test_can_discover_test_modules_in_zipped_eggs (nose2.tests.functional.test_eggdiscovery_loader.EggDiscoveryFunctionalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "nose2/tests/functional/test_eggdiscovery_loader.py", line 38, in test_can_discover_test_modules_in_zipped_eggs
    self.assertTestRunOutputMatches(proc, stderr='FAILED \(failures=5, errors=1, skipped=1\)')
  File "nose2/tests/_common.py", line 82, in assertTestRunOutputMatches
    cmd_stdout, cmd_stderr = proc.communicate()
  File "nose2/tests/_common.py", line 227, in communicate
    **self.kwargs)
  File "nose2/main.py", line 306, in discover
    return main(*args, **kwargs)
  File "nose2/main.py", line 100, in __init__
    super(PluggableTestProgram, self).__init__(**kw)
  File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "nose2/main.py", line 133, in parseArgs
    self.createTests()
  File "nose2/main.py", line 258, in createTests
    self.testNames, self.module)
  File "nose2/loader.py", line 68, in loadTestsFromNames
    for name in event.names]
  File "nose2/loader.py", line 83, in loadTestsFromName
    result = self.session.hooks.loadTestsFromName(event)
  File "nose2/events.py", line 225, in __call__
    result = getattr(plugin, self.method)(event)
  File "nose2/plugins/loader/eggdiscovery.py", line 41, in loadTestsFromName
    return discovery.Discoverer.loadTestsFromName(self, event)
  File "nose2/plugins/loader/discovery.py", line 84, in loadTestsFromName
    self._find_tests_in_module(event, module, top_level_dir))
  File "nose2/plugins/loader/discovery.py", line 229, in _find_tests_in_module
    event, full_path, top_level_dir):
  File "nose2/plugins/loader/eggdiscovery.py", line 78, in _find_tests_in_dir
    event, modname, dist):
  File "nose2/plugins/loader/eggdiscovery.py", line 62, in _find_tests_in_egg_dir
    for test in self._find_tests_in_egg_dir(event, entry_path, dist):
  File "nose2/plugins/loader/eggdiscovery.py", line 62, in _find_tests_in_egg_dir
    for test in self._find_tests_in_egg_dir(event, entry_path, dist):
  File "nose2/plugins/loader/eggdiscovery.py", line 62, in _find_tests_in_egg_dir
    for test in self._find_tests_in_egg_dir(event, entry_path, dist):
...
nose2.plugins.loader.eggdiscovery: DEBUG: find in egg dir /build/1st/nose2-0.7.3/nose2/tests/functional/support/scenario/tests_in_zipped_eggs/pkgegg-0.0.0-py2.7.egg pkgegg/test/ (pkgegg)
nose2.plugins.loader.eggdiscovery: DEBUG: find in egg dir /build/1st/nose2-0.7.3/nose2/tests/functional/support/scenario/tests_in_zipped_eggs/pkgegg-0.0.0-py2.7.egg pkgegg/test/ (pkgegg)
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 246 tests in 139.913s

FAILED (errors=1, skipped=1)
E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: python2.7 -m nose2.__main__ -v
dh_auto_test: pybuild --test -i python{version} -p 2.7 --system=custom "--test-args={interpreter} -m nose2.__main__ -v" returned exit code 13
debian/rules:35: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list