We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm running tests for version 1.0.2 on OpenIndiana (an illumos distro) and I see this failure:
======================================================= test session starts ======================================================== platform sunos5 -- Python 3.9.20, pytest-8.3.3, pluggy-1.5.0 rootdir: /tmp/test/pytest-system-statistics-1.0.2 configfile: pytest.ini testpaths: tests/ plugins: skip-markers-1.5.2, system-statistics-1.0.2 collected 7 items tests/functional/test_syststats.py ....F.. [100%] ============================================================= FAILURES ============================================================= _____________________________________________________ test_basic_sys_stats_uss _____________________________________________________ pytester = <Pytester PosixPath('/tmp/pytest-of-marcel/pytest-6/test_basic_sys_stats_uss0')> @pytest.mark.skip_on_freebsd def test_basic_sys_stats_uss(pytester): pytester.makepyfile( """ def test_one(): assert True """ ) res = pytester.runpytest("-vv", "--sys-stats", "--sys-stats-uss-mem") res.assert_outcomes(passed=1) > res.stdout.fnmatch_lines( [ "* PASSED*", "* Processes Statistics *", "* System - CPU: * % MEM: * % (Virtual Memory)*", "* Test Suite Run - CPU: * % MEM: * % (USS)*", "* 1 passed in *", ] ) E Failed: nomatch: '* PASSED*' E and: '============================= test session starts ==============================' E and: 'platform sunos5 -- Python 3.9.20, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.9' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-marcel/pytest-6/test_basic_sys_stats_uss0' E and: 'plugins: skip-markers-1.5.2, system-statistics-1.0.2' E and: 'collecting ... collected 1 item' E and: '' E fnmatch: '* PASSED*' E with: 'test_basic_sys_stats_uss.py::test_one PASSED [100%]' E fnmatch: '* Processes Statistics *' E with: '----------------------------- Processes Statistics -----------------------------' E fnmatch: '* System - CPU: * % MEM: * % (Virtual Memory)*' E with: ' ........... System - CPU: 29.80 % MEM: 79.50 % (Virtual Memory)' E nomatch: '* Test Suite Run - CPU: * % MEM: * % (USS)*' E and: ' ... Test Suite Run - CPU: 0.00 % MEM: 0.56 % (RSS)' E and: '' E and: '============================== 1 passed in 0.04s ===============================' E remains unmatched: '* Test Suite Run - CPU: * % MEM: * % (USS)*' /tmp/test/pytest-system-statistics-1.0.2/tests/functional/test_syststats.py:108: Failed ------------------------------------------------------- Captured stdout call ------------------------------------------------------- ============================= test session starts ============================== platform sunos5 -- Python 3.9.20, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.9 cachedir: .pytest_cache rootdir: /tmp/pytest-of-marcel/pytest-6/test_basic_sys_stats_uss0 plugins: skip-markers-1.5.2, system-statistics-1.0.2 collecting ... collected 1 item test_basic_sys_stats_uss.py::test_one PASSED [100%] ----------------------------- Processes Statistics ----------------------------- ........... System - CPU: 29.80 % MEM: 79.50 % (Virtual Memory) ... Test Suite Run - CPU: 0.00 % MEM: 0.56 % (RSS) ============================== 1 passed in 0.04s =============================== ===================================================== short test summary info ====================================================== FAILED tests/functional/test_syststats.py::test_basic_sys_stats_uss - Failed: nomatch: '* PASSED*' =================================================== 1 failed, 6 passed in 3.61s ====================================================
Steps to reproduce:
wget https://files.pythonhosted.org/packages/source/p/pytest-system-statistics/pytest-system-statistics-1.0.2.tar.gz
gtar xf pytest-system-statistics-1.0.2.tar.gz
cd pytest-system-statistics-1.0.2
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTEST_PLUGINS="skip-markers,system-statistics" pytest
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I'm running tests for version 1.0.2 on OpenIndiana (an illumos distro) and I see this failure:
Steps to reproduce:
wget https://files.pythonhosted.org/packages/source/p/pytest-system-statistics/pytest-system-statistics-1.0.2.tar.gz
gtar xf pytest-system-statistics-1.0.2.tar.gz
cd pytest-system-statistics-1.0.2
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTEST_PLUGINS="skip-markers,system-statistics" pytest
The text was updated successfully, but these errors were encountered: