Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 651332 Details for
Bug 734332
dev-python/python-magic-0.4.18 : [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.18:20200728-211850.log
dev-python:python-magic-0.4.18:20200728-211850.log (text/plain), 5.92 KB, created by
Toralf Förster
on 2020-07-28 23:07:22 UTC
(
hide
)
Description:
dev-python:python-magic-0.4.18:20200728-211850.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-07-28 23:07:22 UTC
Size:
5.92 KB
patch
obsolete
> * Package: dev-python/python-magic-0.4.18 > * Repository: gentoo > * Maintainer: thev00d00@gentoo.org python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_7 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking python-magic-0.4.18.gh.tar.gz to /var/tmp/portage/dev-python/python-magic-0.4.18/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-magic-0.4.18/work >>>> Preparing source in /var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18 ... > * 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.18/work/python-magic-0.4.18-python2_7/lib >warning: build_py: byte-compiling is disabled, skipping. > > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 1 >running build >running build_py >copying magic.py -> /var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18-python3_7/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/python-magic-0.4.18 > * 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) ... FAIL >test_from_file_str_and_bytes (__main__.MagicTest) ... ok >test_fs_encoding (__main__.MagicTest) ... ok >test_getparam (__main__.MagicTest) ... ok >test_keep_going (__main__.MagicTest) ... ok >test_mime_encodings (__main__.MagicTest) ... ok >test_mime_types (__main__.MagicTest) ... FAIL >test_name_count (__main__.MagicTest) ... ok >test_rethrow (__main__.MagicTest) ... ok >test_unicode_result_nonraw (__main__.MagicTest) ... skipped "Magic file doesn't return expected type." >test_unicode_result_raw (__main__.MagicTest) ... skipped "Magic file doesn't return expected type." >test_version (__main__.MagicTest) ... ok > >====================================================================== >FAIL: test_descriptions (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 104, in test_descriptions > }, buf_equals_file=False) > File "test/test.py", line 49, in assert_values > self.assertIn(value, expected_value) >AssertionError: 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, truncated' not found in ('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', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size 15', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size modulo 2^32 15') > >====================================================================== >FAIL: test_from_buffer_str_and_bytes (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 62, in test_from_buffer_str_and_bytes > self.assertEqual("text/x-python", m.from_buffer(s)) >AssertionError: 'text/x-python' != 'text/x-script.python' > >====================================================================== >FAIL: test_mime_types (__main__.MagicTest) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "test/test.py", line 79, in test_mime_types > b'\xce\xbb': 'text/plain', > File "test/test.py", line 49, in assert_values > self.assertIn(value, expected_value) >AssertionError: 'text/x-bytecode.python' not found in ('application/octet-stream',) > >---------------------------------------------------------------------- >Ran 14 tests in 0.049s > >FAILED (failures=3, skipped=2) > * ERROR: dev-python/python-magic-0.4.18::gentoo failed (test phase): > * Tests fail with python2.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2914: Called distutils-r1_src_test > * environment, line 1249: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 445: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2528: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2031: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2029: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 837: Called distutils-r1_run_phase 'python_test' > * environment, line 1186: Called python_test > * environment, line 2874: 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.18::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-magic-0.4.18::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:python-magic-0.4.18:20200728-211850.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/python-magic-0.4.18/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-magic-0.4.18/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18' > * S: '/var/tmp/portage/dev-python/python-magic-0.4.18/work/python-magic-0.4.18'
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 734332
:
651330
| 651332 |
651334
|
651336
|
651338
|
651340