[Python-apps-team] Bug#655732: beets: FTBFS: test_mtime_* fail

Jakub Wilk jwilk at debian.org
Fri Jan 13 16:29:18 UTC 2012


Source: beets
Version: 1.0~b11-1
Severity: serious
Justification: fails to build from source

beets FTBFS:
| ======================================================================
| FAIL: test_mtime_initially_up_to_date (test_db.MtimeTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/beets-_I7NKP/beets-1.0~b11/test/test_db.py", line 673, in test_mtime_initially_up_to_date
|     self.assertGreaterEqual(self.i.mtime, self._mtime())
| AssertionError: 1326469956 not greater than or equal to 1326469956.344113
|
| ======================================================================
| FAIL: test_mtime_up_to_date_after_read (test_db.MtimeTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/beets-_I7NKP/beets-1.0~b11/test/test_db.py", line 687, in test_mtime_up_to_date_after_read
|     self.assertGreaterEqual(self.i.mtime, self._mtime())
| AssertionError: 1326469956 not greater than or equal to 1326469956.372113
|
| ======================================================================
| FAIL: test_mtime_up_to_date_after_write (test_db.MtimeTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/beets-_I7NKP/beets-1.0~b11/test/test_db.py", line 682, in test_mtime_up_to_date_after_write
|     self.assertGreaterEqual(self.i.mtime, self._mtime())
| AssertionError: 1326469956 not greater than or equal to 1326469956.408113
|
| ----------------------------------------------------------------------
| Ran 902 tests in 7.018s
|
| FAILED (failures=3)
| make[1]: *** [override_dh_auto_test] Error 1

I guess this happens only on filesystems with date resolution less than 
1s (e.g. ext4).

-- 
Jakub Wilk





More information about the Python-apps-team mailing list