https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pybind11-2.12.0 fails tests. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 892420 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ../../pybind11-2.12.0/tests/test_exceptions.py::test_error_already_set_what_with_happy_exceptions[ValueError-exc_value1-ValueError: tuple_elem] ../../pybind11-2.12.0/tests/test_exceptions.py::test_error_already_set_what_with_happy_exceptions[ValueError-plain_str-ValueError: plain_str] ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_bytes_input] ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_cstr_input] ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_std_string_input] E AttributeError: module 'pybind11_tests.call_policies' has no attribute 'ParentGC' E AttributeError: module 'pybind11_tests.methods_and_attributes' has no attribute 'DynamicClass' E AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDict' E AttributeError: module 'pybind11_tests.pickling' has no attribute 'PickleableWithDictNew' E AttributeError: module 'sys' has no attribute 'getrefcount' E ImportError: cannot import name 'getrefcount' from 'sys' (unknown location) E RuntimeError: eval_file not supported in PyPy3. Use eval E TypeError: object.__new__() takes exactly one argument (the type to instantiate) ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any FAILED ../../pybind11-2.12.0/tests/test_factory_constructors.py::test_reallocation_b - assert --- actual / +++ expected KeyError: 'bar' SKIPPED [1] ../../pybind11-2.12.0/tests/test_buffers.py:11: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_builtin_casters.py:320: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_builtin_casters.py:488: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_eigen_matrix.py:5: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_eigen_tensor.py:5: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_exceptions.py:365: PyErr_NormalizeException Segmentation fault SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_array.py:6: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_dtypes.py:9: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_numpy_vectorize.py:5: could not import 'numpy': No module named 'numpy' SKIPPED [1] ../../pybind11-2.12.0/tests/test_stl_binders.py:89: could not import 'numpy': No module named 'numpy' [gw10] [143/617] PASSED ../../pybind11-2.12.0/tests/test_exceptions.py::test_error_already_set_what_with_happy_exceptions[ValueError-plain_str-ValueError: plain_str] [gw10] [165/617] PASSED ../../pybind11-2.12.0/tests/test_exceptions.py::test_error_already_set_what_with_happy_exceptions[ValueError-exc_value1-ValueError: tuple_elem] [gw20] [498/617] FAILED ../../pybind11-2.12.0/tests/test_factory_constructors.py::test_reallocation_b [gw23] [ 68/617] PASSED ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_bytes_input] [gw23] [ 91/617] PASSED ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_cstr_input] [gw23] [111/617] PASSED ../../pybind11-2.12.0/tests/test_pytypes.py::test_surrogate_pairs_unicode_error[str_from_std_string_input]