name: code run_id: commands[1] env LANG: C.UTF-8 env HOME: /home/jenkins env PATH: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/bin:/opt/pyenv/bin:/tmp/venv-YkpQ/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 604635270 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env cd: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/test env TOX_ENV_NAME: code env TOX_WORK_DIR: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox env TOX_ENV_DIR: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code env VIRTUAL_ENV: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code metadata pid: 2842 cwd: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube allow: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/bin/* cmd: pytest --cov /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/kfadapter --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml exit_code: 0 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube plugins: cov-5.0.0 collected 63 items test/test_kfadapter_conf.py ........ [ 12%] test/test_kfadapter_kfconnect.py ............... [ 36%] test/test_kfadapter_main.py ............................ [ 80%] test/test_kfadapter_util.py .......... [ 96%] test/test_tmgr_logger.py .. [100%] =============================== warnings summary =============================== .tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5 /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask_api/renderers.py:5: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. from flask.globals import _request_ctx_stack -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ---------------------------------------------------------------- kfadapter/__init__.py 0 0 100% kfadapter/kfadapter_conf.py 47 2 96% 63, 91 kfadapter/kfadapter_kfconnect.py 82 22 73% 58, 117-118, 157-164, 196, 215-225, 278-279 kfadapter/kfadapter_main.py 257 29 89% 379-390, 403-404, 410, 496-512 kfadapter/kfadapter_util.py 84 39 54% 65, 106-143, 171-173 kfadapter/tmgr_logger.py 21 3 86% 46-48 ---------------------------------------------------------------- TOTAL 491 95 81% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 80.65% ======================== 63 passed, 1 warning in 1.72s =========================