Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543406 Details for
Bug 663610
dev-python/python-magic-0.4.15 : [TEST] FAIL: test_descriptions (_main_.MagicTest)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:python-magic-0.4.15:20180814-101652.log
dev-python:python-magic-0.4.15:20180814-101652.log (text/plain), 5.15 KB, created by
Toralf Förster
on 2018-08-14 16:01:10 UTC
(
hide
)
Description:
dev-python:python-magic-0.4.15:20180814-101652.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-08-14 16:01:10 UTC
Size:
5.15 KB
patch
obsolete
> * Package: dev-python/python-magic-0.4.15 > * Repository: gentoo > * Maintainer: thev00d00@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking python-magic-0.4.15.gh.tar.gz to /var/tmp/portage/dev-python/python-magic-0.4.15/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-magic-0.4.15/work >>>> Preparing source in /var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15 ... > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >python2.7 setup.py build >running build >running build_py >copying magic.py -> /var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15-python2_7/lib >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build >running build >running build_py >copying magic.py -> /var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15-python3_6/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/python-magic-0.4.15 > * python2_7: running distutils-r1_run_phase python_test >test_descriptions (__main__.MagicTest) ... FAIL >test_errors (__main__.MagicTest) ... ok >test_from_buffer_str_and_bytes (__main__.MagicTest) ... ok >test_keep_going (__main__.MagicTest) ... FAIL >test_mime_encodings (__main__.MagicTest) ... ok >test_mime_types (__main__.MagicTest) ... FAIL >test_rethrow (__main__.MagicTest) ... ok > >====================================================================== >FAIL: test_descriptions (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 67, in test_descriptions > 'text.txt': 'ASCII text', > File "test/test.py", line 32, in assert_values > self.assertTrue(False, "no match for " + repr(expected_value)) >AssertionError: no match for ('gzip compressed data, was "test", from Unix, last modified: Sun Jun 29 01:32:52 2008', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix') > >====================================================================== >FAIL: test_keep_going (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 97, in test_keep_going > self.assertEqual(m.from_file(filename), 'image/jpeg') >AssertionError: 'image/jpeg\\012- application/octet-stream' != 'image/jpeg' > >====================================================================== >FAIL: test_mime_types (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 52, in test_mime_types > b'\xce\xbb': 'text/plain', > File "test/test.py", line 32, in assert_values > self.assertTrue(False, "no match for " + repr(expected_value)) >AssertionError: no match for ('application/gzip',) > >---------------------------------------------------------------------- >Ran 7 tests in 0.051s > >FAILED (failures=3) > * ERROR: dev-python/python-magic-0.4.15::gentoo failed (test phase): > * Tests fail with python2.7 > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2637: Called distutils-r1_src_test > * environment, line 889: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 340: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2170: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1543: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1541: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 552: Called distutils-r1_run_phase 'python_test' > * environment, line 820: Called python_test > * environment, line 2539: Called die > * The specific snippet of code: > * "${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/python-magic-0.4.15::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-magic-0.4.15::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:python-magic-0.4.15:20180814-101652.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/python-magic-0.4.15/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-magic-0.4.15/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15' > * S: '/var/tmp/portage/dev-python/python-magic-0.4.15/work/python-magic-0.4.15'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 663610
:
543404
| 543406 |
543408
|
543410
|
543412
|
543414