py39: install_deps> python -I -m pip install coverage pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-0xHC/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-0xHC/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-0xHC/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==24.1,setuptools==70.1.0,wheel==0.43.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-0xHC/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-0xHC/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: install_package_deps> python -I -m pip install hiredis==2.0.0 redis==4.3.6 setuptools py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package/.tox/.tmp/package/1/ricsdl-3.1.3.tar.gz py39: freeze> python -m pip freeze --all py39: async-timeout==4.0.3,coverage==7.6.0,exceptiongroup==1.2.2,hiredis==2.0.0,iniconfig==2.0.0,packaging==24.1,pip==24.1,pluggy==1.5.0,pytest==8.2.2,pytest-cov==5.0.0,redis==4.3.6,ricsdl @ file:///w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package/.tox/.tmp/package/1/ricsdl-3.1.3.tar.gz#sha256=1e779ab3d868f9cb0e35efd6ac097e1499c18e4c7aaae6d83f92690c42f189bf,setuptools==70.1.0,tomli==2.0.1,wheel==0.43.0 py39: commands[0]> pytest --cov ricsdl --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml ============================= test session starts ============================== platform linux -- Python 3.9.13, pytest-8.2.2, pluggy-1.5.0 cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/ric-plt-sdlpy-tox-sonar/ricsdl-package configfile: tox.ini plugins: cov-5.0.0 collected 359 items tests/backend/test_fake_dict_db.py ..................................... [ 10%] ....... [ 12%] tests/backend/test_redis.py ............................................ [ 24%] ........................................................................ [ 44%] ........................................................................ [ 64%] ............................................. [ 77%] tests/test_configuration.py ......... [ 79%] tests/test_syncstorage.py .............................................. [ 92%] ........................... [100%] ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.9.13-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------- ricsdl/__init__.py 4 0 100% ricsdl/backend/__init__.py 24 0 100% ricsdl/backend/dbbackend_abc.py 98 30 69% 34, 39, 44, 49, 54, 59, 64, 72, 77, 85, 90, 95, 100, 105, 110, 115, 121, 130, 139, 145, 154, 161, 171, 176, 184, 192, 211, 216, 221, 226 ricsdl/backend/fake_dict_db.py 176 3 98% 65, 275, 282 ricsdl/backend/redis.py 373 23 94% 74, 81, 97-106, 111, 122-128, 134-136, 139-140, 589-590 ricsdl/configuration.py 51 0 100% ricsdl/exceptions.py 10 0 100% ricsdl/syncstorage.py 191 1 99% 298 ricsdl/syncstorage_abc.py 109 36 67% 60-62, 65, 95, 117, 137, 159, 189, 207, 233, 262, 292, 319, 360, 402, 428, 456, 482, 512, 541, 568, 596, 624, 651, 685, 715, 745, 774, 804, 829, 870, 890, 909, 935, 966 --------------------------------------------------------------- TOTAL 1036 93 91% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 91.02% ============================= 359 passed in 3.87s ============================== py39: commands[1]> coverage xml -i Wrote XML report to coverage.xml py39: OK ✔ in 13.98 seconds flake8: skipped because could not find python interpreter with spec(s): python3.8 py39: OK (13.98=setup[9.26]+cmd[4.35,0.37] seconds) flake8: SKIP (0.32 seconds) congratulations :) (14.36 seconds)