Triggered by Gerrit: https://gerrit.onap.org/r/c/integration/python-onapsdk/+/135089 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-6563 (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-8N6VRkLJTAYe/agent.2165 SSH_AGENT_PID=2168 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/private_key_4760450039825936793.key (/w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/private_key_4760450039825936793.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/89/135089/13 # timeout=30 > git rev-parse 65dca26f5ffa870f085f6549fc06727263e8e617^{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 65dca26f5ffa870f085f6549fc06727263e8e617 (refs/changes/89/135089/13) > git config core.sparsecheckout # timeout=10 > git checkout -f 65dca26f5ffa870f085f6549fc06727263e8e617 # timeout=30 Commit message: "Support Recursive Service Orchestration (ONAPSDK)" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk e065c3bb1b148371a991d8f0245357b1b2910f7f # 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/jenkins13801066802389614717.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-D0Xx + 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 ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ 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-D0Xx + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D0Xx' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D0Xx + echo /tmp/venv-D0Xx + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-D0Xx/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-D0Xx/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-D0Xx/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-D0Xx/bin to PATH + PATH=/tmp/venv-D0Xx/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 24.0 from /tmp/venv-D0Xx/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.2.0 pluggy==1.4.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.13.0 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/jenkins13037922278723505123.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-bGvO + 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 ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ tail -n 1 +++ grep '^3' /tmp/.pyenv_versions ++ 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-D0Xx + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-D0Xx from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-D0Xx from file:/tmp/.toxenv + /tmp/venv-D0Xx/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-D0Xx/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-D0Xx/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-D0Xx/bin to PATH + PATH=/tmp/venv-D0Xx/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-D0Xx/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-D0Xx/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.13.0 from /tmp/venv-D0Xx/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-D0Xx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-D0Xx/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-D0Xx/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-D0Xx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-D0Xx/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-13.0.2.tar.gz py39: freeze> python -m pip freeze --all py39: astroid==3.0.3,attrs==23.2.0,bandit==1.7.7,certifi==2024.2.2,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.1,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.2,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.2.0,pluggy==1.4.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==8.0.1,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,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-8.0.1, pluggy-1.4.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 663 items / 1 error ==================================== ERRORS ==================================== _______________ ERROR collecting tests/test_so_instantiation.py ________________ .tox/py39/lib/python3.9/site-packages/_pytest/python.py:538: in importtestmodule mod = import_path(path, mode=importmode, root=config.rootpath) .tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:566: in import_path importlib.import_module(module_name) /usr/lib/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1030: in _gcd_import ??? :1007: in _find_and_load ??? :986: in _find_and_load_unlocked ??? :680: in _load_unlocked ??? .tox/py39/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:169: in exec_module source_stat, co = _rewrite_test(fn, self.config) .tox/py39/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:351: in _rewrite_test tree = ast.parse(source, filename=strfn) /usr/lib/python3.9/ast.py:50: in parse return compile(source, filename, mode, flags, E File "/w/workspace/integration-python-onapsdk-master-python3.9-lint/tests/test_so_instantiation.py", line 103 E <<<<<<< PATCH SET (8b343e Support Recursive Service Orchestration (ONAPSDK)) E ^ E SyntaxError: invalid syntax =========================== short test summary info ============================ ERROR tests/test_so_instantiation.py !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! =============================== 1 error in 3.24s =============================== py39: exit 1 (3.74 seconds) /w/workspace/integration-python-onapsdk-master-python3.9-lint> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=2802 .pkg: _exit> python /tmp/venv-D0Xx/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py39: FAIL code 1 (24.28=setup[20.53]+cmd[3.74] seconds) evaluation failed :( (24.44 seconds) + tox_status=1 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/py39/log ++ awk -F/ '{print $2}' + tox_env=py39 + cp -r .tox/py39/log /w/workspace/integration-python-onapsdk-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 2168 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins15626991553842039148.sh ---> sysstat.sh [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins8526872681941061126.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/jenkins5218250050838429940.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-OSTt 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-OSTt/bin to PATH INFO: Running in OpenStack, capturing instance metadata [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins16189143177691751878.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/integration-python-onapsdk-master-python3.9-lint@tmp/config6845825108416425088tmp 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/jenkins16169840397701181662.sh ---> create-netrc.sh [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins9597776712678069347.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-OSTt from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OSTt/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-OSTt/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.44 botocore==1.34.44 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.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.6.1 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 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.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.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==3.0.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==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 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.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 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.2 typing_extensions==4.9.0 tzdata==2024.1 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 [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins6375351313950128866.sh ---> sudo-logs.sh Archiving 'sudo' log.. [integration-python-onapsdk-master-python3.9-lint] $ /bin/bash /tmp/jenkins158907483960609137.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-OSTt 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.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-OSTt/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/jenkins680393105822172421.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-OSTt 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.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-OSTt/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/integration-python-onapsdk-master-python3.9-lint/223 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-6563 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.996 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 769 29129 0 2268 30967 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:15:08:56 brd ff:ff:ff:ff:ff:ff inet 10.30.107.13/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86166sec preferred_lft 86166sec inet6 fe80::f816:3eff:fe15:856/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e8:ae:12:a9 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-6563) 02/19/24 _x86_64_ (8 CPU) 08:09:25 LINUX RESTART (8 CPU) 08:10:02 tps rtps wtps bread/s bwrtn/s 08:11:01 152.01 59.27 92.73 3703.88 36394.92 08:12:01 136.49 25.62 110.86 1409.13 30424.93 08:13:01 87.35 1.07 86.29 124.09 29368.88 Average: 125.14 28.49 96.65 1734.87 32038.96 08:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:11:01 30437132 31767940 2502088 7.60 46756 1608424 1426376 4.20 784164 1464360 42556 08:12:01 29999808 31679816 2939412 8.92 69984 1916776 1506560 4.43 940360 1705092 105204 08:13:01 29808408 31697752 3130812 9.50 91868 2089556 1430304 4.21 930496 1877100 132904 Average: 30081783 31715169 2857437 8.67 69536 1871585 1454413 4.28 885007 1682184 93555 08:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:11:01 ens3 329.78 214.40 832.22 58.48 0.00 0.00 0.00 0.00 08:11:01 lo 1.08 1.08 0.11 0.11 0.00 0.00 0.00 0.00 08:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:12:01 ens3 52.12 35.35 826.86 8.33 0.00 0.00 0.00 0.00 08:12:01 lo 1.33 1.33 0.14 0.14 0.00 0.00 0.00 0.00 08:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:13:01 ens3 35.69 28.57 329.73 7.32 0.00 0.00 0.00 0.00 08:13:01 lo 1.20 1.20 0.13 0.13 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: ens3 138.14 92.10 662.00 24.52 0.00 0.00 0.00 0.00 Average: lo 1.21 1.21 0.12 0.12 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-6563) 02/19/24 _x86_64_ (8 CPU) 08:09:25 LINUX RESTART (8 CPU) 08:10:02 CPU %user %nice %system %iowait %steal %idle 08:11:01 all 6.16 0.00 0.76 12.61 0.05 80.43 08:11:01 0 3.16 0.00 0.73 0.66 0.03 95.41 08:11:01 1 2.85 0.00 0.56 1.38 0.05 95.16 08:11:01 2 3.53 0.00 0.92 13.46 0.02 82.08 08:11:01 3 3.99 0.00 0.87 7.24 0.12 87.78 08:11:01 4 15.31 0.00 0.87 3.15 0.03 80.64 08:11:01 5 12.61 0.00 0.75 2.79 0.05 83.80 08:11:01 6 4.97 0.00 0.66 20.95 0.03 73.38 08:11:01 7 2.83 0.00 0.72 51.29 0.03 45.14 08:12:01 all 9.49 0.00 0.78 3.52 0.04 86.17 08:12:01 0 14.85 0.00 0.89 5.57 0.07 78.63 08:12:01 1 9.54 0.00 0.80 0.20 0.03 89.42 08:12:01 2 3.75 0.00 0.53 0.45 0.02 95.25 08:12:01 3 0.97 0.00 0.35 0.10 0.00 98.58 08:12:01 4 19.26 0.00 1.49 6.87 0.03 72.34 08:12:01 5 9.86 0.00 0.95 0.32 0.03 88.84 08:12:01 6 8.88 0.00 0.53 0.33 0.05 90.20 08:12:01 7 8.86 0.00 0.70 14.33 0.05 76.06 08:13:01 all 10.26 0.00 0.66 2.69 0.03 86.36 08:13:01 0 2.21 0.00 0.52 13.71 0.07 83.50 08:13:01 1 0.38 0.00 0.10 0.02 0.02 99.48 08:13:01 2 8.06 0.00 0.52 0.42 0.02 90.99 08:13:01 3 44.26 0.00 1.95 2.54 0.07 51.18 08:13:01 4 8.90 0.00 0.60 2.54 0.03 87.93 08:13:01 5 8.61 0.00 0.58 0.05 0.02 90.74 08:13:01 6 0.80 0.00 0.17 1.64 0.05 97.35 08:13:01 7 8.85 0.00 0.82 0.62 0.02 89.70 Average: all 8.65 0.00 0.73 6.23 0.04 84.34 Average: 0 6.76 0.00 0.71 6.68 0.06 85.80 Average: 1 4.27 0.00 0.49 0.53 0.03 94.69 Average: 2 5.12 0.00 0.65 4.72 0.02 89.48 Average: 3 16.47 0.00 1.06 3.27 0.06 79.15 Average: 4 14.48 0.00 0.99 4.19 0.03 80.30 Average: 5 10.35 0.00 0.76 1.04 0.03 87.81 Average: 6 4.88 0.00 0.45 7.56 0.04 87.06 Average: 7 6.87 0.00 0.75 21.89 0.03 70.46