Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/136881 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-11223 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/integration-python-onapsdk-pypi-verify-master [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-gxeQCSDWiWda/agent.1712 SSH_AGENT_PID=1714 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/private_key_161816058178292690.key (/w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/private_key_161816058178292690.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/integration/python-onapsdk > git init /w/workspace/integration-python-onapsdk-pypi-verify-master # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk refs/changes/81/136881/1 # timeout=10 > git rev-parse f3eae2a44c823022e4d5438e3d523dcb3015dac1^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision f3eae2a44c823022e4d5438e3d523dcb3015dac1 (refs/changes/81/136881/1) > git config core.sparsecheckout # timeout=10 > git checkout -f f3eae2a44c823022e4d5438e3d523dcb3015dac1 # timeout=10 Commit message: "Issue-ID: TEST-414 Signed-off-by: Abhishek Patil Change-Id: If15b480a5fd748dc664e1234d3af5bda0b7c87a8" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 401776ed54bfdcb1e0a69a4eef7d2ef46425fd37 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins11383572953682218270.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ql1a lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ql1a/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-ql1a/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.16 botocore==1.34.16 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins14220165784943328927.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-ban6 + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/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 + PATH=/opt/pyenv/bin:/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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/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 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/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 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-ban6 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ban6' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ban6 + echo /tmp/venv-ban6 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-ban6/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-ban6/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-ban6/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-ban6/bin to PATH + PATH=/tmp/venv-ban6/bin:/opt/pyenv/shims:/opt/pyenv/bin:/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 + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 23.3.2 from /tmp/venv-ban6/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.4 urllib3==1.26.18 virtualenv==20.25.0 [integration-python-onapsdk-pypi-verify-master] $ /bin/sh -xe /tmp/jenkins2023135927371908000.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins17699829534523180226.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/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 + ARCHIVE_TOX_DIR=/w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/integration-python-onapsdk-pypi-verify-master/archives/docs + mkdir -p /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox + cd /w/workspace/integration-python-onapsdk-pypi-verify-master/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-GQcj + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/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 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/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 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/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 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-ban6 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ban6 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ban6 from file:/tmp/.toxenv + /tmp/venv-ban6/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-ban6/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-ban6/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-ban6/bin to PATH + PATH=/tmp/venv-ban6/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/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 + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-ban6/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/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 + PATH=/opt/pyenv/bin:/tmp/venv-ban6/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/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 ++ pwd + PYTHONPATH=/w/workspace/integration-python-onapsdk-pypi-verify-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.11.4 from /tmp/venv-ban6/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tee -a /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/tox.log + tox py38: install_deps> python -I -m pip install -r test-requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_sdist> python -I -m pip install pytest-runner==5.2 .pkg: get_requires_for_build_wheel> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install pytest-runner==5.2 wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,pytest-runner==5.2,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py38: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 py38: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/.tmp/package/1/onapsdk-12.8.0.tar.gz py38: freeze> python -m pip freeze --all py38: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,importlib-resources==6.1.1,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0,zipp==3.17.0 py38: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules ============================= test session starts ============================== platform linux -- Python 3.8.15, pytest-7.4.4, pluggy-1.3.0 -- /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache rootdir: /w/workspace/integration-python-onapsdk-pypi-verify-master configfile: setup.cfg plugins: requests-mock-1.11.0, cov-4.1.0 collecting ... collected 763 items tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 0%] tests/test_aai_complex.py::test_complex PASSED [ 0%] tests/test_aai_complex.py::test_complex_update PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 1%] tests/test_aai_complex.py::test_complex_delete PASSED [ 1%] tests/test_aai_complex.py::test_complex_count PASSED [ 1%] tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 1%] tests/test_aai_customer.py::test_customers_get_all PASSED [ 1%] tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 2%] tests/test_aai_customer.py::test_customer_create PASSED [ 2%] tests/test_aai_customer.py::test_customer_delete PASSED [ 2%] tests/test_aai_customer.py::test_customer_update PASSED [ 2%] tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] tests/test_aai_customer.py::test_customer_url PASSED [ 3%] tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] tests/test_aai_customer.py::test_availability_zones PASSED [ 3%] tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 3%] tests/test_aai_customer.py::test_add_availability_zone PASSED [ 3%] tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 3%] tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] tests/test_aai_customer.py::test_customer_count PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 5%] tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_all PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] tests/test_aai_platform.py::test_platform_create PASSED [ 7%] tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] tests/test_aai_platform.py::test_platform_url PASSED [ 7%] tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] tests/test_aai_project.py::test_project_get_all PASSED [ 8%] tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] tests/test_aai_project.py::test_project_create PASSED [ 9%] tests/test_aai_project.py::test_project_count PASSED [ 9%] tests/test_aai_project.py::test_project_url PASSED [ 9%] tests/test_aai_project.py::test_project_delete PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 10%] tests/test_aai_resource.py::test_get_guis PASSED [ 10%] tests/test_aai_service.py::test_init PASSED [ 10%] tests/test_aai_service.py::test_class_variables PASSED [ 10%] tests/test_aai_service.py::test_customers PASSED [ 10%] tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions PASSED [ 11%] tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] tests/test_aai_service.py::test_tenants_info PASSED [ 11%] tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] tests/test_aai_service.py::test_create_complex PASSED [ 11%] tests/test_aai_service.py::test_filter_none_value PASSED [ 12%] tests/test_aai_service.py::test_add_relationship PASSED [ 12%] tests/test_aai_service.py::test_delete_relationship PASSED [ 12%] tests/test_aai_service.py::test_service_url PASSED [ 12%] tests/test_aai_service.py::test_service_create PASSED [ 12%] tests/test_aai_service.py::test_model_init PASSED [ 12%] tests/test_aai_service.py::test_model_url PASSED [ 12%] tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] tests/test_aai_service.py::test_model_get_all PASSED [ 13%] tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 13%] tests/test_aai_service.py::test_service_instance_create PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 15%] tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 15%] tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 15%] tests/test_aai_service_subscription.py::test_tenants PASSED [ 15%] tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_cell FAILED [ 16%] =================================== FAILURES =================================== _______________________ test_site_resource_link_to_cell ________________________ mock_add_relationship = @patch("onapsdk.aai.network.site_resource.SiteResource.add_relationship") def test_site_resource_link_to_cell(mock_add_relationship): cell = MagicMock(cell_id="test-cell-id", url="test-cell-url") site_resource = SiteResource("test-site-resource") > site_resource.link_to_cell(cell) E AttributeError: 'SiteResource' object has no attribute 'link_to_cell' tests/test_aai_site_resource.py:111: AttributeError ---------- coverage: platform linux, python 3.8.15-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------- src/onapsdk/__init__.py 0 0 100% src/onapsdk/aai/__init__.py 0 0 100% src/onapsdk/aai/aai_element.py 90 0 100% src/onapsdk/aai/bulk.py 26 0 100% src/onapsdk/aai/business/__init__.py 12 0 100% src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 src/onapsdk/aai/business/instance.py 10 0 100% src/onapsdk/aai/business/line_of_business.py 31 0 100% src/onapsdk/aai/business/network.py 42 2 95% 156, 166 src/onapsdk/aai/business/owning_entity.py 46 0 100% src/onapsdk/aai/business/platform.py 30 0 100% src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 src/onapsdk/aai/business/project.py 30 0 100% src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 src/onapsdk/aai/business/vf_module.py 43 29 33% 78-95, 119, 129, 139-150, 166, 198-199 src/onapsdk/aai/business/vnf.py 127 51 60% 247, 257, 267-270, 283-294, 387, 413-419, 429, 438, 455-469, 491-526, 544-545 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% src/onapsdk/aai/cloud_infrastructure/tenant.py 17 2 88% 72, 101 src/onapsdk/aai/mixins/__init__.py 0 0 100% src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 src/onapsdk/aai/mixins/link_to_tenant.py 11 5 55% 21, 36-47, 58-69 src/onapsdk/aai/network/__init__.py 1 0 100% src/onapsdk/aai/network/site_resource.py 47 1 98% 103 src/onapsdk/aai/service_design_and_creation.py 41 0 100% src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% src/onapsdk/cds/__init__.py 3 0 100% src/onapsdk/cds/blueprint.py 220 114 48% 72, 86, 97, 111, 128, 137, 146, 158, 170-173, 182-183, 240-246, 266-277, 287-298, 308-318, 328, 344-366, 399-406, 416, 428-438, 447, 469-473, 483, 502, 535-539, 549, 561-564, 574-577, 587-592, 605-610, 619-627, 631, 642, 658-659, 670-673, 689-692, 714-716, 735-741, 756-759, 773-776, 801, 826 src/onapsdk/cds/blueprint_model.py 46 31 33% 57-68, 93-114, 133-155, 167-173, 193-199, 207-215, 219 src/onapsdk/cds/blueprint_processor.py 6 1 83% 42 src/onapsdk/cds/cds_element.py 14 5 64% 40-47 src/onapsdk/cds/data_dictionary.py 63 35 44% 39-42, 53, 67, 86, 96, 106-107, 118-119, 146, 173-184, 197, 207, 218, 229-231, 239-240, 259-269 src/onapsdk/clamp/__init__.py 0 0 100% src/onapsdk/clamp/clamp_element.py 28 13 54% 33, 50-56, 71-79 src/onapsdk/clamp/loop_instance.py 146 110 25% 42-45, 50-52, 57, 67-71, 75-80, 91-95, 105-114, 118-122, 138-159, 170-172, 183-190, 209-213, 217-237, 242-243, 247-248, 264-277, 282-283, 287-288, 292-293, 306-312, 322-334, 338-339, 345-347 src/onapsdk/configuration/__init__.py 2 0 100% src/onapsdk/configuration/global_settings.py 47 0 100% src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 src/onapsdk/constants.py 33 0 100% src/onapsdk/cps/__init__.py 3 0 100% src/onapsdk/cps/anchor.py 29 13 55% 22, 36-38, 61, 67, 80, 103, 124, 143, 160, 183, 201 src/onapsdk/cps/cps_element.py 6 0 100% src/onapsdk/cps/dataspace.py 63 30 52% 36-37, 56, 66-71, 85-92, 106-112, 126-134, 146-159, 175-181, 192, 210-216, 246-255, 259 src/onapsdk/cps/schemaset.py 19 6 68% 23, 53-56, 70 src/onapsdk/dmaap/__init__.py 0 0 100% src/onapsdk/dmaap/dmaap.py 25 6 76% 42, 59-60, 75, 81, 101 src/onapsdk/dmaap/dmaap_service.py 4 0 100% src/onapsdk/exceptions.py 26 2 92% 60, 70 src/onapsdk/k8s/__init__.py 6 0 100% src/onapsdk/k8s/connectivity_info.py 23 13 43% 34-38, 48, 61-67, 90-103 src/onapsdk/k8s/definition.py 109 70 36% 33-35, 45, 54-55, 88-100, 110, 120-136, 159, 178-182, 191-201, 232-235, 245-248, 268-274, 301-316, 325-337, 359-382, 391-396, 417-424, 442-447, 468-481, 493-500 src/onapsdk/k8s/instance.py 141 85 40% 39-45, 68-69, 79, 114-120, 130, 140-155, 167-181, 190-192, 209-214, 231-234, 254-259, 276-279, 286-293, 305, 343-347, 357-360, 377-383, 413-431, 460-478, 502-519, 528-531, 551-558, 575-583, 608-614 src/onapsdk/k8s/k8splugin_service.py 54 28 48% 39-42, 55-59, 74-77, 106-118, 138, 156 src/onapsdk/k8s/region.py 30 13 57% 45-47, 65-68, 72, 77-78, 99-107 src/onapsdk/msb/__init__.py 3 0 100% src/onapsdk/msb/esr.py 7 1 86% 63 src/onapsdk/msb/k8s/__init__.py 4 0 100% src/onapsdk/msb/k8s/connectivity_info.py 3 0 100% src/onapsdk/msb/k8s/definition.py 3 0 100% src/onapsdk/msb/k8s/instance.py 3 0 100% src/onapsdk/msb/k8s/k8splugin_msb_service.py 3 0 100% src/onapsdk/msb/msb_service.py 6 0 100% src/onapsdk/msb/multicloud.py 9 2 78% 36, 51 src/onapsdk/nbi/__init__.py 1 0 100% src/onapsdk/nbi/nbi.py 139 81 42% 43-53, 78-85, 107-111, 132-137, 170-177, 204-210, 226-228, 238-240, 278-290, 332-337, 347-353, 363-371, 398-416, 438-446, 458, 470, 482, 494 src/onapsdk/onap_service.py 126 70 44% 74-76, 125-201, 205-206, 245-247, 277-292, 308, 326-334, 339 src/onapsdk/sdc/__init__.py 178 95 47% 37-38, 51-53, 150-156, 167-187, 197-232, 243-250, 260-263, 268-270, 275-277, 282-284, 289, 294, 299, 303-305, 309-317, 322-346, 363-371 src/onapsdk/sdc/category_management.py 99 55 44% 44-52, 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 src/onapsdk/sdc/pnf.py 21 10 52% 54-58, 62-64, 72-74 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 src/onapsdk/sdc/sdc_element.py 67 34 49% 31-32, 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 src/onapsdk/sdc/sdc_resource.py 317 217 32% 48-69, 84-86, 91-93, 98, 103, 107, 111-143, 157, 167, 187-189, 200, 211, 222, 237, 250, 263, 277-278, 288-293, 323-331, 350-365, 372-374, 377-379, 383-396, 401, 411, 422, 433, 444, 455, 469, 481-485, 509-514, 526, 551-556, 577-580, 599-614, 630-641, 655-662, 673-675, 691, 708, 721, 740-744, 761-765, 776-777, 796-798, 821-829, 843-847, 869-872, 894-895, 909-912, 916-919, 923-926, 936-959, 963, 971 src/onapsdk/sdc/service.py 358 224 37% 78, 160-181, 194-198, 214-218, 231-249, 254-256, 261, 266-268, 280-283, 295-304, 324-361, 379, 384, 389, 394, 409-411, 423-425, 437-439, 449, 460, 471, 482, 493, 504, 519, 531-540, 544, 556-561, 565, 569, 573-574, 580-581, 587-588, 594-595, 601-602, 608-616, 620-629, 633-655, 660-665, 670-676, 680-691, 702, 706-709, 719-721, 725, 730, 735, 757-769, 782-798, 804-805, 812, 817, 835-844, 864-883, 901-903, 922-924, 936-938 src/onapsdk/sdc/vendor.py 46 25 46% 46-47, 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 src/onapsdk/sdc/vl.py 9 3 67% 39-41 src/onapsdk/sdc/vsp.py 157 106 32% 54-58, 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 157-161, 166, 171-173, 178, 182-185, 189-195, 203-212, 218-222, 226-231, 244-249, 278-282, 286-293, 297-304, 308-312, 323, 337-341, 355, 364-373 src/onapsdk/sdnc/__init__.py 1 0 100% src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 src/onapsdk/sdnc/topology.py 66 43 35% 54-61, 82-91, 115-124, 148, 171-173, 192-204, 214-226, 235-250, 258-274 src/onapsdk/so/__init__.py 0 0 100% src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 src/onapsdk/so/instantiation.py 330 186 44% 86, 126, 176, 215-220, 257-259, 279-280, 318-349, 375-377, 401-402, 418-448, 462-475, 505-529, 569-615, 655-697, 727-728, 744-775, 789-802, 833-876, 912-918, 952-976, 1038-1080, 1109-1146, 1171-1182, 1206-1207, 1233-1260, 1297-1321 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 src/onapsdk/so/so_db_adapter.py 34 6 82% 71-84, 94-98 src/onapsdk/so/so_element.py 91 36 60% 47, 52-53, 58-69, 74-91, 96-99, 110, 121-128, 175-186, 198, 210, 222, 234-245 src/onapsdk/utils/__init__.py 8 4 50% 26, 38-40 src/onapsdk/utils/configuration.py 3 1 67% 20 src/onapsdk/utils/gui.py 13 1 92% 34 src/onapsdk/utils/headers_creator.py 63 11 83% 58, 77, 96, 222-230 src/onapsdk/utils/jinja.py 3 0 100% src/onapsdk/utils/mixins.py 28 14 50% 64-67, 89-99 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 src/onapsdk/version.py 1 0 100% src/onapsdk/ves/__init__.py 0 0 100% src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 src/onapsdk/ves/ves_service.py 4 0 100% src/onapsdk/vid/__init__.py 1 0 100% src/onapsdk/vid/vid.py 40 14 65% 39-41, 63-72, 86-87, 101-102, 116-117, 131-132 ------------------------------------------------------------------------------------------------- TOTAL 5063 2126 58% FAIL Required test coverage of 98% not reached. Total coverage: 58.01% =========================== short test summary info ============================ FAILED tests/test_aai_site_resource.py::test_site_resource_link_to_cell - Att... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ======================== 1 failed, 124 passed in 4.27s ========================= py38: exit 1 (4.94 seconds) /w/workspace/integration-python-onapsdk-pypi-verify-master> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=2857 py38: FAIL ✖ in 30.11 seconds py39: install_deps> python -I -m pip install -r test-requirements.txt py39: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/.tmp/package/2/onapsdk-12.8.0.tar.gz py39: freeze> python -m pip freeze --all py39: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0 py39: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules ============================= test session starts ============================== platform linux -- Python 3.9.15, pytest-7.4.4, pluggy-1.3.0 -- /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/integration-python-onapsdk-pypi-verify-master configfile: setup.cfg plugins: requests-mock-1.11.0, cov-4.1.0 collecting ... collected 763 items tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 0%] tests/test_aai_complex.py::test_complex PASSED [ 0%] tests/test_aai_complex.py::test_complex_update PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 1%] tests/test_aai_complex.py::test_complex_delete PASSED [ 1%] tests/test_aai_complex.py::test_complex_count PASSED [ 1%] tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 1%] tests/test_aai_customer.py::test_customers_get_all PASSED [ 1%] tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 2%] tests/test_aai_customer.py::test_customer_create PASSED [ 2%] tests/test_aai_customer.py::test_customer_delete PASSED [ 2%] tests/test_aai_customer.py::test_customer_update PASSED [ 2%] tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] tests/test_aai_customer.py::test_customer_url PASSED [ 3%] tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] tests/test_aai_customer.py::test_availability_zones PASSED [ 3%] tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 3%] tests/test_aai_customer.py::test_add_availability_zone PASSED [ 3%] tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 3%] tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] tests/test_aai_customer.py::test_customer_count PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 5%] tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_all PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] tests/test_aai_platform.py::test_platform_create PASSED [ 7%] tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] tests/test_aai_platform.py::test_platform_url PASSED [ 7%] tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] tests/test_aai_project.py::test_project_get_all PASSED [ 8%] tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] tests/test_aai_project.py::test_project_create PASSED [ 9%] tests/test_aai_project.py::test_project_count PASSED [ 9%] tests/test_aai_project.py::test_project_url PASSED [ 9%] tests/test_aai_project.py::test_project_delete PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 10%] tests/test_aai_resource.py::test_get_guis PASSED [ 10%] tests/test_aai_service.py::test_init PASSED [ 10%] tests/test_aai_service.py::test_class_variables PASSED [ 10%] tests/test_aai_service.py::test_customers PASSED [ 10%] tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions PASSED [ 11%] tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] tests/test_aai_service.py::test_tenants_info PASSED [ 11%] tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] tests/test_aai_service.py::test_create_complex PASSED [ 11%] tests/test_aai_service.py::test_filter_none_value PASSED [ 12%] tests/test_aai_service.py::test_add_relationship PASSED [ 12%] tests/test_aai_service.py::test_delete_relationship PASSED [ 12%] tests/test_aai_service.py::test_service_url PASSED [ 12%] tests/test_aai_service.py::test_service_create PASSED [ 12%] tests/test_aai_service.py::test_model_init PASSED [ 12%] tests/test_aai_service.py::test_model_url PASSED [ 12%] tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] tests/test_aai_service.py::test_model_get_all PASSED [ 13%] tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 13%] tests/test_aai_service.py::test_service_instance_create PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 15%] tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 15%] tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 15%] tests/test_aai_service_subscription.py::test_tenants PASSED [ 15%] tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_cell FAILED [ 16%] =================================== FAILURES =================================== _______________________ test_site_resource_link_to_cell ________________________ mock_add_relationship = @patch("onapsdk.aai.network.site_resource.SiteResource.add_relationship") def test_site_resource_link_to_cell(mock_add_relationship): cell = MagicMock(cell_id="test-cell-id", url="test-cell-url") site_resource = SiteResource("test-site-resource") > site_resource.link_to_cell(cell) E AttributeError: 'SiteResource' object has no attribute 'link_to_cell' tests/test_aai_site_resource.py:111: AttributeError ---------- coverage: platform linux, python 3.9.15-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------- src/onapsdk/__init__.py 0 0 100% src/onapsdk/aai/__init__.py 0 0 100% src/onapsdk/aai/aai_element.py 90 0 100% src/onapsdk/aai/bulk.py 26 0 100% src/onapsdk/aai/business/__init__.py 12 0 100% src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 src/onapsdk/aai/business/instance.py 10 0 100% src/onapsdk/aai/business/line_of_business.py 31 0 100% src/onapsdk/aai/business/network.py 42 2 95% 156, 166 src/onapsdk/aai/business/owning_entity.py 46 0 100% src/onapsdk/aai/business/platform.py 30 0 100% src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 src/onapsdk/aai/business/project.py 30 0 100% src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 src/onapsdk/aai/business/vf_module.py 43 29 33% 78-95, 119, 129, 139-150, 166, 198-199 src/onapsdk/aai/business/vnf.py 127 51 60% 247, 257, 267-270, 283-294, 387, 413-419, 429, 438, 455-469, 491-526, 544-545 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% src/onapsdk/aai/cloud_infrastructure/tenant.py 17 2 88% 72, 101 src/onapsdk/aai/mixins/__init__.py 0 0 100% src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 src/onapsdk/aai/mixins/link_to_tenant.py 11 5 55% 21, 36-47, 58-69 src/onapsdk/aai/network/__init__.py 1 0 100% src/onapsdk/aai/network/site_resource.py 47 1 98% 103 src/onapsdk/aai/service_design_and_creation.py 41 0 100% src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% src/onapsdk/cds/__init__.py 3 0 100% src/onapsdk/cds/blueprint.py 220 114 48% 72, 86, 97, 111, 128, 137, 146, 158, 170-173, 182-183, 240-246, 266-277, 287-298, 308-318, 328, 344-366, 399-406, 416, 428-438, 447, 469-473, 483, 502, 535-539, 549, 561-564, 574-577, 587-592, 605-610, 619-627, 631, 642, 658-659, 670-673, 689-692, 714-716, 735-741, 756-759, 773-776, 801, 826 src/onapsdk/cds/blueprint_model.py 46 31 33% 57-68, 93-114, 133-155, 167-173, 193-199, 207-215, 219 src/onapsdk/cds/blueprint_processor.py 6 1 83% 42 src/onapsdk/cds/cds_element.py 14 5 64% 40-47 src/onapsdk/cds/data_dictionary.py 63 35 44% 39-42, 53, 67, 86, 96, 106-107, 118-119, 146, 173-184, 197, 207, 218, 229-231, 239-240, 259-269 src/onapsdk/clamp/__init__.py 0 0 100% src/onapsdk/clamp/clamp_element.py 28 13 54% 33, 50-56, 71-79 src/onapsdk/clamp/loop_instance.py 146 110 25% 42-45, 50-52, 57, 67-71, 75-80, 91-95, 105-114, 118-122, 138-159, 170-172, 183-190, 209-213, 217-237, 242-243, 247-248, 264-277, 282-283, 287-288, 292-293, 306-312, 322-334, 338-339, 345-347 src/onapsdk/configuration/__init__.py 2 0 100% src/onapsdk/configuration/global_settings.py 47 0 100% src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 src/onapsdk/constants.py 33 0 100% src/onapsdk/cps/__init__.py 3 0 100% src/onapsdk/cps/anchor.py 29 13 55% 22, 36-38, 61, 67, 80, 103, 124, 143, 160, 183, 201 src/onapsdk/cps/cps_element.py 6 0 100% src/onapsdk/cps/dataspace.py 63 30 52% 36-37, 56, 66-71, 85-92, 106-112, 126-134, 146-159, 175-181, 192, 210-216, 246-255, 259 src/onapsdk/cps/schemaset.py 19 6 68% 23, 53-56, 70 src/onapsdk/dmaap/__init__.py 0 0 100% src/onapsdk/dmaap/dmaap.py 25 6 76% 42, 59-60, 75, 81, 101 src/onapsdk/dmaap/dmaap_service.py 4 0 100% src/onapsdk/exceptions.py 26 2 92% 60, 70 src/onapsdk/k8s/__init__.py 6 0 100% src/onapsdk/k8s/connectivity_info.py 23 13 43% 34-38, 48, 61-67, 90-103 src/onapsdk/k8s/definition.py 109 70 36% 33-35, 45, 54-55, 88-100, 110, 120-136, 159, 178-182, 191-201, 232-235, 245-248, 268-274, 301-316, 325-337, 359-382, 391-396, 417-424, 442-447, 468-481, 493-500 src/onapsdk/k8s/instance.py 141 85 40% 39-45, 68-69, 79, 114-120, 130, 140-155, 167-181, 190-192, 209-214, 231-234, 254-259, 276-279, 286-293, 305, 343-347, 357-360, 377-383, 413-431, 460-478, 502-519, 528-531, 551-558, 575-583, 608-614 src/onapsdk/k8s/k8splugin_service.py 54 28 48% 39-42, 55-59, 74-77, 106-118, 138, 156 src/onapsdk/k8s/region.py 30 13 57% 45-47, 65-68, 72, 77-78, 99-107 src/onapsdk/msb/__init__.py 3 0 100% src/onapsdk/msb/esr.py 7 1 86% 63 src/onapsdk/msb/k8s/__init__.py 4 0 100% src/onapsdk/msb/k8s/connectivity_info.py 3 0 100% src/onapsdk/msb/k8s/definition.py 3 0 100% src/onapsdk/msb/k8s/instance.py 3 0 100% src/onapsdk/msb/k8s/k8splugin_msb_service.py 3 0 100% src/onapsdk/msb/msb_service.py 6 0 100% src/onapsdk/msb/multicloud.py 9 2 78% 36, 51 src/onapsdk/nbi/__init__.py 1 0 100% src/onapsdk/nbi/nbi.py 139 81 42% 43-53, 78-85, 107-111, 132-137, 170-177, 204-210, 226-228, 238-240, 278-290, 332-337, 347-353, 363-371, 398-416, 438-446, 458, 470, 482, 494 src/onapsdk/onap_service.py 126 70 44% 74-76, 125-201, 205-206, 245-247, 277-292, 308, 326-334, 339 src/onapsdk/sdc/__init__.py 178 95 47% 37-38, 51-53, 150-156, 167-187, 197-232, 243-250, 260-263, 268-270, 275-277, 282-284, 289, 294, 299, 303-305, 309-317, 322-346, 363-371 src/onapsdk/sdc/category_management.py 99 55 44% 44-52, 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 src/onapsdk/sdc/pnf.py 21 10 52% 54-58, 62-64, 72-74 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 src/onapsdk/sdc/sdc_element.py 67 34 49% 31-32, 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 src/onapsdk/sdc/sdc_resource.py 317 217 32% 48-69, 84-86, 91-93, 98, 103, 107, 111-143, 157, 167, 187-189, 200, 211, 222, 237, 250, 263, 277-278, 288-293, 323-331, 350-365, 372-374, 377-379, 383-396, 401, 411, 422, 433, 444, 455, 469, 481-485, 509-514, 526, 551-556, 577-580, 599-614, 630-641, 655-662, 673-675, 691, 708, 721, 740-744, 761-765, 776-777, 796-798, 821-829, 843-847, 869-872, 894-895, 909-912, 916-919, 923-926, 936-959, 963, 971 src/onapsdk/sdc/service.py 358 224 37% 78, 160-181, 194-198, 214-218, 231-249, 254-256, 261, 266-268, 280-283, 295-304, 324-361, 379, 384, 389, 394, 409-411, 423-425, 437-439, 449, 460, 471, 482, 493, 504, 519, 531-540, 544, 556-561, 565, 569, 573-574, 580-581, 587-588, 594-595, 601-602, 608-616, 620-629, 633-655, 660-665, 670-676, 680-691, 702, 706-709, 719-721, 725, 730, 735, 757-769, 782-798, 804-805, 812, 817, 835-844, 864-883, 901-903, 922-924, 936-938 src/onapsdk/sdc/vendor.py 46 25 46% 46-47, 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 src/onapsdk/sdc/vl.py 9 3 67% 39-41 src/onapsdk/sdc/vsp.py 157 106 32% 54-58, 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 157-161, 166, 171-173, 178, 182-185, 189-195, 203-212, 218-222, 226-231, 244-249, 278-282, 286-293, 297-304, 308-312, 323, 337-341, 355, 364-373 src/onapsdk/sdnc/__init__.py 1 0 100% src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 src/onapsdk/sdnc/topology.py 66 43 35% 54-61, 82-91, 115-124, 148, 171-173, 192-204, 214-226, 235-250, 258-274 src/onapsdk/so/__init__.py 0 0 100% src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 src/onapsdk/so/instantiation.py 330 186 44% 86, 126, 176, 215-220, 257-259, 279-280, 318-349, 375-377, 401-402, 418-448, 462-475, 505-529, 569-615, 655-697, 727-728, 744-775, 789-802, 833-876, 912-918, 952-976, 1038-1080, 1109-1146, 1171-1182, 1206-1207, 1233-1260, 1297-1321 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 src/onapsdk/so/so_db_adapter.py 34 6 82% 71-84, 94-98 src/onapsdk/so/so_element.py 91 36 60% 47, 52-53, 58-69, 74-91, 96-99, 110, 121-128, 175-186, 198, 210, 222, 234-245 src/onapsdk/utils/__init__.py 8 4 50% 26, 38-40 src/onapsdk/utils/configuration.py 3 1 67% 20 src/onapsdk/utils/gui.py 13 1 92% 34 src/onapsdk/utils/headers_creator.py 63 11 83% 58, 77, 96, 222-230 src/onapsdk/utils/jinja.py 3 0 100% src/onapsdk/utils/mixins.py 28 14 50% 64-67, 89-99 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 src/onapsdk/version.py 1 0 100% src/onapsdk/ves/__init__.py 0 0 100% src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 src/onapsdk/ves/ves_service.py 4 0 100% src/onapsdk/vid/__init__.py 1 0 100% src/onapsdk/vid/vid.py 40 14 65% 39-41, 63-72, 86-87, 101-102, 116-117, 131-132 ------------------------------------------------------------------------------------------------- TOTAL 5063 2126 58% FAIL Required test coverage of 98% not reached. Total coverage: 58.01% =========================== short test summary info ============================ FAILED tests/test_aai_site_resource.py::test_site_resource_link_to_cell - Att... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ======================== 1 failed, 124 passed in 4.37s ========================= py39: exit 1 (4.84 seconds) /w/workspace/integration-python-onapsdk-pypi-verify-master> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=3187 py39: FAIL ✖ in 20.79 seconds pylint: install_deps> python -I -m pip install -r test-requirements.txt pylint: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 pylint: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/.tmp/package/3/onapsdk-12.8.0.tar.gz pylint: freeze> python -m pip freeze --all pylint: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0 pylint: commands[0]> pylint src/ ------------------------------------ Your code has been rated at 10.00/10 pylint: OK ✔ in 38.54 seconds pydocstyle: install_deps> python -I -m pip install -r test-requirements.txt pydocstyle: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 pydocstyle: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/.tmp/package/4/onapsdk-12.8.0.tar.gz pydocstyle: freeze> python -m pip freeze --all pydocstyle: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0 pydocstyle: commands[0]> pydocstyle src/ pydocstyle: OK ✔ in 18.07 seconds bandit: install_deps> python -I -m pip install -r test-requirements.txt bandit: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 bandit: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/.tmp/package/5/onapsdk-12.8.0.tar.gz bandit: freeze> python -m pip freeze --all bandit: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0 bandit: commands[0]> bandit -r src/onapsdk [main] INFO profile include tests: None [main] INFO profile exclude tests: None [main] INFO cli include tests: None [main] INFO cli exclude tests: None [main] INFO running on Python 3.10.6 Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01 Run started:2024-01-11 11:06:08.316190 Test results: No issues identified. Code scanned: Total lines of code: 14437 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0): .pkg: _exit> python /tmp/venv-ban6/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py38: FAIL code 1 (30.11=setup[25.16]+cmd[4.94] seconds) py39: FAIL code 1 (20.79=setup[15.95]+cmd[4.84] seconds) pylint: OK (38.54=setup[15.94]+cmd[22.60] seconds) pydocstyle: OK (18.07=setup[15.00]+cmd[3.06] seconds) bandit: OK (16.84=setup[14.76]+cmd[2.08] seconds) evaluation failed :( (124.51 seconds) + tox_status=255 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/bandit/log ++ awk -F/ '{print $2}' + tox_env=bandit + cp -r .tox/bandit/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/bandit + for i in .tox/*/log ++ echo .tox/py38/log ++ awk -F/ '{print $2}' + tox_env=py38 + cp -r .tox/py38/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/py38 + for i in .tox/*/log ++ echo .tox/py39/log ++ awk -F/ '{print $2}' + tox_env=py39 + cp -r .tox/py39/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/py39 + for i in .tox/*/log ++ echo .tox/pydocstyle/log ++ awk -F/ '{print $2}' + tox_env=pydocstyle + cp -r .tox/pydocstyle/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/pydocstyle + for i in .tox/*/log ++ echo .tox/pylint/log ++ awk -F/ '{print $2}' + tox_env=pylint + cp -r .tox/pylint/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/pylint + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 255 -eq 0 + exit 255 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1714 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins639092299573911142.sh ---> sysstat.sh [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins1498055241904329399.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/integration-python-onapsdk-pypi-verify-master + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/integration-python-onapsdk-pypi-verify-master ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/integration-python-onapsdk-pypi-verify-master ']' + mkdir -p /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/ [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins13000052027746048590.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ql1a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ql1a/bin to PATH INFO: Running in OpenStack, capturing instance metadata [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins16122581374521026380.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/config7382712262836966799tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins1591002296825778944.sh ---> create-netrc.sh [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins6778740507540309742.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ql1a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-ql1a/bin to PATH [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins17412011474869647274.sh ---> sudo-logs.sh Archiving 'sudo' log.. [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins941658992844980192.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ql1a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-ql1a/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins3991181468204098608.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ql1a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-ql1a/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-pypi-verify-master/211 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-4c-4g-11223 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 672K 1.6G 1% /run /dev/vda1 78G 8.6G 69G 12% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 565 12929 0 2545 15144 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:c6:5d:b5 brd ff:ff:ff:ff:ff:ff inet 10.30.106.85/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86073sec preferred_lft 86073sec inet6 fe80::f816:3eff:fec6:5db5/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-11223) 01/11/24 _x86_64_ (4 CPU) 11:01:31 LINUX RESTART (4 CPU) 11:02:01 tps rtps wtps bread/s bwrtn/s 11:03:01 83.27 17.08 66.19 1016.10 22988.44 11:04:01 73.64 0.98 72.65 25.86 25276.45 11:05:01 140.39 20.05 120.35 830.26 27588.87 11:06:01 80.64 1.33 79.30 52.66 14863.79 Average: 94.48 9.86 84.62 481.22 22679.39 11:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:03:01 13933876 15524752 2491084 15.17 57744 1734900 828256 4.74 745908 1532676 172248 11:04:01 13893016 15578468 2531944 15.42 70540 1808308 762160 4.36 667588 1635744 129364 11:05:01 13477452 15475008 2947508 17.95 87992 2083276 891900 5.10 835008 1842712 127672 11:06:01 13212428 15448380 3212532 19.56 100656 2281472 936676 5.36 890512 2019264 148824 Average: 13629193 15506652 2795767 17.02 79233 1976989 854748 4.89 784754 1757599 144527 11:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:03:01 lo 0.80 0.80 0.09 0.09 0.00 0.00 0.00 0.00 11:03:01 ens3 49.49 32.03 759.05 5.74 0.00 0.00 0.00 0.00 11:04:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 11:04:01 ens3 44.16 33.18 330.76 14.35 0.00 0.00 0.00 0.00 11:05:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 11:05:01 ens3 31.31 25.43 213.21 7.64 0.00 0.00 0.00 0.00 11:06:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 11:06:01 ens3 4.72 4.67 3.20 1.83 0.00 0.00 0.00 0.00 Average: lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 Average: ens3 32.42 23.83 326.55 7.39 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-11223) 01/11/24 _x86_64_ (4 CPU) 11:01:31 LINUX RESTART (4 CPU) 11:02:01 CPU %user %nice %system %iowait %steal %idle 11:03:01 all 11.82 0.00 1.04 13.61 0.04 73.49 11:03:01 0 13.04 0.00 1.42 46.43 0.08 39.02 11:03:01 1 9.44 0.00 0.80 1.34 0.03 88.39 11:03:01 2 16.54 0.00 1.20 4.38 0.03 77.84 11:03:01 3 8.23 0.00 0.72 2.37 0.02 88.66 11:04:01 all 16.35 0.00 1.11 10.11 0.05 72.39 11:04:01 0 15.03 0.00 1.05 23.38 0.05 60.49 11:04:01 1 24.62 0.00 1.69 13.94 0.05 59.71 11:04:01 2 15.76 0.00 1.00 2.42 0.03 80.78 11:04:01 3 9.98 0.00 0.75 0.69 0.05 88.53 11:05:01 all 17.87 0.00 1.46 10.85 0.07 69.76 11:05:01 0 30.32 0.00 1.62 5.57 0.07 62.42 11:05:01 1 15.86 0.00 1.46 22.14 0.08 60.47 11:05:01 2 17.43 0.00 1.50 10.23 0.07 70.77 11:05:01 3 7.80 0.00 1.23 5.45 0.05 85.48 11:06:01 all 22.18 0.00 0.98 4.43 0.07 72.35 11:06:01 0 36.78 0.00 1.59 2.54 0.08 59.01 11:06:01 1 23.08 0.00 0.68 3.31 0.07 72.87 11:06:01 2 18.60 0.00 1.12 11.70 0.07 68.51 11:06:01 3 10.22 0.00 0.50 0.18 0.07 89.03 Average: all 17.05 0.00 1.15 9.75 0.06 72.00 Average: 0 23.79 0.00 1.42 19.47 0.07 55.24 Average: 1 18.25 0.00 1.16 10.17 0.06 70.37 Average: 2 17.08 0.00 1.21 7.18 0.05 74.48 Average: 3 9.06 0.00 0.80 2.17 0.05 87.93