Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729044

Summary: dev-python/pytest-4.6.11 - testing/acceptance_test.py fails (INTERNALERROR)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2020-06-21 20:13:41 UTC
Created attachment 645558 [details]
build.log

[...]
testing/freeze/tests/test_doctest.txt .                                                          [ 31%]
testing/acceptance_test.py ..........................
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/main.py", line 206, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/main.py", line 250, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/main.py", line 271, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/runner.py", line 78, in pytest_runtest_protocol
INTERNALERROR>     runtestprotocol(item, nextitem=nextitem)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/runner.py", line 93, in runtestprotocol
INTERNALERROR>     reports.append(call_and_report(item, "call", log))
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/runner.py", line 175, in call_and_report
INTERNALERROR>     report = hook.pytest_runtest_makereport(item=item, call=call)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 203, in _multicall
INTERNALERROR>     gen.send(outcome)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/skipping.py", line 128, in pytest_runtest_makereport
INTERNALERROR>     rep = outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/runner.py", line 249, in pytest_runtest_makereport
INTERNALERROR>     return TestReport.from_item_and_call(item, call)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/reports.py", line 369, in from_item_and_call
INTERNALERROR>     longrepr = item.repr_failure(excinfo)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/python.py", line 846, in repr_failure
INTERNALERROR>     return self._repr_failure_py(excinfo, style=style)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/nodes.py", line 286, in _repr_failure_py
INTERNALERROR>     truncate_locals=truncate_locals,
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 552, in getrepr
INTERNALERROR>     return fmt.repr_excinfo(self)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 805, in repr_excinfo
INTERNALERROR>     reprtraceback = self.repr_traceback(excinfo)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 750, in repr_traceback
INTERNALERROR>     reprentry = self.repr_traceback_entry(entry, einfo)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 695, in repr_traceback_entry
INTERNALERROR>     source = self._getentrysource(entry)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 618, in _getentrysource
INTERNALERROR>     source = entry.getsource(self.astcache)
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/code.py", line 231, in getsource
INTERNALERROR>     self.lineno, source, astnode=astnode
INTERNALERROR>   File "/var/tmp/portage/dev-python/pytest-4.6.11/work/pytest-4.6.11-python3_6/lib/_pytest/_code/source.py", line 292, in getstatementrange_ast
INTERNALERROR>     astnode = compile(content, "source", "exec", _AST_FLAG)
INTERNALERROR> MemoryError

==================== 3 failed, 758 passed, 30 skipped, 1 xfailed in 129.69 seconds =====================
 * ERROR: dev-python/pytest-4.6.11::gentoo failed (test phase):
 *   tests failed with python3.6
Comment 1 ernsteiswuerfel archtester 2020-06-21 20:14:31 UTC
Created attachment 645560 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2021-10-31 17:40:52 UTC
pytest-6.2.5 passes akk tests on ppc.

[...]
XFAIL testing/python/fixtures.py::TestAutouseDiscovery::test_setup_enabled_functionnode
  'enabled' feature not implemented
XFAIL testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase
  decide: feature or bug
XFAIL testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache
  unimplemented feature
XFAIL testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing
  other mechanism for adding to reporting needed
XFAIL testing/test_config.py::TestParseIni::test_confcutdir
  probably not needed
XFAIL testing/test_doctest.py::TestLiterals::test_number_non_matches['3.1416'-'3.14']
XFAIL testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash
XFAIL testing/test_pytester.py::test_make_hook_recorder
  reason: internal reportrecorder tests need refactoring
XFAIL testing/test_runner.py::test_runtest_in_module_ordering
======================= 3025 passed, 22 skipped, 9 xfailed in 705.32s (0:11:45) ========================
 * python3_9: running distutils-r1_run_phase _distutils-r1_clean_egg_info
>>> Completed testing dev-python/pytest-6.2.5