[Python-apps-team] Bug#892735: beets tests pull in resources from the network, and fail as well

Matthias Klose doko at debian.org
Mon Mar 12 11:10:12 UTC 2018


Package: src:beets
Version: 1.4.6-1.1
Severity: serious
Tags: sid buster

the beets tests pull in resources from the network, and then fail as well.

[...]
running test
Searching for discogs-client
Reading https://pypi.python.org/simple/discogs-client/
Downloading
https://pypi.python.org/packages/1f/1f/62a8cee111ff72c5ad379039adef8c872813602ffd516ba35368726f14c2/discogs-client-2.2.1.tar.gz#md5=c82be8006e1c02fcfc2bb42a2e312151
Best match: discogs-client 2.2.1
Processing discogs-client-2.2.1.tar.gz
Writing /tmp/easy_install-zu0tmzvm/discogs-client-2.2.1/setup.cfg
Running discogs-client-2.2.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-zu0tmzvm/discogs-client-2.2.1/egg-dist-tmp-38vd56jf
warning: no previously-included files matching 'make_symlinks.py' found under
directory 'discogs_client/tests'
zip_safe flag not set; analyzing archive contents...
Moving discogs_client-2.2.1-py3.6.egg to /home/packages/tmp/beets-1.4.6/.eggs

Installed /home/packages/tmp/beets-1.4.6/.eggs/discogs_client-2.2.1-py3.6.egg
Searching for pathlib
Reading https://pypi.python.org/simple/pathlib/
Downloading
https://pypi.python.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz#md5=5099ed48be9b1ee29b31c82819240537
Best match: pathlib 1.0.1
Processing pathlib-1.0.1.tar.gz
Writing /tmp/easy_install-94hca6pr/pathlib-1.0.1/setup.cfg
Running pathlib-1.0.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-94hca6pr/pathlib-1.0.1/egg-dist-tmp-5ghf0vkb
zip_safe flag not set; analyzing archive contents...
Moving pathlib-1.0.1-py3.6.egg to /home/packages/tmp/beets-1.4.6/.eggs

Installed /home/packages/tmp/beets-1.4.6/.eggs/pathlib-1.0.1-py3.6.egg
Searching for oauthlib
Reading https://pypi.python.org/simple/oauthlib/
Downloading
https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754/oauthlib-2.0.6.tar.gz#md5=277a9a966cc8c72e492b4eeb41332445
Best match: oauthlib 2.0.6
Processing oauthlib-2.0.6.tar.gz
Writing /tmp/easy_install-kz2hycyj/oauthlib-2.0.6/setup.cfg
Running oauthlib-2.0.6/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-kz2hycyj/oauthlib-2.0.6/egg-dist-tmp-nrkifwe0
zip_safe flag not set; analyzing archive contents...
Moving oauthlib-2.0.6-py3.6.egg to /home/packages/tmp/beets-1.4.6/.eggs

Installed /home/packages/tmp/beets-1.4.6/.eggs/oauthlib-2.0.6-py3.6.egg


that's a lot of missing test dependencies ...


[...]
======================================================================
FAIL: test_asciify_variable (test_library.DestinationFunctionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/tmp/beets-1.4.6/test/test_library.py", line 594, in
test_asciify_variable
    self._assert_dest(b'/base/abC_1_2d')
  File "/home/packages/tmp/beets-1.4.6/test/test_library.py", line 565, in
_assert_dest
    self.assertEqual(actual, dest)
AssertionError: b'/base/abC_ 1_2 d' != b'/base/abC_1_2d'

======================================================================
FAIL: test_asciify_character_expanding_to_slash (test_library.DestinationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/tmp/beets-1.4.6/test/test_library.py", line 430, in
test_asciify_character_expanding_to_slash
    self.assertEqual(self.i.destination(), np('lib/abC_1_2d'))
AssertionError: b'/home/packages/tmp/beets-1.4.6/test/lib/abC_ 1_2 d' !=
b'/home/packages/tmp/beets-1.4.6/test/lib/abC_1_2d'

----------------------------------------------------------------------
Ran 1788 tests in 45.117s

FAILED (failures=2, skipped=31)
Test failed: <unittest.runner.TextTestResult run=1788 errors=0 failures=2>
error: Test failed: <unittest.runner.TextTestResult run=1788 errors=0 failures=2>
make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1



More information about the Python-apps-team mailing list