[Python-modules-team] Bug#838644: guessit: FTBFS in testing (failing tests)

Santiago Vila sanvila at debian.org
Fri Sep 23 09:29:16 UTC 2016


Package: src:guessit
Version: 0.11.0-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with=python2,python3 --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py

[... snipped ...]

guessit.matcher: WARNING: ---- Bleach.s16e03-04.313-314 ----
guessit.matcher: WARNING: ADDITIONAL: 'title': '313-314'
guessit.matcher: WARNING: ---- 90.Day.Fiance.S02E07.I.Have.To.Tell.You.Something.720p.HDTV.x264-W4F ----
guessit.matcher: WARNING: ADDITIONAL: 'videoCodec': 'h264'
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'W4F'
guessit.matcher: WARNING: ---- Show.Name.2010.11.23.HDTV.XViD.Etc-Group ----
guessit.matcher: WARNING: ADDITIONAL: 'videoCodec': 'XviD'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: testMovies (guessit.test.test_movie.TestMovie)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/guessit/test/test_movie.py", line 29, in testMovies
    filename='movies.yaml')
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/guessit/test/guessittest.py", line 68, in checkMinimumFieldsCorrect
    return self.checkFields(groundTruth, guess_func, remove_type, exclude_files)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/guessit/test/guessittest.py", line 184, in checkFields
    assert correct == total, 'Correct: %d < Total: %d' % (correct, total)
AssertionError: Correct: 101 < Total: 102
-------------------- >> begin captured logging << --------------------
guessit.matcher: ERROR: ---- Movies/The Doors (1991)/08.03.09.The.Doors.(1991).BDRip.720p.AC3.X264-HiS at SiLUHD-English.[sharethefiles.com].mkv ----
guessit.matcher: ERROR: FAILED: 'date': expected = '2008-03-09' [<type 'datetime.date'>] - received = '2008-09-03' [<type 'datetime.date'>]
guessit.matcher: WARNING: ---- Movies/Fr - Paris 2054, Renaissance (2005) - De Christian Volckman - (Film Divx Science Fiction Fantastique Thriller Policier N&B).avi ----
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'Science Fiction'
guessit.matcher: WARNING: ---- Movies/Ratatouille/video_ts-ratatouille.srt ----
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'ratatouille'
guessit.matcher: WARNING: ---- /share/Download/movie/Dead Man Down (2013) BRRiP XViD DD5_1 Custom NLSubs =-_lt Q_o_Q gt-=_/XD607ebb-BRc59935-5155473f-1c5f49/XD607ebb-BRc59935-5155473f-1c5f49.avi ----
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'Custom NLSubs'
guessit.matcher: WARNING: ---- Looney Tunes 1444x866 Porky's Last Stand.mkv ----
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'Porky's'
guessit.matcher: WARNING: ---- Underworld Quadrilogie VO+VFF+VFQ 1080p HDlight.x264~Tonyk~Monde Infernal ----
guessit.matcher: WARNING: ADDITIONAL: 'releaseGroup': 'Tonyk~Monde'
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_date (guessit.test.test_utils.TestUtils)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/guessit/test/test_utils.py", line 151, in test_date
    assert search_date(' This happened on %s. ' % (past, )) == (past, (18, 28))
AssertionError

----------------------------------------------------------------------
Ran 31 tests in 10.400s

FAILED (failures=7)
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose 
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned exit code 13
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.



More information about the Python-modules-team mailing list