Package: nose2 Version: 0.5.0-2 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error.
[...] ====================================================================== ERROR: test_collector_completes_with_no_tests (nose2.tests.unit.test_collector.TestCollector) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/unit/test_collector.py", line 18, in test_collector_completes_with_no_tests with RedirectStdStreams() as redir: File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/_common.py", line 228, in __enter__ self.old_stdout.flush() ValueError: underlying buffer has been detached ====================================================================== FAIL: test_run (nose2.tests.functional.test_coverage.TestCoverage) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/functional/test_coverage.py", line 19, in test_run stderr=os.path.join('lib', 'mod1').replace('\\', r'\\') + STATS) File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/_common.py", line 64, in assertTestRunOutputMatches testf(util.safe_decode(cmd_stderr), stderr) AssertionError: Regex didn't match: 'lib/mod1 8 5 38%' not found in 'test1 (test_coverage.TestLib) ... ok\n\n----------------------------------------------------------------------\nRan 1 test in 0.001s\n\nOK\n' ====================================================================== FAIL: test_can_discover_test_modules_in_zipped_eggs (nose2.tests.functional.test_eggdiscovery_loader.EggDiscoveryFunctionalTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/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 "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/_common.py", line 64, in assertTestRunOutputMatches testf(util.safe_decode(cmd_stderr), stderr) AssertionError: Regex didn't match: 'FAILED \\(failures=5, errors=1, skipped=1\\)' not found in 'pkgegg (nose2.loader.LoadTestsFailure) ... ERROR\n\n======================================================================\nERROR: pkgegg (nose2.loader.LoadTestsFailure)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor\n yield\n File "/usr/lib/python3.4/unittest/case.py", line 580, in run\n testMethod()\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/loader.py", line 117, in testFailure\n raise exception\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/plugins/loader/generators.py", line 108, in loadTestsFromName\n result = util.test_from_name(name, module)\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/util.py", line 96, in test_from_name\n parent, obj = object_from_name(name, module)\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/util.py", line 107, in object_from_name\n module = __import__(\'.\'.join(parts_copy))\nImportError: No module named \'pkgegg\'\n\n----------------------------------------------------------------------\nRan 1 test in 0.001s\n\nFAILED (errors=1)\n' ====================================================================== FAIL: test_non_egg_discoverer_does_not_fail_when_looking_in_egg (nose2.tests.functional.test_eggdiscovery_loader.EggDiscoveryFunctionalTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/functional/test_eggdiscovery_loader.py", line 30, in test_non_egg_discoverer_does_not_fail_when_looking_in_egg self.assertTestRunOutputMatches(proc, stderr='Ran 0 tests in') File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/tests/_common.py", line 64, in assertTestRunOutputMatches testf(util.safe_decode(cmd_stderr), stderr) AssertionError: Regex didn't match: 'Ran 0 tests in' not found in 'pkgegg (nose2.loader.LoadTestsFailure) ... ERROR\n\n======================================================================\nERROR: pkgegg (nose2.loader.LoadTestsFailure)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File "/usr/lib/python3.4/unittest/case.py", line 58, in testPartExecutor\n yield\n File "/usr/lib/python3.4/unittest/case.py", line 580, in run\n testMethod()\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/loader.py", line 117, in testFailure\n raise exception\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/plugins/loader/generators.py", line 108, in loadTestsFromName\n result = util.test_from_name(name, module)\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/util.py", line 96, in test_from_name\n parent, obj = object_from_name(name, module)\n File "/srv/jenkins-slave/workspace/sid-goto-cc-nose2/nose2-0.5.0/nose2/util.py", line 107, in object_from_name\n module = __import__(\'.\'.join(parts_copy))\nImportError: No module named \'pkgegg\'\n\n----------------------------------------------------------------------\nRan 1 test in 0.000s\n\nFAILED (errors=1)\n' ---------------------------------------------------------------------- Ran 211 tests in 144.519s FAILED (failures=3, errors=1) Exception ignored in: <_io.TextIOWrapper mode='w' encoding='ANSI_X3.4-1968'> ValueError: underlying buffer has been detached E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: python3.4 setup.py test dh_auto_test: pybuild --test -i python{version} -p 3.4 3.5 --dir . returned exit code 13 debian/rules:9: recipe for target 'build' failed make: *** [build] Error 25 The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. Best, Michael
nose2-build-log.txt.gz
Description: application/gunzip
signature.asc
Description: PGP signature