==> Building on k ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 980 100% 0.00kB/s 0:00:00 980 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-pytest-mpi-0.6-1.log 200 100% 195.31kB/s 0:00:00 200 100% 195.31kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 885 bytes received 69 bytes 1,908.00 bytes/sec total size is 1,168 speedup is 1.22 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix4 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change Download Size core/libsysprof-capture 3.42.1-3 3.44.0-1 0.36 MiB 0.11 MiB Total Download Size: 0.11 MiB Total Installed Size: 0.80 MiB Net Upgrade Size: 0.36 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libsysprof-capture-3.44.0-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading libsysprof-capture... [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix4]...done ==> Making package: python-pytest-mpi 0.6-1 (Sun Mar 27 20:01:17 2022) ==> Retrieving sources...  -> Downloading pytest-mpi-0.6.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 35329 100 35329 0 0 30857 0 0:00:01 0:00:01 --:--:-- 30857 ==> Validating source files with sha256sums... pytest-mpi-0.6.tar.gz ... Passed ==> Making package: python-pytest-mpi 0.6-1 (Sun 27 Mar 2022 08:01:33 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (11) New Version Net Change core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.1-2 79.11 MiB community/python-apipkg 2.1.0-1 0.03 MiB extra/python-attrs 21.4.0-1 0.45 MiB community/python-iniconfig 1.1.1-5 0.02 MiB extra/python-packaging 21.0-1 0.26 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-py 1.11.0-1 0.71 MiB extra/python-pyparsing 3.0.7-1 0.96 MiB extra/python-tomli 2.0.1-1 0.08 MiB community/python-pytest 7.1.1-1 2.62 MiB Total Installed Size: 84.39 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-attrs... installing python-iniconfig... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-pluggy... installing python-apipkg... installing python-py... installing python-tomli... installing python-pytest... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (16) New Version Net Change Download Size core/dnssec-anchors 20190629-3 0.00 MiB extra/hwloc 2.7.0-1 1.29 MiB core/ldns 1.8.1-1 1.69 MiB core/libedit 20210910_3.1-1 0.23 MiB core/libevent 2.1.12-1 0.94 MiB core/libnl 3.5.0-3 1.65 MiB extra/libpciaccess 0.16-2 0.05 MiB core/openssh 8.9p1-1 3.51 MiB extra/python-appdirs 1.4.4-6 0.07 MiB community/python-more-itertools 8.12.0-1 0.48 MiB extra/python-ordered-set 4.0.2-6 0.06 MiB extra/openmpi 4.1.2-1 8.29 MiB community/python-mpi4py 3.1.3-1 1.62 MiB community/python-pytest-mpi 0.5-1 0.03 MiB extra/python-setuptools 1:59.1.0-1 2.95 MiB community/python-sybil 3.0.1-1 0.10 MiB 0.03 MiB Total Download Size: 0.03 MiB Total Installed Size: 22.97 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-sybil-3.0.1-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-appdirs... installing python-more-itertools... installing python-ordered-set... installing python-setuptools... installing libpciaccess... installing hwloc... Optional dependencies for hwloc cairo libxml2 [installed] pciutils libx11 installing libedit... installing dnssec-anchors... installing ldns... Optional dependencies for ldns libpcap: ldns-dpa tool installing openssh... Optional dependencies for openssh xorg-xauth: X11 forwarding x11-ssh-askpass: input passphrase in X libfido2: FIDO/U2F support installing libnl... installing libevent... Optional dependencies for libevent python: to use event_rpcgen.py [installed] installing openmpi... Optional dependencies for openmpi gcc-fortran: fortran support installing python-mpi4py... installing python-sybil... installing python-pytest-mpi... [?25h==> Retrieving sources...  -> Found pytest-mpi-0.6.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pytest-mpi-0.6.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/pytest_mpi copying src/pytest_mpi/_helpers.py -> build/lib/pytest_mpi copying src/pytest_mpi/__init__.py -> build/lib/pytest_mpi copying src/pytest_mpi/_version.py -> build/lib/pytest_mpi UPDATING build/lib/pytest_mpi/_version.py set build/lib/pytest_mpi/_version.py to '0.6' ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-pytest-mpi/src/pytest-mpi-0.6 collecting ... collected 10 items tests/test_fixtures.py::test_mpi_file_name FAILED [ 10%] tests/test_fixtures.py::test_mpi_tmpdir FAILED [ 20%] tests/test_fixtures.py::test_mpi_tmp_path FAILED [ 30%] tests/test_markers.py::test_mpi FAILED [ 40%] tests/test_markers.py::test_mpi_with_mpi FAILED [ 50%] tests/test_markers.py::test_mpi_only_mpi FAILED [ 60%] tests/test_markers.py::test_mpi_skip PASSED [ 70%] tests/test_markers.py::test_mpi_skip_under_mpi FAILED [ 80%] tests/test_markers.py::test_mpi_xfail PASSED [ 90%] tests/test_markers.py::test_mpi_xfail_under_mpi FAILED [100%] =================================== FAILURES =================================== ______________________________ test_mpi_file_name ______________________________ 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) if has_mpi4py: > result.assert_outcomes(passed=1) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_fixtures.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_file_name0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_file_name0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_file_name0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_file_name0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54700,1],0] Exit code: 4 -------------------------------------------------------------------------- _______________________________ test_mpi_tmpdir ________________________________ 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) if has_mpi4py: > result.assert_outcomes(passed=1) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_fixtures.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_tmpdir0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmpdir0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmpdir0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmpdir0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54688,1],0] Exit code: 4 -------------------------------------------------------------------------- ______________________________ test_mpi_tmp_path _______________________________ 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) if has_mpi4py: > result.assert_outcomes(passed=1) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_fixtures.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_tmp_path0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmp_path0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmp_path0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_tmp_path0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54708,1],0] Exit code: 4 -------------------------------------------------------------------------- ___________________________________ test_mpi ___________________________________ testdir = def test_mpi(testdir): testdir.makepyfile(MPI_TEST_CODE) result = testdir.runpytest() > result.assert_outcomes(skipped=4, passed=1) E AssertionError: assert {'errors': 0,\n 'failed': 2,\n 'passed': 3,\n 'skipped': 0,\n 'xfailed': 0,\n 'xpassed': 0} == {'errors': 0,\n 'failed': 0,\n 'passed': 1,\n 'skipped': 4,\n 'xfailed': 0,\n 'xpassed': 0} E Common items: E {'errors': 0, 'xfailed': 0, 'xpassed': 0} E Differing items: E {'passed': 3} != {'passed': 1} E {'skipped': 0} != {'skipped': 4} E {'failed': 2} != {'failed': 0} E Full diff: E { E 'errors': 0, E - 'failed': 0, E ? ^ E + 'failed': 2, E ? ^ E - 'passed': 1, E ? ^ E + 'passed': 3, E ? ^ E - 'skipped': 4, E ? ^ E + 'skipped': 0, E ? ^ E 'xfailed': 0, E 'xpassed': 0, E } /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_markers.py:63: AssertionError ----------------------------- Captured stdout call ----------------------------- running: /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi0/runpytest-0 --basetemp=/tmp/pytest-of-builduser/pytest-0/basetemp in: /tmp/pytest-of-builduser/pytest-0/test_mpi0 ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-7.1.1, pluggy-1.0.0 rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi0 collected 5 items test_mpi.py .FF.. [100%] =================================== FAILURES =================================== _______________________________ test_size_min_2 ________________________________ @pytest.mark.mpi(min_size=2) def test_size_min_2(): from mpi4py import MPI comm = MPI.COMM_WORLD > assert comm.size >= 2 E assert 1 >= 2 E + where 1 = .size test_mpi.py:15: AssertionError _______________________________ test_size_min_4 ________________________________ @pytest.mark.mpi(min_size=4) def test_size_min_4(): from mpi4py import MPI comm = MPI.COMM_WORLD > assert comm.size >= 4 E assert 1 >= 4 E + where 1 = .size test_mpi.py:22: AssertionError =============================== warnings summary =============================== test_mpi.py:3 /tmp/pytest-of-builduser/pytest-0/test_mpi0/test_mpi.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.mpi - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.mpi test_mpi.py:10 /tmp/pytest-of-builduser/pytest-0/test_mpi0/test_mpi.py:10: PytestUnknownMarkWarning: Unknown pytest.mark.mpi - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.mpi(min_size=2) test_mpi.py:17 /tmp/pytest-of-builduser/pytest-0/test_mpi0/test_mpi.py:17: PytestUnknownMarkWarning: Unknown pytest.mark.mpi - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.mpi(min_size=4) test_mpi.py:24 /tmp/pytest-of-builduser/pytest-0/test_mpi0/test_mpi.py:24: PytestUnknownMarkWarning: Unknown pytest.mark.mpi - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.mpi(2) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_mpi.py::test_size_min_2 - assert 1 >= 2 FAILED test_mpi.py::test_size_min_4 - assert 1 >= 4 =================== 2 failed, 3 passed, 4 warnings in 1.09s ==================== ______________________________ 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)) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_markers.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_with_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_with_mpi0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_with_mpi0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_with_mpi0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54749,1],0] Exit code: 4 -------------------------------------------------------------------------- ______________________________ 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)) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_markers.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_only_mpi0/runpytest-0 --only-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_only_mpi0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --only-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_only_mpi0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --only-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_only_mpi0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54737,1],0] Exit code: 4 -------------------------------------------------------------------------- ___________________________ 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) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_markers.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_skip_under_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_skip_under_mpi0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_skip_under_mpi0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_skip_under_mpi0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54758,1],0] Exit code: 4 -------------------------------------------------------------------------- ___________________________ 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) /build/python-pytest-mpi/src/pytest-mpi-0.6/tests/test_markers.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/_pytest/pytester.py:567: in parseoutcomes return self.parse_summary_nouns(self.outlines) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = , lines = [] @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.10/site-packages/_pytest/pytester.py:585: ValueError ----------------------------- Captured stdout call ----------------------------- running: mpirun -n 2 /usr/bin/python -mpytest --basetemp=/tmp/pytest-of-builduser/pytest-0/test_mpi_xfail_under_mpi0/runpytest-0 --with-mpi in: /tmp/pytest-of-builduser/pytest-0/test_mpi_xfail_under_mpi0 ----------------------------- Captured stderr call ----------------------------- ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_xfail_under_mpi0 ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --with-mpi inifile: None rootdir: /tmp/pytest-of-builduser/pytest-0/test_mpi_xfail_under_mpi0 -------------------------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code. Per user-direction, the job has been aborted. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[54543,1],0] Exit code: 4 -------------------------------------------------------------------------- =========================== short test summary info ============================ FAILED tests/test_fixtures.py::test_mpi_file_name - ValueError: Pytest termin... FAILED tests/test_fixtures.py::test_mpi_tmpdir - ValueError: Pytest terminal ... FAILED tests/test_fixtures.py::test_mpi_tmp_path - ValueError: Pytest termina... FAILED tests/test_markers.py::test_mpi - AssertionError: assert {'errors': 0,... 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... ========================= 8 failed, 2 passed in 33.14s ========================= ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix4/build receiving incremental file list python-pytest-mpi-0.6-1-riscv64-build.log python-pytest-mpi-0.6-1-riscv64-check.log sent 62 bytes received 3,160 bytes 6,444.00 bytes/sec total size is 29,126 speedup is 9.04