Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec'], chrootPath='/var/lib/mock/f40-build-2312301-57562/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/pybind11-2.11.1-3.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec'], chrootPath='/var/lib/mock/f40-build-2312301-57562/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GsSFFH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pybind11-2.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pybind11-2.11.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pybind11-2.11.1 + rm -rf /builddir/build/BUILD/pybind11-2.11.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pybind11-2.11.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (pybind11-2.10.1-hpath.patch):' Patch #1 (pybind11-2.10.1-hpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpath --fuzz=0 patching file pybind11/commands.py + echo 'Patch #2 (4902.patch):' Patch #2 (4902.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .4902 --fuzz=0 patching file include/pybind11/detail/type_caster_base.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n14AHe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pybind11-2.11.1 + pys= + pys=' python3' + for py in $pys + mkdir python3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -B python3 -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYBIND11_INSTALL=TRUE -DUSE_PYTHON_INCLUDE_DIR=FALSE -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- pybind11 v2.11.1 -- CMake 3.27.7 CMake Warning (dev) at tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): tools/pybind11Tools.cmake:50 (find_package) tools/pybind11Common.cmake:188 (include) CMakeLists.txt:210 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") -- Found PythonLibs: /usr/lib64/libpython3.12.so -- PYTHON 3.12.0 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- pybind11::lto enabled -- pybind11::thin_lto enabled -- Building tests with Eigen v3.4.0 -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.56") -- Found pytest 7.3.2 -- Catch not detected. Interpreter tests will be skipped. Install Catch headers manually or use `cmake -DDOWNLOAD_CATCH=ON` to fetch them automatically. -- Configuring done (679.4s) -- Generating done (9.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3 + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C python3 make: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -P /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/pybind11-2.11.1 -B/builddir/build/BUILD/pybind11-2.11.1/python3 --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles /builddir/build/BUILD/pybind11-2.11.1/python3//CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/depend /usr/bin/make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/depend /usr/bin/make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/depend /usr/bin/make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/depend /usr/bin/make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build /usr/bin/make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_cross_module_tests.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_gil_utils.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/build /usr/bin/make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_tests.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 7%] Building CXX object tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/cross_module_interleaved_error_already_set.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dcross_module_interleaved_error_already_set_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/cross_module_interleaved_error_already_set.cpp.o -MF CMakeFiles/cross_module_interleaved_error_already_set.dir/cross_module_interleaved_error_already_set.cpp.o.d -o CMakeFiles/cross_module_interleaved_error_already_set.dir/cross_module_interleaved_error_already_set.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/cross_module_interleaved_error_already_set.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 1%] Building CXX object tests/CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dcross_module_gil_utils_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o -MF CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o.d -o CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/cross_module_gil_utils.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 16%] Linking CXX shared module cross_module_interleaved_error_already_set.cpython-312-riscv64-linux-gnu.so cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/cross_module_interleaved_error_already_set.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o cross_module_interleaved_error_already_set.cpython-312-riscv64-linux-gnu.so CMakeFiles/cross_module_interleaved_error_already_set.dir/cross_module_interleaved_error_already_set.cpp.o -lstdc++fs make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 18%] Linking CXX shared module cross_module_gil_utils.cpython-312-riscv64-linux-gnu.so cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/cross_module_gil_utils.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o cross_module_gil_utils.cpython-312-riscv64-linux-gnu.so CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o -lstdc++fs make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 18%] Built target cross_module_interleaved_error_already_set make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 18%] Built target cross_module_gil_utils make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 10%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_async.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_async.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_async.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_async.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_async.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 9%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o -MF CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o.d -o CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/pybind11_tests.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 12%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_buffers.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 14%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_builtin_casters.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 20%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_call_policies.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 3%] Building CXX object tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/eigen_tensor_avoid_stl_array.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Deigen_tensor_avoid_stl_array_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/eigen_tensor_avoid_stl_array.cpp.o -MF CMakeFiles/eigen_tensor_avoid_stl_array.dir/eigen_tensor_avoid_stl_array.cpp.o.d -o CMakeFiles/eigen_tensor_avoid_stl_array.dir/eigen_tensor_avoid_stl_array.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/eigen_tensor_avoid_stl_array.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 23%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_chrono.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 32%] Linking CXX shared module eigen_tensor_avoid_stl_array.cpython-312-riscv64-linux-gnu.so cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/eigen_tensor_avoid_stl_array.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o eigen_tensor_avoid_stl_array.cpython-312-riscv64-linux-gnu.so CMakeFiles/eigen_tensor_avoid_stl_array.dir/eigen_tensor_avoid_stl_array.cpp.o -lstdc++fs make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 34%] Built target eigen_tensor_avoid_stl_array make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 27%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_const_name.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_const_name.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_const_name.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_const_name.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_const_name.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 21%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_callbacks.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 36%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_custom_type_setup.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_custom_type_setup.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_custom_type_setup.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_custom_type_setup.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_custom_type_setup.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 29%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_constants_and_functions.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 34%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_custom_type_casters.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_custom_type_casters.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_custom_type_casters.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_custom_type_casters.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_custom_type_casters.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 25%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_class.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_class.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_class.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_class.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_class.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 30%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_copy_move.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 5%] Building CXX object tests/CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_cross_module_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o -MF CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o.d -o CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/pybind11_cross_module_tests.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 50%] Linking CXX shared module pybind11_cross_module_tests.cpython-312-riscv64-linux-gnu.so cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/pybind11_cross_module_tests.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o pybind11_cross_module_tests.cpython-312-riscv64-linux-gnu.so CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o -lstdc++fs make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 50%] Built target pybind11_cross_module_tests make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 38%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_docstring_options.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 45%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_eval.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_eval.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_eval.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_eval.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_eval.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 47%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_exceptions.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 43%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_enum.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_enum.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_enum.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_enum.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_enum.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 52%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_gil_scoped.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 54%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_iostream.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 41%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_eigen_tensor.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 56%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_kwargs_and_defaults.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 49%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_factory_constructors.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 40%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_eigen_matrix.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_eigen_matrix.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_eigen_matrix.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_eigen_matrix.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_eigen_matrix.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' In file included from /usr/include/eigen3/Eigen/Core:294, from /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h:27, from /builddir/build/BUILD/pybind11-2.11.1/tests/test_eigen_matrix.cpp:10: In member function ‘Eigen::PlainObjectBase& Eigen::PlainObjectBase::operator=(Eigen::PlainObjectBase&&) [with Derived = Eigen::Matrix]’, inlined from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>&&) [with _Scalar = float; int _Rows = 5; int _Cols = 6; int _Options = 1; int _MaxRows = 5; int _MaxCols = 6]’ at /usr/include/eigen3/Eigen/src/Core/Matrix.h:281:22, inlined from ‘bool pybind11::detail::type_caster::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value && std::is_base_of, T>::value)> >::value && decltype (pybind11::detail::is_template_base_of_impl::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value)>::value, void>::type>::load(pybind11::handle, bool) [with Type = Eigen::Matrix]’ at /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h:319:15: /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:504:7: warning: ‘.Eigen::Matrix::.Eigen::PlainObjectBase >::m_storage’ may be used uninitialized [-Wmaybe-uninitialized] 504 | m_storage = std::move(other.m_storage); | ^~~~~~~~~ /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h: In member function ‘bool pybind11::detail::type_caster::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value && std::is_base_of, T>::value)> >::value && decltype (pybind11::detail::is_template_base_of_impl::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value)>::value, void>::type>::load(pybind11::handle, bool) [with Type = Eigen::Matrix]’: /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h:319:17: note: ‘’ declared here 319 | value = Type(fits.rows, fits.cols); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In member function ‘Eigen::PlainObjectBase& Eigen::PlainObjectBase::operator=(Eigen::PlainObjectBase&&) [with Derived = Eigen::Matrix]’, inlined from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>& Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::operator=(Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>&&) [with _Scalar = float; int _Rows = 5; int _Cols = 6; int _Options = 0; int _MaxRows = 5; int _MaxCols = 6]’ at /usr/include/eigen3/Eigen/src/Core/Matrix.h:281:22, inlined from ‘bool pybind11::detail::type_caster::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value && std::is_base_of, T>::value)> >::value && decltype (pybind11::detail::is_template_base_of_impl::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value)>::value, void>::type>::load(pybind11::handle, bool) [with Type = Eigen::Matrix]’ at /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h:319:15: /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:504:7: warning: ‘.Eigen::Matrix::.Eigen::PlainObjectBase >::m_storage’ may be used uninitialized [-Wmaybe-uninitialized] 504 | m_storage = std::move(other.m_storage); | ^~~~~~~~~ /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h: In member function ‘bool pybind11::detail::type_caster::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value && std::is_base_of, T>::value)> >::value && decltype (pybind11::detail::is_template_base_of_impl::check((typename pybind11::detail::intrinsic_type::type*)(nullptr)))::value)>::value, void>::type>::load(pybind11::handle, bool) [with Type = Eigen::Matrix]’: /builddir/build/BUILD/pybind11-2.11.1/include/pybind11/eigen/matrix.h:319:17: note: ‘’ declared here 319 | value = Type(fits.rows, fits.cols); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 61%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_modules.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_modules.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_modules.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_modules.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_modules.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 60%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_methods_and_attributes.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 63%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_multiple_inheritance.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 70%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_opaque_types.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 69%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_vectorize.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 65%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_array.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 58%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_local_bindings.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 67%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_dtypes.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 72%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_operator_overloading.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 74%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_pickling.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 87%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_thread.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_thread.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_thread.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_thread.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_thread.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 85%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_tagbased_polymorphic.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 89%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_type_caster_pyobject_ptr.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_type_caster_pyobject_ptr.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_type_caster_pyobject_ptr.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_type_caster_pyobject_ptr.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_type_caster_pyobject_ptr.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 76%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_pytypes.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 80%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_smart_ptr.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 90%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_union.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_union.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_union.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_union.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_union.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 78%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_sequences_and_iterators.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 92%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_a.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_a.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_a.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_a.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_unnamed_namespace_a.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 81%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_stl.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_stl.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_stl.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_stl.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_stl.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 94%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_b.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_b.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_b.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_b.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_unnamed_namespace_b.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 96%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_vector_unique_ptr_member.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_vector_unique_ptr_member.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_vector_unique_ptr_member.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_vector_unique_ptr_member.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_vector_unique_ptr_member.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 98%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_virtual_functions.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 83%] Building CXX object tests/CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/g++ -DPYBIND11_TEST_EIGEN -Dpybind11_tests_EXPORTS -I/builddir/build/BUILD/pybind11-2.11.1/include -isystem /usr/include/python3.12 -isystem /usr/include/eigen3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -fvisibility=hidden -Wall -Wextra -Wconversion -Wcast-qual -Wdeprecated -Wundef -Wnon-virtual-dtor -MD -MT tests/CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o -MF CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o.d -o CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o -c /builddir/build/BUILD/pybind11-2.11.1/tests/test_stl_binders.cpp make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Linking CXX shared module pybind11_tests.cpython-312-riscv64-linux-gnu.so cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/pybind11_tests.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -o pybind11_tests.cpython-312-riscv64-linux-gnu.so CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o CMakeFiles/pybind11_tests.dir/test_async.cpp.o CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o CMakeFiles/pybind11_tests.dir/test_class.cpp.o CMakeFiles/pybind11_tests.dir/test_const_name.cpp.o CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o CMakeFiles/pybind11_tests.dir/test_custom_type_casters.cpp.o CMakeFiles/pybind11_tests.dir/test_custom_type_setup.cpp.o CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o CMakeFiles/pybind11_tests.dir/test_eigen_matrix.cpp.o CMakeFiles/pybind11_tests.dir/test_eigen_tensor.cpp.o CMakeFiles/pybind11_tests.dir/test_enum.cpp.o CMakeFiles/pybind11_tests.dir/test_eval.cpp.o CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o CMakeFiles/pybind11_tests.dir/test_modules.cpp.o CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o CMakeFiles/pybind11_tests.dir/test_stl.cpp.o CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o CMakeFiles/pybind11_tests.dir/test_thread.cpp.o CMakeFiles/pybind11_tests.dir/test_type_caster_pyobject_ptr.cpp.o CMakeFiles/pybind11_tests.dir/test_union.cpp.o CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_a.cpp.o CMakeFiles/pybind11_tests.dir/test_unnamed_namespace_b.cpp.o CMakeFiles/pybind11_tests.dir/test_vector_unique_ptr_member.cpp.o CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o -lstdc++fs cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/python3 /builddir/build/BUILD/pybind11-2.11.1/tests/../tools/libsize.py /builddir/build/BUILD/pybind11-2.11.1/python3/tests/pybind11_tests.cpython-312-riscv64-linux-gnu.so /builddir/build/BUILD/pybind11-2.11.1/python3/tests/sosize-pybind11_tests.cpython-312-riscv64-linux-gnu.so.txt ------ pybind11_tests.cpython-312-riscv64-linux-gnu.so file size: 156715240 make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target pybind11_tests make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles 0 make: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- pybind11 v2.11.1 -- CMake 3.27.7 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- pybind11::lto enabled -- pybind11::thin_lto enabled -- Configuring done (139.2s) -- Generating done (0.4s) -- Build files have been written to: /tmp/tmp91l57zmx -- Install configuration: "" -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/type_caster_base.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/init.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/descr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/class.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/type_caster_base.h.4902 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/internals.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/typeid.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/operators.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/chrono.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/iostream.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/cast.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/matrix.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/tensor.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/pybind11.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl/filesystem.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl_bind.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/functional.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/buffer_info.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/embed.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/complex.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/options.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/pytypes.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/numpy.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/attr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eval.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/gil.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/type_caster_pyobject_ptr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Config.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11ConfigVersion.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Common.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Tools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11NewTools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Targets.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/pkgconfig/pybind11.pc running build running build_py creating build creating build/lib creating build/lib/pybind11 copying pybind11/__main__.py -> build/lib/pybind11 copying pybind11/_version.py -> build/lib/pybind11 copying pybind11/__init__.py -> build/lib/pybind11 copying pybind11/setup_helpers.py -> build/lib/pybind11 copying pybind11/commands.py -> build/lib/pybind11 copying pybind11/py.typed -> build/lib/pybind11 creating build/lib/pybind11/include creating build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/operators.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/chrono.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/iostream.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/cast.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/stl.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/eigen.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/pybind11.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/common.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/stl_bind.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/functional.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/buffer_info.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/embed.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/complex.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/options.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/pytypes.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/numpy.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/attr.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/eval.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/gil.h -> build/lib/pybind11/include/pybind11 copying pybind11/include/pybind11/type_caster_pyobject_ptr.h -> build/lib/pybind11/include/pybind11 creating build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/type_caster_base.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/init.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/descr.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/common.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/class.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/internals.h -> build/lib/pybind11/include/pybind11/detail copying pybind11/include/pybind11/detail/typeid.h -> build/lib/pybind11/include/pybind11/detail creating build/lib/pybind11/include/pybind11/eigen copying pybind11/include/pybind11/eigen/common.h -> build/lib/pybind11/include/pybind11/eigen copying pybind11/include/pybind11/eigen/matrix.h -> build/lib/pybind11/include/pybind11/eigen copying pybind11/include/pybind11/eigen/tensor.h -> build/lib/pybind11/include/pybind11/eigen creating build/lib/pybind11/include/pybind11/stl copying pybind11/include/pybind11/stl/filesystem.h -> build/lib/pybind11/include/pybind11/stl creating build/lib/pybind11/share creating build/lib/pybind11/share/cmake creating build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11Tools.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11Config.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11Targets.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11NewTools.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11Common.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake -> build/lib/pybind11/share/cmake/pybind11 copying pybind11/share/cmake/pybind11/pybind11ConfigVersion.cmake -> build/lib/pybind11/share/cmake/pybind11 creating build/lib/pybind11/share/pkgconfig copying pybind11/share/pkgconfig/pybind11.pc -> build/lib/pybind11/share/pkgconfig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EIwL41 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pybind11-2.11.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 'INSTALL=/usr/bin/install -p' -C python3 make: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -P /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/pybind11-2.11.1 -B/builddir/build/BUILD/pybind11-2.11.1/python3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles /builddir/build/BUILD/pybind11-2.11.1/python3//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_tests.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Nothing to be done for 'tests/CMakeFiles/pybind11_tests.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 85%] Built target pybind11_tests /usr/bin/make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_cross_module_tests.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Nothing to be done for 'tests/CMakeFiles/pybind11_cross_module_tests.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 89%] Built target pybind11_cross_module_tests /usr/bin/make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Nothing to be done for 'tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 92%] Built target cross_module_interleaved_error_already_set /usr/bin/make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_gil_utils.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Nothing to be done for 'tests/CMakeFiles/cross_module_gil_utils.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [ 96%] Built target cross_module_gil_utils /usr/bin/make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/depend make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Nothing to be done for 'tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target eigen_tensor_avoid_stl_array make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "Debug" -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11 -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/type_caster_base.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/init.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/descr.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/common.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/class.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/type_caster_base.h.4902 -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/internals.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/detail/typeid.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/operators.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/chrono.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/iostream.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/cast.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eigen -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eigen/common.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eigen/matrix.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eigen/tensor.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/stl.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eigen.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/pybind11.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/common.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/stl -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/stl/filesystem.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/stl_bind.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/functional.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/buffer_info.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/embed.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/complex.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/options.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/pytypes.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/numpy.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/attr.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/eval.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/gil.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/include/pybind11/type_caster_pyobject_ptr.h -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11Config.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11ConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/FindPythonLibsNew.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11Common.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11Tools.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11NewTools.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/cmake/pybind11/pybind11Targets.cmake -- Installing: /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/share/pkgconfig/pybind11.pc make: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' + PYBIND11_USE_CMAKE=true + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64 --prefix /usr --install-purelib /usr/lib64/python3.12/site-packages -- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- pybind11 v2.11.1 -- CMake 3.27.7 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- pybind11::lto enabled -- pybind11::thin_lto enabled -- Configuring done (119.9s) -- Generating done (0.5s) -- Build files have been written to: /tmp/tmpzxoj71zz -- Install configuration: "" -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/type_caster_base.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/init.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/descr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/class.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/type_caster_base.h.4902 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/internals.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/detail/typeid.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/operators.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/chrono.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/iostream.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/cast.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/matrix.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen/tensor.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eigen.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/pybind11.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl/filesystem.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/stl_bind.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/functional.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/buffer_info.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/embed.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/complex.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/options.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/pytypes.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/numpy.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/attr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/eval.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/gil.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/include/pybind11/type_caster_pyobject_ptr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Config.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11ConfigVersion.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Common.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Tools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11NewTools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/cmake/pybind11/pybind11Targets.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/pybind11/share/pkgconfig/pybind11.pc running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 copying build/lib/pybind11/__main__.py -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/pkgconfig copying build/lib/pybind11/share/pkgconfig/pybind11.pc -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/pkgconfig creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11Tools.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11Config.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11Targets.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11NewTools.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11Common.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/share/cmake/pybind11/pybind11ConfigVersion.cmake -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/share/cmake/pybind11 copying build/lib/pybind11/_version.py -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/type_caster_base.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/init.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/descr.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/common.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/class.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/internals.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/detail/typeid.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/detail copying build/lib/pybind11/include/pybind11/operators.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/chrono.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/iostream.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/cast.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/eigen copying build/lib/pybind11/include/pybind11/eigen/common.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/eigen copying build/lib/pybind11/include/pybind11/eigen/matrix.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/eigen copying build/lib/pybind11/include/pybind11/eigen/tensor.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/eigen copying build/lib/pybind11/include/pybind11/stl.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/eigen.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/pybind11.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/common.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 creating /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/stl copying build/lib/pybind11/include/pybind11/stl/filesystem.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11/stl copying build/lib/pybind11/include/pybind11/stl_bind.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/functional.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/buffer_info.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/embed.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/complex.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/options.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/pytypes.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/numpy.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/attr.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/eval.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/gil.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/include/pybind11/type_caster_pyobject_ptr.h -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/include/pybind11 copying build/lib/pybind11/py.typed -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 copying build/lib/pybind11/__init__.py -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 copying build/lib/pybind11/setup_helpers.py -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 copying build/lib/pybind11/commands.py -> /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11 byte-compiling /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/__main__.py to __main__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/_version.py to _version.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/setup_helpers.py to setup_helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11/commands.py to commands.cpython-312.pyc writing byte-compilation script '/tmp/tmpzmm0le8r.py' /usr/bin/python3 /tmp/tmpzmm0le8r.py removing /tmp/tmpzmm0le8r.py running install_egg_info running egg_info creating pybind11.egg-info writing pybind11.egg-info/PKG-INFO writing dependency_links to pybind11.egg-info/dependency_links.txt writing entry points to pybind11.egg-info/entry_points.txt writing requirements to pybind11.egg-info/requires.txt writing top-level names to pybind11.egg-info/top_level.txt writing manifest file 'pybind11.egg-info/SOURCES.txt' reading manifest file 'pybind11.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pybind11.egg-info/SOURCES.txt' Copying pybind11.egg-info to /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12/site-packages/pybind11-2.11.1-py3.12.egg-info running install_scripts Installing pybind11-config script to /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/bin + rm -rfv /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/pybind11-2.11.1-3.fc40.riscv64/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JfysYq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pybind11-2.11.1 + make -C python3 check -j8 make: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -P /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/pybind11-2.11.1 -B/builddir/build/BUILD/pybind11-2.11.1/python3 --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 check make[1]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' /usr/bin/cmake -P /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles/VerifyGlobs.cmake /usr/bin/cmake -S/builddir/build/BUILD/pybind11-2.11.1 -B/builddir/build/BUILD/pybind11-2.11.1/python3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pybind11-2.11.1/python3/CMakeFiles 55 make -f CMakeFiles/Makefile2 tests/CMakeFiles/check.dir/all make[2]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/mock_install.dir/build.make tests/test_cmake_build/CMakeFiles/mock_install.dir/depend make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_function.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_function.dir/depend make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_target.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_target.dir/depend make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_embed.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_embed.dir/depend make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/depend make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/depend make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/depend make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/depend make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/mock_install.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_subdirectory_embed.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_subdirectory_function.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_subdirectory_target.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_cross_module_tests.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pybind11_tests.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/mock_install.dir/build.make tests/test_cmake_build/CMakeFiles/mock_install.dir/build make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_target.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_target.dir/build make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_function.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_function.dir/build make -f tests/test_cmake_build/CMakeFiles/test_build_subdirectory_embed.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_subdirectory_embed.dir/build make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build.make tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build.make tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/CMakeFiles/pybind11_cross_module_tests.dir/build.make tests/CMakeFiles/pybind11_cross_module_tests.dir/build make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/pybind11-2.11.1/python3/mock_install -P /builddir/build/BUILD/pybind11-2.11.1/python3/cmake_install.cmake make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/subdirectory_target /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_subdirectory_target --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -Dpybind11_SOURCE_DIR=/builddir/build/BUILD/pybind11-2.11.1 make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/subdirectory_function /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_subdirectory_function --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -Dpybind11_SOURCE_DIR=/builddir/build/BUILD/pybind11-2.11.1 make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/subdirectory_embed /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_subdirectory_embed --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -Dpybind11_SOURCE_DIR=/builddir/build/BUILD/pybind11-2.11.1 make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/CMakeFiles/cross_module_interleaved_error_already_set.dir/build'. make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/CMakeFiles/pybind11_cross_module_tests.dir/build'. make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' -- Install configuration: "Debug" -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/type_caster_base.h make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/CMakeFiles/eigen_tensor_avoid_stl_array.dir/build'. -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/init.h make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/descr.h make -f tests/CMakeFiles/pybind11_tests.dir/build.make tests/CMakeFiles/pybind11_tests.dir/build -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/class.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/type_caster_base.h.4902 -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/internals.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/detail/typeid.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/operators.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/chrono.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/iostream.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/cast.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eigen -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eigen/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eigen/matrix.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eigen/tensor.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/stl.h [ 3%] Built target pybind11_cross_module_tests -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eigen.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/pybind11.h make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/depend -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/common.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/stl -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/stl/filesystem.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/stl_bind.h [ 7%] Built target cross_module_interleaved_error_already_set -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/functional.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/buffer_info.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/embed.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/complex.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/options.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/pytypes.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/numpy.h [ 10%] Built target eigen_tensor_avoid_stl_array -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/attr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/eval.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/gil.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include/pybind11/type_caster_pyobject_ptr.h -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Config.cmake make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/cross_module_gil_utils.dir/DependInfo.cmake "--color=" -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11ConfigVersion.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/FindPythonLibsNew.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Common.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Tools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11NewTools.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Targets.cmake -- Installing: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/pkgconfig/pybind11.pc make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/CMakeFiles/pybind11_tests.dir/build'. make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/CMakeFiles/cross_module_gil_utils.dir/build.make tests/CMakeFiles/cross_module_gil_utils.dir/build [ 10%] Built target mock_install make -f tests/test_cmake_build/CMakeFiles/test_build_installed_embed.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_embed.dir/depend make -f tests/test_cmake_build/CMakeFiles/test_build_installed_function.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_function.dir/depend make -f tests/test_cmake_build/CMakeFiles/test_build_installed_target.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_target.dir/depend [ 96%] Built target pybind11_tests make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_installed_embed.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/CMakeFiles/cross_module_gil_utils.dir/build'. make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_installed_function.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_build_installed_target.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/test_build_installed_embed.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_embed.dir/build make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/test_build_installed_target.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_target.dir/build make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/installed_embed /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_installed_embed --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_PREFIX_PATH=/builddir/build/BUILD/pybind11-2.11.1/python3/mock_install make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target cross_module_gil_utils make -f tests/test_cmake_build/CMakeFiles/test_build_installed_function.dir/build.make tests/test_cmake_build/CMakeFiles/test_build_installed_function.dir/build make -f tests/CMakeFiles/pytest.dir/build.make tests/CMakeFiles/pytest.dir/depend make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/installed_target /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_installed_target --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_PREFIX_PATH=/builddir/build/BUILD/pybind11-2.11.1/python3/mock_install make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests /builddir/build/BUILD/pybind11-2.11.1/python3/tests/CMakeFiles/pytest.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build && /usr/bin/ctest --build-and-test /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/installed_function /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function --build-config Release --build-noclean --build-generator Unix\ Makefiles --build-makeprogram /usr/bin/gmake --build-target check_installed_function --build-options -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_PREFIX_PATH=/builddir/build/BUILD/pybind11-2.11.1/python3/mock_install make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/CMakeFiles/pytest.dir/build.make tests/CMakeFiles/pytest.dir/build make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3/tests && /usr/bin/python3 -m pytest /builddir/build/BUILD/pybind11-2.11.1/tests/test_async.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_buffers.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_builtin_casters.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_call_policies.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_callbacks.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_chrono.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_class.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_const_name.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_constants_and_functions.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_copy_move.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_custom_type_casters.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_custom_type_setup.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_docstring_options.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_eigen_matrix.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_eigen_tensor.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_enum.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_eval.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_exceptions.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_factory_constructors.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_gil_scoped.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_iostream.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_kwargs_and_defaults.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_local_bindings.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_methods_and_attributes.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_modules.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_multiple_inheritance.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_array.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_dtypes.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_numpy_vectorize.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_opaque_types.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_operator_overloading.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_pickling.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_pytypes.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_sequences_and_iterators.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_smart_ptr.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_stl.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_stl_binders.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_tagbased_polymorphic.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_thread.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_type_caster_pyobject_ptr.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_union.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_unnamed_namespace_a.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_unnamed_namespace_b.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_vector_unique_ptr_member.py /builddir/build/BUILD/pybind11-2.11.1/tests/test_virtual_functions.py ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 C++ Info: 13.2.1 20231110 (Red Hat 13.2.1-5) C++17 __pybind11_internals_v5_gcc_libstdcpp_cxxabi1018__ PYBIND11_SIMPLE_GIL_MANAGEMENT=False rootdir: /builddir/build/BUILD/pybind11-2.11.1/tests configfile: pytest.ini collected 844 items ../../tests/test_async.py .. [ 0%] ../../tests/test_buffers.py ......................... [ 3%] ../../tests/test_builtin_casters.py .................... [ 5%] ../../tests/test_call_policies.py ........ [ 6%] ../../tests/test_callbacks.py ..........F... [ 8%] ../../tests/test_chrono.py ........................................... [ 13%] ../../tests/test_class.py ................................ [ 17%] ../../tests/test_const_name.py ...................... [ 19%] ../../tests/test_constants_and_functions.py ...... [ 20%] ../../tests/test_copy_move.py ........ [ 21%] ../../tests/test_custom_type_casters.py ... [ 21%] ../../tests/test_custom_type_setup.py .. [ 21%] ../../tests/test_docstring_options.py . [ 22%] ../../tests/test_eigen_matrix.py .............................. [ 25%] ../../tests/test_eigen_tensor.py ....................................... [ 30%] ...................................................................... [ 38%] ../../tests/test_enum.py ......... [ 39%] ../../tests/test_eval.py .... [ 40%] ../../tests/test_exceptions.py ......................... [ 43%] ../../tests/test_factory_constructors.py ............... [ 44%] ../../tests/test_gil_scoped.py ..................FFFFFFFFFFFFFFFFF.FFFFF [ 49%] FFFFFFFFFFFF.FFFFFFFFFFInternal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Config.cmake:250 (include) CMakeLists.txt:14 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Found pybind11: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include (found version "2.11.1") Found pybind11 v2.11.1: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include;/usr/include/python3.12 Configuring done (192.2s) Generating done (2.4s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target' Run Build Command(s): /usr/bin/gmake -f Makefile check_installed_target gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target' [ 50%] Building CXX object CMakeFiles/test_installed_target.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/main.cpp.o [100%] Linking CXX shared module test_cmake_build.cpython-312-riscv64-linux-gnu.so [100%] Built target test_installed_target test_installed_target imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_installed_target gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_target' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' F[100%] Built target test_build_installed_target Internal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Config.cmake:250 (include) CMakeLists.txt:15 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Found pybind11: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include (found version "2.11.1") Found pybind11 v2.11.1 : /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include;/usr/include/python3.12 Configuring done (186.0s) Generating done (2.0s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function' Run Build Command(s): /usr/bin/gmake -f Makefile check_installed_function gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function' [ 50%] Building CXX object CMakeFiles/test_installed_function.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/main.cpp.o [100%] Linking CXX shared library test_cmake_build.cpython-312-riscv64-linux-gnu.so [100%] Built target test_installed_function test_installed_function imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_installed_function gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_function' Internal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done pybind11 v2.11.1 CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/CMakeLists.txt:210 (include) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Configuring done (203.4s) Generating done (3.0s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target' Run Build Command(s): /usr/bin/gmake -f Makefile check_subdirectory_target gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target' [ 50%] Building CXX object CMakeFiles/test_subdirectory_target.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/main.cpp.o [100%] Linking CXX shared module test_cmake_build.cpython-312-riscv64-linux-gnu.so [100%] Built target test_subdirectory_target test_subdirectory_target imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_subdirectory_target gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_target' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target test_build_installed_function [100%] Built target test_build_subdirectory_target FFFFFF.Internal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/share/cmake/pybind11/pybind11Config.cmake:250 (include) CMakeLists.txt:14 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Found pybind11: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include (found version "2.11.1") Found pybind11 v2.11.1: /builddir/build/BUILD/pybind11-2.11.1/python3/mock_install/include;/usr/include/python3.12 Configuring done (190.7s) Generating done (2.4s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed' Run Build Command(s): /usr/bin/gmake -f Makefile check_installed_embed gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed' [ 50%] Building CXX object CMakeFiles/test_installed_embed.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/embed.cpp.o [100%] Linking CXX executable test_cmake_build [100%] Built target test_installed_embed embed.cpp imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_installed_embed gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/installed_embed' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target test_build_installed_embed FInternal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done pybind11 v2.11.1 CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/CMakeLists.txt:210 (include) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Configuring done (205.3s) Generating done (5.2s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed' Run Build Command(s): /usr/bin/gmake -f Makefile check_subdirectory_embed gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed' [ 50%] Building CXX object CMakeFiles/test_subdirectory_embed.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/embed.cpp.o [100%] Linking CXX executable test_cmake_build [100%] Built target test_subdirectory_embed embed.cpp imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_subdirectory_embed gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_embed' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target test_build_subdirectory_embed FFFInternal cmake changing into directory: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function ======== CMake output ====== The CXX compiler identification is GNU 13.2.1 Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: /usr/bin/g++ - skipped Detecting CXX compile features Detecting CXX compile features - done pybind11 v2.11.1 CMake Warning (dev) at /builddir/build/BUILD/pybind11-2.11.1/tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Tools.cmake:50 (find_package) /builddir/build/BUILD/pybind11-2.11.1/tools/pybind11Common.cmake:188 (include) /builddir/build/BUILD/pybind11-2.11.1/CMakeLists.txt:210 (include) This warning is for project developers. Use -Wno-dev to suppress it. Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") Found PythonLibs: /usr/lib64/libpython3.12.so Performing Test HAS_FLTO Performing Test HAS_FLTO - Success Configuring done (204.0s) Generating done (2.6s) Build files have been written to: /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function ======== End CMake output ====== Change Dir: '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function' Run Build Command(s): /usr/bin/gmake -f Makefile check_subdirectory_function gmake[4]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function' [ 50%] Building CXX object CMakeFiles/test_subdirectory_function.dir/builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build/main.cpp.o [100%] Linking CXX shared module test_cmake_build.cpython-312-riscv64-linux-gnu.so lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the ‘-flto’ option documentation for more information [100%] Built target test_subdirectory_function test_subdirectory_function imports, runs, and adds: 1 + 2 = 3 [100%] Built target check_subdirectory_function gmake[4]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/subdirectory_function' make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target test_build_subdirectory_function make -f tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/build.make tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/depend make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' cd /builddir/build/BUILD/pybind11-2.11.1/python3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pybind11-2.11.1 /builddir/build/BUILD/pybind11-2.11.1/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3 /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build /builddir/build/BUILD/pybind11-2.11.1/python3/tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/DependInfo.cmake "--color=" Fmake[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make -f tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/build.make tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/build make[3]: Entering directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[3]: Nothing to be done for 'tests/test_cmake_build/CMakeFiles/test_cmake_build.dir/build'. make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' [100%] Built target test_cmake_build FFFFFFFFFFFF. [ 55%] ../../tests/test_iostream.py ...................... [ 58%] ../../tests/test_kwargs_and_defaults.py ........ [ 59%] ../../tests/test_local_bindings.py .......... [ 60%] ../../tests/test_methods_and_attributes.py ....................... [ 62%] ../../tests/test_modules.py ....... [ 63%] ../../tests/test_multiple_inheritance.py .................. [ 65%] ../../tests/test_numpy_array.py ........................................ [ 70%] ...................... [ 73%] ../../tests/test_numpy_dtypes.py ............... [ 75%] ../../tests/test_numpy_vectorize.py ........ [ 75%] ../../tests/test_opaque_types.py ... [ 76%] ../../tests/test_operator_overloading.py ..... [ 76%] ../../tests/test_pickling.py ........ [ 77%] ../../tests/test_pytypes.py ............................................ [ 83%] .......................................... [ 88%] ../../tests/test_sequences_and_iterators.py .............. [ 89%] ../../tests/test_smart_ptr.py ............. [ 91%] ../../tests/test_stl.py .........ss............ [ 93%] ../../tests/test_stl_binders.py ............ [ 95%] ../../tests/test_tagbased_polymorphic.py . [ 95%] ../../tests/test_thread.py .. [ 95%] ../../tests/test_type_caster_pyobject_ptr.py ................ [ 97%] ../../tests/test_union.py . [ 97%] ../../tests/test_unnamed_namespace_a.py .... [ 98%] ../../tests/test_unnamed_namespace_b.py . [ 98%] ../../tests/test_vector_unique_ptr_member.py .... [ 98%] ../../tests/test_virtual_functions.py .......... [100%] =================================== FAILURES =================================== __________________________ test_async_async_callbacks __________________________ cls = func = . at 0xffffff83dae020> when = 'call' reraise = (, ) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() cls = duration = 0.9521314939484 excinfo = . at 0xffffff83ee92f0>)\n') tblen=6> func = . at 0xffffff83dae020> precise_start = 2129550.391239846 precise_stop = 2129551.34337134 reraise = (, ) result = None start = 1706293757.3040783 stop = 1706293758.2562447 when = 'call' /usr/lib/python3.12/site-packages/_pytest/runner.py:341: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/_pytest/runner.py:262: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise ihook = item = kwds = {} /usr/lib/python3.12/site-packages/pluggy/_hooks.py:493: in __call__ return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) firstresult = False kwargs = {'item': } self = /usr/lib/python3.12/site-packages/pluggy/_manager.py:115: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) firstresult = False hook_name = 'pytest_runtest_call' kwargs = {'item': } methods = [>] self = <_pytest.config.PytestPluginManager object at 0xffffff97ba8c20> /usr/lib/python3.12/site-packages/_pytest/threadexception.py:83: in pytest_runtest_call yield from thread_exception_runtest_hook() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def thread_exception_runtest_hook() -> Generator[None, None, None]: with catch_threading_exception() as cm: yield if cm.args: thread_name = "" if cm.args.thread is None else cm.args.thread.name msg = f"Exception in thread {thread_name}\n\n" msg += "".join( traceback.format_exception( cm.args.exc_type, cm.args.exc_value, cm.args.exc_traceback, ) ) > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) E pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1 (test_async_callbacks) E E Traceback (most recent call last): E File "/usr/lib64/python3.12/threading.py", line 1052, in _bootstrap_inner E self.run() E File "/usr/lib64/python3.12/threading.py", line 989, in run E self._target(*self._args, **self._kwargs) E File "/builddir/build/BUILD/pybind11-2.11.1/tests/test_callbacks.py", line 174, in test_async_callbacks E assert sum(res) == sum(x + 3 for x in work) E AssertionError: assert 17 == 22 E + where 17 = sum([4, 6, 7, 5]) E + and 22 = sum(. at 0xffffff83ee92f0>) cm = <_pytest.threadexception.catch_threading_exception object at 0xffffff84591b20> msg = 'Exception in thread Thread-1 (test_async_callbacks)\n\nTraceback (most recent call last):\n File "/usr/lib64/python3...um([4, 6, 7, 5])\n + and 22 = sum(. at 0xffffff83ee92f0>)\n' thread_name = 'Thread-1 (test_async_callbacks)' /usr/lib/python3.12/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning _____________ test_run_in_process_one_thread[test_callback_py_obj] _____________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294277.8590758, t_delta = 35.77121591567993, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 35.77121591567993 t_start = 1706294277.8590758 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ____________ test_run_in_process_one_thread[test_callback_std_func] ____________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294317.892041, t_delta = 10.539471626281738, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.539471626281738 t_start = 1706294317.892041 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __________ test_run_in_process_one_thread[test_callback_virtual_func] __________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294330.0882978, t_delta = 10.945326805114746, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.945326805114746 t_start = 1706294330.0882978 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _______ test_run_in_process_one_thread[test_callback_pure_virtual_func] ________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294342.5953283, t_delta = 10.235117197036743, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.235117197036743 t_start = 1706294342.5953283 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ________ test_run_in_process_one_thread[test_cross_module_gil_released] ________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294354.0341165, t_delta = 10.030251502990723, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.030251502990723 t_start = 1706294354.0341165 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ________ test_run_in_process_one_thread[test_cross_module_gil_acquired] ________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294365.85679, t_delta = 10.057615280151367, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.057615280151367 t_start = 1706294365.85679 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_inner_custom_released] __ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294377.8948245, t_delta = 10.659890413284302, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.659890413284302 t_start = 1706294377.8948245 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_inner_custom_acquired] __ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294389.6918116, t_delta = 10.748631715774536, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.748631715774536 t_start = 1706294389.6918116 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_inner_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294402.3192668, t_delta = 10.713175058364868, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.713175058364868 t_start = 1706294402.3192668 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_inner_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294416.05563, t_delta = 10.175589323043823, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.175589323043823 t_start = 1706294416.05563 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_nested_custom_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294428.067236, t_delta = 10.398433446884155, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.398433446884155 t_start = 1706294428.067236 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_nested_custom_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294440.2574341, t_delta = 10.576614141464233, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.576614141464233 t_start = 1706294440.2574341 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_nested_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294452.6726203, t_delta = 10.761964321136475, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.761964321136475 t_start = 1706294452.6726203 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_one_thread[test_cross_module_gil_nested_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294464.8615792, t_delta = 10.370527982711792, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.370527982711792 t_start = 1706294464.8615792 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____________ test_run_in_process_one_thread[test_release_acquire] _____________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294476.688349, t_delta = 10.74403715133667, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.74403715133667 t_start = 1706294476.688349 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____________ test_run_in_process_one_thread[test_nested_acquire] ______________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294488.8479323, t_delta = 10.18371844291687, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.18371844291687 t_start = 1706294488.8479323 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_one_thread[test_multi_acquire_release_cross_module] ____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_one_thread(test_fn): """Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=1, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 1, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294500.514477, t_delta = 10.720839977264404, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 1, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.720839977264404 t_start = 1706294500.514477 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____ test_run_in_process_multiple_threads_parallel[test_callback_py_obj] ______ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = , timeout = 10 process = t_start = 1706294514.1059573, t_delta = 11.129136323928833, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.129136323928833 t_start = 1706294514.1059573 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ____ test_run_in_process_multiple_threads_parallel[test_callback_std_func] _____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = , timeout = 10 process = t_start = 1706294526.5169349, t_delta = 10.517763376235962, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.517763376235962 t_start = 1706294526.5169349 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __ test_run_in_process_multiple_threads_parallel[test_callback_virtual_func] ___ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294538.9452252, t_delta = 10.519060373306274, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.519060373306274 t_start = 1706294538.9452252 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_callback_pure_virtual_func] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294551.1066475, t_delta = 11.338184356689453, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.338184356689453 t_start = 1706294551.1066475 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294563.9080772, t_delta = 10.726097822189331, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.726097822189331 t_start = 1706294563.9080772 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294576.7175148, t_delta = 10.515795230865479, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.515795230865479 t_start = 1706294576.7175148 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_custom_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294588.8581276, t_delta = 10.246670246124268, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.246670246124268 t_start = 1706294588.8581276 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_custom_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294600.694003, t_delta = 10.94256067276001, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.94256067276001 t_start = 1706294600.694003 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294613.445555, t_delta = 10.426981449127197, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.426981449127197 t_start = 1706294613.445555 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294625.8791568, t_delta = 10.572150230407715, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.572150230407715 t_start = 1706294625.8791568 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_custom_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294638.8855839, t_delta = 10.550671339035034, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.550671339035034 t_start = 1706294638.8855839 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_custom_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294651.0828283, t_delta = 10.15232539176941, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.15232539176941 t_start = 1706294651.0828283 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294662.6989558, t_delta = 10.943315744400024, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.943315744400024 t_start = 1706294662.6989558 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294675.2485065, t_delta = 10.393985509872437, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.393985509872437 t_start = 1706294675.2485065 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____ test_run_in_process_multiple_threads_parallel[test_release_acquire] ______ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = , timeout = 10 process = t_start = 1706294688.9005578, t_delta = 10.374443769454956, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.374443769454956 t_start = 1706294688.9005578 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ______ test_run_in_process_multiple_threads_parallel[test_nested_acquire] ______ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = , timeout = 10 process = t_start = 1706294700.9122488, t_delta = 10.526885509490967, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.526885509490967 t_start = 1706294700.9122488 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_parallel[test_multi_acquire_release_cross_module] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_parallel(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=True) == 0 test_fn = ../../tests/test_gil_scoped.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': True} test_fn = timeout = 10 process = t_start = 1706294713.6598895, t_delta = 10.77800464630127, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': True} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.77800464630127 t_start = 1706294713.6598895 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ____ test_run_in_process_multiple_threads_sequential[test_callback_py_obj] _____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294726.71951, t_delta = 10.925420761108398, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.925420761108398 t_start = 1706294726.71951 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_multiple_threads_sequential[test_callback_std_func] ____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294739.6425636, t_delta = 10.409467697143555, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.409467697143555 t_start = 1706294739.6425636 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_callback_virtual_func] __ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294751.8682876, t_delta = 10.568352699279785, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.568352699279785 t_start = 1706294751.8682876 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_callback_pure_virtual_func] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294763.2911105, t_delta = 10.746597290039062, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.746597290039062 t_start = 1706294763.2911105 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294775.2783737, t_delta = 10.559564113616943, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.559564113616943 t_start = 1706294775.2783737 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294786.9329069, t_delta = 10.506727457046509, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.506727457046509 t_start = 1706294786.9329069 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_custom_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294798.5097845, t_delta = 10.660659790039062, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.660659790039062 t_start = 1706294798.5097845 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_custom_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294810.9079032, t_delta = 10.331423282623291, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.331423282623291 t_start = 1706294810.9079032 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294822.6539907, t_delta = 10.040016651153564, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.040016651153564 t_start = 1706294822.6539907 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294833.8553362, t_delta = 10.407697439193726, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.407697439193726 t_start = 1706294833.8553362 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_custom_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294850.070511, t_delta = 10.967483282089233, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.967483282089233 t_start = 1706294850.070511 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_custom_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294862.4954588, t_delta = 10.778706073760986, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.778706073760986 t_start = 1706294862.4954588 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_pybind11_released] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294875.4651823, t_delta = 10.122057914733887, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.122057914733887 t_start = 1706294875.4651823 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_pybind11_acquired] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294886.5374315, t_delta = 10.505030870437622, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.505030870437622 t_start = 1706294886.5374315 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ____ test_run_in_process_multiple_threads_sequential[test_release_acquire] _____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294897.8937774, t_delta = 10.409892797470093, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.409892797470093 t_start = 1706294897.8937774 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____ test_run_in_process_multiple_threads_sequential[test_nested_acquire] _____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = , timeout = 10 process = t_start = 1706294909.7436686, t_delta = 11.300256729125977, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.300256729125977 t_start = 1706294909.7436686 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _ test_run_in_process_multiple_threads_sequential[test_multi_acquire_release_cross_module] _ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_multiple_threads_sequential(test_fn): """Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks. """ > assert _run_in_process(_run_in_threads, test_fn, num_threads=8, parallel=False) == 0 test_fn = ../../tests/test_gil_scoped.py:232: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (,) kwargs = {'num_threads': 8, 'parallel': False} test_fn = timeout = 10 process = t_start = 1706294922.516615, t_delta = 10.576157331466675, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = (,) kwargs = {'num_threads': 8, 'parallel': False} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.576157331466675 t_start = 1706294922.516615 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _______________ test_run_in_process_direct[test_callback_py_obj] _______________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = , args = () kwargs = {}, test_fn = timeout = 10 process = t_start = 1706294936.321841, t_delta = 10.552051544189453, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.552051544189453 t_start = 1706294936.321841 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ______________ test_run_in_process_direct[test_callback_std_func] ______________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = , args = () kwargs = {}, test_fn = timeout = 10 process = t_start = 1706294948.8825731, t_delta = 10.591503143310547, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.591503143310547 t_start = 1706294948.8825731 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ____________ test_run_in_process_direct[test_callback_virtual_func] ____________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = , args = () kwargs = {}, test_fn = timeout = 10 process = t_start = 1706294960.496305, t_delta = 10.54588508605957, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.54588508605957 t_start = 1706294960.496305 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _________ test_run_in_process_direct[test_callback_pure_virtual_func] __________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706294972.0481505, t_delta = 10.195417881011963, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.195417881011963 t_start = 1706294972.0481505 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __________ test_run_in_process_direct[test_cross_module_gil_released] __________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706294983.3368647, t_delta = 10.771445989608765, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.771445989608765 t_start = 1706294983.3368647 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __________ test_run_in_process_direct[test_cross_module_gil_acquired] __________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706294995.3268428, t_delta = 10.54288625717163, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.54288625717163 t_start = 1706294995.3268428 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_direct[test_cross_module_gil_inner_custom_released] ____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295007.292361, t_delta = 10.562834024429321, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.562834024429321 t_start = 1706295007.292361 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_direct[test_cross_module_gil_inner_custom_acquired] ____ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295018.7038429, t_delta = 11.141346216201782, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.141346216201782 t_start = 1706295018.7038429 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __ test_run_in_process_direct[test_cross_module_gil_inner_pybind11_released] ___ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295031.4673686, t_delta = 10.059659719467163, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.059659719467163 t_start = 1706295031.4673686 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __ test_run_in_process_direct[test_cross_module_gil_inner_pybind11_acquired] ___ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295043.4678762, t_delta = 10.056529521942139, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.056529521942139 t_start = 1706295043.4678762 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_direct[test_cross_module_gil_nested_custom_released] ___ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295055.4627566, t_delta = 10.384663343429565, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.384663343429565 t_start = 1706295055.4627566 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError ___ test_run_in_process_direct[test_cross_module_gil_nested_custom_acquired] ___ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295067.0865288, t_delta = 11.16085958480835, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.16085958480835 t_start = 1706295067.0865288 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __ test_run_in_process_direct[test_cross_module_gil_nested_pybind11_released] __ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295079.530684, t_delta = 10.523499488830566, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.523499488830566 t_start = 1706295079.530684 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError __ test_run_in_process_direct[test_cross_module_gil_nested_pybind11_acquired] __ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295091.6211443, t_delta = 10.629308938980103, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.629308938980103 t_start = 1706295091.6211443 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _______________ test_run_in_process_direct[test_release_acquire] _______________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = , args = () kwargs = {}, test_fn = timeout = 10 process = t_start = 1706295103.2875102, t_delta = 10.556745052337646, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.556745052337646 t_start = 1706295103.2875102 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _______________ test_run_in_process_direct[test_nested_acquire] ________________ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = , args = () kwargs = {}, test_fn = timeout = 10 process = t_start = 1706295115.298956, t_delta = 10.396011352539062, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 10.396011352539062 t_start = 1706295115.298956 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError _____ test_run_in_process_direct[test_multi_acquire_release_cross_module] ______ test_fn = @pytest.mark.parametrize("test_fn", ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK) def test_run_in_process_direct(test_fn): """Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue. """ > assert _run_in_process(test_fn) == 0 test_fn = ../../tests/test_gil_scoped.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ target = args = (), kwargs = {} test_fn = timeout = 10 process = t_start = 1706295127.4972808, t_delta = 11.351924180984497, @py_assert1 = None def _run_in_process(target, *args, **kwargs): test_fn = target if len(args) == 0 else args[0] # Do not need to wait much, 10s should be more than enough. timeout = 0.1 if test_fn is _intentional_deadlock else 10 process = multiprocessing.Process(target=target, args=args, kwargs=kwargs) process.daemon = True try: t_start = time.time() process.start() if timeout >= 100: # For debugging. print( "\nprocess.pid STARTED", process.pid, (sys.argv, target, args, kwargs) ) print(f"COPY-PASTE-THIS: gdb {sys.argv[0]} -p {process.pid}", flush=True) process.join(timeout=timeout) if timeout >= 100: print("\nprocess.pid JOINED", process.pid, flush=True) t_delta = time.time() - t_start if process.exitcode == 66 and m.defined_THREAD_SANITIZER: # Issue #2754 # WOULD-BE-NICE-TO-HAVE: Check that the message below is actually in the output. # Maybe this could work: # https://gist.github.com/alexeygrigorev/01ce847f2e721b513b42ea4a6c96905e pytest.skip( "ThreadSanitizer: starting new threads after multi-threaded fork is not supported." ) elif test_fn is _intentional_deadlock: assert process.exitcode is None return 0 if process.exitcode is None: assert t_delta > 0.9 * timeout msg = "DEADLOCK, most likely, exactly what this test is meant to detect." if env.PYPY and env.WIN: pytest.skip(msg) > raise RuntimeError(msg) E RuntimeError: DEADLOCK, most likely, exactly what this test is meant to detect. args = () kwargs = {} msg = 'DEADLOCK, most likely, exactly what this test is meant to detect.' process = t_delta = 11.351924180984497 t_start = 1706295127.4972808 target = test_fn = timeout = 10 ../../tests/test_gil_scoped.py:184: RuntimeError =========================== short test summary info ============================ SKIPPED [1] ../../tests/test_stl.py:147: no SKIPPED [1] ../../tests/test_stl.py:179: no FAILED ../../tests/test_callbacks.py::test_async_async_callbacks - pytest.Pyt... FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_callback_py_obj] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_callback_std_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_callback_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_callback_pure_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_inner_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_inner_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_inner_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_inner_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_nested_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_nested_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_nested_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_cross_module_gil_nested_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_release_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_nested_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_one_thread[test_multi_acquire_release_cross_module] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_callback_py_obj] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_callback_std_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_callback_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_callback_pure_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_inner_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_cross_module_gil_nested_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_release_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_nested_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_parallel[test_multi_acquire_release_cross_module] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_callback_py_obj] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_callback_std_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_callback_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_callback_pure_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_inner_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_cross_module_gil_nested_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_release_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_nested_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_multiple_threads_sequential[test_multi_acquire_release_cross_module] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_callback_py_obj] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_callback_std_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_callback_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_callback_pure_virtual_func] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_inner_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_inner_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_inner_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_inner_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_nested_custom_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_nested_custom_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_nested_pybind11_released] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_cross_module_gil_nested_pybind11_acquired] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_release_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_nested_acquire] FAILED ../../tests/test_gil_scoped.py::test_run_in_process_direct[test_multi_acquire_release_cross_module] ============ 69 failed, 773 passed, 2 skipped in 2440.77s (0:40:40) ============ make[3]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[2]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make[1]: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' make: Leaving directory '/builddir/build/BUILD/pybind11-2.11.1/python3' RPM build warnings: RPM build errors: make[3]: *** [tests/CMakeFiles/pytest.dir/build.make:77: tests/CMakeFiles/pytest] Error 1 make[2]: *** [CMakeFiles/Makefile2:385: tests/CMakeFiles/pytest.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:449: tests/CMakeFiles/check.dir/rule] Error 2 make: *** [Makefile:277: check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JfysYq (%check) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.JfysYq (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pybind11.spec