Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 757578 Details for
Bug 828475
dev-python/utidylib-0.7-r2 - fails TidyTestCase::test_bad_option_values, ::test_bad_options, ::test_error_lines, ::test_nonexisting, ::test_options on ppc64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
utidylib-0.7-r2:20211206-201622.log (text/plain), 11.49 KB, created by
ernsteiswuerfel
on 2021-12-06 20:28:40 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2021-12-06 20:28:40 UTC
Size:
11.49 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-python/utidylib-0.7-r2 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: python@gentoo.org >[32m * [39;49;00mUSE: abi_ppc_64 elibc_glibc kernel_linux ppc64 python_targets_python3_9 test userland_GNU >[32m * [39;49;00mFEATURES: preserve-libs sandbox test userpriv >>>> Unpacking source... >>>> Unpacking utidylib-0.7.gh.tar.gz to /var/tmp/portage/dev-python/utidylib-0.7-r2/work >>>> Source unpacked in /var/tmp/portage/dev-python/utidylib-0.7-r2/work >>>> Preparing source in /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7 ... > [32m*[0m python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 16 >running build >running build_py >creating /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy >copying tidy/test_tidy.py -> /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy >copying tidy/lib.py -> /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy >copying tidy/error.py -> /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy >copying tidy/__init__.py -> /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy >running egg_info >creating uTidylib.egg-info >writing uTidylib.egg-info/PKG-INFO >writing dependency_links to uTidylib.egg-info/dependency_links.txt >writing top-level names to uTidylib.egg-info/top_level.txt >writing manifest file 'uTidylib.egg-info/SOURCES.txt' >listing git files failed - pretending there aren't any >reading manifest file 'uTidylib.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'uTidylib.egg-info/SOURCES.txt' >creating /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy/test_data >copying tidy/test_data/test.html -> /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7-python3_9/lib/tidy/test_data >warning: build_py: byte-compiling is disabled, skipping. > > [32m*[0m Using python3.9 in global scope > [32m*[0m python3_9: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-python/utidylib-0.7-r2 > [32m*[0m python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -Wdefault --deselect tidy/test_tidy.py::TidyTestCase::test_missing_load >========================================= test session starts ========================================== >platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /usr/bin/python3.9 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7, configfile: pytest.ini >plugins: freezegun-0.4.2, shutil-1.7.0, cov-3.0.0, timeout-1.4.2, flaky-3.7.0, pkgcore-0.12.8, virtualenv-1.7.0, mock-3.6.1, forked-1.3.0 >collecting ... collected 14 items / 1 deselected / 13 selected > >tidy/__init__.py::tidy PASSED [ 7%] >tidy/test_tidy.py::TidyTestCase::test_bad_option_values FAILED [ 15%] >tidy/test_tidy.py::TidyTestCase::test_bad_options FAILED [ 23%] >tidy/test_tidy.py::TidyTestCase::test_big PASSED [ 30%] >tidy/test_tidy.py::TidyTestCase::test_encodings PASSED [ 38%] >tidy/test_tidy.py::TidyTestCase::test_error_lines FAILED [ 46%] >tidy/test_tidy.py::TidyTestCase::test_errors PASSED [ 53%] >tidy/test_tidy.py::TidyTestCase::test_nonexisting FAILED [ 61%] >tidy/test_tidy.py::TidyTestCase::test_options FAILED [ 69%] >tidy/test_tidy.py::TidyTestCase::test_parse PASSED [ 76%] >tidy/test_tidy.py::TidyTestCase::test_report_item PASSED [ 84%] >tidy/test_tidy.py::TidyTestCase::test_unicode PASSED [ 92%] >tidy/test_tidy.py::TidyTestCase::test_write PASSED [100%] > >=============================================== FAILURES =============================================== >_________________________________ TidyTestCase.test_bad_option_values __________________________________ > >self = <tidy.test_tidy.TidyTestCase testMethod=test_bad_option_values> > > def test_bad_option_values(self): > badopts = [{"indent": "---"}, {"indent_spaces": None}] > for opts in badopts: > with self.assertRaisesRegex( > tidy.OptionArgError, "missing or malformed argument" > ): >> tidy.parseString(self.input2, **opts) >E AssertionError: OptionArgError not raised > >badopts = [{'indent': '---'}, {'indent_spaces': None}] >opts = {'indent': '---'} >self = <tidy.test_tidy.TidyTestCase testMethod=test_bad_option_values> > >tidy/test_tidy.py:38: AssertionError >____________________________________ TidyTestCase.test_bad_options _____________________________________ > >self = <tidy.test_tidy.TidyTestCase testMethod=test_bad_options> > > def test_bad_options(self): > badopts = [{"foo": 1}] > for opts in badopts: > with self.assertRaisesRegex( > tidy.InvalidOptionError, "not a valid Tidy option" > ): >> tidy.parseString(self.input2, **opts) >E AssertionError: InvalidOptionError not raised > >badopts = [{'foo': 1}] >opts = {'foo': 1} >self = <tidy.test_tidy.TidyTestCase testMethod=test_bad_options> > >tidy/test_tidy.py:30: AssertionError >____________________________________ TidyTestCase.test_error_lines _____________________________________ > >self = <tidy.test_tidy.TidyTestCase testMethod=test_error_lines> > > def test_error_lines(self): > for doc in self.default_docs(): >> self.assertEqual(doc.errors[0].line, 1) >E IndexError: list index out of range > >doc = <tidy.lib.Document object at 0x3fffa1ad5d30> >self = <tidy.test_tidy.TidyTestCase testMethod=test_error_lines> > >tidy/test_tidy.py:54: IndexError >____________________________________ TidyTestCase.test_nonexisting _____________________________________ > >self = <tidy.test_tidy.TidyTestCase testMethod=test_nonexisting> > > def test_nonexisting(self): > doc = tidy.parse(os.path.join(DATA_STORAGE, "missing.html")) > self.assertEqual(str(doc).strip(), "") >> self.assertIn("missing.html", doc.errors[0].message) >E IndexError: list index out of range > >doc = <tidy.lib.Document object at 0x3fffa1c5b1f0> >self = <tidy.test_tidy.TidyTestCase testMethod=test_nonexisting> > >tidy/test_tidy.py:59: IndexError >______________________________________ TidyTestCase.test_options _______________________________________ > >self = <tidy.test_tidy.TidyTestCase testMethod=test_options> > > def test_options(self): > doc1 = tidy.parseString( > self.input1, add_xml_decl=1, show_errors=1, newline="CR", output_xhtml=1 > ) > self.assertIn("CDATA", str(doc1)) > doc2 = tidy.parseString( > "<Html>", add_xml_decl=1, show_errors=1, newline="CR", output_xhtml=1 > ) > self.assertTrue(str(doc2).startswith("<?xml")) >> self.assertFalse(len(doc2.errors) == 0) >E AssertionError: True is not false > >doc1 = <tidy.lib.Document object at 0x3fffa1e39e80> >doc2 = <tidy.lib.Document object at 0x3fffa1e39d00> >self = <tidy.test_tidy.TidyTestCase testMethod=test_options> > >tidy/test_tidy.py:77: AssertionError >=========================================== warnings summary =========================================== >tidy/test_tidy.py: 11 warnings > /usr/lib/python3.9/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored on calling ctypes callback function: <function putByte at 0x3fffa1e7a700> > > Traceback (most recent call last): > File "/var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7/tidy/lib.py", line 76, in putByte > sinkfactory[handle].putByte(char) > KeyError: 0 > > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) > >tidy/test_tidy.py::TidyTestCase::test_encodings > /var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7/tidy/test_tidy.py:42: ResourceWarning: unclosed file <_io.BufferedReader name='/var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7/tidy/test_data/test.html'> > open(self.test_file, "rb") > >-- Docs: https://docs.pytest.org/en/stable/warnings.html >======================================= short test summary info ======================================== >FAILED tidy/test_tidy.py::TidyTestCase::test_bad_option_values - AssertionError: OptionArgError not r... >FAILED tidy/test_tidy.py::TidyTestCase::test_bad_options - AssertionError: InvalidOptionError not raised >FAILED tidy/test_tidy.py::TidyTestCase::test_error_lines - IndexError: list index out of range >FAILED tidy/test_tidy.py::TidyTestCase::test_nonexisting - IndexError: list index out of range >FAILED tidy/test_tidy.py::TidyTestCase::test_options - AssertionError: True is not false >======================== 5 failed, 8 passed, 1 deselected, 12 warnings in 0.20s ======================== > [31;01m*[0m ERROR: dev-python/utidylib-0.7-r2::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.9 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 127: Called src_test > [31;01m*[0m environment, line 2859: Called distutils-r1_src_test > [31;01m*[0m environment, line 1200: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 462: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2504: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2017: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2015: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 754: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1139: Called python_test > [31;01m*[0m environment, line 2800: Called distutils-r1_python_test > [31;01m*[0m environment, line 1096: Called epytest > [31;01m*[0m environment, line 1533: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/utidylib-0.7-r2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/utidylib-0.7-r2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/utidylib-0.7-r2:20211206-201622.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/utidylib-0.7-r2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/utidylib-0.7-r2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7' > [31;01m*[0m S: '/var/tmp/portage/dev-python/utidylib-0.7-r2/work/utidylib-0.7'
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 828475
: 757578 |
757579