22:35:00 Started by user Jessica Wagantall 22:35:00 Running as SYSTEM 22:35:00 [EnvInject] - Loading node environment variables. 22:35:00 Building remotely on prd-ubuntu1804-builder-2c-2g-4096 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 22:35:00 [ssh-agent] Looking for ssh-agent implementation... 22:35:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:00 $ ssh-agent 22:35:00 SSH_AUTH_SOCK=/tmp/ssh-M2Cw060S6Mhl/agent.6531 22:35:00 SSH_AGENT_PID=6533 22:35:00 [ssh-agent] Started. 22:35:00 Running ssh-add (command line suppressed) 22:35:00 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_6634934578008303022.key (jenkins-ssh) 22:35:00 [ssh-agent] Using credentials jenkins (jenkins) 22:35:00 The recommended git tool is: NONE 22:35:02 using credential jenkins 22:35:02 Wiping out workspace first. 22:35:02 Cloning the remote Git repository 22:35:02 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:35:02 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 22:35:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:35:02 > git --version # timeout=10 22:35:02 > git --version # 'git version 2.25.1' 22:35:02 using GIT_SSH to set credentials jenkins 22:35:02 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:03 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 22:35:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:03 Avoid second fetch 22:35:03 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 22:35:03 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 22:35:03 > git config core.sparsecheckout # timeout=10 22:35:03 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:35:04 Commit message: "Fix build failure" 22:35:04 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:35:04 provisioning config files... 22:35:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 22:35:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 22:35:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8245779485839136808.sh 22:35:04 ---> python-tools-install.sh 22:35:04 Setup pyenv: 22:35:04 * system (set by /opt/pyenv/version) 22:35:04 * 3.8.13 (set by /opt/pyenv/version) 22:35:04 * 3.9.13 (set by /opt/pyenv/version) 22:35:04 * 3.10.6 (set by /opt/pyenv/version) 22:35:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yarN 22:35:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 22:35:13 lf-activate-venv(): INFO: Installing: lftools 22:35:49 lf-activate-venv(): INFO: Adding /tmp/venv-yarN/bin to PATH 22:35:49 Generating Requirements File 22:36:24 Python 3.10.6 22:36:25 pip 23.3.2 from /tmp/venv-yarN/lib/python3.10/site-packages/pip (python 3.10) 22:36:25 appdirs==1.4.4 22:36:25 argcomplete==3.2.1 22:36:25 aspy.yaml==1.3.0 22:36:25 attrs==23.2.0 22:36:25 autopage==0.5.2 22:36:25 beautifulsoup4==4.12.3 22:36:25 boto3==1.34.21 22:36:25 botocore==1.34.21 22:36:25 bs4==0.0.2 22:36:25 cachetools==5.3.2 22:36:25 certifi==2023.11.17 22:36:25 cffi==1.16.0 22:36:25 cfgv==3.4.0 22:36:25 chardet==5.2.0 22:36:25 charset-normalizer==3.3.2 22:36:25 click==8.1.7 22:36:25 cliff==4.5.0 22:36:25 cmd2==2.4.3 22:36:25 cryptography==3.3.2 22:36:25 debtcollector==2.5.0 22:36:25 decorator==5.1.1 22:36:25 defusedxml==0.7.1 22:36:25 Deprecated==1.2.14 22:36:25 distlib==0.3.8 22:36:25 dnspython==2.4.2 22:36:25 docker==4.2.2 22:36:25 dogpile.cache==1.3.0 22:36:25 email-validator==2.1.0.post1 22:36:25 filelock==3.13.1 22:36:25 future==0.18.3 22:36:25 gitdb==4.0.11 22:36:25 GitPython==3.1.41 22:36:25 google-auth==2.26.2 22:36:25 httplib2==0.22.0 22:36:25 identify==2.5.33 22:36:25 idna==3.6 22:36:25 importlib-resources==1.5.0 22:36:25 iso8601==2.1.0 22:36:25 Jinja2==3.1.3 22:36:25 jmespath==1.0.1 22:36:25 jsonpatch==1.33 22:36:25 jsonpointer==2.4 22:36:25 jsonschema==4.21.0 22:36:25 jsonschema-specifications==2023.12.1 22:36:25 keystoneauth1==5.5.0 22:36:25 kubernetes==29.0.0 22:36:25 lftools==0.37.8 22:36:25 lxml==5.1.0 22:36:25 MarkupSafe==2.1.3 22:36:25 msgpack==1.0.7 22:36:25 multi_key_dict==2.0.3 22:36:25 munch==4.0.0 22:36:25 netaddr==0.10.1 22:36:25 netifaces==0.11.0 22:36:25 niet==1.4.2 22:36:25 nodeenv==1.8.0 22:36:25 oauth2client==4.1.3 22:36:25 oauthlib==3.2.2 22:36:25 openstacksdk==0.62.0 22:36:25 os-client-config==2.1.0 22:36:25 os-service-types==1.7.0 22:36:25 osc-lib==3.0.0 22:36:25 oslo.config==9.3.0 22:36:25 oslo.context==5.3.0 22:36:25 oslo.i18n==6.2.0 22:36:25 oslo.log==5.4.0 22:36:25 oslo.serialization==5.3.0 22:36:25 oslo.utils==7.0.0 22:36:25 packaging==23.2 22:36:25 pbr==6.0.0 22:36:25 platformdirs==4.1.0 22:36:25 prettytable==3.9.0 22:36:25 pyasn1==0.5.1 22:36:25 pyasn1-modules==0.3.0 22:36:25 pycparser==2.21 22:36:25 pygerrit2==2.0.15 22:36:25 PyGithub==2.1.1 22:36:25 pyinotify==0.9.6 22:36:25 PyJWT==2.8.0 22:36:25 PyNaCl==1.5.0 22:36:25 pyparsing==2.4.7 22:36:25 pyperclip==1.8.2 22:36:25 pyrsistent==0.20.0 22:36:25 python-cinderclient==9.4.0 22:36:25 python-dateutil==2.8.2 22:36:25 python-heatclient==3.4.0 22:36:25 python-jenkins==1.8.2 22:36:25 python-keystoneclient==5.3.0 22:36:25 python-magnumclient==4.3.0 22:36:25 python-novaclient==18.4.0 22:36:25 python-openstackclient==6.0.0 22:36:25 python-swiftclient==4.4.0 22:36:25 pytz==2023.3.post1 22:36:25 PyYAML==6.0.1 22:36:25 referencing==0.32.1 22:36:25 requests==2.31.0 22:36:25 requests-oauthlib==1.3.1 22:36:25 requestsexceptions==1.4.0 22:36:25 rfc3986==2.0.0 22:36:25 rpds-py==0.17.1 22:36:25 rsa==4.9 22:36:25 ruamel.yaml==0.18.5 22:36:25 ruamel.yaml.clib==0.2.8 22:36:25 s3transfer==0.10.0 22:36:25 simplejson==3.19.2 22:36:25 six==1.16.0 22:36:25 smmap==5.0.1 22:36:25 soupsieve==2.5 22:36:25 stevedore==5.1.0 22:36:25 tabulate==0.9.0 22:36:25 toml==0.10.2 22:36:25 tomlkit==0.12.3 22:36:25 tqdm==4.66.1 22:36:25 typing_extensions==4.9.0 22:36:25 tzdata==2023.4 22:36:25 urllib3==1.26.18 22:36:25 virtualenv==20.25.0 22:36:25 wcwidth==0.2.13 22:36:25 websocket-client==1.7.0 22:36:25 wrapt==1.16.0 22:36:25 xdg==6.0.0 22:36:25 xmltodict==0.13.0 22:36:25 yq==3.2.3 22:36:25 [EnvInject] - Injecting environment variables from a build step. 22:36:25 [EnvInject] - Injecting as environment variables the properties content 22:36:25 PYTHON=python3 22:36:25 22:36:25 [EnvInject] - Variables injected successfully. 22:36:25 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11903793552706282465.sh 22:36:25 ---> tox-install.sh 22:36:25 + source /home/jenkins/lf-env.sh 22:36:25 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:36:25 ++ mktemp -d /tmp/venv-XXXX 22:36:25 + lf_venv=/tmp/venv-IwAC 22:36:25 + local venv_file=/tmp/.os_lf_venv 22:36:25 + local python=python3 22:36:25 + local options 22:36:25 + local set_path=true 22:36:25 + local install_args= 22:36:25 ++ 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 22:36:25 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:36:25 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:36:25 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:36:25 + true 22:36:25 + case $1 in 22:36:25 + venv_file=/tmp/.toxenv 22:36:25 + shift 2 22:36:25 + true 22:36:25 + case $1 in 22:36:25 + shift 22:36:25 + break 22:36:25 + case $python in 22:36:25 + local pkg_list= 22:36:25 + [[ -d /opt/pyenv ]] 22:36:25 + echo 'Setup pyenv:' 22:36:25 Setup pyenv: 22:36:25 + export PYENV_ROOT=/opt/pyenv 22:36:25 + PYENV_ROOT=/opt/pyenv 22:36:25 + export PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:25 + PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:25 + pyenv versions 22:36:25 system 22:36:25 3.8.13 22:36:25 3.9.13 22:36:25 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:36:25 + command -v pyenv 22:36:25 ++ pyenv init - --no-rehash 22:36:25 + 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[*]}"'\'')" 22:36:25 export PATH="/opt/pyenv/shims:${PATH}" 22:36:25 export PYENV_SHELL=bash 22:36:25 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:36:25 pyenv() { 22:36:25 local command 22:36:25 command="${1:-}" 22:36:25 if [ "$#" -gt 0 ]; then 22:36:25 shift 22:36:25 fi 22:36:25 22:36:25 case "$command" in 22:36:25 rehash|shell) 22:36:25 eval "$(pyenv "sh-$command" "$@")" 22:36:25 ;; 22:36:25 *) 22:36:25 command pyenv "$command" "$@" 22:36:25 ;; 22:36:25 esac 22:36:25 }' 22:36:25 +++ 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[*]}"' 22:36:25 ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:25 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:25 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:25 ++ export PYENV_SHELL=bash 22:36:25 ++ PYENV_SHELL=bash 22:36:25 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:36:25 +++ complete -F _pyenv pyenv 22:36:25 ++ lf-pyver python3 22:36:25 ++ local py_version_xy=python3 22:36:25 ++ local py_version_xyz= 22:36:25 ++ grep -E '^[0-9.]*[0-9]$' 22:36:25 ++ awk '{ print $1 }' 22:36:25 ++ sed 's/^[ *]* //' 22:36:25 ++ pyenv versions 22:36:25 ++ local command 22:36:25 ++ command=versions 22:36:25 ++ '[' 1 -gt 0 ']' 22:36:25 ++ shift 22:36:25 ++ case "$command" in 22:36:25 ++ command pyenv versions 22:36:25 ++ pyenv versions 22:36:25 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:36:25 +++ grep '^3' /tmp/.pyenv_versions 22:36:25 +++ sort -V 22:36:25 +++ tail -n 1 22:36:25 ++ py_version_xyz=3.10.6 22:36:25 ++ [[ -z 3.10.6 ]] 22:36:25 ++ echo 3.10.6 22:36:25 ++ return 0 22:36:25 + pyenv local 3.10.6 22:36:25 + local command 22:36:25 + command=local 22:36:25 + '[' 2 -gt 0 ']' 22:36:25 + shift 22:36:25 + case "$command" in 22:36:25 + command pyenv local 3.10.6 22:36:25 + pyenv local 3.10.6 22:36:25 + for arg in "$@" 22:36:25 + case $arg in 22:36:25 + pkg_list+='tox ' 22:36:25 + for arg in "$@" 22:36:25 + case $arg in 22:36:25 + pkg_list+='virtualenv ' 22:36:25 + for arg in "$@" 22:36:25 + case $arg in 22:36:25 + pkg_list+='urllib3~=1.26.15 ' 22:36:25 + [[ -f /tmp/.toxenv ]] 22:36:25 + [[ ! -f /tmp/.toxenv ]] 22:36:25 + [[ -n '' ]] 22:36:25 + python3 -m venv /tmp/venv-IwAC 22:36:29 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IwAC' 22:36:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IwAC 22:36:29 + echo /tmp/venv-IwAC 22:36:29 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 22:36:29 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 22:36:29 + /tmp/venv-IwAC/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:36:33 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:36:33 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:36:33 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:36:33 + /tmp/venv-IwAC/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:36:35 + type python3 22:36:35 + true 22:36:35 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-IwAC/bin to PATH' 22:36:35 lf-activate-venv(): INFO: Adding /tmp/venv-IwAC/bin to PATH 22:36:35 + PATH=/tmp/venv-IwAC/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 22:36:35 + return 0 22:36:35 + python3 --version 22:36:35 Python 3.10.6 22:36:35 + python3 -m pip --version 22:36:35 pip 23.3.2 from /tmp/venv-IwAC/lib/python3.10/site-packages/pip (python 3.10) 22:36:36 + python3 -m pip freeze 22:36:36 cachetools==5.3.2 22:36:36 chardet==5.2.0 22:36:36 colorama==0.4.6 22:36:36 distlib==0.3.8 22:36:36 filelock==3.13.1 22:36:36 packaging==23.2 22:36:36 platformdirs==4.1.0 22:36:36 pluggy==1.3.0 22:36:36 pyproject-api==1.6.1 22:36:36 tomli==2.0.1 22:36:36 tox==4.12.1 22:36:36 urllib3==1.26.18 22:36:36 virtualenv==20.25.0 22:36:36 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins6042497506814965884.sh 22:36:36 [EnvInject] - Injecting environment variables from a build step. 22:36:36 [EnvInject] - Injecting as environment variables the properties content 22:36:36 PARALLEL=False 22:36:36 22:36:36 [EnvInject] - Variables injected successfully. 22:36:36 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14120059230564065005.sh 22:36:36 ---> tox-run.sh 22:36:36 + PATH=/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 22:36:36 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:36:36 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 22:36:36 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:36:36 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 22:36:36 + source /home/jenkins/lf-env.sh 22:36:36 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:36:36 ++ mktemp -d /tmp/venv-XXXX 22:36:36 + lf_venv=/tmp/venv-zCjM 22:36:36 + local venv_file=/tmp/.os_lf_venv 22:36:36 + local python=python3 22:36:36 + local options 22:36:36 + local set_path=true 22:36:36 + local install_args= 22:36:36 ++ 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 22:36:36 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:36:36 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:36:36 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:36:36 + true 22:36:36 + case $1 in 22:36:36 + venv_file=/tmp/.toxenv 22:36:36 + shift 2 22:36:36 + true 22:36:36 + case $1 in 22:36:36 + shift 22:36:36 + break 22:36:36 + case $python in 22:36:36 + local pkg_list= 22:36:36 + [[ -d /opt/pyenv ]] 22:36:36 + echo 'Setup pyenv:' 22:36:36 Setup pyenv: 22:36:36 + export PYENV_ROOT=/opt/pyenv 22:36:36 + PYENV_ROOT=/opt/pyenv 22:36:36 + 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 22:36:36 + 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 22:36:36 + pyenv versions 22:36:36 system 22:36:36 3.8.13 22:36:36 3.9.13 22:36:36 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:36:36 + command -v pyenv 22:36:36 ++ pyenv init - --no-rehash 22:36:36 + 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[*]}"'\'')" 22:36:36 export PATH="/opt/pyenv/shims:${PATH}" 22:36:36 export PYENV_SHELL=bash 22:36:36 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:36:36 pyenv() { 22:36:36 local command 22:36:36 command="${1:-}" 22:36:36 if [ "$#" -gt 0 ]; then 22:36:36 shift 22:36:36 fi 22:36:36 22:36:36 case "$command" in 22:36:36 rehash|shell) 22:36:36 eval "$(pyenv "sh-$command" "$@")" 22:36:36 ;; 22:36:36 *) 22:36:36 command pyenv "$command" "$@" 22:36:36 ;; 22:36:36 esac 22:36:36 }' 22:36:36 +++ 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[*]}"' 22:36:36 ++ 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 22:36:36 ++ 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 22:36:36 ++ 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 22:36:36 ++ export PYENV_SHELL=bash 22:36:36 ++ PYENV_SHELL=bash 22:36:36 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:36:36 +++ complete -F _pyenv pyenv 22:36:36 ++ lf-pyver python3 22:36:36 ++ local py_version_xy=python3 22:36:36 ++ local py_version_xyz= 22:36:36 ++ pyenv versions 22:36:36 ++ local command 22:36:36 ++ command=versions 22:36:36 ++ '[' 1 -gt 0 ']' 22:36:36 ++ shift 22:36:36 ++ case "$command" in 22:36:36 ++ command pyenv versions 22:36:36 ++ pyenv versions 22:36:36 ++ grep -E '^[0-9.]*[0-9]$' 22:36:36 ++ awk '{ print $1 }' 22:36:36 ++ sed 's/^[ *]* //' 22:36:36 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:36:36 +++ grep '^3' /tmp/.pyenv_versions 22:36:36 +++ tail -n 1 22:36:36 +++ sort -V 22:36:36 ++ py_version_xyz=3.10.6 22:36:36 ++ [[ -z 3.10.6 ]] 22:36:36 ++ echo 3.10.6 22:36:36 ++ return 0 22:36:36 + pyenv local 3.10.6 22:36:36 + local command 22:36:36 + command=local 22:36:36 + '[' 2 -gt 0 ']' 22:36:36 + shift 22:36:36 + case "$command" in 22:36:36 + command pyenv local 3.10.6 22:36:36 + pyenv local 3.10.6 22:36:36 + for arg in "$@" 22:36:36 + case $arg in 22:36:36 + pkg_list+='tox ' 22:36:36 + for arg in "$@" 22:36:36 + case $arg in 22:36:36 + pkg_list+='virtualenv ' 22:36:36 + for arg in "$@" 22:36:36 + case $arg in 22:36:36 + pkg_list+='urllib3~=1.26.15 ' 22:36:36 + [[ -f /tmp/.toxenv ]] 22:36:36 ++ cat /tmp/.toxenv 22:36:36 + lf_venv=/tmp/venv-IwAC 22:36:36 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IwAC from' file:/tmp/.toxenv 22:36:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-IwAC from file:/tmp/.toxenv 22:36:36 + /tmp/venv-IwAC/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:36:37 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:36:37 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:36:37 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:36:37 + /tmp/venv-IwAC/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:36:39 + type python3 22:36:39 + true 22:36:39 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-IwAC/bin to PATH' 22:36:39 lf-activate-venv(): INFO: Adding /tmp/venv-IwAC/bin to PATH 22:36:39 + PATH=/tmp/venv-IwAC/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 22:36:39 + return 0 22:36:39 + [[ -d /opt/pyenv ]] 22:36:39 + echo '---> Setting up pyenv' 22:36:39 ---> Setting up pyenv 22:36:39 + export PYENV_ROOT=/opt/pyenv 22:36:39 + PYENV_ROOT=/opt/pyenv 22:36:39 + export PATH=/opt/pyenv/bin:/tmp/venv-IwAC/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 22:36:39 + PATH=/opt/pyenv/bin:/tmp/venv-IwAC/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 22:36:39 ++ pwd 22:36:39 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 22:36:39 + export PYTHONPATH 22:36:39 + export TOX_TESTENV_PASSENV=PYTHONPATH 22:36:39 + TOX_TESTENV_PASSENV=PYTHONPATH 22:36:39 + tox --version 22:36:39 4.12.1 from /tmp/venv-IwAC/lib/python3.10/site-packages/tox/__init__.py 22:36:39 + PARALLEL=False 22:36:39 + TOX_OPTIONS_LIST= 22:36:39 + [[ -n '' ]] 22:36:39 + case ${PARALLEL,,} in 22:36:39 + tox 22:36:39 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 22:36:40 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 22:36:47 code: freeze> python -m pip freeze --all 22:36:48 code: attrs==23.2.0,certifi==2023.11.17,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.4.0,exceptiongroup==1.2.0,Flask==2.2.5,idna==3.6,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.3,jsonschema==4.21.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.3,packaging==23.2,pip==23.3.1,pluggy==1.3.0,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,referencing==0.32.1,requests==2.31.0,rpds-py==0.17.1,setuptools==69.0.2,tomli==2.0.1,urllib3==2.1.0,Werkzeug==2.2.3,wheel==0.42.0 22:36:48 code: commands[0]> pytest -o log_cli=true --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py 22:36:48 ============================= test session starts ============================== 22:36:48 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:36:48 cachedir: .tox/code/.pytest_cache 22:36:48 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:36:48 plugins: cov-4.1.0 22:36:48 collected 4 items 22:36:48 22:36:48 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:36:49 -------------------------------- live log setup -------------------------------- 22:36:49 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:36:49 Please install connexion with extra install: pip install connexion[swagger-ui] 22:36:49 or provide the path to your local installation by passing swagger_path= 22:36:49 22:36:49 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:36:49 Please install connexion with extra install: pip install connexion[swagger-ui] 22:36:49 or provide the path to your local installation by passing swagger_path= 22:36:49 22:36:49 PASSED [ 25%] 22:36:49 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 22:36:59 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 22:36:59 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 22:36:59 -------------------------------- live log call --------------------------------- 22:36:59 INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. 22:36:59 * Running on http://127.0.0.1:8086 22:36:59 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 22:37:09 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 22:37:09] "POST /statustest HTTP/1.1" 201 - 22:37:09 PASSED [100%] 22:37:09 22:37:09 =============================== warnings summary =============================== 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 22:37:09 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:37:09 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 22:37:09 from jsonschema import Draft4Validator, RefResolver 22:37:09 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 22:37:09 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:37:09 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 22:37:09 app.json_encoder = FlaskJSONEncoder 22:37:09 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 22:37:09 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:09 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 22:37:09 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 22:37:09 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:09 22:37:09 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:37:09 22:37:09 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:37:09 Name Stmts Miss Cover Missing 22:37:09 --------------------------------------------------------------------------------------------------------- 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:37:09 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:37:09 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:37:09 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:37:09 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:37:09 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:37:09 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:37:09 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:37:09 --------------------------------------------------------------------------------------------------------- 22:37:09 TOTAL 973 113 88% 22:37:09 Coverage HTML written to dir htmlcov 22:37:09 Coverage XML written to file coverage.xml 22:37:09 22:37:09 Required test coverage of 70% reached. Total coverage: 88.39% 22:37:09 ======================= 4 passed, 118 warnings in 21.39s ======================= 22:37:09 code: commands[1]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_1_1_3.py 22:37:10 ============================= test session starts ============================== 22:37:10 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:37:10 cachedir: .tox/code/.pytest_cache 22:37:10 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:37:10 plugins: cov-4.1.0 22:37:10 collected 1 item 22:37:10 22:37:10 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:10 -------------------------------- live log setup -------------------------------- 22:37:10 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:37:10 Please install connexion with extra install: pip install connexion[swagger-ui] 22:37:10 or provide the path to your local installation by passing swagger_path= 22:37:10 22:37:10 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:37:10 Please install connexion with extra install: pip install connexion[swagger-ui] 22:37:10 or provide the path to your local installation by passing swagger_path= 22:37:10 22:37:21 PASSED [100%] 22:37:21 22:37:21 =============================== warnings summary =============================== 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 22:37:21 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 22:37:21 from jsonschema import Draft4Validator, RefResolver 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 22:37:21 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 22:37:21 app.json_encoder = FlaskJSONEncoder 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 22:37:21 for error in instance_validator.iter_errors(instance['default'], instance): 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 22:37:21 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 22:37:21 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:188: DeprecationWarning: Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3. Customize 'app.json' instead. 22:37:21 warnings.warn( 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 22:37:21 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:230: DeprecationWarning: 'JSONEncoder' is deprecated and will be removed in Flask 2.3. Use 'Flask.json' to provide an alternate JSON implementation instead. 22:37:21 return json.dumps(obj, **kwargs) 22:37:21 22:37:21 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:37:21 22:37:21 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:37:21 Name Stmts Miss Cover Missing 22:37:21 --------------------------------------------------------------------------------------------------------- 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:37:21 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:37:21 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 22:37:21 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 22:37:21 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 22:37:21 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:37:21 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:37:21 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:37:21 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:37:21 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:37:21 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 22:37:21 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:37:21 --------------------------------------------------------------------------------------------------------- 22:37:21 TOTAL 1440 152 89% 22:37:21 Coverage HTML written to dir htmlcov 22:37:21 Coverage XML written to file coverage.xml 22:37:21 22:37:21 Required test coverage of 70% reached. Total coverage: 89.44% 22:37:21 ======================= 1 passed, 65 warnings in 11.15s ======================== 22:37:21 code: commands[2]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_2_0_0.py 22:37:21 ============================= test session starts ============================== 22:37:21 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:37:21 cachedir: .tox/code/.pytest_cache 22:37:21 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:37:21 plugins: cov-4.1.0 22:37:21 collected 4 items 22:37:21 22:37:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:22 -------------------------------- live log setup -------------------------------- 22:37:22 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:37:22 Please install connexion with extra install: pip install connexion[swagger-ui] 22:37:22 or provide the path to your local installation by passing swagger_path= 22:37:22 22:37:22 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:37:22 Please install connexion with extra install: pip install connexion[swagger-ui] 22:37:22 or provide the path to your local installation by passing swagger_path= 22:37:22 22:37:22 PASSED [ 25%] 22:37:22 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 22:37:32 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 22:37:32 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 22:37:32 -------------------------------- live log call --------------------------------- 22:37:32 INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. 22:37:32 * Running on http://127.0.0.1:8086 22:37:32 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 22:37:42 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 22:37:42] "POST /statustest HTTP/1.1" 200 - 22:37:42 PASSED [100%] 22:37:43 22:37:43 =============================== warnings summary =============================== 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. 22:37:43 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. 22:37:43 from jsonschema import Draft4Validator, RefResolver 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. 22:37:43 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. 22:37:43 app.json_encoder = FlaskJSONEncoder 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. 22:37:43 for error in instance_validator.iter_errors(instance['default'], instance): 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. 22:37:43 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:43 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 22:37:43 /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. 22:37:43 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 22:37:43 22:37:43 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 22:37:43 22:37:43 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 22:37:43 Name Stmts Miss Cover Missing 22:37:43 --------------------------------------------------------------------------------------------------------- 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 22:37:43 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 22:37:43 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 22:37:43 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 22:37:43 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 22:37:43 near-rt-ric-simulator/src/STD_2.0.0/a1.py 244 99 59% 48, 59, 64-65, 92, 98-99, 104-106, 110-111, 118, 123-124, 127, 132-135, 139-142, 147-150, 179, 185-186, 189-190, 200, 206-207, 210-211, 215-218, 223-226, 229, 245, 251-252, 255-256, 260-263, 271-294, 301-313, 332-333, 346, 361, 363, 365, 368-377 22:37:43 near-rt-ric-simulator/src/STD_2.0.0/main.py 165 31 81% 59, 88, 93-94, 97, 103, 115, 119, 125, 132, 142-143, 153-154, 165, 167, 170, 197-198, 200, 208-214, 224-225, 248, 253, 258 22:37:43 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 22:37:43 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 22:37:43 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 22:37:43 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 22:37:43 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 22:37:43 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 22:37:43 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 22:37:43 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 22:37:43 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 22:37:43 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 22:37:43 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 22:37:43 --------------------------------------------------------------------------------------------------------- 22:37:43 TOTAL 2219 282 87% 22:37:43 Coverage HTML written to dir htmlcov 22:37:43 Coverage XML written to file coverage.xml 22:37:43 22:37:43 Required test coverage of 70% reached. Total coverage: 87.29% 22:37:43 ======================= 4 passed, 65 warnings in 21.52s ======================== 22:37:43 code: commands[3]> coverage xml -i 22:37:43 Wrote XML report to coverage.xml 22:37:43 code: OK ✔ in 1 minute 3.9 seconds 22:37:43 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 22:38:28 docs: freeze> python -m pip freeze --all 22:38:29 docs: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==1.1.13,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 22:38:29 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 22:38:29 Running Sphinx v5.3.0 22:38:29 making output directory... done 22:38:29 building [mo]: targets for 0 po files that are out of date 22:38:29 building [html]: targets for 6 source files that are out of date 22:38:29 updating environment: [new config] 6 added, 0 changed, 0 removed 22:38:29 reading sources... [ 16%] callout-server 22:38:29 reading sources... [ 33%] index 22:38:29 reading sources... [ 50%] kafka-message-dispatcher 22:38:29 reading sources... [ 66%] overview 22:38:29 reading sources... [ 83%] release-notes 22:38:29 reading sources... [100%] simulator-api 22:38:30 22:38:30 looking for now-outdated files... none found 22:38:30 pickling environment... done 22:38:30 checking consistency... done 22:38:30 preparing documents... done 22:38:30 writing output... [ 16%] callout-server 22:38:30 writing output... [ 33%] index 22:38:30 writing output... [ 50%] kafka-message-dispatcher 22:38:30 writing output... [ 66%] overview 22:38:30 writing output... [ 83%] release-notes 22:38:30 writing output... [100%] simulator-api 22:38:30 22:38:30 generating indices... genindex done 22:38:30 writing additional pages... search done 22:38:30 copying images... [100%] images/yaml_logo.png 22:38:30 22:38:30 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 22:38:30 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 22:38:30 22:38:30 copying static files... done 22:38:30 copying extra files... done 22:38:30 dumping search index in English (code: en)... done 22:38:30 dumping object inventory... done 22:38:30 build succeeded. 22:38:30 22:38:30 The HTML pages are in docs/_build/html. 22:38:30 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 22:38:30 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 22:38:30 docs: OK ✔ in 47.13 seconds 22:38:30 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 22:38:54 docs-linkcheck: freeze> python -m pip freeze --all 22:38:55 docs-linkcheck: alabaster==0.7.16,attrs==23.2.0,Babel==2.14.0,blockdiag==3.0.0,cachetools==5.3.2,certifi==2023.11.17,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.13.1,fonttools==4.47.2,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.3,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.3,nwdiag==3.0.0,packaging==23.2,pbr==6.0.0,pillow==10.2.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,Pygments==2.17.2,pyparsing==3.1.1,pyproject-api==1.6.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,restructuredtext-lint==1.4.0,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==1.1.13,sphinxcontrib-applehelp==1.0.8,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.6,sphinxcontrib-htmlhelp==2.0.5,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.7,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.10,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.1.0,tomli==2.0.1,tox==4.12.1,urllib3==1.26.18,virtualenv==20.25.0,webcolors==1.13,wheel==0.42.0 22:38:55 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/linkcheck 22:38:55 Running Sphinx v5.3.0 22:38:55 making output directory... done 22:38:55 building [mo]: targets for 0 po files that are out of date 22:38:55 building [linkcheck]: targets for 6 source files that are out of date 22:38:55 updating environment: [new config] 6 added, 0 changed, 0 removed 22:38:55 reading sources... [ 16%] callout-server 22:38:55 reading sources... [ 33%] index 22:38:55 reading sources... [ 50%] kafka-message-dispatcher 22:38:55 reading sources... [ 66%] overview 22:38:55 reading sources... [ 83%] release-notes 22:38:55 reading sources... [100%] simulator-api 22:38:56 22:38:56 looking for now-outdated files... none found 22:38:56 pickling environment... done 22:38:56 checking consistency... done 22:38:56 preparing documents... done 22:38:56 writing output... [ 16%] callout-server 22:38:56 writing output... [ 33%] index 22:38:56 writing output... [ 50%] kafka-message-dispatcher 22:38:56 writing output... [ 66%] overview 22:38:56 writing output... [ 83%] release-notes 22:38:56 writing output... [100%] simulator-api 22:38:56 22:38:56 22:38:56 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 22:38:56 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 22:38:56 ( simulator-api: line 337) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/OSC_2.1.0/openapi.yaml 22:38:56 ( simulator-api: line 550) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_1.1.3/STD_A1.yaml 22:38:56 ( simulator-api: line 639) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_2.0.0/ORAN_A1-p_V2.0.0_api.yaml 22:38:56 build succeeded. 22:38:56 22:38:56 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 22:38:56 code: OK (63.90=setup[8.45]+cmd[21.78,11.48,21.87,0.33] seconds) 22:38:56 docs: OK (47.13=setup[45.60]+cmd[1.52,0.00] seconds) 22:38:56 docs-linkcheck: OK (25.46=setup[24.41]+cmd[1.06] seconds) 22:38:56 congratulations :) (136.64 seconds) 22:38:56 + tox_status=0 22:38:56 + echo '---> Completed tox runs' 22:38:56 ---> Completed tox runs 22:38:56 + for i in .tox/*/log 22:38:56 ++ echo .tox/code/log 22:38:56 ++ awk -F/ '{print $2}' 22:38:56 + tox_env=code 22:38:56 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 22:38:56 + for i in .tox/*/log 22:38:56 ++ echo .tox/docs-linkcheck/log 22:38:56 ++ awk -F/ '{print $2}' 22:38:56 + tox_env=docs-linkcheck 22:38:56 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 22:38:56 + for i in .tox/*/log 22:38:56 ++ echo .tox/docs/log 22:38:56 ++ awk -F/ '{print $2}' 22:38:56 + tox_env=docs 22:38:56 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 22:38:56 + DOC_DIR=docs/_build/html 22:38:56 + [[ -d docs/_build/html ]] 22:38:56 + echo '---> Archiving generated docs' 22:38:56 ---> Archiving generated docs 22:38:56 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 22:38:56 + echo '---> tox-run.sh ends' 22:38:56 ---> tox-run.sh ends 22:38:56 + test 0 -eq 0 22:38:56 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-4096 22:38:57 [sim-a1-interface-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_sim-a1-interface -Dsonar.projectName=sim-a1-interface -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=near-rt-ric-simulator -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/sim-a1-interface-tox-sonarqube 22:38:57 Could not find 'java' executable in JAVA_HOME or PATH. 22:38:57 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 22:38:57 $ ssh-agent -k 22:38:57 unset SSH_AUTH_SOCK; 22:38:57 unset SSH_AGENT_PID; 22:38:57 echo Agent pid 6533 killed; 22:38:57 [ssh-agent] Stopped. 22:38:57 ERROR: SonarQube scanner exited with non-zero code: 1 22:38:57 [PostBuildScript] - [INFO] Executing post build scripts. 22:38:57 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13997269030154200562.sh 22:38:57 ---> sysstat.sh 22:38:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7010851873106173040.sh 22:38:58 ---> package-listing.sh 22:38:58 ++ facter osfamily 22:38:58 ++ tr '[:upper:]' '[:lower:]' 22:38:58 + OS_FAMILY=debian 22:38:58 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 22:38:58 + START_PACKAGES=/tmp/packages_start.txt 22:38:58 + END_PACKAGES=/tmp/packages_end.txt 22:38:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:38:58 + PACKAGES=/tmp/packages_start.txt 22:38:58 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 22:38:58 + PACKAGES=/tmp/packages_end.txt 22:38:58 + case "${OS_FAMILY}" in 22:38:58 + dpkg -l 22:38:58 + grep '^ii' 22:38:58 + '[' -f /tmp/packages_start.txt ']' 22:38:58 + '[' -f /tmp/packages_end.txt ']' 22:38:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:38:58 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 22:38:58 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 22:38:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 22:38:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12099348661191568844.sh 22:38:58 ---> capture-instance-metadata.sh 22:38:58 Setup pyenv: 22:38:58 system 22:38:58 3.8.13 22:38:58 3.9.13 22:38:58 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:38:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yarN from file:/tmp/.os_lf_venv 22:39:00 lf-activate-venv(): INFO: Installing: lftools 22:39:15 lf-activate-venv(): INFO: Adding /tmp/venv-yarN/bin to PATH 22:39:15 INFO: Running in OpenStack, capturing instance metadata 22:39:15 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15456919788091576374.sh 22:39:15 provisioning config files... 22:39:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config15153164592405014704tmp 22:39:16 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 22:39:16 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 22:39:16 [EnvInject] - Injecting environment variables from a build step. 22:39:16 [EnvInject] - Injecting as environment variables the properties content 22:39:16 SERVER_ID=logs 22:39:16 22:39:16 [EnvInject] - Variables injected successfully. 22:39:16 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10474326154394200310.sh 22:39:16 ---> create-netrc.sh 22:39:16 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12477694695751724340.sh 22:39:16 ---> python-tools-install.sh 22:39:16 Setup pyenv: 22:39:16 system 22:39:16 3.8.13 22:39:16 3.9.13 22:39:16 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:39:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yarN from file:/tmp/.os_lf_venv 22:39:17 lf-activate-venv(): INFO: Installing: lftools 22:39:29 lf-activate-venv(): INFO: Adding /tmp/venv-yarN/bin to PATH 22:39:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins457167121609753399.sh 22:39:29 ---> sudo-logs.sh 22:39:29 Archiving 'sudo' log.. 22:39:29 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10766462373897381779.sh 22:39:29 ---> job-cost.sh 22:39:29 Setup pyenv: 22:39:29 system 22:39:29 3.8.13 22:39:29 3.9.13 22:39:29 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:39:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yarN from file:/tmp/.os_lf_venv 22:39:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 22:39:39 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. 22:39:39 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 22:39:40 lf-activate-venv(): INFO: Adding /tmp/venv-yarN/bin to PATH 22:39:40 INFO: No Stack... 22:39:40 INFO: Retrieving Pricing Info for: v2-highcpu-2 22:39:40 INFO: Archiving Costs 22:39:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9852014387464771568.sh 22:39:40 ---> logs-deploy.sh 22:39:40 Setup pyenv: 22:39:40 system 22:39:40 3.8.13 22:39:40 3.9.13 22:39:40 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:39:40 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yarN from file:/tmp/.os_lf_venv 22:39:42 lf-activate-venv(): INFO: Installing: lftools 22:39:55 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. 22:39:55 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 22:39:55 lf-activate-venv(): INFO: Adding /tmp/venv-yarN/bin to PATH 22:39:55 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/224 22:39:55 INFO: archiving workspace using pattern(s): -p **/*.log 22:39:59 Archives upload complete. 22:40:00 INFO: archiving logs to Nexus 22:40:00 ---> uname -a: 22:40:00 Linux prd-ubuntu1804-builder-2c-2g-4096 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 22:40:00 22:40:00 22:40:00 ---> lscpu: 22:40:00 Architecture: x86_64 22:40:00 CPU op-mode(s): 32-bit, 64-bit 22:40:00 Byte Order: Little Endian 22:40:00 Address sizes: 40 bits physical, 48 bits virtual 22:40:00 CPU(s): 2 22:40:00 On-line CPU(s) list: 0,1 22:40:00 Thread(s) per core: 1 22:40:00 Core(s) per socket: 1 22:40:00 Socket(s): 2 22:40:00 NUMA node(s): 1 22:40:00 Vendor ID: AuthenticAMD 22:40:00 CPU family: 23 22:40:00 Model: 49 22:40:00 Model name: AMD EPYC-Rome Processor 22:40:00 Stepping: 0 22:40:00 CPU MHz: 2799.998 22:40:00 BogoMIPS: 5599.99 22:40:00 Virtualization: AMD-V 22:40:00 Hypervisor vendor: KVM 22:40:00 Virtualization type: full 22:40:00 L1d cache: 64 KiB 22:40:00 L1i cache: 64 KiB 22:40:00 L2 cache: 1 MiB 22:40:00 L3 cache: 32 MiB 22:40:00 NUMA node0 CPU(s): 0,1 22:40:00 Vulnerability Itlb multihit: Not affected 22:40:00 Vulnerability L1tf: Not affected 22:40:00 Vulnerability Mds: Not affected 22:40:00 Vulnerability Meltdown: Not affected 22:40:00 Vulnerability Mmio stale data: Not affected 22:40:00 Vulnerability Retbleed: Vulnerable 22:40:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:40:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:40:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 22:40:00 Vulnerability Srbds: Not affected 22:40:00 Vulnerability Tsx async abort: Not affected 22:40:00 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 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 wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 22:40:00 22:40:00 22:40:00 ---> nproc: 22:40:00 2 22:40:00 22:40:00 22:40:00 ---> df -h: 22:40:00 Filesystem Size Used Avail Use% Mounted on 22:40:00 udev 975M 0 975M 0% /dev 22:40:00 tmpfs 199M 1012K 198M 1% /run 22:40:00 /dev/vda1 20G 9.1G 11G 48% / 22:40:00 tmpfs 992M 0 992M 0% /dev/shm 22:40:00 tmpfs 5.0M 0 5.0M 0% /run/lock 22:40:00 tmpfs 992M 0 992M 0% /sys/fs/cgroup 22:40:00 /dev/loop0 62M 62M 0 100% /snap/core20/1405 22:40:00 /dev/vda15 105M 6.1M 99M 6% /boot/efi 22:40:00 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 22:40:00 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 22:40:00 tmpfs 199M 0 199M 0% /run/user/1001 22:40:00 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 22:40:00 22:40:00 22:40:00 ---> free -m: 22:40:00 total used free shared buff/cache available 22:40:00 Mem: 1983 439 82 2 1461 1349 22:40:00 Swap: 1023 1 1022 22:40:00 22:40:00 22:40:00 ---> ip addr: 22:40:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 22:40:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:40:00 inet 127.0.0.1/8 scope host lo 22:40:00 valid_lft forever preferred_lft forever 22:40:00 inet6 ::1/128 scope host 22:40:00 valid_lft forever preferred_lft forever 22:40:00 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 22:40:00 link/ether fa:16:3e:a4:c5:ea brd ff:ff:ff:ff:ff:ff 22:40:00 inet 10.32.6.215/23 brd 10.32.7.255 scope global dynamic ens3 22:40:00 valid_lft 86077sec preferred_lft 86077sec 22:40:00 inet6 fe80::f816:3eff:fea4:c5ea/64 scope link 22:40:00 valid_lft forever preferred_lft forever 22:40:00 22:40:00 22:40:00 ---> sar -b -r -n DEV: 22:40:00 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4096) 01/18/24 _x86_64_ (2 CPU) 22:40:00 22:40:00 22:34:40 LINUX RESTART (2 CPU) 22:40:00 22:40:00 22:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:40:00 22:36:01 222.10 109.71 112.39 0.00 2842.56 14297.57 0.00 22:40:00 22:37:01 60.47 6.57 53.91 0.00 376.20 7090.02 0.00 22:40:00 22:38:01 38.74 2.25 36.49 0.00 248.63 11418.90 0.00 22:40:00 22:39:01 107.03 20.63 86.40 0.00 805.33 31429.43 0.00 22:40:00 Average: 107.11 34.80 72.31 0.00 1068.48 16058.68 0.00 22:40:00 22:40:00 22:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:40:00 22:36:01 160080 1428656 374520 18.44 55136 1292416 836648 27.17 453204 1224964 25656 22:40:00 22:37:01 90184 1397084 398840 19.64 69108 1302804 946244 30.73 485844 1241564 83260 22:40:00 22:38:01 77700 1314248 481516 23.71 71516 1228968 1014192 32.94 552132 1185896 17368 22:40:00 22:39:01 288312 1427808 359568 17.71 95424 1099896 825476 26.81 365344 1147168 99788 22:40:00 Average: 154069 1391949 403611 19.88 72796 1231021 905640 29.41 464131 1199898 56518 22:40:00 22:40:00 22:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:40:00 22:36:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 22:40:00 22:36:01 ens3 125.83 90.94 907.89 31.29 0.00 0.00 0.00 0.00 22:40:00 22:37:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 22:40:00 22:37:01 ens3 32.69 31.39 282.23 6.75 0.00 0.00 0.00 0.00 22:40:00 22:38:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 22:40:00 22:38:01 ens3 96.38 81.75 1789.64 8.20 0.00 0.00 0.00 0.00 22:40:00 22:39:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 22:40:00 22:39:01 ens3 58.01 53.51 766.46 13.90 0.00 0.00 0.00 0.00 22:40:00 Average: lo 0.83 0.83 0.07 0.07 0.00 0.00 0.00 0.00 22:40:00 Average: ens3 78.24 64.40 936.55 15.04 0.00 0.00 0.00 0.00 22:40:00 22:40:00 22:40:00 ---> sar -P ALL: 22:40:00 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4096) 01/18/24 _x86_64_ (2 CPU) 22:40:00 22:40:00 22:34:40 LINUX RESTART (2 CPU) 22:40:00 22:40:00 22:35:01 CPU %user %nice %system %iowait %steal %idle 22:40:00 22:36:01 all 35.48 23.73 16.26 9.82 0.09 14.62 22:40:00 22:36:01 0 36.75 23.36 16.52 10.16 0.08 13.12 22:40:00 22:36:01 1 34.20 24.09 15.99 9.47 0.10 16.14 22:40:00 22:37:01 all 31.13 0.00 2.63 4.16 0.07 62.01 22:40:00 22:37:01 0 28.10 0.00 3.00 7.57 0.07 61.26 22:40:00 22:37:01 1 34.16 0.00 2.26 0.75 0.07 62.76 22:40:00 22:38:01 all 13.64 0.00 1.41 2.23 0.08 82.63 22:40:00 22:38:01 0 8.79 0.00 1.22 3.84 0.08 86.07 22:40:00 22:38:01 1 18.50 0.00 1.61 0.62 0.08 79.19 22:40:00 22:39:01 all 40.36 0.00 3.72 5.12 0.08 50.72 22:40:00 22:39:01 0 30.78 0.00 3.21 4.71 0.08 61.22 22:40:00 22:39:01 1 49.95 0.00 4.23 5.54 0.08 40.19 22:40:00 Average: all 30.14 5.89 5.98 5.33 0.08 52.57 22:40:00 Average: 0 26.10 5.82 5.97 6.57 0.08 55.46 22:40:00 Average: 1 34.21 5.97 5.99 4.08 0.08 49.67 22:40:00 22:40:00 22:40:00