13:03:44 Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/137443 13:03:44 Running as SYSTEM 13:03:44 [EnvInject] - Loading node environment variables. 13:03:44 Building remotely on prd-ubuntu1804-builder-4c-4g-9748 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/integration-python-onapsdk-pypi-verify-master 13:03:44 [ssh-agent] Looking for ssh-agent implementation... 13:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:03:44 $ ssh-agent 13:03:44 SSH_AUTH_SOCK=/tmp/ssh-5FipOIG3CIe3/agent.1711 13:03:44 SSH_AGENT_PID=1713 13:03:44 [ssh-agent] Started. 13:03:44 Running ssh-add (command line suppressed) 13:03:44 Identity added: /w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/private_key_10280134890501907430.key (/w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/private_key_10280134890501907430.key) 13:03:44 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 13:03:44 The recommended git tool is: NONE 13:03:46 using credential onap-jenkins-ssh 13:03:46 Wiping out workspace first. 13:03:46 Cloning the remote Git repository 13:03:46 Cloning repository git://cloud.onap.org/mirror/integration/python-onapsdk 13:03:46 > git init /w/workspace/integration-python-onapsdk-pypi-verify-master # timeout=10 13:03:46 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk 13:03:46 > git --version # timeout=10 13:03:46 > git --version # 'git version 2.17.1' 13:03:46 using GIT_SSH to set credentials Gerrit user 13:03:46 Verifying host key using manually-configured host key entries 13:03:46 > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:47 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk # timeout=10 13:03:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:03:47 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk # timeout=10 13:03:47 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk 13:03:47 using GIT_SSH to set credentials Gerrit user 13:03:47 Verifying host key using manually-configured host key entries 13:03:47 > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk refs/changes/43/137443/7 # timeout=10 13:03:48 > git rev-parse 7146124753f9ac3c4b66a87d591295cd61026340^{commit} # timeout=10 13:03:48 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 13:03:48 Checking out Revision 7146124753f9ac3c4b66a87d591295cd61026340 (refs/changes/43/137443/7) 13:03:48 > git config core.sparsecheckout # timeout=10 13:03:48 > git checkout -f 7146124753f9ac3c4b66a87d591295cd61026340 # timeout=10 13:03:51 Commit message: "Avoid empty newlines in jina templates when if conditions evaluate to false" 13:03:51 > git rev-parse FETCH_HEAD^{commit} # timeout=10 13:03:51 > git rev-list --no-walk d3591ef0893a8b718042b3a7937bb1f73d972176 # timeout=10 13:03:51 provisioning config files... 13:03:51 copy managed file [npmrc] to file:/home/jenkins/.npmrc 13:03:51 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 13:03:51 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins1786706521289024628.sh 13:03:51 ---> python-tools-install.sh 13:03:51 Setup pyenv: 13:03:51 * system (set by /opt/pyenv/version) 13:03:51 * 3.8.13 (set by /opt/pyenv/version) 13:03:51 * 3.9.13 (set by /opt/pyenv/version) 13:03:51 * 3.10.6 (set by /opt/pyenv/version) 13:03:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qIWe 13:03:58 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 13:04:03 lf-activate-venv(): INFO: Installing: lftools 13:04:39 lf-activate-venv(): INFO: Adding /tmp/venv-qIWe/bin to PATH 13:04:39 Generating Requirements File 13:05:08 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. 13:05:08 lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. 13:05:09 Python 3.10.6 13:05:09 pip 24.0 from /tmp/venv-qIWe/lib/python3.10/site-packages/pip (python 3.10) 13:05:10 appdirs==1.4.4 13:05:10 argcomplete==3.2.2 13:05:10 aspy.yaml==1.3.0 13:05:10 attrs==23.2.0 13:05:10 autopage==0.5.2 13:05:10 beautifulsoup4==4.12.3 13:05:10 boto3==1.34.52 13:05:10 botocore==1.34.52 13:05:10 bs4==0.0.2 13:05:10 cachetools==5.3.3 13:05:10 certifi==2024.2.2 13:05:10 cffi==1.16.0 13:05:10 cfgv==3.4.0 13:05:10 chardet==5.2.0 13:05:10 charset-normalizer==3.3.2 13:05:10 click==8.1.7 13:05:10 cliff==4.6.0 13:05:10 cmd2==2.4.3 13:05:10 cryptography==3.3.2 13:05:10 debtcollector==3.0.0 13:05:10 decorator==5.1.1 13:05:10 defusedxml==0.7.1 13:05:10 Deprecated==1.2.14 13:05:10 distlib==0.3.8 13:05:10 dnspython==2.6.1 13:05:10 docker==4.2.2 13:05:10 dogpile.cache==1.3.2 13:05:10 email_validator==2.1.1 13:05:10 filelock==3.13.1 13:05:10 future==1.0.0 13:05:10 gitdb==4.0.11 13:05:10 GitPython==3.1.42 13:05:10 google-auth==2.28.1 13:05:10 httplib2==0.22.0 13:05:10 identify==2.5.35 13:05:10 idna==3.6 13:05:10 importlib-resources==1.5.0 13:05:10 iso8601==2.1.0 13:05:10 Jinja2==3.1.3 13:05:10 jmespath==1.0.1 13:05:10 jsonpatch==1.33 13:05:10 jsonpointer==2.4 13:05:10 jsonschema==4.21.1 13:05:10 jsonschema-specifications==2023.12.1 13:05:10 keystoneauth1==5.6.0 13:05:10 kubernetes==29.0.0 13:05:10 lftools==0.37.9 13:05:10 lxml==5.1.0 13:05:10 MarkupSafe==2.1.5 13:05:10 msgpack==1.0.7 13:05:10 multi_key_dict==2.0.3 13:05:10 munch==4.0.0 13:05:10 netaddr==1.2.1 13:05:10 netifaces==0.11.0 13:05:10 niet==1.4.2 13:05:10 nodeenv==1.8.0 13:05:10 oauth2client==4.1.3 13:05:10 oauthlib==3.2.2 13:05:10 openstacksdk==0.62.0 13:05:10 os-client-config==2.1.0 13:05:10 os-service-types==1.7.0 13:05:10 osc-lib==3.0.1 13:05:10 oslo.config==9.4.0 13:05:10 oslo.context==5.4.0 13:05:10 oslo.i18n==6.3.0 13:05:10 oslo.log==5.5.0 13:05:10 oslo.serialization==5.4.0 13:05:10 oslo.utils==7.1.0 13:05:10 packaging==23.2 13:05:10 pbr==6.0.0 13:05:10 platformdirs==4.2.0 13:05:10 prettytable==3.10.0 13:05:10 pyasn1==0.5.1 13:05:10 pyasn1-modules==0.3.0 13:05:10 pycparser==2.21 13:05:10 pygerrit2==2.0.15 13:05:10 PyGithub==2.2.0 13:05:10 pyinotify==0.9.6 13:05:10 PyJWT==2.8.0 13:05:10 PyNaCl==1.5.0 13:05:10 pyparsing==2.4.7 13:05:10 pyperclip==1.8.2 13:05:10 pyrsistent==0.20.0 13:05:10 python-cinderclient==9.4.0 13:05:10 python-dateutil==2.8.2 13:05:10 python-heatclient==3.4.0 13:05:10 python-jenkins==1.8.2 13:05:10 python-keystoneclient==5.3.0 13:05:10 python-magnumclient==4.3.0 13:05:10 python-novaclient==18.4.0 13:05:10 python-openstackclient==6.0.1 13:05:10 python-swiftclient==4.4.0 13:05:10 PyYAML==6.0.1 13:05:10 referencing==0.33.0 13:05:10 requests==2.31.0 13:05:10 requests-oauthlib==1.3.1 13:05:10 requestsexceptions==1.4.0 13:05:10 rfc3986==2.0.0 13:05:10 rpds-py==0.18.0 13:05:10 rsa==4.9 13:05:10 ruamel.yaml==0.18.6 13:05:10 ruamel.yaml.clib==0.2.8 13:05:10 s3transfer==0.10.0 13:05:10 simplejson==3.19.2 13:05:10 six==1.16.0 13:05:10 smmap==5.0.1 13:05:10 soupsieve==2.5 13:05:10 stevedore==5.2.0 13:05:10 tabulate==0.9.0 13:05:10 toml==0.10.2 13:05:10 tomlkit==0.12.4 13:05:10 tqdm==4.66.2 13:05:10 typing_extensions==4.10.0 13:05:10 tzdata==2024.1 13:05:10 urllib3==1.26.18 13:05:10 virtualenv==20.25.1 13:05:10 wcwidth==0.2.13 13:05:10 websocket-client==1.7.0 13:05:10 wrapt==1.16.0 13:05:10 xdg==6.0.0 13:05:10 xmltodict==0.13.0 13:05:10 yq==3.2.3 13:05:10 [EnvInject] - Injecting environment variables from a build step. 13:05:10 [EnvInject] - Injecting as environment variables the properties content 13:05:10 PYTHON=python3 13:05:10 13:05:10 [EnvInject] - Variables injected successfully. 13:05:10 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins13800037744874563906.sh 13:05:10 ---> tox-install.sh 13:05:10 + source /home/jenkins/lf-env.sh 13:05:10 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:05:10 ++ mktemp -d /tmp/venv-XXXX 13:05:10 + lf_venv=/tmp/venv-NwsU 13:05:10 + local venv_file=/tmp/.os_lf_venv 13:05:10 + local python=python3 13:05:10 + local options 13:05:10 + local set_path=true 13:05:10 + local install_args= 13:05:10 ++ 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 13:05:10 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:05:10 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:05:10 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:05:10 + true 13:05:10 + case $1 in 13:05:10 + venv_file=/tmp/.toxenv 13:05:10 + shift 2 13:05:10 + true 13:05:10 + case $1 in 13:05:10 + shift 13:05:10 + break 13:05:10 + case $python in 13:05:10 + local pkg_list= 13:05:10 + [[ -d /opt/pyenv ]] 13:05:10 + echo 'Setup pyenv:' 13:05:10 Setup pyenv: 13:05:10 + export PYENV_ROOT=/opt/pyenv 13:05:10 + PYENV_ROOT=/opt/pyenv 13:05:10 + 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 13:05:10 + 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 13:05:10 + pyenv versions 13:05:10 system 13:05:10 3.8.13 13:05:10 3.9.13 13:05:10 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:05:10 + command -v pyenv 13:05:10 ++ pyenv init - --no-rehash 13:05:10 + 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[*]}"'\'')" 13:05:10 export PATH="/opt/pyenv/shims:${PATH}" 13:05:10 export PYENV_SHELL=bash 13:05:10 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:05:10 pyenv() { 13:05:10 local command 13:05:10 command="${1:-}" 13:05:10 if [ "$#" -gt 0 ]; then 13:05:10 shift 13:05:10 fi 13:05:10 13:05:10 case "$command" in 13:05:10 rehash|shell) 13:05:10 eval "$(pyenv "sh-$command" "$@")" 13:05:10 ;; 13:05:10 *) 13:05:10 command pyenv "$command" "$@" 13:05:10 ;; 13:05:10 esac 13:05:10 }' 13:05:10 +++ 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[*]}"' 13:05:10 ++ 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 13:05:10 ++ 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 13:05:10 ++ 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 13:05:10 ++ export PYENV_SHELL=bash 13:05:10 ++ PYENV_SHELL=bash 13:05:10 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:05:10 +++ complete -F _pyenv pyenv 13:05:10 ++ lf-pyver python3 13:05:10 ++ local py_version_xy=python3 13:05:10 ++ local py_version_xyz= 13:05:10 ++ pyenv versions 13:05:10 ++ local command 13:05:10 ++ awk '{ print $1 }' 13:05:10 ++ command=versions 13:05:10 ++ '[' 1 -gt 0 ']' 13:05:10 ++ shift 13:05:10 ++ case "$command" in 13:05:10 ++ command pyenv versions 13:05:10 ++ pyenv versions 13:05:10 ++ grep -E '^[0-9.]*[0-9]$' 13:05:10 ++ sed 's/^[ *]* //' 13:05:10 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:05:10 +++ grep '^3' /tmp/.pyenv_versions 13:05:10 +++ sort -V 13:05:10 +++ tail -n 1 13:05:10 ++ py_version_xyz=3.10.6 13:05:10 ++ [[ -z 3.10.6 ]] 13:05:10 ++ echo 3.10.6 13:05:10 ++ return 0 13:05:10 + pyenv local 3.10.6 13:05:10 + local command 13:05:10 + command=local 13:05:10 + '[' 2 -gt 0 ']' 13:05:10 + shift 13:05:10 + case "$command" in 13:05:10 + command pyenv local 3.10.6 13:05:10 + pyenv local 3.10.6 13:05:10 + for arg in "$@" 13:05:10 + case $arg in 13:05:10 + pkg_list+='tox ' 13:05:10 + for arg in "$@" 13:05:10 + case $arg in 13:05:10 + pkg_list+='virtualenv ' 13:05:10 + for arg in "$@" 13:05:10 + case $arg in 13:05:10 + pkg_list+='urllib3~=1.26.15 ' 13:05:10 + [[ -f /tmp/.toxenv ]] 13:05:10 + [[ ! -f /tmp/.toxenv ]] 13:05:10 + [[ -n '' ]] 13:05:10 + python3 -m venv /tmp/venv-NwsU 13:05:14 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NwsU' 13:05:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NwsU 13:05:14 + echo /tmp/venv-NwsU 13:05:14 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 13:05:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 13:05:14 + /tmp/venv-NwsU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:05:16 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:05:16 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:05:16 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:05:16 + /tmp/venv-NwsU/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:05:19 + type python3 13:05:19 + true 13:05:19 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NwsU/bin to PATH' 13:05:19 lf-activate-venv(): INFO: Adding /tmp/venv-NwsU/bin to PATH 13:05:19 + PATH=/tmp/venv-NwsU/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 13:05:19 + return 0 13:05:19 + python3 --version 13:05:19 Python 3.10.6 13:05:19 + python3 -m pip --version 13:05:19 pip 24.0 from /tmp/venv-NwsU/lib/python3.10/site-packages/pip (python 3.10) 13:05:19 + python3 -m pip freeze 13:05:19 cachetools==5.3.3 13:05:19 chardet==5.2.0 13:05:19 colorama==0.4.6 13:05:19 distlib==0.3.8 13:05:19 filelock==3.13.1 13:05:19 packaging==23.2 13:05:19 platformdirs==4.2.0 13:05:19 pluggy==1.4.0 13:05:19 pyproject-api==1.6.1 13:05:19 tomli==2.0.1 13:05:19 tox==4.13.0 13:05:19 urllib3==1.26.18 13:05:19 virtualenv==20.25.1 13:05:19 [integration-python-onapsdk-pypi-verify-master] $ /bin/sh -xe /tmp/jenkins10696816888078254194.sh 13:05:19 [EnvInject] - Injecting environment variables from a build step. 13:05:20 [EnvInject] - Injecting as environment variables the properties content 13:05:20 PARALLEL=False 13:05:20 13:05:20 [EnvInject] - Variables injected successfully. 13:05:20 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins2143726724664331200.sh 13:05:20 ---> tox-run.sh 13:05:20 + 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 13:05:20 + ARCHIVE_TOX_DIR=/w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox 13:05:20 + ARCHIVE_DOC_DIR=/w/workspace/integration-python-onapsdk-pypi-verify-master/archives/docs 13:05:20 + mkdir -p /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox 13:05:20 + cd /w/workspace/integration-python-onapsdk-pypi-verify-master/. 13:05:20 + source /home/jenkins/lf-env.sh 13:05:20 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:05:20 ++ mktemp -d /tmp/venv-XXXX 13:05:20 + lf_venv=/tmp/venv-3j67 13:05:20 + local venv_file=/tmp/.os_lf_venv 13:05:20 + local python=python3 13:05:20 + local options 13:05:20 + local set_path=true 13:05:20 + local install_args= 13:05:20 ++ 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 13:05:20 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:05:20 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:05:20 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:05:20 + true 13:05:20 + case $1 in 13:05:20 + venv_file=/tmp/.toxenv 13:05:20 + shift 2 13:05:20 + true 13:05:20 + case $1 in 13:05:20 + shift 13:05:20 + break 13:05:20 + case $python in 13:05:20 + local pkg_list= 13:05:20 + [[ -d /opt/pyenv ]] 13:05:20 + echo 'Setup pyenv:' 13:05:20 Setup pyenv: 13:05:20 + export PYENV_ROOT=/opt/pyenv 13:05:20 + PYENV_ROOT=/opt/pyenv 13:05:20 + 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 13:05:20 + 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 13:05:20 + pyenv versions 13:05:20 system 13:05:20 3.8.13 13:05:20 3.9.13 13:05:20 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:05:20 + command -v pyenv 13:05:20 ++ pyenv init - --no-rehash 13:05:20 + 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[*]}"'\'')" 13:05:20 export PATH="/opt/pyenv/shims:${PATH}" 13:05:20 export PYENV_SHELL=bash 13:05:20 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:05:20 pyenv() { 13:05:20 local command 13:05:20 command="${1:-}" 13:05:20 if [ "$#" -gt 0 ]; then 13:05:20 shift 13:05:20 fi 13:05:20 13:05:20 case "$command" in 13:05:20 rehash|shell) 13:05:20 eval "$(pyenv "sh-$command" "$@")" 13:05:20 ;; 13:05:20 *) 13:05:20 command pyenv "$command" "$@" 13:05:20 ;; 13:05:20 esac 13:05:20 }' 13:05:20 +++ 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[*]}"' 13:05:20 ++ 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 13:05:20 ++ 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 13:05:20 ++ 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 13:05:20 ++ export PYENV_SHELL=bash 13:05:20 ++ PYENV_SHELL=bash 13:05:20 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:05:20 +++ complete -F _pyenv pyenv 13:05:20 ++ lf-pyver python3 13:05:20 ++ local py_version_xy=python3 13:05:20 ++ local py_version_xyz= 13:05:20 ++ sed 's/^[ *]* //' 13:05:20 ++ grep -E '^[0-9.]*[0-9]$' 13:05:20 ++ pyenv versions 13:05:20 ++ local command 13:05:20 ++ command=versions 13:05:20 ++ '[' 1 -gt 0 ']' 13:05:20 ++ shift 13:05:20 ++ case "$command" in 13:05:20 ++ command pyenv versions 13:05:20 ++ pyenv versions 13:05:20 ++ awk '{ print $1 }' 13:05:20 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:05:20 +++ grep '^3' /tmp/.pyenv_versions 13:05:20 +++ sort -V 13:05:20 +++ tail -n 1 13:05:20 ++ py_version_xyz=3.10.6 13:05:20 ++ [[ -z 3.10.6 ]] 13:05:20 ++ echo 3.10.6 13:05:20 ++ return 0 13:05:20 + pyenv local 3.10.6 13:05:20 + local command 13:05:20 + command=local 13:05:20 + '[' 2 -gt 0 ']' 13:05:20 + shift 13:05:20 + case "$command" in 13:05:20 + command pyenv local 3.10.6 13:05:20 + pyenv local 3.10.6 13:05:20 + for arg in "$@" 13:05:20 + case $arg in 13:05:20 + pkg_list+='tox ' 13:05:20 + for arg in "$@" 13:05:20 + case $arg in 13:05:20 + pkg_list+='virtualenv ' 13:05:20 + for arg in "$@" 13:05:20 + case $arg in 13:05:20 + pkg_list+='urllib3~=1.26.15 ' 13:05:20 + [[ -f /tmp/.toxenv ]] 13:05:20 ++ cat /tmp/.toxenv 13:05:20 + lf_venv=/tmp/venv-NwsU 13:05:20 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NwsU from' file:/tmp/.toxenv 13:05:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NwsU from file:/tmp/.toxenv 13:05:20 + /tmp/venv-NwsU/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:05:21 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:05:21 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:05:21 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:05:21 + /tmp/venv-NwsU/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:05:22 + type python3 13:05:22 + true 13:05:22 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NwsU/bin to PATH' 13:05:22 lf-activate-venv(): INFO: Adding /tmp/venv-NwsU/bin to PATH 13:05:22 + PATH=/tmp/venv-NwsU/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 13:05:22 + return 0 13:05:22 + [[ -d /opt/pyenv ]] 13:05:22 + echo '---> Setting up pyenv' 13:05:22 ---> Setting up pyenv 13:05:22 + export PYENV_ROOT=/opt/pyenv 13:05:22 + PYENV_ROOT=/opt/pyenv 13:05:22 + export PATH=/opt/pyenv/bin:/tmp/venv-NwsU/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 13:05:22 + PATH=/opt/pyenv/bin:/tmp/venv-NwsU/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 13:05:22 ++ pwd 13:05:22 + PYTHONPATH=/w/workspace/integration-python-onapsdk-pypi-verify-master 13:05:22 + export PYTHONPATH 13:05:22 + export TOX_TESTENV_PASSENV=PYTHONPATH 13:05:22 + TOX_TESTENV_PASSENV=PYTHONPATH 13:05:22 + tox --version 13:05:22 4.13.0 from /tmp/venv-NwsU/lib/python3.10/site-packages/tox/__init__.py 13:05:22 + PARALLEL=False 13:05:22 + TOX_OPTIONS_LIST= 13:05:22 + [[ -n '' ]] 13:05:22 + case ${PARALLEL,,} in 13:05:22 + tee -a /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/tox.log 13:05:22 + tox 13:05:24 py38: install_deps> python -I -m pip install -r test-requirements.txt 13:05:34 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 13:05:36 .pkg: _optional_hooks> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:05:36 .pkg: get_requires_for_build_sdist> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:05:36 .pkg: install_requires_for_build_sdist> python -I -m pip install pytest-runner==5.2 13:05:37 .pkg: get_requires_for_build_wheel> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:05:37 .pkg: install_requires_for_build_wheel> python -I -m pip install pytest-runner==5.2 wheel 13:05:37 .pkg: freeze> python -m pip freeze --all 13:05:38 .pkg: pip==24.0,pytest-runner==5.2,setuptools==69.1.0,wheel==0.42.0 13:05:38 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:05:38 .pkg: build_sdist> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:05:38 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 13:05:39 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-13.0.4.tar.gz 13:05:41 py38: freeze> python -m pip freeze --all 13:05:42 py38: astroid==3.1.0,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.3,cryptography==38.0.4,dacite==1.6.0,dill==0.3.8,exceptiongroup==1.2.0,idna==3.6,importlib_resources==6.1.2,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.5,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==13.0.4,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==24.0,platformdirs==4.2.0,pluggy==1.4.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.1.0,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.0.2,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.1,setuptools==69.1.0,simplejson==3.17.6,six==1.16.0,snowballstemmer==2.2.0,stevedore==5.2.0,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.10.0,urllib3==1.26.18,wheel==0.42.0,zipp==3.17.0 13:05:42 py38: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules 13:05:42 ============================= test session starts ============================== 13:05:42 platform linux -- Python 3.8.15, pytest-8.0.2, pluggy-1.4.0 -- /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/py38/bin/python 13:05:42 cachedir: .tox/py38/.pytest_cache 13:05:42 rootdir: /w/workspace/integration-python-onapsdk-pypi-verify-master 13:05:42 configfile: setup.cfg 13:05:42 plugins: requests-mock-1.11.0, cov-4.1.0 13:05:45 collecting ... collected 844 items 13:05:45 13:05:46 tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_first_which_is_failing PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_second_which_is_failing PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_both_which_are_failing_reverse_order PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_both_which_are_failing_in_order PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_parse_invalid_response_text PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_aai_bulk_do_not_retry PASSED [ 0%] 13:05:46 tests/test_aai_bulk.py::test_get_failed_operation_index PASSED [ 0%] 13:05:46 tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 1%] 13:05:46 tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 1%] 13:05:46 tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 1%] 13:05:46 tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 1%] 13:05:46 tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 1%] 13:05:46 tests/test_aai_complex.py::test_complex PASSED [ 1%] 13:05:46 tests/test_aai_complex.py::test_complex_update PASSED [ 1%] 13:05:46 tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] 13:05:46 tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 2%] 13:05:46 tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 2%] 13:05:46 tests/test_aai_complex.py::test_complex_delete PASSED [ 2%] 13:05:46 tests/test_aai_complex.py::test_complex_count PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customers_get_all PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] 13:05:46 tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_customer_create PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_customer_delete PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_customer_update PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_customer_url PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] 13:05:46 tests/test_aai_customer.py::test_availability_zones PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_add_availability_zone PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] 13:05:46 tests/test_aai_customer.py::test_customer_count PASSED [ 4%] 13:05:46 tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 5%] 13:05:46 tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 5%] 13:05:46 tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 5%] 13:05:46 tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 6%] 13:05:46 tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 6%] 13:05:46 tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] 13:05:46 tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] 13:05:46 tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] 13:05:46 tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] 13:05:46 tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] 13:05:46 tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] 13:05:46 tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] 13:05:46 tests/test_aai_platform.py::test_platform_get_all PASSED [ 7%] 13:05:46 tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] 13:05:46 tests/test_aai_platform.py::test_platform_create PASSED [ 7%] 13:05:46 tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] 13:05:46 tests/test_aai_platform.py::test_platform_url PASSED [ 7%] 13:05:46 tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] 13:05:46 tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] 13:05:46 tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] 13:05:46 tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] 13:05:46 tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] 13:05:46 tests/test_aai_project.py::test_project_get_all PASSED [ 8%] 13:05:46 tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_project_create PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_project_count PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_project_url PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_project_delete PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] 13:05:46 tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] 13:05:46 tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] 13:05:46 tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 9%] 13:05:46 tests/test_aai_resource.py::test_get_guis PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_init PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_class_variables PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_customers PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_cloud_regions PASSED [ 10%] 13:05:46 tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_tenants_info PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_create_complex PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_filter_none_value PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_add_relationship PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_delete_relationship PASSED [ 11%] 13:05:46 tests/test_aai_service.py::test_service_url PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_service_create PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_model_init PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_model_url PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_model_get_all PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 12%] 13:05:46 tests/test_aai_service.py::test_service_instance_create PASSED [ 12%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 13%] 13:05:46 tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] 13:05:46 tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_tenants PASSED [ 14%] 13:05:46 tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 14%] 13:05:46 tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] 13:05:46 tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] 13:05:46 tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] 13:05:46 tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 15%] 13:05:46 tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 15%] 13:05:46 tests/test_aai_tenant.py::test_owning_entity_link_to_tenant PASSED [ 15%] 13:05:46 tests/test_aai_tenant.py::test_owning_entity_delete_tenant PASSED [ 15%] 13:05:46 tests/test_aai_tenant.py::test_tenant_url PASSED [ 15%] 13:05:46 tests/test_aai_tenant.py::test_tenant_getall_url PASSED [ 15%] 13:05:46 tests/test_aai_tenant.py::test_tenant_delete PASSED [ 16%] 13:05:46 tests/test_aai_vf_module.py::test_vf_module PASSED [ 16%] 13:05:46 tests/test_aai_vf_module.py::test_vf_module_deletion PASSED [ 16%] 13:05:46 tests/test_aai_vf_module.py::test_vnf_vf_module PASSED [ 16%] 13:05:46 tests/test_aai_vf_module.py::test_vf_module_instance_count PASSED [ 16%] 13:05:46 tests/test_aai_vnf.py::test_vnf_instance PASSED [ 16%] 13:05:46 tests/test_aai_vnf.py::test_vnf_instance_vf_modules PASSED [ 16%] 13:05:46 tests/test_aai_vnf.py::test_vnf_instance_vnf PASSED [ 16%] 13:05:46 tests/test_aai_vnf.py::test_vnf_add_vf_module PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_vnf_update PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_vnf_healthcheck PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_vnf_upgrade PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_vnf_execute_so_action PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_build_so_input PASSED [ 17%] 13:05:46 tests/test_aai_vnf.py::test_vnf_instance_mock PASSED [ 17%] 13:05:46 tests/test_cds.py::test_blueprint_enrichment PASSED [ 17%] 13:05:46 tests/test_cds.py::test_blueprint_publish PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_deploy PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_load_from_file PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_load_from_file_file_error PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_save PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_read_cba_metadata PASSED [ 18%] 13:05:46 tests/test_cds.py::test_blueprint_get_mappings_from_mapping_file PASSED [ 18%] 13:05:47 tests/test_cds.py::test_blueprint_generate_data_dictionary_set PASSED [ 18%] 13:05:47 tests/test_cds.py::test_data_dictionary PASSED [ 18%] 13:05:47 tests/test_cds.py::test_data_dictionary_upload PASSED [ 19%] 13:05:47 tests/test_cds.py::test_data_dictionary_set PASSED [ 19%] 13:05:47 tests/test_cds.py::test_data_dictionary_set_save_to_file_load_from_file PASSED [ 19%] 13:05:47 tests/test_cds.py::test_data_dictionary_load_from_file_file_error PASSED [ 19%] 13:05:47 tests/test_cds.py::test_mapping PASSED [ 19%] 13:05:47 tests/test_cds.py::test_mapping_set PASSED [ 19%] 13:05:47 tests/test_cds.py::test_blueprint_get_workflows_from_entry_definitions_file PASSED [ 19%] 13:05:47 tests/test_cds.py::test_blueprint_get_workflow_by_name PASSED [ 19%] 13:05:47 tests/test_cds.py::test_workflow_execute PASSED [ 20%] 13:05:47 tests/test_cds.py::test_data_dictionary_validation PASSED [ 20%] 13:05:47 tests/test_cds.py::test_blueprintprocessor_bootstrap PASSED [ 20%] 13:05:47 tests/test_cds.py::test_data_dictionary_get_by_name PASSED [ 20%] 13:05:47 tests/test_cds.py::test_get_guis PASSED [ 20%] 13:05:47 tests/test_cds.py::test_blueprint_get_resolved_template PASSED [ 20%] 13:05:47 tests/test_cds.py::test_blueprint_store_resolved_template PASSED [ 20%] 13:05:47 tests/test_cds.py::test_resolved_template_get_template_url PASSED [ 20%] 13:05:47 tests/test_cds.py::test_resolved_template_store_template_url PASSED [ 20%] 13:05:47 tests/test_cds_blueprint_models.py::test_init PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_class_variables PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_all PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_all_empty PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_by_id PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_by_id_non_existing PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_by_name_and_version PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_blueprint_model_by_name_and_version_non_existing PASSED [ 21%] 13:05:47 tests/test_cds_blueprint_models.py::test_get_blueprint_object PASSED [ 22%] 13:05:47 tests/test_cds_blueprint_models.py::test_save_blueprint PASSED [ 22%] 13:05:47 tests/test_cds_blueprint_models.py::test_delete_blueprint PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_initialization PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_check_loop_template PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_check_loop_template_none PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_check_policies PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_check_policies_none PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_cl_initialization PASSED [ 22%] 13:05:47 tests/test_clamp.py::test_details PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_update_loop_details PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_refresh_status PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_validate PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_validate_details PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_create PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_add_operational_policy PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_not_add_operational_policy_parameter_error PASSED [ 23%] 13:05:47 tests/test_clamp.py::test_add_operational_policy_key_parameter_error PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_add_operational_policy_condition_parameter_error PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_remove_operational_policy PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_update_microservice_policy PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_update_microservice_policy_none PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_extract_operational_policy_name PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_extract_none PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_add_drools_policy_config PASSED [ 24%] 13:05:47 tests/test_clamp.py::test_add_minmax_config PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_add_frequency_policy_config PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_add_two_policies_config PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_submit_policy PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_stop_policy PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_restart_policy PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_not_submited_policy PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_deploy_microservice_to_dcae PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_undeploy_microservice_from_dcae PASSED [ 25%] 13:05:47 tests/test_clamp.py::test_delete PASSED [ 26%] 13:05:47 tests/test_configuration.py::test_components_needing_distribution PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_create_anchor PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_get_anchors PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_get_anchor PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_delete_anchor PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_get_schema_set PASSED [ 26%] 13:05:47 tests/test_cps.py::test_dataspace_create_schema_set PASSED [ 27%] 13:05:47 tests/test_cps.py::test_dataspace_delete PASSED [ 27%] 13:05:47 tests/test_cps.py::test_dataspace_get_dataspace PASSED [ 27%] 13:05:47 tests/test_cps.py::test_schema_set PASSED [ 27%] 13:05:47 tests/test_cps.py::test_schemaset_delete PASSED [ 27%] 13:05:47 tests/test_cps.py::test_anchor PASSED [ 27%] 13:05:47 tests/test_cps.py::test_anchor_delete PASSED [ 27%] 13:05:47 tests/test_cps.py::test_anchor_create_node PASSED [ 27%] 13:05:47 tests/test_cps.py::test_anchor_get_node PASSED [ 27%] 13:05:47 tests/test_cps.py::test_anchor_update_node PASSED [ 28%] 13:05:47 tests/test_cps.py::test_anchor_replace_node PASSED [ 28%] 13:05:47 tests/test_cps.py::test_anchor_add_list_node PASSED [ 28%] 13:05:47 tests/test_cps.py::test_anchor_query_node PASSED [ 28%] 13:05:47 tests/test_cps.py::test_anchor_delete_nodes PASSED [ 28%] 13:05:47 tests/test_cps.py::test_dataspace_create_anchor_except PASSED [ 28%] 13:05:47 tests/test_cps.py::test_dataspace_get_anchors_except PASSED [ 28%] 13:05:47 tests/test_cps.py::test_dataspace_get_anchor_except PASSED [ 28%] 13:05:47 tests/test_cps.py::test_dataspace_get_schema_set_except PASSED [ 29%] 13:05:47 tests/test_cps.py::test_dataspace_create_schema_set_except PASSED [ 29%] 13:05:47 tests/test_dmaap.py::test_should_get_all_events PASSED [ 29%] 13:05:47 tests/test_dmaap.py::test_should_get_events_from_topic PASSED [ 29%] 13:05:47 tests/test_dmaap.py::test_should_get_all_topics PASSED [ 29%] 13:05:47 tests/test_dmaap.py::test_post_event_success PASSED [ 29%] 13:05:47 tests/test_dmaap.py::test_post_event_failure PASSED [ 29%] 13:05:47 tests/test_esr.py::test_esr PASSED [ 29%] 13:05:47 tests/test_esr.py::test_est_register_vim PASSED [ 29%] 13:05:47 tests/test_exceptions.py::test_api_error_response_status_code PASSED [ 30%] 13:05:47 tests/test_gui.py::GuiTestingBase::test_add_bad_gui_item PASSED [ 30%] 13:05:47 tests/test_gui.py::GuiTestingBase::test_add_gui_item PASSED [ 30%] 13:05:47 tests/test_gui.py::GuiTestingBase::test_create_bad_gui_item PASSED [ 30%] 13:05:47 tests/test_gui.py::GuiTestingBase::test_create_bad_gui_list PASSED [ 30%] 13:05:47 tests/test_gui.py::GuiTestingBase::test_get_guis_request_error PASSED [ 30%] 13:05:47 tests/test_headers_creator.py::test_headers_sdc_creator PASSED [ 30%] 13:05:47 tests/test_headers_creator.py::test_headers_sdc_tester PASSED [ 30%] 13:05:47 tests/test_headers_creator.py::test_headers_sdc_governor PASSED [ 31%] 13:05:47 tests/test_headers_creator.py::test_headers_sdc_operator PASSED [ 31%] 13:05:47 tests/test_headers_creator.py::test_headers_aai_creator PASSED [ 31%] 13:05:47 tests/test_headers_creator.py::test_headers_so_creator PASSED [ 31%] 13:05:47 tests/test_headers_creator.py::test_headers_so_catelog_db_creator PASSED [ 31%] 13:05:47 tests/test_headers_creator.py::test_headers_sdnc_creator PASSED [ 31%] 13:05:47 tests/test_jinja.py::test_jinja_env PASSED [ 31%] 13:05:47 tests/test_k8s.py::test_get_connectivity_info_by_region_id PASSED [ 31%] 13:05:47 tests/test_k8s.py::test_connectivity_info_create_delete PASSED [ 31%] 13:05:47 tests/test_k8s.py::test_get_cloud_region_by_region_id PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_cloud_region_create_delete PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_region_query_resources PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_definition_get_all PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_get_definition_by_name_version PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_create_delete_definition PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_update_definition PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_definition_create_delete_profile PASSED [ 32%] 13:05:47 tests/test_k8s.py::test_definition_update_profile PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_get_profile_by_name PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_get_all_profiles PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_get_configuration_template_by_name PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_create_delete_configuration_template PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_update_configuration_template PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_definition_get_all_configuration_templates PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_instance_get_all PASSED [ 33%] 13:05:47 tests/test_k8s.py::test_instance_create_delete PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_upgrade PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_get_by_id PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_get_status PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_query_status PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_create_delete_configuration PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_get_configuration_by_name PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_get_all_configurations PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_config_get_all_versions PASSED [ 34%] 13:05:47 tests/test_k8s.py::test_instance_config_get_by_version PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_get_all_tags PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_get_by_tag PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_tag_version PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_update PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_delete_version PASSED [ 35%] 13:05:47 tests/test_k8s.py::test_instance_config_rollback PASSED [ 35%] 13:05:47 tests/test_multicloud.py::test_multicloud_register PASSED [ 35%] 13:05:47 tests/test_multicloud.py::test_multicloud_unregister PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_nbi PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_specification_get_all PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_specification_get_by_id PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_specification_input_schema PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_get_all PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_order PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_order_status PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_order_no_related_party PASSED [ 36%] 13:05:47 tests/test_nbi.py::test_service_order_customer PASSED [ 37%] 13:05:47 tests/test_nbi.py::test_service_order_service_specification PASSED [ 37%] 13:05:47 tests/test_nbi.py::test_service_order_create PASSED [ 37%] 13:05:47 tests/test_nbi.py::test_service_order_wait_for_finish PASSED [ 37%] 13:05:47 tests/test_nbi.py::test_query_resource_get_all PASSED [ 37%] 13:05:47 tests/test_nbi.py::test_query_resource_get_specific_resource PASSED [ 37%] 13:05:47 tests/test_onap_service.py::test_init PASSED [ 37%] 13:05:47 tests/test_onap_service.py::test_class_variables PASSED [ 37%] 13:05:47 tests/test_onap_service.py::test_set_proxy PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_OK PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_custom_header_OK PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_with_basic_auth PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_resource_not_found PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[400] PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[401] PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[403] PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[405] PASSED [ 38%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[408] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[415] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[429] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[500] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[501] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[502] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[503] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_api_error[504] PASSED [ 39%] 13:05:47 tests/test_onap_service.py::test_send_message_connection_failed PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_request_error PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_custom_error PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_OK PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_invalid_response PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_connection_failed PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_api_error PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_resource_not_found PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_request_error PASSED [ 40%] 13:05:47 tests/test_onap_service.py::test_send_message_json_custom_error PASSED [ 41%] 13:05:47 tests/test_onap_service.py::test_set_header PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_get_all_no_pnf PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_get_all_some_pnfs PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_init_no_name PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_init_with_name PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_equality_really_equals PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_equality_not_equals PASSED [ 41%] 13:05:47 tests/test_pnf.py::test_equality_not_equals_not_same_object PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_exists_not_exists PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_exists PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_load_created PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_create_no_vsp_no_vendor PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_create_already_exists PASSED [ 42%] 13:05:47 tests/test_pnf.py::test_create_issue_in_creation PASSED [ 42%] 13:05:48 tests/test_pnf.py::test_create_OK FAILED [ 42%] 13:05:48 13:05:48 =================================== FAILURES =================================== 13:05:48 ________________________________ test_create_OK ________________________________ 13:05:48 13:05:48 mock_category = 13:05:48 mock_send = 13:05:48 mock_exists = 13:05:48 13:05:48 @mock.patch.object(Pnf, 'exists') 13:05:48 @mock.patch.object(Pnf, 'send_message_json') 13:05:48 @mock.patch.object(Pnf, "category", new_callable=mock.PropertyMock) 13:05:48 def test_create_OK(mock_category, mock_send, mock_exists): 13:05:48 """Create and update object.""" 13:05:48 pnf = Pnf() 13:05:48 vsp = Vsp() 13:05:48 vendor = Vendor() 13:05:48 vsp._identifier = "1232" 13:05:48 pnf.vsp = vsp 13:05:48 vsp.vendor = vendor 13:05:48 vsp._csar_uuid = "1234" 13:05:48 expected_data = '{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories": [{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version": null,\n "ownerId": null,\n "empty": false,\n "type": null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n \n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}' 13:05:48 mock_exists.return_value = False 13:05:48 mock_send.return_value = {'resourceType': 'PNF', 'name': 'one', 'uuid': '1234', 'invariantUUID': '5678', 'version': '1.0', 'uniqueId': '91011', 'lifecycleState': 'NOT_CERTIFIED_CHECKOUT'} 13:05:48 rc = ResourceCategory( 13:05:48 name="Generic" 13:05:48 ) 13:05:48 rc.normalized_name="generic" 13:05:48 rc.unique_id="resourceNewCategory.generic" 13:05:48 rc.subcategories=[{"empty": False, "groupings": None, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": None, "type": None, "uniqueId": "resourceNewCategory.generic.abstract", "version": None}] 13:05:48 rc.version=None 13:05:48 rc.owner_id=None 13:05:48 rc.empty=False 13:05:48 rc.type=None 13:05:48 rc.icons=None 13:05:48 mock_category.return_value = rc 13:05:48 pnf.create() 13:05:48 > mock_send.assert_called_once_with("POST", "create Pnf", 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data=expected_data) 13:05:48 13:05:48 tests/test_pnf.py:242: 13:05:48 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:05:48 /usr/lib/python3.8/unittest/mock.py:925: in assert_called_once_with 13:05:48 return self.assert_called_with(*args, **kwargs) 13:05:48 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:05:48 13:05:48 self = 13:05:48 args = ('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources') 13:05:48 kwargs = {'data': '{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n ...n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}'} 13:05:48 expected = (('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources'), {'data... "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}'}) 13:05:48 actual = call('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data...n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:05:48 _error_message = ._error_message at 0x7fa11712d4c0> 13:05:48 cause = None 13:05:48 13:05:48 def assert_called_with(self, /, *args, **kwargs): 13:05:48 """assert that the last call was made with the specified arguments. 13:05:48 13:05:48 Raises an AssertionError if the args and keyword args passed in are 13:05:48 different to the last call to the mock.""" 13:05:48 if self.call_args is None: 13:05:48 expected = self._format_mock_call_signature(args, kwargs) 13:05:48 actual = 'not called.' 13:05:48 error_message = ('expected call not found.\nExpected: %s\nActual: %s' 13:05:48 % (expected, actual)) 13:05:48 raise AssertionError(error_message) 13:05:48 13:05:48 def _error_message(): 13:05:48 msg = self._format_mock_failure_message(args, kwargs) 13:05:48 return msg 13:05:48 expected = self._call_matcher((args, kwargs)) 13:05:48 actual = self._call_matcher(self.call_args) 13:05:48 if expected != actual: 13:05:48 cause = expected if isinstance(expected, Exception) else None 13:05:48 > raise AssertionError(_error_message()) from cause 13:05:48 E AssertionError: expected call not found. 13:05:48 E Expected: send_message_json('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data='{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories": [{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version": null,\n "ownerId": null,\n "empty": false,\n "type": null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n \n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:05:48 E Actual: send_message_json('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data='{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories":[{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version":null,\n "ownerId":null,\n "empty": false,\n "type":null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:05:48 13:05:48 /usr/lib/python3.8/unittest/mock.py:913: AssertionError 13:05:48 13:05:48 ---------- coverage: platform linux, python 3.8.15-final-0 ----------- 13:05:48 Name Stmts Miss Cover Missing 13:05:48 ------------------------------------------------------------------------------------------------------------------ 13:05:48 src/onapsdk/__init__.py 0 0 100% 13:05:48 src/onapsdk/aai/__init__.py 0 0 100% 13:05:48 src/onapsdk/aai/aai_element.py 90 0 100% 13:05:48 src/onapsdk/aai/bulk.py 84 1 99% 29 13:05:48 src/onapsdk/aai/business/__init__.py 12 0 100% 13:05:48 src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 13:05:48 src/onapsdk/aai/business/instance.py 10 0 100% 13:05:48 src/onapsdk/aai/business/line_of_business.py 31 0 100% 13:05:48 src/onapsdk/aai/business/network.py 42 2 95% 156, 166 13:05:48 src/onapsdk/aai/business/owning_entity.py 46 0 100% 13:05:48 src/onapsdk/aai/business/platform.py 30 0 100% 13:05:48 src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 13:05:48 src/onapsdk/aai/business/project.py 30 0 100% 13:05:48 src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 13:05:48 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 13:05:48 src/onapsdk/aai/business/vf_module.py 43 0 100% 13:05:48 src/onapsdk/aai/business/vnf.py 127 0 100% 13:05:48 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% 13:05:48 src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% 13:05:48 src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% 13:05:48 src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% 13:05:48 src/onapsdk/aai/cloud_infrastructure/tenant.py 17 0 100% 13:05:48 src/onapsdk/aai/mixins/__init__.py 0 0 100% 13:05:48 src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 13:05:48 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 13:05:48 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 13:05:48 src/onapsdk/aai/mixins/link_to_tenant.py 11 1 91% 21 13:05:48 src/onapsdk/aai/network/__init__.py 1 0 100% 13:05:48 src/onapsdk/aai/network/site_resource.py 47 1 98% 103 13:05:48 src/onapsdk/aai/service_design_and_creation.py 41 0 100% 13:05:48 src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% 13:05:48 src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% 13:05:48 src/onapsdk/cds/__init__.py 3 0 100% 13:05:48 src/onapsdk/cds/blueprint.py 220 1 99% 72 13:05:48 src/onapsdk/cds/blueprint_model.py 46 0 100% 13:05:48 src/onapsdk/cds/blueprint_processor.py 6 0 100% 13:05:48 src/onapsdk/cds/cds_element.py 14 0 100% 13:05:48 src/onapsdk/cds/data_dictionary.py 63 0 100% 13:05:48 src/onapsdk/cds/templates/cds_blueprintprocessor_bootstrap.json.j2 1 0 100% 13:05:48 src/onapsdk/cds/templates/data_dictionary_source_rest.json.j2 1 0 100% 13:05:48 src/onapsdk/clamp/__init__.py 0 0 100% 13:05:48 src/onapsdk/clamp/clamp_element.py 28 0 100% 13:05:48 src/onapsdk/clamp/loop_instance.py 146 1 99% 266 13:05:48 src/onapsdk/clamp/templates/clamp_MinMax_config.json.j2 1 0 100% 13:05:48 src/onapsdk/clamp/templates/clamp_add_drools_policy.json.j2 1 0 100% 13:05:48 src/onapsdk/clamp/templates/clamp_add_frequency.json.j2 1 0 100% 13:05:48 src/onapsdk/clamp/templates/clamp_add_tca_config.json.j2 1 0 100% 13:05:48 src/onapsdk/configuration/__init__.py 2 0 100% 13:05:48 src/onapsdk/configuration/global_settings.py 48 0 100% 13:05:48 src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 13:05:48 src/onapsdk/constants.py 33 0 100% 13:05:48 src/onapsdk/cps/__init__.py 3 0 100% 13:05:48 src/onapsdk/cps/anchor.py 29 1 97% 22 13:05:48 src/onapsdk/cps/cps_element.py 6 0 100% 13:05:48 src/onapsdk/cps/dataspace.py 63 2 97% 85-92 13:05:48 src/onapsdk/cps/schemaset.py 19 1 95% 23 13:05:48 src/onapsdk/dmaap/__init__.py 0 0 100% 13:05:48 src/onapsdk/dmaap/dmaap.py 25 0 100% 13:05:48 src/onapsdk/dmaap/dmaap_service.py 4 0 100% 13:05:48 src/onapsdk/exceptions.py 33 1 97% 92 13:05:48 src/onapsdk/k8s/__init__.py 6 0 100% 13:05:48 src/onapsdk/k8s/connectivity_info.py 23 0 100% 13:05:48 src/onapsdk/k8s/definition.py 109 5 95% 54-55, 97, 363, 365 13:05:48 src/onapsdk/k8s/instance.py 141 2 99% 146, 305 13:05:48 src/onapsdk/k8s/k8splugin_service.py 54 0 100% 13:05:48 src/onapsdk/k8s/region.py 30 1 97% 66 13:05:48 src/onapsdk/k8s/templates/multicloud_k8s_add_connectivity_info.json.j2 1 0 100% 13:05:48 src/onapsdk/k8s/templates/multicloud_k8s_add_definition.json.j2 1 0 100% 13:05:48 src/onapsdk/k8s/templates/multicloud_k8s_create_configuration_for_instance.json.j2 1 0 100% 13:05:48 src/onapsdk/k8s/templates/multicloud_k8s_create_configuration_template.json.j2 1 0 100% 13:05:48 src/onapsdk/k8s/templates/multicloud_k8s_create_profile_for_definition.json.j2 1 0 100% 13:05:48 src/onapsdk/msb/__init__.py 3 0 100% 13:05:48 src/onapsdk/msb/esr.py 7 0 100% 13:05:48 src/onapsdk/msb/msb_service.py 6 0 100% 13:05:48 src/onapsdk/msb/multicloud.py 9 0 100% 13:05:48 src/onapsdk/nbi/__init__.py 1 0 100% 13:05:48 src/onapsdk/nbi/nbi.py 168 0 100% 13:05:48 src/onapsdk/nbi/templates/nbi_service_order_create.json.j2 1 0 100% 13:05:48 src/onapsdk/onap_service.py 125 2 98% 130, 208 13:05:48 src/onapsdk/sdc2/__init__.py 0 0 100% 13:05:48 src/onapsdk/sdc2/component_instance.py 66 45 32% 22, 71-87, 104, 132, 144-156, 200-215, 231, 258-266, 279-282 13:05:48 src/onapsdk/sdc2/pnf.py 9 2 78% 30, 40 13:05:48 src/onapsdk/sdc2/sdc.py 40 7 82% 52-54, 74, 87-89 13:05:48 src/onapsdk/sdc2/sdc_category.py 68 32 53% 66-78, 97, 118-121, 137-140, 152, 179, 210-215, 229, 243, 257 13:05:48 src/onapsdk/sdc2/sdc_resource.py 159 70 56% 109-125, 147, 166-183, 187, 196, 212, 222-223, 233, 248, 270, 327-329, 343, 356, 374, 388-395, 404-415, 439-453, 470-477, 490-493, 527, 586-605, 621-623, 636, 698-701 13:05:48 src/onapsdk/sdc2/sdc_user.py 32 15 53% 55-63, 73, 94-97, 110 13:05:48 src/onapsdk/sdc2/service.py 105 42 60% 69, 89-94, 113, 130, 143-146, 156, 167-182, 245-266, 276, 294, 307, 339-340, 366, 380, 400-406, 420, 437, 453, 469-476, 489-492, 504-506 13:05:48 src/onapsdk/sdc2/vf.py 9 2 78% 30, 40 13:05:48 src/onapsdk/sdc2/vl.py 6 1 83% 30 13:05:48 src/onapsdk/sdc/__init__.py 178 34 81% 153-156, 180-183, 213-225, 243-250, 269, 276, 283, 309-317, 363-371 13:05:48 src/onapsdk/sdc/category_management.py 99 46 54% 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 13:05:48 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 13:05:48 src/onapsdk/sdc/pnf.py 21 3 86% 72-74 13:05:48 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 13:05:48 src/onapsdk/sdc/sdc_element.py 67 32 52% 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 13:05:48 src/onapsdk/sdc/sdc_resource.py 317 164 48% 65, 85, 92, 111-143, 157, 167, 187-189, 327, 353, 357-365, 372-374, 377-379, 383-396, 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 13:05:48 src/onapsdk/sdc/service.py 358 205 43% 78, 169-170, 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-693, 704, 708-711, 721-723, 727, 732, 737, 759-771, 784-800, 806-807, 814, 819, 837-846, 866-885, 903-905, 924-926, 938-940 13:05:48 src/onapsdk/sdc/vendor.py 46 23 50% 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 13:05:48 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 13:05:48 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 13:05:48 src/onapsdk/sdc/vl.py 9 3 67% 39-41 13:05:48 src/onapsdk/sdc/vsp.py 157 95 39% 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 158-160, 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 13:05:48 src/onapsdk/sdnc/__init__.py 1 0 100% 13:05:48 src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 13:05:48 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 13:05:48 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 13:05:48 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 13:05:48 src/onapsdk/so/__init__.py 0 0 100% 13:05:48 src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 13:05:48 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 13:05:48 src/onapsdk/so/instantiation.py 330 185 44% 86, 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 13:05:48 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 13:05:48 src/onapsdk/so/so_db_adapter.py 26 2 92% 69-82 13:05:48 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 13:05:48 src/onapsdk/utils/__init__.py 8 3 62% 38-40 13:05:48 src/onapsdk/utils/configuration.py 3 0 100% 13:05:48 src/onapsdk/utils/gui.py 13 0 100% 13:05:48 src/onapsdk/utils/headers_creator.py 63 8 87% 222-230 13:05:48 src/onapsdk/utils/jinja.py 3 0 100% 13:05:48 src/onapsdk/utils/mixins.py 28 10 64% 89-99 13:05:48 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 13:05:48 src/onapsdk/version.py 1 0 100% 13:05:48 src/onapsdk/ves/__init__.py 0 0 100% 13:05:48 src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 13:05:48 src/onapsdk/ves/ves_service.py 4 0 100% 13:05:48 ------------------------------------------------------------------------------------------------------------------ 13:05:48 TOTAL 5598 1352 76% 13:05:48 13:05:48 FAIL Required test coverage of 98% not reached. Total coverage: 75.85% 13:05:48 =========================== short test summary info ============================ 13:05:48 FAILED tests/test_pnf.py::test_create_OK - AssertionError: expected call not ... 13:05:48 !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 13:05:48 ======================== 1 failed, 361 passed in 5.99s ========================= 13:05:48 py38: exit 1 (6.48 seconds) /w/workspace/integration-python-onapsdk-pypi-verify-master> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=2854 13:05:49 py38: FAIL ✖ in 25.52 seconds 13:05:49 py39: install_deps> python -I -m pip install -r test-requirements.txt 13:05:58 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 13:05:59 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-13.0.4.tar.gz 13:06:01 py39: freeze> python -m pip freeze --all 13:06:01 py39: astroid==3.1.0,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.3,cryptography==38.0.4,dacite==1.6.0,dill==0.3.8,exceptiongroup==1.2.0,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.5,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==13.0.4,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==24.0,platformdirs==4.2.0,pluggy==1.4.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.1.0,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.0.2,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.1,setuptools==69.1.0,simplejson==3.17.6,six==1.16.0,snowballstemmer==2.2.0,stevedore==5.2.0,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.10.0,urllib3==1.26.18,wheel==0.42.0 13:06:01 py39: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules 13:06:02 ============================= test session starts ============================== 13:06:02 platform linux -- Python 3.9.15, pytest-8.0.2, pluggy-1.4.0 -- /w/workspace/integration-python-onapsdk-pypi-verify-master/.tox/py39/bin/python 13:06:02 cachedir: .tox/py39/.pytest_cache 13:06:02 rootdir: /w/workspace/integration-python-onapsdk-pypi-verify-master 13:06:02 configfile: setup.cfg 13:06:02 plugins: requests-mock-1.11.0, cov-4.1.0 13:06:05 collecting ... collected 844 items 13:06:05 13:06:05 tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_first_which_is_failing PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_second_which_is_failing PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_both_which_are_failing_reverse_order PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_retry_and_remove_both_which_are_failing_in_order PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_parse_invalid_response_text PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_aai_bulk_do_not_retry PASSED [ 0%] 13:06:05 tests/test_aai_bulk.py::test_get_failed_operation_index PASSED [ 0%] 13:06:05 tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 1%] 13:06:05 tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 1%] 13:06:05 tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 1%] 13:06:05 tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 1%] 13:06:05 tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 1%] 13:06:05 tests/test_aai_complex.py::test_complex PASSED [ 1%] 13:06:05 tests/test_aai_complex.py::test_complex_update PASSED [ 1%] 13:06:05 tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] 13:06:05 tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 2%] 13:06:05 tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 2%] 13:06:05 tests/test_aai_complex.py::test_complex_delete PASSED [ 2%] 13:06:05 tests/test_aai_complex.py::test_complex_count PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customers_get_all PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] 13:06:05 tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_customer_create PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_customer_delete PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_customer_update PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_customer_url PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] 13:06:05 tests/test_aai_customer.py::test_availability_zones PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_add_availability_zone PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] 13:06:05 tests/test_aai_customer.py::test_customer_count PASSED [ 4%] 13:06:05 tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 5%] 13:06:05 tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 5%] 13:06:05 tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 5%] 13:06:05 tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 6%] 13:06:05 tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 6%] 13:06:05 tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] 13:06:05 tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] 13:06:05 tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] 13:06:05 tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] 13:06:05 tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] 13:06:05 tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] 13:06:05 tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] 13:06:05 tests/test_aai_platform.py::test_platform_get_all PASSED [ 7%] 13:06:05 tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] 13:06:05 tests/test_aai_platform.py::test_platform_create PASSED [ 7%] 13:06:05 tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] 13:06:05 tests/test_aai_platform.py::test_platform_url PASSED [ 7%] 13:06:05 tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] 13:06:05 tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] 13:06:05 tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] 13:06:05 tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 8%] 13:06:05 tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] 13:06:05 tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] 13:06:05 tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] 13:06:06 tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] 13:06:06 tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] 13:06:06 tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] 13:06:06 tests/test_aai_project.py::test_project_get_all PASSED [ 8%] 13:06:06 tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_project_create PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_project_count PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_project_url PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_project_delete PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] 13:06:06 tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] 13:06:06 tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] 13:06:06 tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 9%] 13:06:06 tests/test_aai_resource.py::test_get_guis PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_init PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_class_variables PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_customers PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_cloud_regions PASSED [ 10%] 13:06:06 tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_tenants_info PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_create_complex PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_filter_none_value PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_add_relationship PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_delete_relationship PASSED [ 11%] 13:06:06 tests/test_aai_service.py::test_service_url PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_service_create PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_model_init PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_model_url PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_model_get_all PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 12%] 13:06:06 tests/test_aai_service.py::test_service_instance_create PASSED [ 12%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 13%] 13:06:06 tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] 13:06:06 tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_tenants PASSED [ 14%] 13:06:06 tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 14%] 13:06:06 tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] 13:06:06 tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] 13:06:06 tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] 13:06:06 tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 15%] 13:06:06 tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 15%] 13:06:06 tests/test_aai_tenant.py::test_owning_entity_link_to_tenant PASSED [ 15%] 13:06:06 tests/test_aai_tenant.py::test_owning_entity_delete_tenant PASSED [ 15%] 13:06:06 tests/test_aai_tenant.py::test_tenant_url PASSED [ 15%] 13:06:06 tests/test_aai_tenant.py::test_tenant_getall_url PASSED [ 15%] 13:06:06 tests/test_aai_tenant.py::test_tenant_delete PASSED [ 16%] 13:06:06 tests/test_aai_vf_module.py::test_vf_module PASSED [ 16%] 13:06:06 tests/test_aai_vf_module.py::test_vf_module_deletion PASSED [ 16%] 13:06:06 tests/test_aai_vf_module.py::test_vnf_vf_module PASSED [ 16%] 13:06:06 tests/test_aai_vf_module.py::test_vf_module_instance_count PASSED [ 16%] 13:06:06 tests/test_aai_vnf.py::test_vnf_instance PASSED [ 16%] 13:06:06 tests/test_aai_vnf.py::test_vnf_instance_vf_modules PASSED [ 16%] 13:06:06 tests/test_aai_vnf.py::test_vnf_instance_vnf PASSED [ 16%] 13:06:06 tests/test_aai_vnf.py::test_vnf_add_vf_module PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_vnf_update PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_vnf_healthcheck PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_vnf_upgrade PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_vnf_execute_so_action PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_build_so_input PASSED [ 17%] 13:06:06 tests/test_aai_vnf.py::test_vnf_instance_mock PASSED [ 17%] 13:06:06 tests/test_cds.py::test_blueprint_enrichment PASSED [ 17%] 13:06:06 tests/test_cds.py::test_blueprint_publish PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_deploy PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_load_from_file PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_load_from_file_file_error PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_save PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_read_cba_metadata PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_get_mappings_from_mapping_file PASSED [ 18%] 13:06:06 tests/test_cds.py::test_blueprint_generate_data_dictionary_set PASSED [ 18%] 13:06:06 tests/test_cds.py::test_data_dictionary PASSED [ 18%] 13:06:06 tests/test_cds.py::test_data_dictionary_upload PASSED [ 19%] 13:06:06 tests/test_cds.py::test_data_dictionary_set PASSED [ 19%] 13:06:06 tests/test_cds.py::test_data_dictionary_set_save_to_file_load_from_file PASSED [ 19%] 13:06:06 tests/test_cds.py::test_data_dictionary_load_from_file_file_error PASSED [ 19%] 13:06:06 tests/test_cds.py::test_mapping PASSED [ 19%] 13:06:06 tests/test_cds.py::test_mapping_set PASSED [ 19%] 13:06:06 tests/test_cds.py::test_blueprint_get_workflows_from_entry_definitions_file PASSED [ 19%] 13:06:06 tests/test_cds.py::test_blueprint_get_workflow_by_name PASSED [ 19%] 13:06:06 tests/test_cds.py::test_workflow_execute PASSED [ 20%] 13:06:06 tests/test_cds.py::test_data_dictionary_validation PASSED [ 20%] 13:06:06 tests/test_cds.py::test_blueprintprocessor_bootstrap PASSED [ 20%] 13:06:06 tests/test_cds.py::test_data_dictionary_get_by_name PASSED [ 20%] 13:06:06 tests/test_cds.py::test_get_guis PASSED [ 20%] 13:06:06 tests/test_cds.py::test_blueprint_get_resolved_template PASSED [ 20%] 13:06:06 tests/test_cds.py::test_blueprint_store_resolved_template PASSED [ 20%] 13:06:06 tests/test_cds.py::test_resolved_template_get_template_url PASSED [ 20%] 13:06:06 tests/test_cds.py::test_resolved_template_store_template_url PASSED [ 20%] 13:06:06 tests/test_cds_blueprint_models.py::test_init PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_class_variables PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_all PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_all_empty PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_by_id PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_by_id_non_existing PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_by_name_and_version PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_blueprint_model_by_name_and_version_non_existing PASSED [ 21%] 13:06:06 tests/test_cds_blueprint_models.py::test_get_blueprint_object PASSED [ 22%] 13:06:06 tests/test_cds_blueprint_models.py::test_save_blueprint PASSED [ 22%] 13:06:06 tests/test_cds_blueprint_models.py::test_delete_blueprint PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_initialization PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_check_loop_template PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_check_loop_template_none PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_check_policies PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_check_policies_none PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_cl_initialization PASSED [ 22%] 13:06:06 tests/test_clamp.py::test_details PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_update_loop_details PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_refresh_status PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_validate PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_validate_details PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_create PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_add_operational_policy PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_not_add_operational_policy_parameter_error PASSED [ 23%] 13:06:06 tests/test_clamp.py::test_add_operational_policy_key_parameter_error PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_add_operational_policy_condition_parameter_error PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_remove_operational_policy PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_update_microservice_policy PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_update_microservice_policy_none PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_extract_operational_policy_name PASSED [ 24%] 13:06:06 tests/test_clamp.py::test_extract_none PASSED [ 24%] 13:06:07 tests/test_clamp.py::test_add_drools_policy_config PASSED [ 24%] 13:06:07 tests/test_clamp.py::test_add_minmax_config PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_add_frequency_policy_config PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_add_two_policies_config PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_submit_policy PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_stop_policy PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_restart_policy PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_not_submited_policy PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_deploy_microservice_to_dcae PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_undeploy_microservice_from_dcae PASSED [ 25%] 13:06:07 tests/test_clamp.py::test_delete PASSED [ 26%] 13:06:07 tests/test_configuration.py::test_components_needing_distribution PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_create_anchor PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_get_anchors PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_get_anchor PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_delete_anchor PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_get_schema_set PASSED [ 26%] 13:06:07 tests/test_cps.py::test_dataspace_create_schema_set PASSED [ 27%] 13:06:07 tests/test_cps.py::test_dataspace_delete PASSED [ 27%] 13:06:07 tests/test_cps.py::test_dataspace_get_dataspace PASSED [ 27%] 13:06:07 tests/test_cps.py::test_schema_set PASSED [ 27%] 13:06:07 tests/test_cps.py::test_schemaset_delete PASSED [ 27%] 13:06:07 tests/test_cps.py::test_anchor PASSED [ 27%] 13:06:07 tests/test_cps.py::test_anchor_delete PASSED [ 27%] 13:06:07 tests/test_cps.py::test_anchor_create_node PASSED [ 27%] 13:06:07 tests/test_cps.py::test_anchor_get_node PASSED [ 27%] 13:06:07 tests/test_cps.py::test_anchor_update_node PASSED [ 28%] 13:06:07 tests/test_cps.py::test_anchor_replace_node PASSED [ 28%] 13:06:07 tests/test_cps.py::test_anchor_add_list_node PASSED [ 28%] 13:06:07 tests/test_cps.py::test_anchor_query_node PASSED [ 28%] 13:06:07 tests/test_cps.py::test_anchor_delete_nodes PASSED [ 28%] 13:06:07 tests/test_cps.py::test_dataspace_create_anchor_except PASSED [ 28%] 13:06:07 tests/test_cps.py::test_dataspace_get_anchors_except PASSED [ 28%] 13:06:07 tests/test_cps.py::test_dataspace_get_anchor_except PASSED [ 28%] 13:06:07 tests/test_cps.py::test_dataspace_get_schema_set_except PASSED [ 29%] 13:06:07 tests/test_cps.py::test_dataspace_create_schema_set_except PASSED [ 29%] 13:06:07 tests/test_dmaap.py::test_should_get_all_events PASSED [ 29%] 13:06:07 tests/test_dmaap.py::test_should_get_events_from_topic PASSED [ 29%] 13:06:07 tests/test_dmaap.py::test_should_get_all_topics PASSED [ 29%] 13:06:07 tests/test_dmaap.py::test_post_event_success PASSED [ 29%] 13:06:07 tests/test_dmaap.py::test_post_event_failure PASSED [ 29%] 13:06:07 tests/test_esr.py::test_esr PASSED [ 29%] 13:06:07 tests/test_esr.py::test_est_register_vim PASSED [ 29%] 13:06:07 tests/test_exceptions.py::test_api_error_response_status_code PASSED [ 30%] 13:06:07 tests/test_gui.py::GuiTestingBase::test_add_bad_gui_item PASSED [ 30%] 13:06:07 tests/test_gui.py::GuiTestingBase::test_add_gui_item PASSED [ 30%] 13:06:07 tests/test_gui.py::GuiTestingBase::test_create_bad_gui_item PASSED [ 30%] 13:06:07 tests/test_gui.py::GuiTestingBase::test_create_bad_gui_list PASSED [ 30%] 13:06:07 tests/test_gui.py::GuiTestingBase::test_get_guis_request_error PASSED [ 30%] 13:06:07 tests/test_headers_creator.py::test_headers_sdc_creator PASSED [ 30%] 13:06:07 tests/test_headers_creator.py::test_headers_sdc_tester PASSED [ 30%] 13:06:07 tests/test_headers_creator.py::test_headers_sdc_governor PASSED [ 31%] 13:06:07 tests/test_headers_creator.py::test_headers_sdc_operator PASSED [ 31%] 13:06:07 tests/test_headers_creator.py::test_headers_aai_creator PASSED [ 31%] 13:06:07 tests/test_headers_creator.py::test_headers_so_creator PASSED [ 31%] 13:06:07 tests/test_headers_creator.py::test_headers_so_catelog_db_creator PASSED [ 31%] 13:06:07 tests/test_headers_creator.py::test_headers_sdnc_creator PASSED [ 31%] 13:06:07 tests/test_jinja.py::test_jinja_env PASSED [ 31%] 13:06:07 tests/test_k8s.py::test_get_connectivity_info_by_region_id PASSED [ 31%] 13:06:07 tests/test_k8s.py::test_connectivity_info_create_delete PASSED [ 31%] 13:06:07 tests/test_k8s.py::test_get_cloud_region_by_region_id PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_cloud_region_create_delete PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_region_query_resources PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_definition_get_all PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_get_definition_by_name_version PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_create_delete_definition PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_update_definition PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_definition_create_delete_profile PASSED [ 32%] 13:06:07 tests/test_k8s.py::test_definition_update_profile PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_get_profile_by_name PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_get_all_profiles PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_get_configuration_template_by_name PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_create_delete_configuration_template PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_update_configuration_template PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_definition_get_all_configuration_templates PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_instance_get_all PASSED [ 33%] 13:06:07 tests/test_k8s.py::test_instance_create_delete PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_upgrade PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_get_by_id PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_get_status PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_query_status PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_create_delete_configuration PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_get_configuration_by_name PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_get_all_configurations PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_config_get_all_versions PASSED [ 34%] 13:06:07 tests/test_k8s.py::test_instance_config_get_by_version PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_get_all_tags PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_get_by_tag PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_tag_version PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_update PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_delete_version PASSED [ 35%] 13:06:07 tests/test_k8s.py::test_instance_config_rollback PASSED [ 35%] 13:06:07 tests/test_multicloud.py::test_multicloud_register PASSED [ 35%] 13:06:07 tests/test_multicloud.py::test_multicloud_unregister PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_nbi PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_specification_get_all PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_specification_get_by_id PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_specification_input_schema PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_get_all PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_order PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_order_status PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_order_no_related_party PASSED [ 36%] 13:06:07 tests/test_nbi.py::test_service_order_customer PASSED [ 37%] 13:06:07 tests/test_nbi.py::test_service_order_service_specification PASSED [ 37%] 13:06:07 tests/test_nbi.py::test_service_order_create PASSED [ 37%] 13:06:07 tests/test_nbi.py::test_service_order_wait_for_finish PASSED [ 37%] 13:06:07 tests/test_nbi.py::test_query_resource_get_all PASSED [ 37%] 13:06:07 tests/test_nbi.py::test_query_resource_get_specific_resource PASSED [ 37%] 13:06:07 tests/test_onap_service.py::test_init PASSED [ 37%] 13:06:07 tests/test_onap_service.py::test_class_variables PASSED [ 37%] 13:06:07 tests/test_onap_service.py::test_set_proxy PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_OK PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_custom_header_OK PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_with_basic_auth PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_resource_not_found PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[400] PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[401] PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[403] PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[405] PASSED [ 38%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[408] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[415] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[429] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[500] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[501] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[502] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[503] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_api_error[504] PASSED [ 39%] 13:06:07 tests/test_onap_service.py::test_send_message_connection_failed PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_request_error PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_custom_error PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_OK PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_invalid_response PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_connection_failed PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_api_error PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_resource_not_found PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_request_error PASSED [ 40%] 13:06:07 tests/test_onap_service.py::test_send_message_json_custom_error PASSED [ 41%] 13:06:07 tests/test_onap_service.py::test_set_header PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_get_all_no_pnf PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_get_all_some_pnfs PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_init_no_name PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_init_with_name PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_equality_really_equals PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_equality_not_equals PASSED [ 41%] 13:06:07 tests/test_pnf.py::test_equality_not_equals_not_same_object PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_exists_not_exists PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_exists PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_load_created PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_create_no_vsp_no_vendor PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_create_already_exists PASSED [ 42%] 13:06:07 tests/test_pnf.py::test_create_issue_in_creation PASSED [ 42%] 13:06:08 tests/test_pnf.py::test_create_OK FAILED [ 42%] 13:06:08 13:06:08 =================================== FAILURES =================================== 13:06:08 ________________________________ test_create_OK ________________________________ 13:06:08 13:06:08 mock_category = 13:06:08 mock_send = 13:06:08 mock_exists = 13:06:08 13:06:08 @mock.patch.object(Pnf, 'exists') 13:06:08 @mock.patch.object(Pnf, 'send_message_json') 13:06:08 @mock.patch.object(Pnf, "category", new_callable=mock.PropertyMock) 13:06:08 def test_create_OK(mock_category, mock_send, mock_exists): 13:06:08 """Create and update object.""" 13:06:08 pnf = Pnf() 13:06:08 vsp = Vsp() 13:06:08 vendor = Vendor() 13:06:08 vsp._identifier = "1232" 13:06:08 pnf.vsp = vsp 13:06:08 vsp.vendor = vendor 13:06:08 vsp._csar_uuid = "1234" 13:06:08 expected_data = '{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories": [{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version": null,\n "ownerId": null,\n "empty": false,\n "type": null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n \n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}' 13:06:08 mock_exists.return_value = False 13:06:08 mock_send.return_value = {'resourceType': 'PNF', 'name': 'one', 'uuid': '1234', 'invariantUUID': '5678', 'version': '1.0', 'uniqueId': '91011', 'lifecycleState': 'NOT_CERTIFIED_CHECKOUT'} 13:06:08 rc = ResourceCategory( 13:06:08 name="Generic" 13:06:08 ) 13:06:08 rc.normalized_name="generic" 13:06:08 rc.unique_id="resourceNewCategory.generic" 13:06:08 rc.subcategories=[{"empty": False, "groupings": None, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": None, "type": None, "uniqueId": "resourceNewCategory.generic.abstract", "version": None}] 13:06:08 rc.version=None 13:06:08 rc.owner_id=None 13:06:08 rc.empty=False 13:06:08 rc.type=None 13:06:08 rc.icons=None 13:06:08 mock_category.return_value = rc 13:06:08 pnf.create() 13:06:08 > mock_send.assert_called_once_with("POST", "create Pnf", 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data=expected_data) 13:06:08 13:06:08 tests/test_pnf.py:242: 13:06:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:06:08 /usr/lib/python3.9/unittest/mock.py:919: in assert_called_once_with 13:06:08 return self.assert_called_with(*args, **kwargs) 13:06:08 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 13:06:08 13:06:08 self = 13:06:08 args = ('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources') 13:06:08 kwargs = {'data': '{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n ...n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}'} 13:06:08 expected = call('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data...n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:06:08 actual = call('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data...n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:06:08 _error_message = ._error_message at 0x7f6e46683700> 13:06:08 cause = None 13:06:08 13:06:08 def assert_called_with(self, /, *args, **kwargs): 13:06:08 """assert that the last call was made with the specified arguments. 13:06:08 13:06:08 Raises an AssertionError if the args and keyword args passed in are 13:06:08 different to the last call to the mock.""" 13:06:08 if self.call_args is None: 13:06:08 expected = self._format_mock_call_signature(args, kwargs) 13:06:08 actual = 'not called.' 13:06:08 error_message = ('expected call not found.\nExpected: %s\nActual: %s' 13:06:08 % (expected, actual)) 13:06:08 raise AssertionError(error_message) 13:06:08 13:06:08 def _error_message(): 13:06:08 msg = self._format_mock_failure_message(args, kwargs) 13:06:08 return msg 13:06:08 expected = self._call_matcher(_Call((args, kwargs), two=True)) 13:06:08 actual = self._call_matcher(self.call_args) 13:06:08 if actual != expected: 13:06:08 cause = expected if isinstance(expected, Exception) else None 13:06:08 > raise AssertionError(_error_message()) from cause 13:06:08 E AssertionError: expected call not found. 13:06:08 E Expected: send_message_json('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data='{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories": [{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version": null,\n "ownerId": null,\n "empty": false,\n "type": null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n \n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:06:08 E Actual: send_message_json('POST', 'create Pnf', 'https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/rest/v1/catalog/resources', data='{\n "artifacts": {},\n "attributes": [],\n "capabilities": {},\n "categories": [\n {\n "normalizedName": "generic",\n "name": "Generic",\n "uniqueId": "resourceNewCategory.generic",\n "subcategories":[{"empty": false, "groupings": null, "icons": ["objectStorage", "compute"], "name": "Abstract", "normalizedName": "abstract", "ownerId": null, "type": null, "uniqueId": "resourceNewCategory.generic.abstract", "version": null}],\n "version":null,\n "ownerId":null,\n "empty": false,\n "type":null,\n "icons": null\n }\n ],\n "componentInstances": [],\n "componentInstancesAttributes": {},\n "componentInstancesProperties": {},\n "componentType": "RESOURCE",\n "contactId": "cs0008",\n "csarUUID": "1234",\n "csarVersion": "1.0",\n "vendorName": "Generic-Vendor",\n \n "deploymentArtifacts": {},\n "description": "PNF",\n "icon": "defaulticon",\n "name": "ONAP-test-PNF",\n "properties": [],\n "groups": [],\n "requirements": {},\n "resourceType": "PNF",\n "tags": ["ONAP-test-PNF"],\n "toscaArtifacts": {},\n "vendorRelease": "1.0"\n}') 13:06:08 13:06:08 /usr/lib/python3.9/unittest/mock.py:907: AssertionError 13:06:08 13:06:08 ---------- coverage: platform linux, python 3.9.15-final-0 ----------- 13:06:08 Name Stmts Miss Cover Missing 13:06:08 ------------------------------------------------------------------------------------------------------------------ 13:06:08 src/onapsdk/__init__.py 0 0 100% 13:06:08 src/onapsdk/aai/__init__.py 0 0 100% 13:06:08 src/onapsdk/aai/aai_element.py 90 0 100% 13:06:08 src/onapsdk/aai/bulk.py 84 1 99% 29 13:06:08 src/onapsdk/aai/business/__init__.py 12 0 100% 13:06:08 src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 13:06:08 src/onapsdk/aai/business/instance.py 10 0 100% 13:06:08 src/onapsdk/aai/business/line_of_business.py 31 0 100% 13:06:08 src/onapsdk/aai/business/network.py 42 2 95% 156, 166 13:06:08 src/onapsdk/aai/business/owning_entity.py 46 0 100% 13:06:08 src/onapsdk/aai/business/platform.py 30 0 100% 13:06:08 src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 13:06:08 src/onapsdk/aai/business/project.py 30 0 100% 13:06:08 src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 13:06:08 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 13:06:08 src/onapsdk/aai/business/vf_module.py 43 0 100% 13:06:08 src/onapsdk/aai/business/vnf.py 127 0 100% 13:06:08 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% 13:06:08 src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% 13:06:08 src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% 13:06:08 src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% 13:06:08 src/onapsdk/aai/cloud_infrastructure/tenant.py 17 0 100% 13:06:08 src/onapsdk/aai/mixins/__init__.py 0 0 100% 13:06:08 src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 13:06:08 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 13:06:08 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 13:06:08 src/onapsdk/aai/mixins/link_to_tenant.py 11 1 91% 21 13:06:08 src/onapsdk/aai/network/__init__.py 1 0 100% 13:06:08 src/onapsdk/aai/network/site_resource.py 47 1 98% 103 13:06:08 src/onapsdk/aai/service_design_and_creation.py 41 0 100% 13:06:08 src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% 13:06:08 src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% 13:06:08 src/onapsdk/cds/__init__.py 3 0 100% 13:06:08 src/onapsdk/cds/blueprint.py 220 1 99% 72 13:06:08 src/onapsdk/cds/blueprint_model.py 46 0 100% 13:06:08 src/onapsdk/cds/blueprint_processor.py 6 0 100% 13:06:08 src/onapsdk/cds/cds_element.py 14 0 100% 13:06:08 src/onapsdk/cds/data_dictionary.py 63 0 100% 13:06:08 src/onapsdk/cds/templates/cds_blueprintprocessor_bootstrap.json.j2 1 0 100% 13:06:08 src/onapsdk/cds/templates/data_dictionary_source_rest.json.j2 1 0 100% 13:06:08 src/onapsdk/clamp/__init__.py 0 0 100% 13:06:08 src/onapsdk/clamp/clamp_element.py 28 0 100% 13:06:08 src/onapsdk/clamp/loop_instance.py 146 1 99% 266 13:06:08 src/onapsdk/clamp/templates/clamp_MinMax_config.json.j2 1 0 100% 13:06:08 src/onapsdk/clamp/templates/clamp_add_drools_policy.json.j2 1 0 100% 13:06:08 src/onapsdk/clamp/templates/clamp_add_frequency.json.j2 1 0 100% 13:06:08 src/onapsdk/clamp/templates/clamp_add_tca_config.json.j2 1 0 100% 13:06:08 src/onapsdk/configuration/__init__.py 2 0 100% 13:06:08 src/onapsdk/configuration/global_settings.py 48 0 100% 13:06:08 src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 13:06:08 src/onapsdk/constants.py 33 0 100% 13:06:08 src/onapsdk/cps/__init__.py 3 0 100% 13:06:08 src/onapsdk/cps/anchor.py 29 1 97% 22 13:06:08 src/onapsdk/cps/cps_element.py 6 0 100% 13:06:08 src/onapsdk/cps/dataspace.py 63 2 97% 85-92 13:06:08 src/onapsdk/cps/schemaset.py 19 1 95% 23 13:06:08 src/onapsdk/dmaap/__init__.py 0 0 100% 13:06:08 src/onapsdk/dmaap/dmaap.py 25 0 100% 13:06:08 src/onapsdk/dmaap/dmaap_service.py 4 0 100% 13:06:08 src/onapsdk/exceptions.py 33 1 97% 92 13:06:08 src/onapsdk/k8s/__init__.py 6 0 100% 13:06:08 src/onapsdk/k8s/connectivity_info.py 23 0 100% 13:06:08 src/onapsdk/k8s/definition.py 109 5 95% 54-55, 97, 363, 365 13:06:08 src/onapsdk/k8s/instance.py 141 2 99% 146, 305 13:06:08 src/onapsdk/k8s/k8splugin_service.py 54 0 100% 13:06:08 src/onapsdk/k8s/region.py 30 1 97% 66 13:06:08 src/onapsdk/k8s/templates/multicloud_k8s_add_connectivity_info.json.j2 1 0 100% 13:06:08 src/onapsdk/k8s/templates/multicloud_k8s_add_definition.json.j2 1 0 100% 13:06:08 src/onapsdk/k8s/templates/multicloud_k8s_create_configuration_for_instance.json.j2 1 0 100% 13:06:08 src/onapsdk/k8s/templates/multicloud_k8s_create_configuration_template.json.j2 1 0 100% 13:06:08 src/onapsdk/k8s/templates/multicloud_k8s_create_profile_for_definition.json.j2 1 0 100% 13:06:08 src/onapsdk/msb/__init__.py 3 0 100% 13:06:08 src/onapsdk/msb/esr.py 7 0 100% 13:06:08 src/onapsdk/msb/msb_service.py 6 0 100% 13:06:08 src/onapsdk/msb/multicloud.py 9 0 100% 13:06:08 src/onapsdk/nbi/__init__.py 1 0 100% 13:06:08 src/onapsdk/nbi/nbi.py 168 0 100% 13:06:08 src/onapsdk/nbi/templates/nbi_service_order_create.json.j2 1 0 100% 13:06:08 src/onapsdk/onap_service.py 125 2 98% 130, 208 13:06:08 src/onapsdk/sdc2/__init__.py 0 0 100% 13:06:08 src/onapsdk/sdc2/component_instance.py 66 45 32% 22, 71-87, 104, 132, 144-156, 200-215, 231, 258-266, 279-282 13:06:08 src/onapsdk/sdc2/pnf.py 9 2 78% 30, 40 13:06:08 src/onapsdk/sdc2/sdc.py 40 7 82% 52-54, 74, 87-89 13:06:08 src/onapsdk/sdc2/sdc_category.py 68 32 53% 66-78, 97, 118-121, 137-140, 152, 179, 210-215, 229, 243, 257 13:06:08 src/onapsdk/sdc2/sdc_resource.py 159 70 56% 109-125, 147, 166-183, 187, 196, 212, 222-223, 233, 248, 270, 327-329, 343, 356, 374, 388-395, 404-415, 439-453, 470-477, 490-493, 527, 586-605, 621-623, 636, 698-701 13:06:08 src/onapsdk/sdc2/sdc_user.py 32 15 53% 55-63, 73, 94-97, 110 13:06:08 src/onapsdk/sdc2/service.py 105 42 60% 69, 89-94, 113, 130, 143-146, 156, 167-182, 245-266, 276, 294, 307, 339-340, 366, 380, 400-406, 420, 437, 453, 469-476, 489-492, 504-506 13:06:08 src/onapsdk/sdc2/vf.py 9 2 78% 30, 40 13:06:08 src/onapsdk/sdc2/vl.py 6 1 83% 30 13:06:08 src/onapsdk/sdc/__init__.py 178 34 81% 153-156, 180-183, 213-225, 243-250, 269, 276, 283, 309-317, 363-371 13:06:08 src/onapsdk/sdc/category_management.py 99 46 54% 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 13:06:08 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 13:06:08 src/onapsdk/sdc/pnf.py 21 3 86% 72-74 13:06:08 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 13:06:08 src/onapsdk/sdc/sdc_element.py 67 32 52% 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 13:06:08 src/onapsdk/sdc/sdc_resource.py 317 164 48% 65, 85, 92, 111-143, 157, 167, 187-189, 327, 353, 357-365, 372-374, 377-379, 383-396, 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 13:06:08 src/onapsdk/sdc/service.py 358 205 43% 78, 169-170, 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-693, 704, 708-711, 721-723, 727, 732, 737, 759-771, 784-800, 806-807, 814, 819, 837-846, 866-885, 903-905, 924-926, 938-940 13:06:08 src/onapsdk/sdc/vendor.py 46 23 50% 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 13:06:08 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 13:06:08 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 13:06:08 src/onapsdk/sdc/vl.py 9 3 67% 39-41 13:06:08 src/onapsdk/sdc/vsp.py 157 95 39% 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 158-160, 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 13:06:08 src/onapsdk/sdnc/__init__.py 1 0 100% 13:06:08 src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 13:06:08 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 13:06:08 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 13:06:08 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 13:06:08 src/onapsdk/so/__init__.py 0 0 100% 13:06:08 src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 13:06:08 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 13:06:08 src/onapsdk/so/instantiation.py 330 185 44% 86, 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 13:06:08 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 13:06:08 src/onapsdk/so/so_db_adapter.py 26 2 92% 69-82 13:06:08 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 13:06:08 src/onapsdk/utils/__init__.py 8 3 62% 38-40 13:06:08 src/onapsdk/utils/configuration.py 3 0 100% 13:06:08 src/onapsdk/utils/gui.py 13 0 100% 13:06:08 src/onapsdk/utils/headers_creator.py 63 8 87% 222-230 13:06:08 src/onapsdk/utils/jinja.py 3 0 100% 13:06:08 src/onapsdk/utils/mixins.py 28 10 64% 89-99 13:06:08 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 13:06:08 src/onapsdk/version.py 1 0 100% 13:06:08 src/onapsdk/ves/__init__.py 0 0 100% 13:06:08 src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 13:06:08 src/onapsdk/ves/ves_service.py 4 0 100% 13:06:08 ------------------------------------------------------------------------------------------------------------------ 13:06:08 TOTAL 5598 1352 76% 13:06:08 13:06:08 FAIL Required test coverage of 98% not reached. Total coverage: 75.85% 13:06:08 =========================== short test summary info ============================ 13:06:08 FAILED tests/test_pnf.py::test_create_OK - AssertionError: expected call not ... 13:06:08 !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 13:06:08 ======================== 1 failed, 361 passed in 5.85s ========================= 13:06:08 py39: exit 1 (6.53 seconds) /w/workspace/integration-python-onapsdk-pypi-verify-master> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=3678 13:06:08 py39: FAIL ✖ in 19.69 seconds 13:06:08 pylint: install_deps> python -I -m pip install -r test-requirements.txt 13:06:18 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 13:06:19 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-13.0.4.tar.gz 13:06:21 pylint: freeze> python -m pip freeze --all 13:06:22 pylint: astroid==3.1.0,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.3,cryptography==38.0.4,dacite==1.6.0,dill==0.3.8,exceptiongroup==1.2.0,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.5,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==13.0.4,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==24.0,platformdirs==4.2.0,pluggy==1.4.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.1.0,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.0.2,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.1,setuptools==69.1.0,simplejson==3.17.6,six==1.16.0,snowballstemmer==2.2.0,stevedore==5.2.0,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.10.0,urllib3==1.26.18,wheel==0.42.0 13:06:22 pylint: commands[0]> pylint src/ 13:06:43 13:06:43 ------------------------------------ 13:06:43 Your code has been rated at 10.00/10 13:06:43 13:06:45 pylint: OK ✔ in 37.47 seconds 13:06:45 pydocstyle: install_deps> python -I -m pip install -r test-requirements.txt 13:06:55 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 13:06:56 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-13.0.4.tar.gz 13:06:59 pydocstyle: freeze> python -m pip freeze --all 13:06:59 pydocstyle: astroid==3.1.0,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.3,cryptography==38.0.4,dacite==1.6.0,dill==0.3.8,exceptiongroup==1.2.0,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.5,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==13.0.4,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==24.0,platformdirs==4.2.0,pluggy==1.4.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.1.0,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.0.2,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.1,setuptools==69.1.0,simplejson==3.17.6,six==1.16.0,snowballstemmer==2.2.0,stevedore==5.2.0,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.10.0,urllib3==1.26.18,wheel==0.42.0 13:06:59 pydocstyle: commands[0]> pydocstyle src/ 13:07:02 pydocstyle: OK ✔ in 16.98 seconds 13:07:02 bandit: install_deps> python -I -m pip install -r test-requirements.txt 13:07:12 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 13:07:13 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-13.0.4.tar.gz 13:07:15 bandit: freeze> python -m pip freeze --all 13:07:16 bandit: astroid==3.1.0,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.3,cryptography==38.0.4,dacite==1.6.0,dill==0.3.8,exceptiongroup==1.2.0,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.5,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==13.0.4,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==24.0,platformdirs==4.2.0,pluggy==1.4.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.1.0,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==8.0.2,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.1,setuptools==69.1.0,simplejson==3.17.6,six==1.16.0,snowballstemmer==2.2.0,stevedore==5.2.0,tomli==2.0.1,tomlkit==0.12.4,typing_extensions==4.10.0,urllib3==1.26.18,wheel==0.42.0 13:07:16 bandit: commands[0]> bandit -r src/onapsdk 13:07:16 [main] INFO profile include tests: None 13:07:16 [main] INFO profile exclude tests: None 13:07:16 [main] INFO cli include tests: None 13:07:16 [main] INFO cli exclude tests: None 13:07:16 [main] INFO running on Python 3.10.6 13:07:18 Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01 13:07:18 Run started:2024-02-29 13:07:18.188551 13:07:18 13:07:18 Test results: 13:07:18 No issues identified. 13:07:18 13:07:18 Code scanned: 13:07:18 Total lines of code: 16172 13:07:18 Total lines skipped (#nosec): 0 13:07:18 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 13:07:18 13:07:18 Run metrics: 13:07:18 Total issues (by severity): 13:07:18 Undefined: 0 13:07:18 Low: 0 13:07:18 Medium: 0 13:07:18 High: 0 13:07:18 Total issues (by confidence): 13:07:18 Undefined: 0 13:07:18 Low: 0 13:07:18 Medium: 0 13:07:18 High: 0 13:07:18 Files skipped (0): 13:07:18 .pkg: _exit> python /tmp/venv-NwsU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 13:07:18 py38: FAIL code 1 (25.52=setup[19.04]+cmd[6.48] seconds) 13:07:18 py39: FAIL code 1 (19.69=setup[13.16]+cmd[6.53] seconds) 13:07:18 pylint: OK (37.47=setup[13.82]+cmd[23.66] seconds) 13:07:18 pydocstyle: OK (16.97=setup[13.71]+cmd[3.26] seconds) 13:07:18 bandit: OK (15.50=setup[13.30]+cmd[2.20] seconds) 13:07:18 evaluation failed :( (115.32 seconds) 13:07:18 + tox_status=255 13:07:18 + echo '---> Completed tox runs' 13:07:18 ---> Completed tox runs 13:07:18 + for i in .tox/*/log 13:07:18 ++ echo .tox/bandit/log 13:07:18 ++ awk -F/ '{print $2}' 13:07:18 + tox_env=bandit 13:07:18 + cp -r .tox/bandit/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/bandit 13:07:18 + for i in .tox/*/log 13:07:18 ++ echo .tox/py38/log 13:07:18 ++ awk -F/ '{print $2}' 13:07:18 + tox_env=py38 13:07:18 + cp -r .tox/py38/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/py38 13:07:18 + for i in .tox/*/log 13:07:18 ++ echo .tox/py39/log 13:07:18 ++ awk -F/ '{print $2}' 13:07:18 + tox_env=py39 13:07:18 + cp -r .tox/py39/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/py39 13:07:18 + for i in .tox/*/log 13:07:18 ++ echo .tox/pydocstyle/log 13:07:18 ++ awk -F/ '{print $2}' 13:07:18 + tox_env=pydocstyle 13:07:18 + cp -r .tox/pydocstyle/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/pydocstyle 13:07:18 + for i in .tox/*/log 13:07:18 ++ echo .tox/pylint/log 13:07:18 ++ awk -F/ '{print $2}' 13:07:18 + tox_env=pylint 13:07:18 + cp -r .tox/pylint/log /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/tox/pylint 13:07:18 + DOC_DIR=docs/_build/html 13:07:18 + [[ -d docs/_build/html ]] 13:07:18 + echo '---> tox-run.sh ends' 13:07:18 ---> tox-run.sh ends 13:07:18 + test 255 -eq 0 13:07:18 + exit 255 13:07:18 ++ '[' 2 = 1 ']' 13:07:18 Build step 'Execute shell' marked build as failure 13:07:18 $ ssh-agent -k 13:07:18 unset SSH_AUTH_SOCK; 13:07:18 unset SSH_AGENT_PID; 13:07:18 echo Agent pid 1713 killed; 13:07:18 [ssh-agent] Stopped. 13:07:18 [PostBuildScript] - [INFO] Executing post build scripts. 13:07:18 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins1490189788947229113.sh 13:07:18 ---> sysstat.sh 13:07:18 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins10500310021160039377.sh 13:07:18 ---> package-listing.sh 13:07:18 ++ facter osfamily 13:07:18 ++ tr '[:upper:]' '[:lower:]' 13:07:19 + OS_FAMILY=debian 13:07:19 + workspace=/w/workspace/integration-python-onapsdk-pypi-verify-master 13:07:19 + START_PACKAGES=/tmp/packages_start.txt 13:07:19 + END_PACKAGES=/tmp/packages_end.txt 13:07:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:07:19 + PACKAGES=/tmp/packages_start.txt 13:07:19 + '[' /w/workspace/integration-python-onapsdk-pypi-verify-master ']' 13:07:19 + PACKAGES=/tmp/packages_end.txt 13:07:19 + case "${OS_FAMILY}" in 13:07:19 + dpkg -l 13:07:19 + grep '^ii' 13:07:19 + '[' -f /tmp/packages_start.txt ']' 13:07:19 + '[' -f /tmp/packages_end.txt ']' 13:07:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:07:19 + '[' /w/workspace/integration-python-onapsdk-pypi-verify-master ']' 13:07:19 + mkdir -p /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/ 13:07:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/integration-python-onapsdk-pypi-verify-master/archives/ 13:07:19 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins16374350787340976967.sh 13:07:19 ---> capture-instance-metadata.sh 13:07:19 Setup pyenv: 13:07:19 system 13:07:19 3.8.13 13:07:19 3.9.13 13:07:19 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:07:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIWe from file:/tmp/.os_lf_venv 13:07:20 lf-activate-venv(): INFO: Installing: lftools 13:07:31 lf-activate-venv(): INFO: Adding /tmp/venv-qIWe/bin to PATH 13:07:32 INFO: Running in OpenStack, capturing instance metadata 13:07:32 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins12202928290679836043.sh 13:07:32 provisioning config files... 13:07:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-pypi-verify-master@tmp/config2457271905747600103tmp 13:07:32 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 13:07:32 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 13:07:32 [EnvInject] - Injecting environment variables from a build step. 13:07:32 [EnvInject] - Injecting as environment variables the properties content 13:07:32 SERVER_ID=logs 13:07:32 13:07:32 [EnvInject] - Variables injected successfully. 13:07:32 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins18331183099978080866.sh 13:07:32 ---> create-netrc.sh 13:07:32 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins11638409233449641485.sh 13:07:32 ---> python-tools-install.sh 13:07:32 Setup pyenv: 13:07:32 system 13:07:32 3.8.13 13:07:32 3.9.13 13:07:32 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:07:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIWe from file:/tmp/.os_lf_venv 13:07:33 lf-activate-venv(): INFO: Installing: lftools 13:07:42 lf-activate-venv(): INFO: Adding /tmp/venv-qIWe/bin to PATH 13:07:42 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins1016690293683121983.sh 13:07:42 ---> sudo-logs.sh 13:07:42 Archiving 'sudo' log.. 13:07:42 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash /tmp/jenkins10012090555730811875.sh 13:07:42 ---> job-cost.sh 13:07:42 Setup pyenv: 13:07:42 system 13:07:42 3.8.13 13:07:42 3.9.13 13:07:42 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:07:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIWe from file:/tmp/.os_lf_venv 13:07:43 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 13:07:49 lf-activate-venv(): INFO: Adding /tmp/venv-qIWe/bin to PATH 13:07:49 INFO: No Stack... 13:07:50 INFO: Retrieving Pricing Info for: v3-standard-4 13:07:50 INFO: Archiving Costs 13:07:50 [integration-python-onapsdk-pypi-verify-master] $ /bin/bash -l /tmp/jenkins14700153642311889054.sh 13:07:50 ---> logs-deploy.sh 13:07:50 Setup pyenv: 13:07:50 system 13:07:50 3.8.13 13:07:50 3.9.13 13:07:50 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-pypi-verify-master/.python-version) 13:07:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qIWe from file:/tmp/.os_lf_venv 13:07:52 lf-activate-venv(): INFO: Installing: lftools 13:07:59 lf-activate-venv(): INFO: Adding /tmp/venv-qIWe/bin to PATH 13:07:59 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-pypi-verify-master/260 13:07:59 INFO: archiving workspace using pattern(s): 13:08:00 Archives upload complete. 13:08:01 INFO: archiving logs to Nexus 13:08:01 ---> uname -a: 13:08:01 Linux prd-ubuntu1804-builder-4c-4g-9748 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 13:08:01 13:08:01 13:08:01 ---> lscpu: 13:08:01 Architecture: x86_64 13:08:01 CPU op-mode(s): 32-bit, 64-bit 13:08:01 Byte Order: Little Endian 13:08:01 CPU(s): 4 13:08:01 On-line CPU(s) list: 0-3 13:08:01 Thread(s) per core: 1 13:08:01 Core(s) per socket: 1 13:08:01 Socket(s): 4 13:08:01 NUMA node(s): 1 13:08:01 Vendor ID: AuthenticAMD 13:08:01 CPU family: 23 13:08:01 Model: 49 13:08:01 Model name: AMD EPYC-Rome Processor 13:08:01 Stepping: 0 13:08:01 CPU MHz: 2800.000 13:08:01 BogoMIPS: 5600.00 13:08:01 Virtualization: AMD-V 13:08:01 Hypervisor vendor: KVM 13:08:01 Virtualization type: full 13:08:01 L1d cache: 32K 13:08:01 L1i cache: 32K 13:08:01 L2 cache: 512K 13:08:01 L3 cache: 16384K 13:08:01 NUMA node0 CPU(s): 0-3 13:08:01 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 13:08:01 13:08:01 13:08:01 ---> nproc: 13:08:01 4 13:08:01 13:08:01 13:08:01 ---> df -h: 13:08:01 Filesystem Size Used Avail Use% Mounted on 13:08:01 udev 7.9G 0 7.9G 0% /dev 13:08:01 tmpfs 1.6G 672K 1.6G 1% /run 13:08:01 /dev/vda1 78G 8.6G 69G 12% / 13:08:01 tmpfs 7.9G 0 7.9G 0% /dev/shm 13:08:01 tmpfs 5.0M 0 5.0M 0% /run/lock 13:08:01 tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup 13:08:01 /dev/vda15 105M 4.4M 100M 5% /boot/efi 13:08:01 tmpfs 1.6G 0 1.6G 0% /run/user/1001 13:08:01 13:08:01 13:08:01 ---> free -m: 13:08:01 total used free shared buff/cache available 13:08:01 Mem: 16040 546 12962 0 2530 15163 13:08:01 Swap: 1023 0 1023 13:08:01 13:08:01 13:08:01 ---> ip addr: 13:08:01 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 13:08:01 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:08:01 inet 127.0.0.1/8 scope host lo 13:08:01 valid_lft forever preferred_lft forever 13:08:01 inet6 ::1/128 scope host 13:08:01 valid_lft forever preferred_lft forever 13:08:01 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 13:08:01 link/ether fa:16:3e:67:96:97 brd ff:ff:ff:ff:ff:ff 13:08:01 inet 10.30.107.5/23 brd 10.30.107.255 scope global dynamic ens3 13:08:01 valid_lft 86121sec preferred_lft 86121sec 13:08:01 inet6 fe80::f816:3eff:fe67:9697/64 scope link 13:08:01 valid_lft forever preferred_lft forever 13:08:01 13:08:01 13:08:01 ---> sar -b -r -n DEV: 13:08:01 Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-9748) 02/29/24 _x86_64_ (4 CPU) 13:08:01 13:08:01 13:03:25 LINUX RESTART (4 CPU) 13:08:01 13:08:01 13:04:01 tps rtps wtps bread/s bwrtn/s 13:08:01 13:05:01 97.48 17.66 79.82 1034.23 22218.96 13:08:01 13:06:01 134.76 19.56 115.20 805.73 27848.43 13:08:01 13:07:01 107.82 2.20 105.62 88.92 25420.70 13:08:01 13:08:01 80.00 1.48 78.52 127.58 17612.13 13:08:01 Average: 105.02 10.23 94.79 514.11 23275.05 13:08:01 13:08:01 13:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:08:01 13:05:01 13957732 15552756 2467236 15.02 63364 1732808 792928 4.54 685876 1567740 169392 13:08:01 13:06:01 13555556 15513928 2869412 17.47 87852 2045864 865016 4.95 772140 1829592 192284 13:08:01 13:07:01 13381268 15524856 3043700 18.53 97608 2202788 848104 4.85 802528 1948888 81404 13:08:01 13:08:01 13279168 15532452 3145800 19.15 105584 2292396 765484 4.38 829496 2012924 47984 13:08:01 Average: 13543431 15530998 2881537 17.54 88602 2068464 817883 4.68 772510 1839786 122766 13:08:01 13:08:01 13:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:08:01 13:05:01 ens3 70.29 44.93 939.19 14.61 0.00 0.00 0.00 0.00 13:08:01 13:05:01 lo 1.53 1.53 0.16 0.16 0.00 0.00 0.00 0.00 13:08:01 13:06:01 ens3 44.29 35.81 222.36 12.31 0.00 0.00 0.00 0.00 13:08:01 13:06:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 13:08:01 13:07:01 ens3 19.15 18.35 12.80 5.91 0.00 0.00 0.00 0.00 13:08:01 13:07:01 lo 0.33 0.33 0.04 0.04 0.00 0.00 0.00 0.00 13:08:01 13:08:01 ens3 34.66 31.38 39.05 26.04 0.00 0.00 0.00 0.00 13:08:01 13:08:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 13:08:01 Average: ens3 42.10 32.62 303.35 14.72 0.00 0.00 0.00 0.00 13:08:01 Average: lo 1.02 1.02 0.10 0.10 0.00 0.00 0.00 0.00 13:08:01 13:08:01 13:08:01 ---> sar -P ALL: 13:08:01 Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-9748) 02/29/24 _x86_64_ (4 CPU) 13:08:01 13:08:01 13:03:25 LINUX RESTART (4 CPU) 13:08:01 13:08:01 13:04:01 CPU %user %nice %system %iowait %steal %idle 13:08:01 13:05:01 all 19.25 0.00 1.27 5.96 0.05 73.47 13:08:01 13:05:01 0 23.95 0.00 1.15 6.33 0.05 68.52 13:08:01 13:05:01 1 18.45 0.00 1.25 0.90 0.03 79.36 13:08:01 13:05:01 2 5.70 0.00 0.55 14.05 0.05 79.65 13:08:01 13:05:01 3 28.89 0.00 2.14 2.59 0.05 66.34 13:08:01 13:06:01 all 21.19 0.00 1.69 4.72 0.07 72.33 13:08:01 13:06:01 0 11.46 0.00 0.99 3.15 0.07 84.33 13:08:01 13:06:01 1 27.27 0.00 2.32 1.30 0.08 69.02 13:08:01 13:06:01 2 8.73 0.00 1.02 6.87 0.05 83.33 13:08:01 13:06:01 3 37.25 0.00 2.39 7.58 0.08 52.70 13:08:01 13:07:01 all 23.50 0.00 0.97 4.72 0.07 70.74 13:08:01 13:07:01 0 19.33 0.00 0.65 1.74 0.05 78.23 13:08:01 13:07:01 1 34.32 0.00 1.29 1.04 0.08 63.27 13:08:01 13:07:01 2 27.67 0.00 1.05 1.89 0.07 69.32 13:08:01 13:07:01 3 12.68 0.00 0.90 14.17 0.08 72.16 13:08:01 13:08:01 all 21.77 0.00 1.12 3.41 0.06 73.63 13:08:01 13:08:01 0 38.07 0.00 1.35 0.80 0.07 59.71 13:08:01 13:08:01 1 4.80 0.00 0.60 0.05 0.05 94.50 13:08:01 13:08:01 2 38.52 0.00 1.69 6.87 0.07 52.86 13:08:01 13:08:01 3 5.69 0.00 0.85 5.94 0.03 87.48 13:08:01 Average: all 21.43 0.00 1.26 4.70 0.06 72.54 13:08:01 Average: 0 23.21 0.00 1.04 3.00 0.06 72.69 13:08:01 Average: 1 21.21 0.00 1.37 0.82 0.06 76.54 13:08:01 Average: 2 20.16 0.00 1.08 7.42 0.06 71.29 13:08:01 Average: 3 21.13 0.00 1.57 7.57 0.06 69.67 13:08:01 13:08:01 13:08:01