code: install_deps> python -I -m pip install coverage Flask Flask-API Flask-Cors kfp kfp-pipeline-spec kfp-server-api==1.8.5 mock pytest pytest-cov requests Werkzeug==2.2.2 code: freeze> python -m pip freeze --all code: absl-py==1.4.0,attrs==24.2.0,cachetools==5.5.0,certifi==2024.8.30,charset-normalizer==3.3.2,click==8.1.7,cloudpickle==2.2.1,coverage==7.6.1,Deprecated==1.2.14,docstring_parser==0.16,exceptiongroup==1.2.2,fire==0.6.0,Flask==2.2.5,Flask-API==3.1,Flask-Cors==5.0.0,google-api-core==2.19.2,google-api-python-client==1.12.11,google-auth==2.34.0,google-auth-httplib2==0.2.0,google-cloud-core==2.4.1,google-cloud-storage==2.18.2,google-crc32c==1.6.0,google-resumable-media==2.7.2,googleapis-common-protos==1.65.0,httplib2==0.22.0,idna==3.10,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.4,jsonschema==4.23.0,jsonschema-specifications==2023.12.1,kfp==1.8.22,kfp-pipeline-spec==0.1.16,kfp-server-api==1.8.5,kubernetes==25.3.0,markdown-it-py==3.0.0,MarkupSafe==2.1.5,mdurl==0.1.2,mock==5.1.0,oauthlib==3.2.2,packaging==24.1,pip==24.2,pluggy==1.5.0,proto-plus==1.24.0,protobuf==3.20.3,pyasn1==0.6.1,pyasn1_modules==0.4.1,pydantic==1.10.18,Pygments==2.18.0,pyparsing==3.1.4,pytest==8.3.3,pytest-cov==5.0.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,referencing==0.35.1,requests==2.32.3,requests-oauthlib==2.0.0,requests-toolbelt==0.10.1,rich==13.8.1,rpds-py==0.20.0,rsa==4.9,setuptools==75.1.0,shellingham==1.5.4,six==1.16.0,strip-hints==0.1.10,tabulate==0.9.0,termcolor==2.4.0,tomli==2.0.1,typer==0.12.5,typing_extensions==4.12.2,uritemplate==3.0.1,urllib3==1.26.20,websocket-client==1.8.0,Werkzeug==2.2.2,wheel==0.44.0,wrapt==1.16.0 code: commands[0]> pip3 install /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube Looking in indexes: https://nexus3.o-ran-sc.org/repository/PyPi/simple Processing /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Building wheels for collected packages: kfadapter Building wheel for kfadapter (setup.py): started Building wheel for kfadapter (setup.py): finished with status 'done' Created wheel for kfadapter: filename=kfadapter-0.1-py3-none-any.whl size=24257 sha256=0e21b9ab8a72adad01e9b6343012804941fdd1b501717e90503b4a4705f143f0 Stored in directory: /home/jenkins/.cache/pip/wheels/e4/a1/f2/e3c7a4c5a4901491eea701dc46ce3a58657913c134baa5ad1b Successfully built kfadapter Installing collected packages: kfadapter Successfully installed kfadapter-0.1 code: commands[1]> 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 ============================= 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.76s ========================= code: commands[2]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 31.57 seconds docs: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' docs: freeze> python -m pip freeze --all docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,tomli==2.0.1,urllib3==1.26.20,webcolors==24.8.0,wheel==0.44.0 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/docs/_build/html Running Sphinx v7.4.7 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. loading intersphinx inventory 'aimlfw-dep' from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in docs/_build/html. docs: commands[1]> echo 'Generated docs available in /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/docs/_build/html' Generated docs available in /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/docs/_build/html docs: OK ✔ in 25.51 seconds docs-linkcheck: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,docutils==0.20.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pillow==10.4.0,pip==24.2,Pygments==2.18.0,pyparsing==3.1.4,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.4.7,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,tomli==2.0.1,urllib3==1.26.20,webcolors==24.8.0,wheel==0.44.0 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/aiml-fw-athp-tps-kubeflow-adapter-tox-sonarqube/docs/_build/linkcheck Running Sphinx v7.4.7 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. loading intersphinx inventory 'aimlfw-dep' from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [linkcheck]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying assets: done writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes (installation-guide: line 39) ok https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/index.html build succeeded. Look for any errors in the above output or in docs/_build/linkcheck/output.txt code: OK (31.57=setup[27.77]+cmd[1.37,2.25,0.18] seconds) docs: OK (25.50=setup[23.73]+cmd[1.77,0.00] seconds) docs-linkcheck: OK (18.28=setup[17.34]+cmd[0.94] seconds) congratulations :) (75.52 seconds)