FTBFS: tests fail: test_read_audio_properties (test_mediafile.AlacTest

Bug #1502394 reported by Logan Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
beets (Debian)
Fix Released
Unknown
beets (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/792060:

Source: beets
Version: 1.3.8+dfsg-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: <email address hidden>
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)

Tags: ftbfs
Logan Rosen (logan)
Changed in beets (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
description: updated
Changed in beets (Debian):
importance: Undecided → Unknown
Changed in beets (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package beets - 1.3.19-2

---------------
beets (1.3.19-2) unstable; urgency=medium

  * Fix occasional FTBFS due to lack of mock cleanup. Thanks Santiago Vila.
    (Closes: #835937)
  * Fix autopkgtests by adding the test dependencies, and a sane unittest
    incantation.
  * Drop unittest2 and nose Build-Depends, no longer used.

 -- Stefano Rivera <email address hidden> Mon, 29 Aug 2016 22:07:14 -0700

Changed in beets (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.