Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pytest-mpi.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-100898-5548/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 --target noarch --nodeps /builddir/build/SPECS/python-pytest-mpi.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 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-pytest-mpi-0.6-3.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-pytest-mpi.spec'], chrootPath='/var/lib/mock/f37-build-side-28-python-devel-100898-5548/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 --target noarch --nodeps /builddir/build/SPECS/python-pytest-mpi.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 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZZ4Kiz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-mpi-0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-mpi-0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-mpi-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2BE2d8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mpi-0.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/pytest_mpi copying src/pytest_mpi/_version.py -> build/lib/pytest_mpi copying src/pytest_mpi/__init__.py -> build/lib/pytest_mpi copying src/pytest_mpi/_helpers.py -> build/lib/pytest_mpi UPDATING build/lib/pytest_mpi/_version.py set build/lib/pytest_mpi/_version.py to '0.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ePCq2s + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mpi-0.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi copying build/lib/pytest_mpi/_version.py -> /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi copying build/lib/pytest_mpi/__init__.py -> /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi copying build/lib/pytest_mpi/_helpers.py -> /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi byte-compiling /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi/_version.py to _version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi/_helpers.py to _helpers.cpython-311.pyc writing byte-compilation script '/tmp/tmp1n_77c4c.py' /usr/bin/python3 /tmp/tmp1n_77c4c.py removing /tmp/tmp1n_77c4c.py running install_egg_info running egg_info creating src/pytest_mpi.egg-info writing src/pytest_mpi.egg-info/PKG-INFO writing dependency_links to src/pytest_mpi.egg-info/dependency_links.txt writing entry points to src/pytest_mpi.egg-info/entry_points.txt writing requirements to src/pytest_mpi.egg-info/requires.txt writing top-level names to src/pytest_mpi.egg-info/top_level.txt writing manifest file 'src/pytest_mpi.egg-info/SOURCES.txt' reading manifest file 'src/pytest_mpi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'known_broken_constraints.txt' warning: no previously-included files found matching 'old_pytest.txt' warning: no previously-included files matching '*' found under directory 'docs/_build' warning: no files found matching 'test-requirements.txt' warning: no previously-included files found matching 'TODO' no previously-included directories found matching '**/__pycache__' no previously-included directories found matching '**/*.pyc' no previously-included directories found matching '**/*.swp' no previously-included directories found matching '**/*.swo' warning: no previously-included files found matching 'bors.toml' warning: no previously-included files found matching 'azure-pipelines.yml' adding license file 'LICENSE.txt' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*' found under directory 'ci' writing manifest file 'src/pytest_mpi.egg-info/SOURCES.txt' Copying src/pytest_mpi.egg-info to /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages/pytest_mpi-0.6-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.6-3.fc37 --unique-debug-suffix -0.6-3.fc37.noarch --unique-debug-src-base python-pytest-mpi-0.6-3.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-mpi-0.6 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OwtmRQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytest-mpi-0.6 + module load mpi/mpich-riscv64 + _mlshopt=f + case "$-" in + '[' -n f ']' + set -f ++ /usr/share/lmod/lmod/libexec/lmod bash load mpi/mpich-riscv64 + eval '__LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/mpich/lib:1;' export '__LMOD_REF_COUNT_LD_LIBRARY_PATH;' 'LD_LIBRARY_PATH=/usr/lib64/mpich/lib;' export 'LD_LIBRARY_PATH;' '__LMOD_REF_COUNT_LOADEDMODULES=mpi/mpich-riscv64:1;' export '__LMOD_REF_COUNT_LOADEDMODULES;' 'LOADEDMODULES=mpi/mpich-riscv64;' export 'LOADEDMODULES;' '__LMOD_REF_COUNT_MANPATH=/usr/share/man/mpich-riscv64:1\;/usr/share/lmod/lmod/share/man:1;' export '__LMOD_REF_COUNT_MANPATH;' 'MANPATH=:/usr/share/man/mpich-riscv64:/usr/share/lmod/lmod/share/man;' export 'MANPATH;' '__LMOD_REF_COUNT_MODULEPATH=/etc/modulefiles:1\;/usr/share/modulefiles:1\;/usr/share/modulefiles/Linux:1\;/usr/share/modulefiles/Core:1\;/usr/share/lmod/lmod/modulefiles/Core:1;' export '__LMOD_REF_COUNT_MODULEPATH;' 'MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core;' export 'MODULEPATH;' 'MPI_BIN=/usr/lib64/mpich/bin;' export 'MPI_BIN;' 'MPI_COMPILER=mpich-riscv64;' export 'MPI_COMPILER;' 'MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich;' export 'MPI_FORTRAN_MOD_DIR;' 'MPI_HOME=/usr/lib64/mpich;' export 'MPI_HOME;' 'MPI_INCLUDE=/usr/include/mpich-riscv64;' export 'MPI_INCLUDE;' 'MPI_LIB=/usr/lib64/mpich/lib;' export 'MPI_LIB;' 'MPI_MAN=/usr/share/man/mpich-riscv64;' export 'MPI_MAN;' 'MPI_PYTHON2_SITEARCH=%\{python2_sitearch\}/mpich;' export 'MPI_PYTHON2_SITEARCH;' 'MPI_PYTHON3_SITEARCH=/usr/lib64/python3.11/site-packages/mpich;' export 'MPI_PYTHON3_SITEARCH;' 'MPI_PYTHON_SITEARCH=%\{python2_sitearch\}/mpich;' export 'MPI_PYTHON_SITEARCH;' 'MPI_SUFFIX=_mpich;' export 'MPI_SUFFIX;' 'MPI_SYSCONFIG=/etc/mpich-riscv64;' export 'MPI_SYSCONFIG;' '__LMOD_REF_COUNT_PATH=/usr/lib64/mpich/bin:1\;/usr/bin:1\;/bin:1\;/usr/sbin:1\;/sbin:1\;/usr/local/sbin:1;' export '__LMOD_REF_COUNT_PATH;' 'PATH=/usr/lib64/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin;' export 'PATH;' '__LMOD_REF_COUNT_PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig:1\;/usr/lib/pkgconfig:1\;/usr/share/pkgconfig:1;' export '__LMOD_REF_COUNT_PKG_CONFIG_PATH;' 'PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig;' export 'PKG_CONFIG_PATH;' '__LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64:1;' export '__LMOD_REF_COUNT__LMFILES_;' '_LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64;' export '_LMFILES_;' '_ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0ge30sCm1UID0gewptcGkgPSB7CmZuID0gIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvbXBpL21waWNoLXJpc2N2NjQiLApmdWxsTmFtZSA9ICJtcGkvbXBpY2gtcmlzY3Y2NCIsCmxvYWRPcmRlciA9IDEsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAibXBpL21waWNoLXJpc2N2NjQiLAp3ViA9ICIqbXBpY2guKnJpc2N2LjAwMDAwMDA2NC4qemZpbmFsIiwKfSwKfSwKbXBhdGhBID0gewoiL2V0Yy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21v;' export '_ModuleTable001_;' '_ModuleTable002_=ZHVsZWZpbGVzIiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXgiCiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsICIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfSwKc3lzdGVtQmFzZU1QQVRIID0gIi9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4Oi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZTovdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfQo=;' export '_ModuleTable002_;' '_ModuleTable_Sz_=2;' export '_ModuleTable_Sz_;' ++ __LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/mpich/lib:1 ++ export __LMOD_REF_COUNT_LD_LIBRARY_PATH ++ LD_LIBRARY_PATH=/usr/lib64/mpich/lib ++ export LD_LIBRARY_PATH ++ __LMOD_REF_COUNT_LOADEDMODULES=mpi/mpich-riscv64:1 ++ export __LMOD_REF_COUNT_LOADEDMODULES ++ LOADEDMODULES=mpi/mpich-riscv64 ++ export LOADEDMODULES ++ __LMOD_REF_COUNT_MANPATH='/usr/share/man/mpich-riscv64:1;/usr/share/lmod/lmod/share/man:1' ++ export __LMOD_REF_COUNT_MANPATH ++ MANPATH=:/usr/share/man/mpich-riscv64:/usr/share/lmod/lmod/share/man ++ export MANPATH ++ __LMOD_REF_COUNT_MODULEPATH='/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1' ++ export __LMOD_REF_COUNT_MODULEPATH ++ MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ++ export MODULEPATH ++ MPI_BIN=/usr/lib64/mpich/bin ++ export MPI_BIN ++ MPI_COMPILER=mpich-riscv64 ++ export MPI_COMPILER ++ MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich ++ export MPI_FORTRAN_MOD_DIR ++ MPI_HOME=/usr/lib64/mpich ++ export MPI_HOME ++ MPI_INCLUDE=/usr/include/mpich-riscv64 ++ export MPI_INCLUDE ++ MPI_LIB=/usr/lib64/mpich/lib ++ export MPI_LIB ++ MPI_MAN=/usr/share/man/mpich-riscv64 ++ export MPI_MAN ++ MPI_PYTHON2_SITEARCH='%{python2_sitearch}/mpich' ++ export MPI_PYTHON2_SITEARCH ++ MPI_PYTHON3_SITEARCH=/usr/lib64/python3.11/site-packages/mpich ++ export MPI_PYTHON3_SITEARCH ++ MPI_PYTHON_SITEARCH='%{python2_sitearch}/mpich' ++ export MPI_PYTHON_SITEARCH ++ MPI_SUFFIX=_mpich ++ export MPI_SUFFIX ++ MPI_SYSCONFIG=/etc/mpich-riscv64 ++ export MPI_SYSCONFIG ++ __LMOD_REF_COUNT_PATH='/usr/lib64/mpich/bin:1;/usr/bin:1;/bin:1;/usr/sbin:1;/sbin:1;/usr/local/sbin:1' ++ export __LMOD_REF_COUNT_PATH ++ PATH=/usr/lib64/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ export PATH ++ __LMOD_REF_COUNT_PKG_CONFIG_PATH='/usr/lib64/mpich/lib/pkgconfig:1;/usr/lib/pkgconfig:1;/usr/share/pkgconfig:1' ++ export __LMOD_REF_COUNT_PKG_CONFIG_PATH ++ PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig ++ export PKG_CONFIG_PATH ++ __LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64:1 ++ export __LMOD_REF_COUNT__LMFILES_ ++ _LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64 ++ export _LMFILES_ ++ _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0ge30sCm1UID0gewptcGkgPSB7CmZuID0gIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvbXBpL21waWNoLXJpc2N2NjQiLApmdWxsTmFtZSA9ICJtcGkvbXBpY2gtcmlzY3Y2NCIsCmxvYWRPcmRlciA9IDEsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAibXBpL21waWNoLXJpc2N2NjQiLAp3ViA9ICIqbXBpY2guKnJpc2N2LjAwMDAwMDA2NC4qemZpbmFsIiwKfSwKfSwKbXBhdGhBID0gewoiL2V0Yy9tb2R1bGVmaWxlcyIsICIvdXNyL3NoYXJlL21v ++ export _ModuleTable001_ ++ _ModuleTable002_=ZHVsZWZpbGVzIiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXgiCiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsICIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfSwKc3lzdGVtQmFzZU1QQVRIID0gIi9ldGMvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlczovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4Oi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZTovdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwKfQo= ++ export _ModuleTable002_ ++ _ModuleTable_Sz_=2 ++ export _ModuleTable_Sz_ ++ : -s sh + eval + '[' -n f ']' + set +f + unset _mlshopt + export PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages:/usr/lib64/python3.11/site-packages/mpich + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-mpi-0.6-3.fc37.noarch/usr/lib/python3.11/site-packages:/usr/lib64/python3.11/site-packages/mpich + py.test-3.11 -p pytester --runpytest=subprocess -vv ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pytest-mpi-0.6 plugins: mpi-0.6 collecting ... collected 13 items docs/markers.rst::line:14,column:1 PASSED [ 7%] docs/usage.rst::line:16,column:1 PASSED [ 15%] docs/usage.rst::line:28,column:1 PASSED [ 23%] tests/test_fixtures.py::test_mpi_file_name FAILED [ 30%] tests/test_fixtures.py::test_mpi_tmpdir FAILED [ 38%] tests/test_fixtures.py::test_mpi_tmp_path FAILED [ 46%] tests/test_markers.py::test_mpi PASSED [ 53%] tests/test_markers.py::test_mpi_with_mpi FAILED [ 61%] tests/test_markers.py::test_mpi_only_mpi FAILED [ 69%] tests/test_markers.py::test_mpi_skip PASSED [ 76%] tests/test_markers.py::test_mpi_skip_under_mpi FAILED [ 84%] tests/test_markers.py::test_mpi_xfail PASSED [ 92%] tests/test_markers.py::test_mpi_xfail_under_mpi FAILED [100%] =================================== FAILURES =================================== ______________________________ test_mpi_file_name ______________________________ self = timeout = 5, stdin = cmdargs = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0', ...) __tracebackhide__ = True def run( self, *cmdargs: Union[str, "os.PathLike[str]"], timeout: Optional[float] = None, stdin: Union[NotSetType, bytes, IO[Any], int] = CLOSE_STDIN, ) -> RunResult: """Run a command with arguments. Run a process using :py:class:`subprocess.Popen` saving the stdout and stderr. :param cmdargs: The sequence of arguments to pass to :py:class:`subprocess.Popen`, with path-like objects being converted to :py:class:`str` automatically. :param timeout: The period in seconds after which to timeout and raise :py:class:`Pytester.TimeoutExpired`. :param stdin: Optional standard input. - If it is :py:attr:`CLOSE_STDIN` (Default), then this method calls :py:class:`subprocess.Popen` with ``stdin=subprocess.PIPE``, and the standard input is closed immediately after the new command is started. - If it is of type :py:class:`bytes`, these bytes are sent to the standard input of the command. - Otherwise, it is passed through to :py:class:`subprocess.Popen`. For further information in this case, consult the document of the ``stdin`` parameter in :py:class:`subprocess.Popen`. """ __tracebackhide__ = True cmdargs = tuple(os.fspath(arg) for arg in cmdargs) p1 = self.path.joinpath("stdout") p2 = self.path.joinpath("stderr") print("running:", *cmdargs) print(" in:", Path.cwd()) with p1.open("w", encoding="utf8") as f1, p2.open("w", encoding="utf8") as f2: now = timing.time() popen = self.popen( cmdargs, stdin=stdin, stdout=f1, stderr=f2, close_fds=(sys.platform != "win32"), ) if popen.stdin is not None: popen.stdin.close() def handle_timeout() -> None: __tracebackhide__ = True timeout_message = ( "{seconds} second timeout expired running:" " {command}".format(seconds=timeout, command=cmdargs) ) popen.kill() popen.wait() raise self.TimeoutExpired(timeout_message) if timeout is None: ret = popen.wait() else: try: > ret = popen.wait(timeout) /usr/lib/python3.11/site-packages/_pytest/pytester.py:1417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def wait(self, timeout=None): """Wait for child process to terminate; returns self.returncode.""" if timeout is not None: endtime = _time() + timeout try: > return self._wait(timeout=timeout) /usr/lib64/python3.11/subprocess.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endtime) if remaining <= 0: > raise TimeoutExpired(self.args, timeout) E subprocess.TimeoutExpired: Command '('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0', '--with-mpi')' timed out after 5 seconds /usr/lib64/python3.11/subprocess.py:1987: TimeoutExpired During handling of the above exception, another exception occurred: mpi_testdir = , has_mpi4py = True def test_mpi_file_name(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_FILE_NAME_TEST_CODE) > result = mpi_testdir.runpytest("--with-mpi", timeout=5) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_fixtures.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:62: in runpytest return self._run_pytester(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 5, mpi_procs = 2 max_retries = 5 args = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0', ...) def _run_pytester(self, *args, timeout=60, mpi_procs=2, max_retries=5): retries = 0 p = _to_pathlib(py.path.local.make_numbered_dir( prefix="runpytest-", keep=None, rootdir=_to_py_path(self._pytester.path) )) args = ("--basetemp=%s" % p,) + args plugins = [x for x in self._pytester.plugins if isinstance(x, str)] if plugins: args = ("-p", plugins[0]) + args args = MPI_ARGS + (str(mpi_procs),) + PYTEST_ARGS + args while retries < max_retries: try: > return self._pytester.run(*args, timeout=timeout) E _pytest.pytester.Pytester.TimeoutExpired: 5 second timeout expired running: ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0', '--with-mpi') /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:97: TimeoutExpired ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_file_name0 _______________________________ test_mpi_tmpdir ________________________________ self = timeout = 5, stdin = cmdargs = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0', ...) __tracebackhide__ = True def run( self, *cmdargs: Union[str, "os.PathLike[str]"], timeout: Optional[float] = None, stdin: Union[NotSetType, bytes, IO[Any], int] = CLOSE_STDIN, ) -> RunResult: """Run a command with arguments. Run a process using :py:class:`subprocess.Popen` saving the stdout and stderr. :param cmdargs: The sequence of arguments to pass to :py:class:`subprocess.Popen`, with path-like objects being converted to :py:class:`str` automatically. :param timeout: The period in seconds after which to timeout and raise :py:class:`Pytester.TimeoutExpired`. :param stdin: Optional standard input. - If it is :py:attr:`CLOSE_STDIN` (Default), then this method calls :py:class:`subprocess.Popen` with ``stdin=subprocess.PIPE``, and the standard input is closed immediately after the new command is started. - If it is of type :py:class:`bytes`, these bytes are sent to the standard input of the command. - Otherwise, it is passed through to :py:class:`subprocess.Popen`. For further information in this case, consult the document of the ``stdin`` parameter in :py:class:`subprocess.Popen`. """ __tracebackhide__ = True cmdargs = tuple(os.fspath(arg) for arg in cmdargs) p1 = self.path.joinpath("stdout") p2 = self.path.joinpath("stderr") print("running:", *cmdargs) print(" in:", Path.cwd()) with p1.open("w", encoding="utf8") as f1, p2.open("w", encoding="utf8") as f2: now = timing.time() popen = self.popen( cmdargs, stdin=stdin, stdout=f1, stderr=f2, close_fds=(sys.platform != "win32"), ) if popen.stdin is not None: popen.stdin.close() def handle_timeout() -> None: __tracebackhide__ = True timeout_message = ( "{seconds} second timeout expired running:" " {command}".format(seconds=timeout, command=cmdargs) ) popen.kill() popen.wait() raise self.TimeoutExpired(timeout_message) if timeout is None: ret = popen.wait() else: try: > ret = popen.wait(timeout) /usr/lib/python3.11/site-packages/_pytest/pytester.py:1417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def wait(self, timeout=None): """Wait for child process to terminate; returns self.returncode.""" if timeout is not None: endtime = _time() + timeout try: > return self._wait(timeout=timeout) /usr/lib64/python3.11/subprocess.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endtime) if remaining <= 0: > raise TimeoutExpired(self.args, timeout) E subprocess.TimeoutExpired: Command '('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0', '--with-mpi')' timed out after 5 seconds /usr/lib64/python3.11/subprocess.py:1987: TimeoutExpired During handling of the above exception, another exception occurred: mpi_testdir = , has_mpi4py = True def test_mpi_tmpdir(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_TMPDIR_TEST_CODE) > result = mpi_testdir.runpytest("--with-mpi", timeout=5) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_fixtures.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:62: in runpytest return self._run_pytester(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 5, mpi_procs = 2 max_retries = 5 args = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0', ...) def _run_pytester(self, *args, timeout=60, mpi_procs=2, max_retries=5): retries = 0 p = _to_pathlib(py.path.local.make_numbered_dir( prefix="runpytest-", keep=None, rootdir=_to_py_path(self._pytester.path) )) args = ("--basetemp=%s" % p,) + args plugins = [x for x in self._pytester.plugins if isinstance(x, str)] if plugins: args = ("-p", plugins[0]) + args args = MPI_ARGS + (str(mpi_procs),) + PYTEST_ARGS + args while retries < max_retries: try: > return self._pytester.run(*args, timeout=timeout) E _pytest.pytester.Pytester.TimeoutExpired: 5 second timeout expired running: ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0', '--with-mpi') /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:97: TimeoutExpired ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmpdir0 ______________________________ test_mpi_tmp_path _______________________________ self = timeout = 5, stdin = cmdargs = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0', ...) __tracebackhide__ = True def run( self, *cmdargs: Union[str, "os.PathLike[str]"], timeout: Optional[float] = None, stdin: Union[NotSetType, bytes, IO[Any], int] = CLOSE_STDIN, ) -> RunResult: """Run a command with arguments. Run a process using :py:class:`subprocess.Popen` saving the stdout and stderr. :param cmdargs: The sequence of arguments to pass to :py:class:`subprocess.Popen`, with path-like objects being converted to :py:class:`str` automatically. :param timeout: The period in seconds after which to timeout and raise :py:class:`Pytester.TimeoutExpired`. :param stdin: Optional standard input. - If it is :py:attr:`CLOSE_STDIN` (Default), then this method calls :py:class:`subprocess.Popen` with ``stdin=subprocess.PIPE``, and the standard input is closed immediately after the new command is started. - If it is of type :py:class:`bytes`, these bytes are sent to the standard input of the command. - Otherwise, it is passed through to :py:class:`subprocess.Popen`. For further information in this case, consult the document of the ``stdin`` parameter in :py:class:`subprocess.Popen`. """ __tracebackhide__ = True cmdargs = tuple(os.fspath(arg) for arg in cmdargs) p1 = self.path.joinpath("stdout") p2 = self.path.joinpath("stderr") print("running:", *cmdargs) print(" in:", Path.cwd()) with p1.open("w", encoding="utf8") as f1, p2.open("w", encoding="utf8") as f2: now = timing.time() popen = self.popen( cmdargs, stdin=stdin, stdout=f1, stderr=f2, close_fds=(sys.platform != "win32"), ) if popen.stdin is not None: popen.stdin.close() def handle_timeout() -> None: __tracebackhide__ = True timeout_message = ( "{seconds} second timeout expired running:" " {command}".format(seconds=timeout, command=cmdargs) ) popen.kill() popen.wait() raise self.TimeoutExpired(timeout_message) if timeout is None: ret = popen.wait() else: try: > ret = popen.wait(timeout) /usr/lib/python3.11/site-packages/_pytest/pytester.py:1417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def wait(self, timeout=None): """Wait for child process to terminate; returns self.returncode.""" if timeout is not None: endtime = _time() + timeout try: > return self._wait(timeout=timeout) /usr/lib64/python3.11/subprocess.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 5 def _wait(self, timeout): """Internal implementation of wait() on POSIX.""" if self.returncode is not None: return self.returncode if timeout is not None: endtime = _time() + timeout # Enter a busy loop if we have a timeout. This busy loop was # cribbed from Lib/threading.py in Thread.wait() at r71065. delay = 0.0005 # 500 us -> initial delay of 1 ms while True: if self._waitpid_lock.acquire(False): try: if self.returncode is not None: break # Another thread waited. (pid, sts) = self._try_wait(os.WNOHANG) assert pid == self.pid or pid == 0 if pid == self.pid: self._handle_exitstatus(sts) break finally: self._waitpid_lock.release() remaining = self._remaining_time(endtime) if remaining <= 0: > raise TimeoutExpired(self.args, timeout) E subprocess.TimeoutExpired: Command '('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0', '--with-mpi')' timed out after 5 seconds /usr/lib64/python3.11/subprocess.py:1987: TimeoutExpired During handling of the above exception, another exception occurred: mpi_testdir = , has_mpi4py = True def test_mpi_tmp_path(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_TMP_PATH_TEST_CODE) > result = mpi_testdir.runpytest("--with-mpi", timeout=5) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_fixtures.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:62: in runpytest return self._run_pytester(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , timeout = 5, mpi_procs = 2 max_retries = 5 args = ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0', ...) def _run_pytester(self, *args, timeout=60, mpi_procs=2, max_retries=5): retries = 0 p = _to_pathlib(py.path.local.make_numbered_dir( prefix="runpytest-", keep=None, rootdir=_to_py_path(self._pytester.path) )) args = ("--basetemp=%s" % p,) + args plugins = [x for x in self._pytester.plugins if isinstance(x, str)] if plugins: args = ("-p", plugins[0]) + args args = MPI_ARGS + (str(mpi_procs),) + PYTEST_ARGS + args while retries < max_retries: try: > return self._pytester.run(*args, timeout=timeout) E _pytest.pytester.Pytester.TimeoutExpired: 5 second timeout expired running: ('mpirun', '-n', '2', '/usr/bin/python3', '-mpytest', '--basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0', '--with-mpi') /builddir/build/BUILD/pytest-mpi-0.6/tests/conftest.py:97: TimeoutExpired ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0 running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_tmp_path0 ______________________________ test_mpi_with_mpi _______________________________ mpi_testdir = , has_mpi4py = True def test_mpi_with_mpi(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_TEST_CODE) result = mpi_testdir.runpytest("--with-mpi") if has_mpi4py: > result.assert_outcomes(**_fix_plural(passed=3, errors=1, skipped=1)) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_markers.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = lines = ['============================= test session starts ==============================', 'platform linux -- Python 3.11.0,....0', 'rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_with_mpi0', 'plugins: mpi-0.6', 'collected 5 items', '', ...] @classmethod def parse_summary_nouns(cls, lines) -> Dict[str, int]: """Extract the nouns from a pytest terminal summary line. It always returns the plural noun for consistency:: ======= 1 failed, 1 passed, 1 warning, 1 error in 0.13s ==== Will return ``{"failed": 1, "passed": 1, "warnings": 1, "errors": 1}``. """ for line in reversed(lines): if rex_session_duration.search(line): outcomes = rex_outcome.findall(line) ret = {noun: int(count) for (count, noun) in outcomes} break else: > raise ValueError("Pytest terminal summary report not found") E ValueError: Pytest terminal summary report not found /usr/lib/python3.11/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_with_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_with_mpi0 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_with_mpi0 plugins: mpi-0.6 collected 5 items test_mpi_with_mpi.py ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_with_mpi0 plugins: mpi-0.6 collected 5 items test_mpi_with_mpi.py ______________________________ test_mpi_only_mpi _______________________________ mpi_testdir = , has_mpi4py = True def test_mpi_only_mpi(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_TEST_CODE) result = mpi_testdir.runpytest("--only-mpi") if has_mpi4py: > result.assert_outcomes(**_fix_plural(passed=2, errors=1, skipped=2)) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_markers.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = lines = ['============================= test session starts ==============================', 'platform linux -- Python 3.11.0,....0', 'rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_only_mpi0', 'plugins: mpi-0.6', 'collected 5 items', '', ...] @classmethod def parse_summary_nouns(cls, lines) -> Dict[str, int]: """Extract the nouns from a pytest terminal summary line. It always returns the plural noun for consistency:: ======= 1 failed, 1 passed, 1 warning, 1 error in 0.13s ==== Will return ``{"failed": 1, "passed": 1, "warnings": 1, "errors": 1}``. """ for line in reversed(lines): if rex_session_duration.search(line): outcomes = rex_outcome.findall(line) ret = {noun: int(count) for (count, noun) in outcomes} break else: > raise ValueError("Pytest terminal summary report not found") E ValueError: Pytest terminal summary report not found /usr/lib/python3.11/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_only_mpi0/runpytest-0 --only-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_only_mpi0 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_only_mpi0 plugins: mpi-0.6 collected 5 items test_mpi_only_mpi.py ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_only_mpi0 plugins: mpi-0.6 collected 5 items test_mpi_only_mpi.py ___________________________ test_mpi_skip_under_mpi ____________________________ mpi_testdir = def test_mpi_skip_under_mpi(mpi_testdir): mpi_testdir.makepyfile(MPI_SKIP_TEST_CODE) result = mpi_testdir.runpytest("--with-mpi") > result.assert_outcomes(skipped=1) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_markers.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = lines = ['============================= test session starts ==============================', 'platform linux -- Python 3.11.0,...'rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_skip_under_mpi0', 'plugins: mpi-0.6', 'collected 1 item', '', ...] @classmethod def parse_summary_nouns(cls, lines) -> Dict[str, int]: """Extract the nouns from a pytest terminal summary line. It always returns the plural noun for consistency:: ======= 1 failed, 1 passed, 1 warning, 1 error in 0.13s ==== Will return ``{"failed": 1, "passed": 1, "warnings": 1, "errors": 1}``. """ for line in reversed(lines): if rex_session_duration.search(line): outcomes = rex_outcome.findall(line) ret = {noun: int(count) for (count, noun) in outcomes} break else: > raise ValueError("Pytest terminal summary report not found") E ValueError: Pytest terminal summary report not found /usr/lib/python3.11/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_skip_under_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_skip_under_mpi0 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_skip_under_mpi0 plugins: mpi-0.6 collected 1 item test_mpi_skip_under_mpi.py s============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_skip_under_mpi0 plugins: mpi-0.6 collected 1 item test_mpi_skip_under_mpi.py [100%]s [100%] ----------------------------- Captured stderr call ----------------------------- Fatal error in internal_Init_thread: Other MPI error, error stack: internal_Init_thread(60)...........: MPI_Init_thread(argc=(nil), argv=(nil), required=3, provided=0x3fff9fff08) failed MPII_Init_thread(209)..............: MPID_Init(75)......................: init_world(190)....................: channel initialization failed MPIDI_CH3_Init(84).................: MPID_nem_init(313).................: MPID_nem_tcp_init(175).............: MPID_nem_tcp_get_business_card(397): GetSockInterfaceAddr(369)..........: gethostbyname failed, fedora-riscv (errno 2) Fatal error in internal_Init_thread: Other MPI error, error stack: internal_Init_thread(60)...........: MPI_Init_thread(argc=(nil), argv=(nil), required=3, provided=0x3fffa66f08) failed MPII_Init_thread(209)..............: MPID_Init(75)......................: init_world(190)....................: channel initialization failed MPIDI_CH3_Init(84).................: MPID_nem_init(313).................: MPID_nem_tcp_init(175).............: MPID_nem_tcp_get_business_card(397): GetSockInterfaceAddr(369)..........: gethostbyname failed, fedora-riscv (errno 2) ___________________________ test_mpi_xfail_under_mpi ___________________________ mpi_testdir = , has_mpi4py = True def test_mpi_xfail_under_mpi(mpi_testdir, has_mpi4py): mpi_testdir.makepyfile(MPI_XFAIL_TEST_CODE) result = mpi_testdir.runpytest("--with-mpi") if has_mpi4py: > result.assert_outcomes(xfailed=1) /builddir/build/BUILD/pytest-mpi-0.6/tests/test_markers.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = lines = ['============================= test session starts ==============================', 'platform linux -- Python 3.11.0,...rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_xfail_under_mpi0', 'plugins: mpi-0.6', 'collected 1 item', '', ...] @classmethod def parse_summary_nouns(cls, lines) -> Dict[str, int]: """Extract the nouns from a pytest terminal summary line. It always returns the plural noun for consistency:: ======= 1 failed, 1 passed, 1 warning, 1 error in 0.13s ==== Will return ``{"failed": 1, "passed": 1, "warnings": 1, "errors": 1}``. """ for line in reversed(lines): if rex_session_duration.search(line): outcomes = rex_outcome.findall(line) ret = {noun: int(count) for (count, noun) in outcomes} break else: > raise ValueError("Pytest terminal summary report not found") E ValueError: Pytest terminal summary report not found /usr/lib/python3.11/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python3 -mpytest --basetemp=/tmp/pytest-of-mockbuild/pytest-0/test_mpi_xfail_under_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_xfail_under_mpi0 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_xfail_under_mpi0 plugins: mpi-0.6 collected 1 item test_mpi_xfail_under_mpi.py ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_mpi_xfail_under_mpi0 plugins: mpi-0.6 collected 1 item test_mpi_xfail_under_mpi.py =========================== short test summary info ============================ FAILED tests/test_fixtures.py::test_mpi_file_name - _pytest.pytester.Pytester... FAILED tests/test_fixtures.py::test_mpi_tmpdir - _pytest.pytester.Pytester.Ti... FAILED tests/test_fixtures.py::test_mpi_tmp_path - _pytest.pytester.Pytester.... FAILED tests/test_markers.py::test_mpi_with_mpi - ValueError: Pytest terminal... FAILED tests/test_markers.py::test_mpi_only_mpi - ValueError: Pytest terminal... FAILED tests/test_markers.py::test_mpi_skip_under_mpi - ValueError: Pytest te... FAILED tests/test_markers.py::test_mpi_xfail_under_mpi - ValueError: Pytest t... =================== 7 failed, 6 passed in 123.05s (0:02:03) ==================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OwtmRQ (%check) Bad exit status from /var/tmp/rpm-tmp.OwtmRQ (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --target noarch --nodeps /builddir/build/SPECS/python-pytest-mpi.spec