Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/136881 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-11224 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/integration-python-onapsdk-master-python3.9-lint [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-QZnNUn5c7lUy/agent.2150 SSH_AGENT_PID=2152 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/private_key_1565288716687500628.key (/w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/private_key_1565288716687500628.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/integration/python-onapsdk.git > git init /w/workspace/integration-python-onapsdk-master-python3.9-lint # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/integration/python-onapsdk.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/python-onapsdk.git using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/python-onapsdk.git refs/changes/81/136881/1 # timeout=30 > git rev-parse f3eae2a44c823022e4d5438e3d523dcb3015dac1^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision f3eae2a44c823022e4d5438e3d523dcb3015dac1 (refs/changes/81/136881/1) > git config core.sparsecheckout # timeout=10 > git checkout -f f3eae2a44c823022e4d5438e3d523dcb3015dac1 # timeout=30 Commit message: "Issue-ID: TEST-414 Signed-off-by: Abhishek Patil Change-Id: If15b480a5fd748dc664e1234d3af5bda0b7c87a8" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 401776ed54bfdcb1e0a69a4eef7d2ef46425fd37 # timeout=10 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash -l /tmp/jenkins1555476697429613885.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-qvlH + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-qvlH + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qvlH' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qvlH + echo /tmp/venv-qvlH + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-qvlH/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-qvlH/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-qvlH/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-qvlH/bin to PATH + PATH=/tmp/venv-qvlH/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 23.3.2 from /tmp/venv-qvlH/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.4 urllib3==1.26.18 virtualenv==20.25.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=false [EnvInject] - Variables injected successfully. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash -l /tmp/jenkins13441965231054118932.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/docs + mkdir -p /w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/tox + cd /w/workspace/integration-python-onapsdk-master-python3.9-lint/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-uvBK + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-python3.9-lint/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ awk '{ print $1 }' ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-qvlH + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qvlH from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-qvlH from file:/tmp/.toxenv + /tmp/venv-qvlH/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-qvlH/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-qvlH/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-qvlH/bin to PATH + PATH=/tmp/venv-qvlH/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-qvlH/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-qvlH/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/integration-python-onapsdk-master-python3.9-lint + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.11.4 from /tmp/venv-qvlH/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=false + TOX_OPTIONS_LIST= + [[ -n py39 ]] + TOX_OPTIONS_LIST=' -e py39' + case ${PARALLEL,,} in + tox -e py39 + tee -a /w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/tox/tox.log py39: install_deps> python -I -m pip install -r test-requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_sdist> python -I -m pip install pytest-runner==5.2 .pkg: get_requires_for_build_wheel> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install pytest-runner==5.2 wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,pytest-runner==5.2,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 py39: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-master-python3.9-lint/.tox/.tmp/package/1/onapsdk-12.8.0.tar.gz py39: freeze> python -m pip freeze --all py39: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0 py39: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules ============================= test session starts ============================== platform linux -- Python 3.9.14, pytest-7.4.4, pluggy-1.3.0 -- /w/workspace/integration-python-onapsdk-master-python3.9-lint/.tox/py39/bin/python cachedir: .tox/py39/.pytest_cache rootdir: /w/workspace/integration-python-onapsdk-master-python3.9-lint configfile: setup.cfg plugins: requests-mock-1.11.0, cov-4.1.0 collecting ... collected 763 items tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 0%] tests/test_aai_complex.py::test_complex PASSED [ 0%] tests/test_aai_complex.py::test_complex_update PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 1%] tests/test_aai_complex.py::test_complex_delete PASSED [ 1%] tests/test_aai_complex.py::test_complex_count PASSED [ 1%] tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 1%] tests/test_aai_customer.py::test_customers_get_all PASSED [ 1%] tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 2%] tests/test_aai_customer.py::test_customer_create PASSED [ 2%] tests/test_aai_customer.py::test_customer_delete PASSED [ 2%] tests/test_aai_customer.py::test_customer_update PASSED [ 2%] tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] tests/test_aai_customer.py::test_customer_url PASSED [ 3%] tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] tests/test_aai_customer.py::test_availability_zones PASSED [ 3%] tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 3%] tests/test_aai_customer.py::test_add_availability_zone PASSED [ 3%] tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 3%] tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] tests/test_aai_customer.py::test_customer_count PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 5%] tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_all PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] tests/test_aai_platform.py::test_platform_create PASSED [ 7%] tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] tests/test_aai_platform.py::test_platform_url PASSED [ 7%] tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] tests/test_aai_project.py::test_project_get_all PASSED [ 8%] tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] tests/test_aai_project.py::test_project_create PASSED [ 9%] tests/test_aai_project.py::test_project_count PASSED [ 9%] tests/test_aai_project.py::test_project_url PASSED [ 9%] tests/test_aai_project.py::test_project_delete PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 10%] tests/test_aai_resource.py::test_get_guis PASSED [ 10%] tests/test_aai_service.py::test_init PASSED [ 10%] tests/test_aai_service.py::test_class_variables PASSED [ 10%] tests/test_aai_service.py::test_customers PASSED [ 10%] tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions PASSED [ 11%] tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] tests/test_aai_service.py::test_tenants_info PASSED [ 11%] tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] tests/test_aai_service.py::test_create_complex PASSED [ 11%] tests/test_aai_service.py::test_filter_none_value PASSED [ 12%] tests/test_aai_service.py::test_add_relationship PASSED [ 12%] tests/test_aai_service.py::test_delete_relationship PASSED [ 12%] tests/test_aai_service.py::test_service_url PASSED [ 12%] tests/test_aai_service.py::test_service_create PASSED [ 12%] tests/test_aai_service.py::test_model_init PASSED [ 12%] tests/test_aai_service.py::test_model_url PASSED [ 12%] tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] tests/test_aai_service.py::test_model_get_all PASSED [ 13%] tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 13%] tests/test_aai_service.py::test_service_instance_create PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 15%] tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 15%] tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 15%] tests/test_aai_service_subscription.py::test_tenants PASSED [ 15%] tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_cell FAILED [ 16%] =================================== FAILURES =================================== _______________________ test_site_resource_link_to_cell ________________________ mock_add_relationship = @patch("onapsdk.aai.network.site_resource.SiteResource.add_relationship") def test_site_resource_link_to_cell(mock_add_relationship): cell = MagicMock(cell_id="test-cell-id", url="test-cell-url") site_resource = SiteResource("test-site-resource") > site_resource.link_to_cell(cell) E AttributeError: 'SiteResource' object has no attribute 'link_to_cell' tests/test_aai_site_resource.py:111: AttributeError ---------- coverage: platform linux, python 3.9.14-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------- src/onapsdk/__init__.py 0 0 100% src/onapsdk/aai/__init__.py 0 0 100% src/onapsdk/aai/aai_element.py 90 0 100% src/onapsdk/aai/bulk.py 26 0 100% src/onapsdk/aai/business/__init__.py 12 0 100% src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 src/onapsdk/aai/business/instance.py 10 0 100% src/onapsdk/aai/business/line_of_business.py 31 0 100% src/onapsdk/aai/business/network.py 42 2 95% 156, 166 src/onapsdk/aai/business/owning_entity.py 46 0 100% src/onapsdk/aai/business/platform.py 30 0 100% src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 src/onapsdk/aai/business/project.py 30 0 100% src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 src/onapsdk/aai/business/vf_module.py 43 29 33% 78-95, 119, 129, 139-150, 166, 198-199 src/onapsdk/aai/business/vnf.py 127 51 60% 247, 257, 267-270, 283-294, 387, 413-419, 429, 438, 455-469, 491-526, 544-545 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% src/onapsdk/aai/cloud_infrastructure/tenant.py 17 2 88% 72, 101 src/onapsdk/aai/mixins/__init__.py 0 0 100% src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 src/onapsdk/aai/mixins/link_to_tenant.py 11 5 55% 21, 36-47, 58-69 src/onapsdk/aai/network/__init__.py 1 0 100% src/onapsdk/aai/network/site_resource.py 47 1 98% 103 src/onapsdk/aai/service_design_and_creation.py 41 0 100% src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% src/onapsdk/cds/__init__.py 3 0 100% src/onapsdk/cds/blueprint.py 220 114 48% 72, 86, 97, 111, 128, 137, 146, 158, 170-173, 182-183, 240-246, 266-277, 287-298, 308-318, 328, 344-366, 399-406, 416, 428-438, 447, 469-473, 483, 502, 535-539, 549, 561-564, 574-577, 587-592, 605-610, 619-627, 631, 642, 658-659, 670-673, 689-692, 714-716, 735-741, 756-759, 773-776, 801, 826 src/onapsdk/cds/blueprint_model.py 46 31 33% 57-68, 93-114, 133-155, 167-173, 193-199, 207-215, 219 src/onapsdk/cds/blueprint_processor.py 6 1 83% 42 src/onapsdk/cds/cds_element.py 14 5 64% 40-47 src/onapsdk/cds/data_dictionary.py 63 35 44% 39-42, 53, 67, 86, 96, 106-107, 118-119, 146, 173-184, 197, 207, 218, 229-231, 239-240, 259-269 src/onapsdk/clamp/__init__.py 0 0 100% src/onapsdk/clamp/clamp_element.py 28 13 54% 33, 50-56, 71-79 src/onapsdk/clamp/loop_instance.py 146 110 25% 42-45, 50-52, 57, 67-71, 75-80, 91-95, 105-114, 118-122, 138-159, 170-172, 183-190, 209-213, 217-237, 242-243, 247-248, 264-277, 282-283, 287-288, 292-293, 306-312, 322-334, 338-339, 345-347 src/onapsdk/configuration/__init__.py 2 0 100% src/onapsdk/configuration/global_settings.py 47 0 100% src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 src/onapsdk/constants.py 33 0 100% src/onapsdk/cps/__init__.py 3 0 100% src/onapsdk/cps/anchor.py 29 13 55% 22, 36-38, 61, 67, 80, 103, 124, 143, 160, 183, 201 src/onapsdk/cps/cps_element.py 6 0 100% src/onapsdk/cps/dataspace.py 63 30 52% 36-37, 56, 66-71, 85-92, 106-112, 126-134, 146-159, 175-181, 192, 210-216, 246-255, 259 src/onapsdk/cps/schemaset.py 19 6 68% 23, 53-56, 70 src/onapsdk/dmaap/__init__.py 0 0 100% src/onapsdk/dmaap/dmaap.py 25 6 76% 42, 59-60, 75, 81, 101 src/onapsdk/dmaap/dmaap_service.py 4 0 100% src/onapsdk/exceptions.py 26 2 92% 60, 70 src/onapsdk/k8s/__init__.py 6 0 100% src/onapsdk/k8s/connectivity_info.py 23 13 43% 34-38, 48, 61-67, 90-103 src/onapsdk/k8s/definition.py 109 70 36% 33-35, 45, 54-55, 88-100, 110, 120-136, 159, 178-182, 191-201, 232-235, 245-248, 268-274, 301-316, 325-337, 359-382, 391-396, 417-424, 442-447, 468-481, 493-500 src/onapsdk/k8s/instance.py 141 85 40% 39-45, 68-69, 79, 114-120, 130, 140-155, 167-181, 190-192, 209-214, 231-234, 254-259, 276-279, 286-293, 305, 343-347, 357-360, 377-383, 413-431, 460-478, 502-519, 528-531, 551-558, 575-583, 608-614 src/onapsdk/k8s/k8splugin_service.py 54 28 48% 39-42, 55-59, 74-77, 106-118, 138, 156 src/onapsdk/k8s/region.py 30 13 57% 45-47, 65-68, 72, 77-78, 99-107 src/onapsdk/msb/__init__.py 3 0 100% src/onapsdk/msb/esr.py 7 1 86% 63 src/onapsdk/msb/k8s/__init__.py 4 0 100% src/onapsdk/msb/k8s/connectivity_info.py 3 0 100% src/onapsdk/msb/k8s/definition.py 3 0 100% src/onapsdk/msb/k8s/instance.py 3 0 100% src/onapsdk/msb/k8s/k8splugin_msb_service.py 3 0 100% src/onapsdk/msb/msb_service.py 6 0 100% src/onapsdk/msb/multicloud.py 9 2 78% 36, 51 src/onapsdk/nbi/__init__.py 1 0 100% src/onapsdk/nbi/nbi.py 139 81 42% 43-53, 78-85, 107-111, 132-137, 170-177, 204-210, 226-228, 238-240, 278-290, 332-337, 347-353, 363-371, 398-416, 438-446, 458, 470, 482, 494 src/onapsdk/onap_service.py 126 70 44% 74-76, 125-201, 205-206, 245-247, 277-292, 308, 326-334, 339 src/onapsdk/sdc/__init__.py 178 95 47% 37-38, 51-53, 150-156, 167-187, 197-232, 243-250, 260-263, 268-270, 275-277, 282-284, 289, 294, 299, 303-305, 309-317, 322-346, 363-371 src/onapsdk/sdc/category_management.py 99 55 44% 44-52, 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 src/onapsdk/sdc/pnf.py 21 10 52% 54-58, 62-64, 72-74 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 src/onapsdk/sdc/sdc_element.py 67 34 49% 31-32, 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 src/onapsdk/sdc/sdc_resource.py 317 217 32% 48-69, 84-86, 91-93, 98, 103, 107, 111-143, 157, 167, 187-189, 200, 211, 222, 237, 250, 263, 277-278, 288-293, 323-331, 350-365, 372-374, 377-379, 383-396, 401, 411, 422, 433, 444, 455, 469, 481-485, 509-514, 526, 551-556, 577-580, 599-614, 630-641, 655-662, 673-675, 691, 708, 721, 740-744, 761-765, 776-777, 796-798, 821-829, 843-847, 869-872, 894-895, 909-912, 916-919, 923-926, 936-959, 963, 971 src/onapsdk/sdc/service.py 358 224 37% 78, 160-181, 194-198, 214-218, 231-249, 254-256, 261, 266-268, 280-283, 295-304, 324-361, 379, 384, 389, 394, 409-411, 423-425, 437-439, 449, 460, 471, 482, 493, 504, 519, 531-540, 544, 556-561, 565, 569, 573-574, 580-581, 587-588, 594-595, 601-602, 608-616, 620-629, 633-655, 660-665, 670-676, 680-691, 702, 706-709, 719-721, 725, 730, 735, 757-769, 782-798, 804-805, 812, 817, 835-844, 864-883, 901-903, 922-924, 936-938 src/onapsdk/sdc/vendor.py 46 25 46% 46-47, 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 src/onapsdk/sdc/vl.py 9 3 67% 39-41 src/onapsdk/sdc/vsp.py 157 106 32% 54-58, 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 157-161, 166, 171-173, 178, 182-185, 189-195, 203-212, 218-222, 226-231, 244-249, 278-282, 286-293, 297-304, 308-312, 323, 337-341, 355, 364-373 src/onapsdk/sdnc/__init__.py 1 0 100% src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 src/onapsdk/sdnc/topology.py 66 43 35% 54-61, 82-91, 115-124, 148, 171-173, 192-204, 214-226, 235-250, 258-274 src/onapsdk/so/__init__.py 0 0 100% src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 src/onapsdk/so/instantiation.py 330 186 44% 86, 126, 176, 215-220, 257-259, 279-280, 318-349, 375-377, 401-402, 418-448, 462-475, 505-529, 569-615, 655-697, 727-728, 744-775, 789-802, 833-876, 912-918, 952-976, 1038-1080, 1109-1146, 1171-1182, 1206-1207, 1233-1260, 1297-1321 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 src/onapsdk/so/so_db_adapter.py 34 6 82% 71-84, 94-98 src/onapsdk/so/so_element.py 91 36 60% 47, 52-53, 58-69, 74-91, 96-99, 110, 121-128, 175-186, 198, 210, 222, 234-245 src/onapsdk/utils/__init__.py 8 4 50% 26, 38-40 src/onapsdk/utils/configuration.py 3 1 67% 20 src/onapsdk/utils/gui.py 13 1 92% 34 src/onapsdk/utils/headers_creator.py 63 11 83% 58, 77, 96, 222-230 src/onapsdk/utils/jinja.py 3 0 100% src/onapsdk/utils/mixins.py 28 14 50% 64-67, 89-99 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 src/onapsdk/version.py 1 0 100% src/onapsdk/ves/__init__.py 0 0 100% src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 src/onapsdk/ves/ves_service.py 4 0 100% src/onapsdk/vid/__init__.py 1 0 100% src/onapsdk/vid/vid.py 40 14 65% 39-41, 63-72, 86-87, 101-102, 116-117, 131-132 ------------------------------------------------------------------------------------------------- TOTAL 5063 2126 58% FAIL Required test coverage of 98% not reached. Total coverage: 58.01% =========================== short test summary info ============================ FAILED tests/test_aai_site_resource.py::test_site_resource_link_to_cell - Att... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ======================== 1 failed, 124 passed in 4.23s ========================= py39: exit 1 (4.75 seconds) /w/workspace/integration-python-onapsdk-master-python3.9-lint> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=2804 .pkg: _exit> python /tmp/venv-qvlH/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: FAIL code 1 (43.88=setup[39.13]+cmd[4.75] seconds) evaluation failed :( (44.04 seconds) + tox_status=1 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ awk -F/ '{print $2}' ++ echo .tox/py39/log + tox_env=py39 + cp -r .tox/py39/log /w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/tox/py39 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 1 -eq 0 + exit 1 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2152 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins7543833114684468731.sh ---> sysstat.sh [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins8780895764215174292.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/integration-python-onapsdk-master-python3.9-lint + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/integration-python-onapsdk-master-python3.9-lint ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/integration-python-onapsdk-master-python3.9-lint ']' + mkdir -p /w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/integration-python-onapsdk-master-python3.9-lint/archives/ [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins8977817735636911859.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-python3.9-lint/.python-version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BaE2 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BaE2/bin to PATH INFO: Running in OpenStack, capturing instance metadata [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins6196975781971700667.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/config17573970401113284961tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins6379490394590486585.sh ---> create-netrc.sh [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins15829087022432430134.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-python3.9-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BaE2 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BaE2/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-BaE2/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.2 boto3==1.34.16 botocore==1.34.16 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.16.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins14232628461786229838.sh ---> sudo-logs.sh Archiving 'sudo' log.. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins14018058751892689294.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-python3.9-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BaE2 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-BaE2/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash -l /tmp/jenkins13035912938327955950.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/integration-python-onapsdk-master-python3.9-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-BaE2 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-BaE2/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-master-python3.9-lint/203 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-11224 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 708K 3.2G 1% /run /dev/vda1 155G 11G 145G 7% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 814 29078 0 2274 30920 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:d0:9b:cf brd ff:ff:ff:ff:ff:ff inet 10.30.106.75/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86155sec preferred_lft 86155sec inet6 fe80::f816:3eff:fed0:9bcf/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:54:3c:ac:07 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11224) 01/11/24 _x86_64_ (8 CPU) 11:01:45 LINUX RESTART (8 CPU) 11:02:01 tps rtps wtps bread/s bwrtn/s 11:03:02 201.52 83.59 117.93 5626.40 45663.99 11:04:01 74.82 2.91 71.91 139.75 13701.93 11:05:01 104.23 14.36 89.87 1051.96 17454.82 Average: 127.14 33.79 93.35 2284.50 25672.74 11:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:03:02 30357876 31727932 2581344 7.84 49024 1642364 1489224 4.38 820056 1493572 59536 11:04:01 30134952 31689428 2804268 8.51 63300 1799400 1481412 4.36 888504 1618496 69484 11:05:01 29877100 31681956 3062120 9.30 82256 2019452 1450744 4.27 926924 1815200 49544 Average: 30123309 31699772 2815911 8.55 64860 1820405 1473793 4.34 878495 1642423 59521 11:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:03:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:03:02 lo 1.47 1.47 0.14 0.14 0.00 0.00 0.00 0.00 11:03:02 ens3 375.65 235.66 878.87 58.35 0.00 0.00 0.00 0.00 11:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:04:01 lo 1.02 1.02 0.10 0.10 0.00 0.00 0.00 0.00 11:04:01 ens3 46.53 34.72 264.14 15.28 0.00 0.00 0.00 0.00 11:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:05:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 11:05:01 ens3 46.89 32.23 794.68 7.12 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 1.12 1.12 0.11 0.11 0.00 0.00 0.00 0.00 Average: ens3 156.96 101.23 648.01 26.98 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-11224) 01/11/24 _x86_64_ (8 CPU) 11:01:45 LINUX RESTART (8 CPU) 11:02:01 CPU %user %nice %system %iowait %steal %idle 11:03:02 all 6.59 0.00 1.09 7.79 0.05 84.49 11:03:02 0 5.23 0.00 2.31 27.04 0.07 65.35 11:03:02 1 6.35 0.00 0.79 0.75 0.03 92.08 11:03:02 2 5.80 0.00 1.04 7.40 0.05 85.71 11:03:02 3 4.98 0.00 0.82 20.98 0.03 73.19 11:03:02 4 3.38 0.00 0.75 0.93 0.05 94.89 11:03:02 5 7.97 0.00 0.84 1.57 0.05 89.57 11:03:02 6 5.78 0.00 1.20 2.19 0.05 90.78 11:03:02 7 13.24 0.00 0.89 1.50 0.07 84.31 11:04:01 all 7.16 0.00 0.55 6.42 0.04 85.83 11:04:01 0 1.56 0.00 0.24 14.25 0.02 83.93 11:04:01 1 1.99 0.00 0.24 6.49 0.07 91.22 11:04:01 2 0.51 0.00 0.10 0.19 0.02 99.19 11:04:01 3 23.62 0.00 1.31 25.60 0.07 49.40 11:04:01 4 4.03 0.00 0.48 0.10 0.05 95.35 11:04:01 5 11.28 0.00 0.61 1.63 0.07 86.41 11:04:01 6 11.29 0.00 0.99 3.02 0.05 84.65 11:04:01 7 3.09 0.00 0.48 0.08 0.02 96.33 11:05:01 all 8.24 0.00 0.58 4.43 0.03 86.72 11:05:01 0 7.46 0.00 0.67 1.37 0.02 90.49 11:05:01 1 9.37 0.00 0.73 20.26 0.05 69.58 11:05:01 2 9.92 0.00 0.92 7.44 0.05 81.68 11:05:01 3 10.42 0.00 0.63 1.55 0.03 87.36 11:05:01 4 0.67 0.00 0.20 0.27 0.00 98.87 11:05:01 5 10.60 0.00 0.57 3.05 0.03 85.75 11:05:01 6 1.83 0.00 0.40 0.22 0.02 97.53 11:05:01 7 15.68 0.00 0.59 1.31 0.03 82.40 Average: all 7.33 0.00 0.74 6.21 0.04 85.68 Average: 0 4.77 0.00 1.07 14.21 0.03 79.91 Average: 1 5.93 0.00 0.59 9.18 0.05 84.25 Average: 2 5.44 0.00 0.69 5.03 0.04 88.80 Average: 3 12.94 0.00 0.92 15.97 0.04 70.13 Average: 4 2.68 0.00 0.48 0.44 0.03 96.37 Average: 5 9.94 0.00 0.67 2.09 0.05 87.25 Average: 6 6.27 0.00 0.86 1.80 0.04 91.03 Average: 7 10.70 0.00 0.65 0.97 0.04 87.65