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-Nsow/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: 873044339 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: 2827 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.2.2, 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 65 items test/test_kfadapter_conf.py ........ [ 12%] test/test_kfadapter_kfconnect.py ................ [ 36%] test/test_kfadapter_main.py ............................. [ 81%] 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 75 5 93% 58, 117-118, 197, 219 kfadapter/kfadapter_main.py 275 20 93% 410-412, 425-426, 518-534 kfadapter/kfadapter_util.py 84 38 55% 106-143, 171-173 kfadapter/tmgr_logger.py 21 3 86% 46-48 ---------------------------------------------------------------- TOTAL 502 68 86% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 10% reached. Total coverage: 86.45% ======================== 65 passed, 1 warning in 1.67s =========================