Running with gitlab-runner 17.1.0 (fe451d5a)  on osm-cicd-10 S9P1hQmo, system ID: s_0c544012072a Resolving secrets section_start:1741896188:prepare_executor Preparing the "docker" executor Using Docker executor with image python:3.10 ... Pulling docker image python:3.10 ... Using docker image sha256:e83a0177471049be8a4d460a667d09b1a492018302974b111933bf848f900a0e for python:3.10 with digest python@sha256:e70cd7b54564482c0dee8cd6d8e314450aac59ea0ff669ffa715207ea0e04fa6 ... section_end:1741896191:prepare_executor section_start:1741896191:prepare_script Preparing environment Running on runner-s9p1hqmo-project-67-concurrent-4 via osm-cicd-10... section_end:1741896192:prepare_script section_start:1741896192:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Reinitialized existing Git repository in /builds/gitlab/osm/nbi/.git/ Checking out 5f41d78f as detached HEAD (ref is master)... Removing .cache/ Removing .coverage Removing .tox/ Removing cover/ Removing coverage.xml Removing nosetests.xml Skipping Git submodules setup section_end:1741896194:get_sources section_start:1741896194:restore_cache Restoring cache Checking cache for default-protected... No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. Successfully extracted cache section_end:1741896196:restore_cache section_start:1741896196:step_script Executing "step_script" stage of the job script Using docker image sha256:e83a0177471049be8a4d460a667d09b1a492018302974b111933bf848f900a0e for python:3.10 with digest python@sha256:e70cd7b54564482c0dee8cd6d8e314450aac59ea0ff669ffa715207ea0e04fa6 ... $ pip install tox Collecting tox Using cached tox-4.24.2-py3-none-any.whl (172 kB) Collecting chardet>=5.2 Using cached chardet-5.2.0-py3-none-any.whl (199 kB) Collecting filelock>=3.16.1 Using cached filelock-3.17.0-py3-none-any.whl (16 kB) Collecting pyproject-api>=1.8 Using cached pyproject_api-1.9.0-py3-none-any.whl (13 kB) Collecting cachetools>=5.5.1 Using cached cachetools-5.5.2-py3-none-any.whl (10 kB) Collecting tomli>=2.2.1 Using cached tomli-2.2.1-py3-none-any.whl (14 kB) Collecting typing-extensions>=4.12.2 Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting colorama>=0.4.6 Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting pluggy>=1.5 Using cached pluggy-1.5.0-py3-none-any.whl (20 kB) Collecting virtualenv>=20.29.1 Using cached virtualenv-20.29.3-py3-none-any.whl (4.3 MB) Collecting platformdirs>=4.3.6 Using cached platformdirs-4.3.6-py3-none-any.whl (18 kB) Collecting packaging>=24.2 Using cached packaging-24.2-py3-none-any.whl (65 kB) Collecting distlib<1,>=0.3.7 Using cached distlib-0.3.9-py2.py3-none-any.whl (468 kB) Installing collected packages: distlib, typing-extensions, tomli, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox Successfully installed cachetools-5.5.2 chardet-5.2.0 colorama-0.4.6 distlib-0.3.9 filelock-3.17.0 packaging-24.2 platformdirs-4.3.6 pluggy-1.5.0 pyproject-api-1.9.0 tomli-2.2.1 tox-4.24.2 typing-extensions-4.12.2 virtualenv-20.29.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [notice] A new release of pip is available: 23.0.1 -> 25.0.1 [notice] To update, run: pip install --upgrade pip $ tox -e cover cover: install_deps> python -I -m pip install -r /builds/gitlab/osm/nbi/requirements.txt -r /builds/gitlab/osm/nbi/requirements-dev.txt -r /builds/gitlab/osm/nbi/requirements-test.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_editable> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_editable> python -I -m pip install setuptools-version-command .pkg: freeze> python -m pip freeze --all .pkg: pip==25.0.1,setuptools==75.8.0,setuptools-version-command==99.9,wheel==0.45.1 .pkg: build_editable> python /usr/local/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ cover: install_package> python -I -m pip install --force-reinstall --no-deps /builds/gitlab/osm/nbi/.tox/.tmp/package/1/osm_nbi-17.0.0.post15+g5f41d78-0.editable-py3-none-any.whl cover: freeze> python -m pip freeze --all cover: aiohappyeyeballs==2.6.0,aiohttp==3.11.13,aiokafka==0.12.0,aioresponses==0.7.8,aiosignal==1.3.2,async-timeout==4.0.3,asynctest==0.13.0,attrs==25.1.0,autocommand==2.2.2,backports.tarfile==1.2.0,cefevent==0.5.6,certifi==2025.1.31,charset-normalizer==3.4.1,cheroot==10.0.1,CherryPy==18.10.0,coverage==7.6.12,dataclasses==0.6,debtcollector==3.0.0,deepdiff==8.3.0,dnspython==2.7.0,enum34==1.1.10,frozenlist==1.5.0,idna==3.10,iso8601==2.1.0,jaraco.collections==5.1.0,jaraco.context==6.0.1,jaraco.functools==4.1.0,jaraco.text==4.0.0,jsonschema==4.23.0,jsonschema-specifications==2024.10.1,keystoneauth1==5.10.0,lxml==5.3.1,more-itertools==10.6.0,motor==3.7.0,msgpack==1.1.0,multidict==6.1.0,netaddr==1.3.0,nose2==0.15.1,orderly-set==5.3.0,os-service-types==1.7.0,oslo.config==9.7.1,oslo.i18n==6.5.1,oslo.serialization==5.7.0,oslo.utils==8.2.0,osm_common @ git+https://osm.etsi.org/gerrit/osm/common.git@160a7306d681c43d555aa64541530166857590f3,osm_im @ git+https://osm.etsi.org/gerrit/osm/IM.git@18c18dab0ce4b1a7517cfe6b80fde47fc0adc23f,osm_nbi @ file:///builds/gitlab/osm/nbi/.tox/.tmp/package/1/osm_nbi-17.0.0.post15%2Bg5f41d78-0.editable-py3-none-any.whl#sha256=37dbef7480da313b8aebe442cbd1f63993922fb8b91152c58674b8ef6e78550c,packaging==24.2,pbr==6.1.1,pip==25.0.1,portend==3.2.0,propcache==0.3.0,psutil==7.0.0,pyang==2.6.1,pyangbind==0.8.6,pycryptodome==3.21.0,pymongo==4.11.2,pyparsing==3.2.1,pyrage==1.2.4,python-dateutil==2.9.0.post0,python-keystoneclient==5.6.0,PyYAML==6.0.2,referencing==0.36.2,regex==2024.11.6,requests==2.32.3,rfc3986==2.0.0,rpds-py==0.23.1,setuptools==75.8.0,six==1.17.0,stevedore==5.4.1,tacacs-plus==2.6,tempora==5.8.0,typing_extensions==4.12.2,tzdata==2025.1,urllib3==2.3.0,wheel==0.45.1,wrapt==1.17.2,yarl==1.18.3,zc.lockfile==3.0.post1 cover: commands[0]> sh -c 'rm -f nosetests.xml' cover: commands[1]> coverage erase cover: commands[2]> nose2 -C --coverage osm_nbi -s osm_nbi/tests ................................................................................................................................. ---------------------------------------------------------------------- Ran 129 tests in 9.631s OK Name Stmts Miss Cover -------------------------------------------------------------- osm_nbi/__init__.py 7 2 71% osm_nbi/acm_topic.py 186 155 17% osm_nbi/admin_topics.py 801 256 68% osm_nbi/auth.py 414 414 0% osm_nbi/authconn.py 90 43 52% osm_nbi/authconn_internal.py 472 343 27% osm_nbi/authconn_keystone.py 337 303 10% osm_nbi/authconn_tacacs.py 61 39 36% osm_nbi/base_topic.py 365 83 77% osm_nbi/descriptor_topics.py 1118 377 66% osm_nbi/engine.py 211 157 26% osm_nbi/html_out.py 64 64 0% osm_nbi/instance_topics.py 1393 733 47% osm_nbi/k8s_topics.py 745 625 16% osm_nbi/nbi.py 949 949 0% osm_nbi/notifications.py 174 174 0% osm_nbi/osm_vnfm/__init__.py 0 0 100% osm_nbi/osm_vnfm/base_methods.py 6 0 100% osm_nbi/osm_vnfm/vnf_instance_actions.py 90 16 82% osm_nbi/osm_vnfm/vnf_instances.py 99 3 97% osm_nbi/osm_vnfm/vnf_subscription.py 37 31 16% osm_nbi/pmjobs_topics.py 62 4 94% osm_nbi/subscription_topics.py 120 103 14% osm_nbi/subscriptions.py 171 171 0% osm_nbi/tests/pmjob_mocks/response.py 8 0 100% osm_nbi/tests/test_admin_topics.py 754 2 99% osm_nbi/tests/test_base_topic.py 102 6 94% osm_nbi/tests/test_db_descriptors.py 7 0 100% osm_nbi/tests/test_descriptor_topics.py 1104 5 99% osm_nbi/tests/test_instance_topics.py 385 4 99% osm_nbi/tests/test_osm_vnfm.py 101 0 100% osm_nbi/tests/test_pkg_descriptors.py 7 0 100% osm_nbi/tests/test_pmjobs_topic.py 65 0 100% osm_nbi/utils.py 44 4 91% osm_nbi/validation.py 161 2 99% osm_nbi/vnf_instance_topics.py 27 2 93% -------------------------------------------------------------- TOTAL 10737 5070 53% cover: commands[3]> coverage report '--omit=*tests*' Name Stmts Miss Cover -------------------------------------------------------------- osm_nbi/__init__.py 7 2 71% osm_nbi/acm_topic.py 186 155 17% osm_nbi/admin_topics.py 801 256 68% osm_nbi/auth.py 414 414 0% osm_nbi/authconn.py 90 43 52% osm_nbi/authconn_internal.py 472 343 27% osm_nbi/authconn_keystone.py 337 303 10% osm_nbi/authconn_tacacs.py 61 39 36% osm_nbi/base_topic.py 365 83 77% osm_nbi/descriptor_topics.py 1118 377 66% osm_nbi/engine.py 211 157 26% osm_nbi/html_out.py 64 64 0% osm_nbi/instance_topics.py 1393 733 47% osm_nbi/k8s_topics.py 745 625 16% osm_nbi/nbi.py 949 949 0% osm_nbi/notifications.py 174 174 0% osm_nbi/osm_vnfm/__init__.py 0 0 100% osm_nbi/osm_vnfm/base_methods.py 6 0 100% osm_nbi/osm_vnfm/vnf_instance_actions.py 90 16 82% osm_nbi/osm_vnfm/vnf_instances.py 99 3 97% osm_nbi/osm_vnfm/vnf_subscription.py 37 31 16% osm_nbi/pmjobs_topics.py 62 4 94% osm_nbi/subscription_topics.py 120 103 14% osm_nbi/subscriptions.py 171 171 0% osm_nbi/tests/pmjob_mocks/response.py 8 0 100% osm_nbi/tests/test_admin_topics.py 754 2 99% osm_nbi/tests/test_base_topic.py 102 6 94% osm_nbi/tests/test_db_descriptors.py 7 0 100% osm_nbi/tests/test_descriptor_topics.py 1104 5 99% osm_nbi/tests/test_instance_topics.py 385 4 99% osm_nbi/tests/test_osm_vnfm.py 101 0 100% osm_nbi/tests/test_pkg_descriptors.py 7 0 100% osm_nbi/tests/test_pmjobs_topic.py 65 0 100% osm_nbi/utils.py 44 4 91% osm_nbi/validation.py 161 2 99% osm_nbi/vnf_instance_topics.py 27 2 93% -------------------------------------------------------------- TOTAL 10737 5070 53% cover: commands[4]> coverage html -d ./cover '--omit=*tests*' Wrote HTML report to ./cover/index.html cover: commands[5]> coverage xml -o coverage.xml '--omit=*tests*' Wrote XML report to coverage.xml cover: OK (46.11=setup[28.81]+cmd[0.00,0.10,12.13,0.98,2.75,1.34] seconds) congratulations :) (46.68 seconds) section_end:1741896248:step_script section_start:1741896248:archive_cache Saving cache for successful job Creating cache default-protected... .cache/pip: found 2306 matching artifact files and directories No URL provided, cache will not be uploaded to shared cache server. Cache will be stored only locally. Created cache section_end:1741896251:archive_cache section_start:1741896251:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... cover/: found 46 matching artifact files and directories Uploading artifacts as "archive" to coordinator... 201 Created id=110584 responseStatus=201 Created token=glcbt-64 Uploading artifacts... nosetests.xml: found 1 matching artifact files and directories Uploading artifacts as "junit" to coordinator... 201 Created id=110584 responseStatus=201 Created token=glcbt-64 Uploading artifacts... coverage.xml: found 1 matching artifact files and directories Uploading artifacts as "cobertura" to coordinator... 201 Created id=110584 responseStatus=201 Created token=glcbt-64 section_end:1741896253:upload_artifacts_on_success section_start:1741896253:cleanup_file_variables Cleaning up project directory and file based variables section_end:1741896253:cleanup_file_variables Job succeeded