[Python-apps-team] Bug#792060: FTBFS: tests fail: test_read_audio_properties (test_mediafile.AlacTest

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Jul 10 20:26:30 UTC 2015


Source: beets
Version: 1.3.8+dfsg-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build.  This test always fails:

======================================================================
FAIL: test_read_audio_properties (test_mediafile.AlacTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/buildd/beets-1.3.8+dfsg/test/test_mediafile.py", line 423, in test_read_audio_properties
    self.assertEqual(getattr(mediafile, key), value)
AssertionError: 16 != 0

----------------------------------------------------------------------
Ran 1281 tests in 46.102s

FAILED (failures=1, skipped=15)



Additionally, if the package is built with CAP_DAC_OVERRIDE (e.g. as local root),
this test also fails:

======================================================================
FAIL: test_no_write_permission (test_library.WriteTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/beets-1.3.8+dfsg/test/test_library.py", line 1062, in test_no_write_permission
    self.assertRaises(beets.library.WriteError, self.i.write)
AssertionError: WriteError not raised


Full build log showing just the first:
https://reproducible.debian.net/rb-pkg/unstable/amd64/beets.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Python-apps-team mailing list