Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630114 - media-video/subliminal-2.0.5-r1 fails tests - AssertionError: assert the big bang theory in {}
Summary: media-video/subliminal-2.0.5-r1 fails tests - AssertionError: assert the big ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Coacher
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-06 19:24 UTC by Toralf Förster
Modified: 2017-09-22 14:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.07 KB, text/plain)
2017-09-06 19:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.90 KB, text/plain)
2017-09-06 19:24 UTC, Toralf Förster
Details
environment (environment,114.99 KB, text/plain)
2017-09-06 19:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.99 KB, application/x-bzip)
2017-09-06 19:24 UTC, Toralf Förster
Details
media-video:subliminal-2.0.5-r1:20170906-190553.log (media-video:subliminal-2.0.5-r1:20170906-190553.log,72.38 KB, text/plain)
2017-09-06 19:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.82 KB, application/x-bzip)
2017-09-06 19:24 UTC, Toralf Förster
Details
subliminal-bug630114.patch.gz (subliminal-bug630114.patch.gz,928.25 KB, application/gzip)
2017-09-14 17:04 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-06 19:24:06 UTC
            show_ids = provider._get_show_ids()
>       assert 'the big bang theory' in show_ids
E       AssertionError: assert 'the big bang theory' in {}

tests/test_addic7ed.py:183: AssertionError
__________________________ test_get_show_ids_no_year ___________________________

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_20170903-225953

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)




emerge -qpv media-video/subliminal
[ebuild  N    ] media-video/subliminal-2.0.5-r1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-09-06 19:24:09 UTC
Created attachment 492896 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-06 19:24:12 UTC
Created attachment 492898 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-06 19:24:15 UTC
Created attachment 492900 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-06 19:24:18 UTC
Created attachment 492902 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-06 19:24:21 UTC
Created attachment 492904 [details]
media-video:subliminal-2.0.5-r1:20170906-190553.log
Comment 6 Toralf Förster gentoo-dev 2017-09-06 19:24:25 UTC
Created attachment 492906 [details]
temp.tbz2
Comment 7 Coacher 2017-09-08 14:30:27 UTC
Indeed, similar (but not quite the same) test failures seen here.
When the ebuild was committed initially there were no test failures.
May be caused by changes in one of the deps. Need to investigate further.
Thanks.
Comment 8 Coacher 2017-09-14 17:04:09 UTC
Created attachment 494536 [details]
subliminal-bug630114.patch.gz

Please retry with this patch and dev-python/urllib3-1.16 instead.
Comment 9 Coacher 2017-09-14 17:19:46 UTC
(In reply to Coacher from comment #8)
> Created attachment 494536 [details]
> subliminal-bug630114.patch.gz
> 
> Please retry with this patch and dev-python/urllib3-1.16 instead.
Ah, that patch won't work as master is substantially different from develop branch upstream. Porting it would produce even more huge patch. Tests work fine with 9999 here, so I'll restrict them in 2.0.5-r1 and unrestrict later.
Comment 10 Patrice Clement (RETIRED) gentoo-dev 2017-09-22 14:47:40 UTC
commit b1bdeceb98881f7f01253b3d10af7fa4c6a7aba2 (HEAD -> master, origin/master, origin/HEAD)
Author:     Ilya Tumaykin <itumaykin@gmail.com>
AuthorDate: Thu Sep 14 21:08:03 2017 +0300
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Fri Sep 22 16:46:54 2017 +0200

media-video/subliminal: restrict tests in 2.0.5.

Gentoo-Bug: https://bugs.gentoo.org/630114
Closes: https://github.com/gentoo/gentoo/pull/5704
Package-Manager: Portage-2.3.8, Repoman-2.3.3

media-video/subliminal/subliminal-2.0.5-r1.ebuild | 3 +++
1 file changed, 3 insertions(+)