22:58:08 Started by user Jessica Wagantall 22:58:08 Running as SYSTEM 22:58:08 [EnvInject] - Loading node environment variables. 22:58:08 Building remotely on prd-ubuntu1804-builder-2c-2g-4099 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 22:58:08 [ssh-agent] Looking for ssh-agent implementation... 22:58:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:58:08 $ ssh-agent 22:58:08 SSH_AUTH_SOCK=/tmp/ssh-QpaqYBm3GRfs/agent.5640 22:58:08 SSH_AGENT_PID=5644 22:58:08 [ssh-agent] Started. 22:58:08 Running ssh-add (command line suppressed) 22:58:08 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_11275924623318452501.key (jenkins-ssh) 22:58:08 [ssh-agent] Using credentials jenkins (jenkins) 22:58:08 The recommended git tool is: NONE 22:58:10 using credential jenkins 22:58:10 Wiping out workspace first. 22:58:10 Cloning the remote Git repository 22:58:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:58:10 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 22:58:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 22:58:10 > git --version # timeout=10 22:58:10 > git --version # 'git version 2.25.1' 22:58:10 using GIT_SSH to set credentials jenkins 22:58:11 > 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:58:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 22:58:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:58:12 Avoid second fetch 22:58:12 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 22:58:12 Checking out Revision 8873ea581307f1544b6ece3cb31b78c781ae032e (refs/remotes/origin/master) 22:58:12 > git config core.sparsecheckout # timeout=10 22:58:12 > git checkout -f 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:58:12 Commit message: "Fix build failure" 22:58:12 > git rev-list --no-walk 8873ea581307f1544b6ece3cb31b78c781ae032e # timeout=10 22:58:12 provisioning config files... 22:58:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 22:58:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 22:58:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3599711754622886630.sh 22:58:12 ---> python-tools-install.sh 22:58:12 Setup pyenv: 22:58:13 * system (set by /opt/pyenv/version) 22:58:13 * 3.8.13 (set by /opt/pyenv/version) 22:58:13 * 3.9.13 (set by /opt/pyenv/version) 22:58:13 * 3.10.6 (set by /opt/pyenv/version) 22:58:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W1Hq 22:58:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 22:58:22 lf-activate-venv(): INFO: Installing: lftools 22:58:58 lf-activate-venv(): INFO: Adding /tmp/venv-W1Hq/bin to PATH 22:58:58 Generating Requirements File 22:59:31 Python 3.10.6 22:59:31 pip 23.3.2 from /tmp/venv-W1Hq/lib/python3.10/site-packages/pip (python 3.10) 22:59:32 appdirs==1.4.4 22:59:32 argcomplete==3.2.1 22:59:32 aspy.yaml==1.3.0 22:59:32 attrs==23.2.0 22:59:32 autopage==0.5.2 22:59:32 beautifulsoup4==4.12.3 22:59:32 boto3==1.34.21 22:59:32 botocore==1.34.21 22:59:32 bs4==0.0.2 22:59:32 cachetools==5.3.2 22:59:32 certifi==2023.11.17 22:59:32 cffi==1.16.0 22:59:32 cfgv==3.4.0 22:59:32 chardet==5.2.0 22:59:32 charset-normalizer==3.3.2 22:59:32 click==8.1.7 22:59:32 cliff==4.5.0 22:59:32 cmd2==2.4.3 22:59:32 cryptography==3.3.2 22:59:32 debtcollector==2.5.0 22:59:32 decorator==5.1.1 22:59:32 defusedxml==0.7.1 22:59:32 Deprecated==1.2.14 22:59:32 distlib==0.3.8 22:59:32 dnspython==2.4.2 22:59:32 docker==4.2.2 22:59:32 dogpile.cache==1.3.0 22:59:32 email-validator==2.1.0.post1 22:59:32 filelock==3.13.1 22:59:32 future==0.18.3 22:59:32 gitdb==4.0.11 22:59:32 GitPython==3.1.41 22:59:32 google-auth==2.26.2 22:59:32 httplib2==0.22.0 22:59:32 identify==2.5.33 22:59:32 idna==3.6 22:59:32 importlib-resources==1.5.0 22:59:32 iso8601==2.1.0 22:59:32 Jinja2==3.1.3 22:59:32 jmespath==1.0.1 22:59:32 jsonpatch==1.33 22:59:32 jsonpointer==2.4 22:59:32 jsonschema==4.21.0 22:59:32 jsonschema-specifications==2023.12.1 22:59:32 keystoneauth1==5.5.0 22:59:32 kubernetes==29.0.0 22:59:32 lftools==0.37.8 22:59:32 lxml==5.1.0 22:59:32 MarkupSafe==2.1.3 22:59:32 msgpack==1.0.7 22:59:32 multi_key_dict==2.0.3 22:59:32 munch==4.0.0 22:59:32 netaddr==0.10.1 22:59:32 netifaces==0.11.0 22:59:32 niet==1.4.2 22:59:32 nodeenv==1.8.0 22:59:32 oauth2client==4.1.3 22:59:32 oauthlib==3.2.2 22:59:32 openstacksdk==0.62.0 22:59:32 os-client-config==2.1.0 22:59:32 os-service-types==1.7.0 22:59:32 osc-lib==3.0.0 22:59:32 oslo.config==9.3.0 22:59:32 oslo.context==5.3.0 22:59:32 oslo.i18n==6.2.0 22:59:32 oslo.log==5.4.0 22:59:32 oslo.serialization==5.3.0 22:59:32 oslo.utils==7.0.0 22:59:32 packaging==23.2 22:59:32 pbr==6.0.0 22:59:32 platformdirs==4.1.0 22:59:32 prettytable==3.9.0 22:59:32 pyasn1==0.5.1 22:59:32 pyasn1-modules==0.3.0 22:59:32 pycparser==2.21 22:59:32 pygerrit2==2.0.15 22:59:32 PyGithub==2.1.1 22:59:32 pyinotify==0.9.6 22:59:32 PyJWT==2.8.0 22:59:32 PyNaCl==1.5.0 22:59:32 pyparsing==2.4.7 22:59:32 pyperclip==1.8.2 22:59:32 pyrsistent==0.20.0 22:59:32 python-cinderclient==9.4.0 22:59:32 python-dateutil==2.8.2 22:59:32 python-heatclient==3.4.0 22:59:32 python-jenkins==1.8.2 22:59:32 python-keystoneclient==5.3.0 22:59:32 python-magnumclient==4.3.0 22:59:32 python-novaclient==18.4.0 22:59:32 python-openstackclient==6.0.0 22:59:32 python-swiftclient==4.4.0 22:59:32 pytz==2023.3.post1 22:59:32 PyYAML==6.0.1 22:59:32 referencing==0.32.1 22:59:32 requests==2.31.0 22:59:32 requests-oauthlib==1.3.1 22:59:32 requestsexceptions==1.4.0 22:59:32 rfc3986==2.0.0 22:59:32 rpds-py==0.17.1 22:59:32 rsa==4.9 22:59:32 ruamel.yaml==0.18.5 22:59:32 ruamel.yaml.clib==0.2.8 22:59:32 s3transfer==0.10.0 22:59:32 simplejson==3.19.2 22:59:32 six==1.16.0 22:59:32 smmap==5.0.1 22:59:32 soupsieve==2.5 22:59:32 stevedore==5.1.0 22:59:32 tabulate==0.9.0 22:59:32 toml==0.10.2 22:59:32 tomlkit==0.12.3 22:59:32 tqdm==4.66.1 22:59:32 typing_extensions==4.9.0 22:59:32 tzdata==2023.4 22:59:32 urllib3==1.26.18 22:59:32 virtualenv==20.25.0 22:59:32 wcwidth==0.2.13 22:59:32 websocket-client==1.7.0 22:59:32 wrapt==1.16.0 22:59:32 xdg==6.0.0 22:59:32 xmltodict==0.13.0 22:59:32 yq==3.2.3 22:59:32 [EnvInject] - Injecting environment variables from a build step. 22:59:32 [EnvInject] - Injecting as environment variables the properties content 22:59:32 PYTHON=python3 22:59:32 22:59:32 [EnvInject] - Variables injected successfully. 22:59:32 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3993831358644105462.sh 22:59:32 ---> tox-install.sh 22:59:32 + source /home/jenkins/lf-env.sh 22:59:32 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:59:32 ++ mktemp -d /tmp/venv-XXXX 22:59:32 + lf_venv=/tmp/venv-JfcH 22:59:32 + local venv_file=/tmp/.os_lf_venv 22:59:32 + local python=python3 22:59:32 + local options 22:59:32 + local set_path=true 22:59:32 + local install_args= 22:59:32 ++ 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:59:32 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:59:32 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:59:32 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:59:32 + true 22:59:32 + case $1 in 22:59:32 + venv_file=/tmp/.toxenv 22:59:32 + shift 2 22:59:32 + true 22:59:32 + case $1 in 22:59:32 + shift 22:59:32 + break 22:59:32 + case $python in 22:59:32 + local pkg_list= 22:59:32 + [[ -d /opt/pyenv ]] 22:59:32 + echo 'Setup pyenv:' 22:59:32 Setup pyenv: 22:59:32 + export PYENV_ROOT=/opt/pyenv 22:59:32 + PYENV_ROOT=/opt/pyenv 22:59:32 + 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:59:32 + 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:59:32 + pyenv versions 22:59:32 system 22:59:32 3.8.13 22:59:32 3.9.13 22:59:32 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:59:32 + command -v pyenv 22:59:32 ++ pyenv init - --no-rehash 22:59:32 + 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:59:32 export PATH="/opt/pyenv/shims:${PATH}" 22:59:32 export PYENV_SHELL=bash 22:59:32 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:59:32 pyenv() { 22:59:32 local command 22:59:32 command="${1:-}" 22:59:32 if [ "$#" -gt 0 ]; then 22:59:32 shift 22:59:32 fi 22:59:32 22:59:32 case "$command" in 22:59:32 rehash|shell) 22:59:32 eval "$(pyenv "sh-$command" "$@")" 22:59:32 ;; 22:59:32 *) 22:59:32 command pyenv "$command" "$@" 22:59:32 ;; 22:59:32 esac 22:59:32 }' 22:59:32 +++ 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:59:32 ++ 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:59:32 ++ 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:59:32 ++ 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:59:32 ++ export PYENV_SHELL=bash 22:59:32 ++ PYENV_SHELL=bash 22:59:32 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:59:32 +++ complete -F _pyenv pyenv 22:59:32 ++ lf-pyver python3 22:59:32 ++ local py_version_xy=python3 22:59:32 ++ local py_version_xyz= 22:59:32 ++ grep -E '^[0-9.]*[0-9]$' 22:59:32 ++ awk '{ print $1 }' 22:59:32 ++ sed 's/^[ *]* //' 22:59:32 ++ pyenv versions 22:59:32 ++ local command 22:59:32 ++ command=versions 22:59:32 ++ '[' 1 -gt 0 ']' 22:59:32 ++ shift 22:59:32 ++ case "$command" in 22:59:32 ++ command pyenv versions 22:59:32 ++ pyenv versions 22:59:32 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:59:32 +++ grep '^3' /tmp/.pyenv_versions 22:59:32 +++ sort -V 22:59:32 +++ tail -n 1 22:59:32 ++ py_version_xyz=3.10.6 22:59:32 ++ [[ -z 3.10.6 ]] 22:59:32 ++ echo 3.10.6 22:59:32 ++ return 0 22:59:32 + pyenv local 3.10.6 22:59:32 + local command 22:59:32 + command=local 22:59:32 + '[' 2 -gt 0 ']' 22:59:32 + shift 22:59:32 + case "$command" in 22:59:32 + command pyenv local 3.10.6 22:59:32 + pyenv local 3.10.6 22:59:32 + for arg in "$@" 22:59:32 + case $arg in 22:59:32 + pkg_list+='tox ' 22:59:32 + for arg in "$@" 22:59:32 + case $arg in 22:59:32 + pkg_list+='virtualenv ' 22:59:32 + for arg in "$@" 22:59:32 + case $arg in 22:59:32 + pkg_list+='urllib3~=1.26.15 ' 22:59:32 + [[ -f /tmp/.toxenv ]] 22:59:32 + [[ ! -f /tmp/.toxenv ]] 22:59:32 + [[ -n '' ]] 22:59:32 + python3 -m venv /tmp/venv-JfcH 22:59:35 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JfcH' 22:59:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JfcH 22:59:35 + echo /tmp/venv-JfcH 22:59:35 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 22:59:35 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 22:59:35 + /tmp/venv-JfcH/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:59:38 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:59:38 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:59:38 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:59:38 + /tmp/venv-JfcH/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:59:41 + type python3 22:59:41 + true 22:59:41 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-JfcH/bin to PATH' 22:59:41 lf-activate-venv(): INFO: Adding /tmp/venv-JfcH/bin to PATH 22:59:41 + PATH=/tmp/venv-JfcH/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:59:41 + return 0 22:59:41 + python3 --version 22:59:41 Python 3.10.6 22:59:41 + python3 -m pip --version 22:59:41 pip 23.3.2 from /tmp/venv-JfcH/lib/python3.10/site-packages/pip (python 3.10) 22:59:41 + python3 -m pip freeze 22:59:42 cachetools==5.3.2 22:59:42 chardet==5.2.0 22:59:42 colorama==0.4.6 22:59:42 distlib==0.3.8 22:59:42 filelock==3.13.1 22:59:42 packaging==23.2 22:59:42 platformdirs==4.1.0 22:59:42 pluggy==1.3.0 22:59:42 pyproject-api==1.6.1 22:59:42 tomli==2.0.1 22:59:42 tox==4.12.1 22:59:42 urllib3==1.26.18 22:59:42 virtualenv==20.25.0 22:59:42 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins10049229676824454546.sh 22:59:42 [EnvInject] - Injecting environment variables from a build step. 22:59:42 [EnvInject] - Injecting as environment variables the properties content 22:59:42 PARALLEL=False 22:59:42 22:59:42 [EnvInject] - Variables injected successfully. 22:59:42 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7731888140363134922.sh 22:59:42 ---> tox-run.sh 22:59:42 + 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:59:42 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:59:42 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 22:59:42 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 22:59:42 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 22:59:42 + source /home/jenkins/lf-env.sh 22:59:42 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 22:59:42 ++ mktemp -d /tmp/venv-XXXX 22:59:42 + lf_venv=/tmp/venv-3JZ3 22:59:42 + local venv_file=/tmp/.os_lf_venv 22:59:42 + local python=python3 22:59:42 + local options 22:59:42 + local set_path=true 22:59:42 + local install_args= 22:59:42 ++ 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:59:42 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:59:42 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 22:59:42 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 22:59:42 + true 22:59:42 + case $1 in 22:59:42 + venv_file=/tmp/.toxenv 22:59:42 + shift 2 22:59:42 + true 22:59:42 + case $1 in 22:59:42 + shift 22:59:42 + break 22:59:42 + case $python in 22:59:42 + local pkg_list= 22:59:42 + [[ -d /opt/pyenv ]] 22:59:42 + echo 'Setup pyenv:' 22:59:42 Setup pyenv: 22:59:42 + export PYENV_ROOT=/opt/pyenv 22:59:42 + PYENV_ROOT=/opt/pyenv 22:59:42 + 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:59:42 + 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:59:42 + pyenv versions 22:59:42 system 22:59:42 3.8.13 22:59:42 3.9.13 22:59:42 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 22:59:42 + command -v pyenv 22:59:42 ++ pyenv init - --no-rehash 22:59:42 + 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:59:42 export PATH="/opt/pyenv/shims:${PATH}" 22:59:42 export PYENV_SHELL=bash 22:59:42 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 22:59:42 pyenv() { 22:59:42 local command 22:59:42 command="${1:-}" 22:59:42 if [ "$#" -gt 0 ]; then 22:59:42 shift 22:59:42 fi 22:59:42 22:59:42 case "$command" in 22:59:42 rehash|shell) 22:59:42 eval "$(pyenv "sh-$command" "$@")" 22:59:42 ;; 22:59:42 *) 22:59:42 command pyenv "$command" "$@" 22:59:42 ;; 22:59:42 esac 22:59:42 }' 22:59:42 +++ 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:59:42 ++ 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:59:42 ++ 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:59:42 ++ 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:59:42 ++ export PYENV_SHELL=bash 22:59:42 ++ PYENV_SHELL=bash 22:59:42 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 22:59:42 +++ complete -F _pyenv pyenv 22:59:42 ++ lf-pyver python3 22:59:42 ++ local py_version_xy=python3 22:59:42 ++ local py_version_xyz= 22:59:42 ++ pyenv versions 22:59:42 ++ local command 22:59:42 ++ command=versions 22:59:42 ++ '[' 1 -gt 0 ']' 22:59:42 ++ shift 22:59:42 ++ case "$command" in 22:59:42 ++ command pyenv versions 22:59:42 ++ pyenv versions 22:59:42 ++ sed 's/^[ *]* //' 22:59:42 ++ awk '{ print $1 }' 22:59:42 ++ grep -E '^[0-9.]*[0-9]$' 22:59:42 ++ [[ ! -s /tmp/.pyenv_versions ]] 22:59:42 +++ grep '^3' /tmp/.pyenv_versions 22:59:42 +++ sort -V 22:59:42 +++ tail -n 1 22:59:42 ++ py_version_xyz=3.10.6 22:59:42 ++ [[ -z 3.10.6 ]] 22:59:42 ++ echo 3.10.6 22:59:42 ++ return 0 22:59:42 + pyenv local 3.10.6 22:59:42 + local command 22:59:42 + command=local 22:59:42 + '[' 2 -gt 0 ']' 22:59:42 + shift 22:59:42 + case "$command" in 22:59:42 + command pyenv local 3.10.6 22:59:42 + pyenv local 3.10.6 22:59:42 + for arg in "$@" 22:59:42 + case $arg in 22:59:42 + pkg_list+='tox ' 22:59:42 + for arg in "$@" 22:59:42 + case $arg in 22:59:42 + pkg_list+='virtualenv ' 22:59:42 + for arg in "$@" 22:59:42 + case $arg in 22:59:42 + pkg_list+='urllib3~=1.26.15 ' 22:59:42 + [[ -f /tmp/.toxenv ]] 22:59:42 ++ cat /tmp/.toxenv 22:59:42 + lf_venv=/tmp/venv-JfcH 22:59:42 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JfcH from' file:/tmp/.toxenv 22:59:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JfcH from file:/tmp/.toxenv 22:59:42 + /tmp/venv-JfcH/bin/python3 -m pip install --upgrade --quiet pip virtualenv 22:59:43 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 22:59:43 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 22:59:43 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 22:59:43 + /tmp/venv-JfcH/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 22:59:44 + type python3 22:59:44 + true 22:59:44 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-JfcH/bin to PATH' 22:59:44 lf-activate-venv(): INFO: Adding /tmp/venv-JfcH/bin to PATH 22:59:44 + PATH=/tmp/venv-JfcH/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:59:44 + return 0 22:59:44 + [[ -d /opt/pyenv ]] 22:59:44 + echo '---> Setting up pyenv' 22:59:44 ---> Setting up pyenv 22:59:44 + export PYENV_ROOT=/opt/pyenv 22:59:44 + PYENV_ROOT=/opt/pyenv 22:59:44 + export PATH=/opt/pyenv/bin:/tmp/venv-JfcH/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:59:44 + PATH=/opt/pyenv/bin:/tmp/venv-JfcH/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:59:44 ++ pwd 22:59:44 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 22:59:44 + export PYTHONPATH 22:59:44 + export TOX_TESTENV_PASSENV=PYTHONPATH 22:59:44 + TOX_TESTENV_PASSENV=PYTHONPATH 22:59:44 + tox --version 22:59:45 4.12.1 from /tmp/venv-JfcH/lib/python3.10/site-packages/tox/__init__.py 22:59:45 + PARALLEL=False 22:59:45 + TOX_OPTIONS_LIST= 22:59:45 + [[ -n '' ]] 22:59:45 + case ${PARALLEL,,} in 22:59:45 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 22:59:45 + tox 22:59:46 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 22:59:54 code: freeze> python -m pip freeze --all 22:59:54 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:59:54 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:59:55 ============================= test session starts ============================== 22:59:55 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 22:59:55 cachedir: .tox/code/.pytest_cache 22:59:55 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 22:59:55 plugins: cov-4.1.0 22:59:55 collected 4 items 22:59:55 22:59:55 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 22:59:56 -------------------------------- live log setup -------------------------------- 22:59:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:59:56 Please install connexion with extra install: pip install connexion[swagger-ui] 22:59:56 or provide the path to your local installation by passing swagger_path= 22:59:56 22:59:56 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 22:59:56 Please install connexion with extra install: pip install connexion[swagger-ui] 22:59:56 or provide the path to your local installation by passing swagger_path= 22:59:56 22:59:56 PASSED [ 25%] 22:59:56 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 23:00:06 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 23:00:06 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 23:00:06 -------------------------------- live log call --------------------------------- 23:00:06 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. 23:00:06 * Running on http://127.0.0.1:8086 23:00:06 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 23:00:16 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 23:00:16] "POST /statustest HTTP/1.1" 201 - 23:00:16 PASSED [100%] 23:00:16 23:00:16 =============================== warnings summary =============================== 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 /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. 23:00:16 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 23:00:16 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 /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. 23:00:16 from jsonschema import Draft4Validator, RefResolver 23:00:16 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 /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. 23:00:16 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 23:00:16 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 23:00:16 /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. 23:00:16 app.json_encoder = FlaskJSONEncoder 23:00:16 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 23:00:16 /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. 23:00:16 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:16 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 23:00:16 /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. 23:00:16 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:16 23:00:16 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 23:00:16 23:00:16 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 23:00:16 Name Stmts Miss Cover Missing 23:00:16 --------------------------------------------------------------------------------------------------------- 23:00:16 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 23:00:16 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 23:00:16 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 23:00:16 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 23:00:16 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 23:00:16 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 23:00:16 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 23:00:16 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 23:00:16 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 23:00:16 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 23:00:16 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 23:00:16 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 23:00:16 --------------------------------------------------------------------------------------------------------- 23:00:16 TOTAL 973 113 88% 23:00:16 Coverage HTML written to dir htmlcov 23:00:16 Coverage XML written to file coverage.xml 23:00:16 23:00:16 Required test coverage of 70% reached. Total coverage: 88.39% 23:00:16 ======================= 4 passed, 118 warnings in 21.45s ======================= 23:00:16 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 23:00:17 ============================= test session starts ============================== 23:00:17 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 23:00:17 cachedir: .tox/code/.pytest_cache 23:00:17 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 23:00:17 plugins: cov-4.1.0 23:00:17 collected 1 item 23:00:17 23:00:17 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:17 -------------------------------- live log setup -------------------------------- 23:00:17 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 23:00:17 Please install connexion with extra install: pip install connexion[swagger-ui] 23:00:17 or provide the path to your local installation by passing swagger_path= 23:00:17 23:00:17 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 23:00:17 Please install connexion with extra install: pip install connexion[swagger-ui] 23:00:17 or provide the path to your local installation by passing swagger_path= 23:00:17 23:00:27 PASSED [100%] 23:00:28 23:00:28 =============================== warnings summary =============================== 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 from jsonschema import Draft4Validator, RefResolver 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 app.json_encoder = FlaskJSONEncoder 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 for error in instance_validator.iter_errors(instance['default'], instance): 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 23:00:28 /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. 23:00:28 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 23:00:28 /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. 23:00:28 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 warnings.warn( 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 23:00:28 /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. 23:00:28 return json.dumps(obj, **kwargs) 23:00:28 23:00:28 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 23:00:28 23:00:28 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 23:00:28 Name Stmts Miss Cover Missing 23:00:28 --------------------------------------------------------------------------------------------------------- 23:00:28 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 23:00:28 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 23:00:28 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 23:00:28 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 23:00:28 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 23:00:28 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 23:00:28 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 23:00:28 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 23:00:28 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 23:00:28 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 23:00:28 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 23:00:28 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 23:00:28 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 23:00:28 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 23:00:28 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 23:00:28 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 23:00:28 --------------------------------------------------------------------------------------------------------- 23:00:28 TOTAL 1440 152 89% 23:00:28 Coverage HTML written to dir htmlcov 23:00:28 Coverage XML written to file coverage.xml 23:00:28 23:00:28 Required test coverage of 70% reached. Total coverage: 89.44% 23:00:28 ======================= 1 passed, 65 warnings in 11.20s ======================== 23:00:28 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 23:00:28 ============================= test session starts ============================== 23:00:28 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 23:00:28 cachedir: .tox/code/.pytest_cache 23:00:28 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 23:00:28 plugins: cov-4.1.0 23:00:28 collected 4 items 23:00:28 23:00:28 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:29 -------------------------------- live log setup -------------------------------- 23:00:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 23:00:29 Please install connexion with extra install: pip install connexion[swagger-ui] 23:00:29 or provide the path to your local installation by passing swagger_path= 23:00:29 23:00:29 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 23:00:29 Please install connexion with extra install: pip install connexion[swagger-ui] 23:00:29 or provide the path to your local installation by passing swagger_path= 23:00:29 23:00:29 PASSED [ 25%] 23:00:29 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 23:00:39 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 23:00:39 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 23:00:39 -------------------------------- live log call --------------------------------- 23:00:39 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. 23:00:39 * Running on http://127.0.0.1:8086 23:00:39 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 23:00:49 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Jan/2024 23:00:49] "POST /statustest HTTP/1.1" 200 - 23:00:49 PASSED [100%] 23:00:50 23:00:50 =============================== warnings summary =============================== 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 /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. 23:00:50 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 /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. 23:00:50 from jsonschema import Draft4Validator, RefResolver 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 /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. 23:00:50 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 /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. 23:00:50 app.json_encoder = FlaskJSONEncoder 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 23:00:50 /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. 23:00:50 for error in instance_validator.iter_errors(instance['default'], instance): 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 23:00:50 /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. 23:00:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:50 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 23:00:50 /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. 23:00:50 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 23:00:50 23:00:50 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 23:00:50 23:00:50 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 23:00:50 Name Stmts Miss Cover Missing 23:00:50 --------------------------------------------------------------------------------------------------------- 23:00:50 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 23:00:50 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 23:00:50 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 23:00:50 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 23:00:50 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 23:00:50 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 23:00:50 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 23:00:50 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 23:00:50 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 23:00:50 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 23:00:50 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 23:00:50 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 23:00:50 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 23:00:50 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 23:00:50 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 23:00:50 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 23:00:50 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 23:00:50 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 23:00:50 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 23:00:50 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 23:00:50 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 23:00:50 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 23:00:50 --------------------------------------------------------------------------------------------------------- 23:00:50 TOTAL 2219 282 87% 23:00:50 Coverage HTML written to dir htmlcov 23:00:50 Coverage XML written to file coverage.xml 23:00:50 23:00:50 Required test coverage of 70% reached. Total coverage: 87.29% 23:00:50 ======================= 4 passed, 65 warnings in 21.51s ======================== 23:00:50 code: commands[3]> coverage xml -i 23:00:50 Wrote XML report to coverage.xml 23:00:50 code: OK ✔ in 1 minute 5.18 seconds 23:00:50 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 23:01:36 docs: freeze> python -m pip freeze --all 23:01:37 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 23:01:37 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 23:01:37 Running Sphinx v5.3.0 23:01:37 making output directory... done 23:01:37 building [mo]: targets for 0 po files that are out of date 23:01:37 building [html]: targets for 6 source files that are out of date 23:01:37 updating environment: [new config] 6 added, 0 changed, 0 removed 23:01:37 reading sources... [ 16%] callout-server 23:01:37 reading sources... [ 33%] index 23:01:37 reading sources... [ 50%] kafka-message-dispatcher 23:01:37 reading sources... [ 66%] overview 23:01:37 reading sources... [ 83%] release-notes 23:01:37 reading sources... [100%] simulator-api 23:01:37 23:01:37 looking for now-outdated files... none found 23:01:37 pickling environment... done 23:01:37 checking consistency... done 23:01:37 preparing documents... done 23:01:37 writing output... [ 16%] callout-server 23:01:38 writing output... [ 33%] index 23:01:38 writing output... [ 50%] kafka-message-dispatcher 23:01:38 writing output... [ 66%] overview 23:01:38 writing output... [ 83%] release-notes 23:01:38 writing output... [100%] simulator-api 23:01:38 23:01:38 generating indices... genindex done 23:01:38 writing additional pages... search done 23:01:38 copying images... [100%] images/yaml_logo.png 23:01:38 23:01:38 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 23:01:38 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 23:01:38 23:01:38 copying static files... done 23:01:38 copying extra files... done 23:01:38 dumping search index in English (code: en)... done 23:01:38 dumping object inventory... done 23:01:38 build succeeded. 23:01:38 23:01:38 The HTML pages are in docs/_build/html. 23:01:38 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 23:01:38 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 23:01:38 docs: OK ✔ in 47.91 seconds 23:01:38 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 23:02:02 docs-linkcheck: freeze> python -m pip freeze --all 23:02:02 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 23:02:02 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 23:02:03 Running Sphinx v5.3.0 23:02:03 making output directory... done 23:02:03 building [mo]: targets for 0 po files that are out of date 23:02:03 building [linkcheck]: targets for 6 source files that are out of date 23:02:03 updating environment: [new config] 6 added, 0 changed, 0 removed 23:02:03 reading sources... [ 16%] callout-server 23:02:03 reading sources... [ 33%] index 23:02:03 reading sources... [ 50%] kafka-message-dispatcher 23:02:03 reading sources... [ 66%] overview 23:02:03 reading sources... [ 83%] release-notes 23:02:03 reading sources... [100%] simulator-api 23:02:03 23:02:03 looking for now-outdated files... none found 23:02:03 pickling environment... done 23:02:03 checking consistency... done 23:02:03 preparing documents... done 23:02:03 writing output... [ 16%] callout-server 23:02:03 writing output... [ 33%] index 23:02:03 writing output... [ 50%] kafka-message-dispatcher 23:02:03 writing output... [ 66%] overview 23:02:03 writing output... [ 83%] release-notes 23:02:03 writing output... [100%] simulator-api 23:02:03 23:02:03 23:02:03 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 23:02:03 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 23:02:03 ( 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 23:02:03 ( 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 23:02:03 ( 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 23:02:03 build succeeded. 23:02:03 23:02:03 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 23:02:03 code: OK (65.18=setup[9.53]+cmd[21.89,11.56,21.86,0.33] seconds) 23:02:03 docs: OK (47.91=setup[46.41]+cmd[1.50,0.01] seconds) 23:02:03 docs-linkcheck: OK (25.39=setup[24.34]+cmd[1.05] seconds) 23:02:03 congratulations :) (138.63 seconds) 23:02:03 + tox_status=0 23:02:03 + echo '---> Completed tox runs' 23:02:03 ---> Completed tox runs 23:02:03 + for i in .tox/*/log 23:02:03 ++ awk -F/ '{print $2}' 23:02:03 ++ echo .tox/code/log 23:02:03 + tox_env=code 23:02:03 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 23:02:03 + for i in .tox/*/log 23:02:03 ++ echo .tox/docs-linkcheck/log 23:02:03 ++ awk -F/ '{print $2}' 23:02:03 + tox_env=docs-linkcheck 23:02:03 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 23:02:03 + for i in .tox/*/log 23:02:03 ++ awk -F/ '{print $2}' 23:02:03 ++ echo .tox/docs/log 23:02:03 + tox_env=docs 23:02:03 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 23:02:03 + DOC_DIR=docs/_build/html 23:02:03 + [[ -d docs/_build/html ]] 23:02:03 + echo '---> Archiving generated docs' 23:02:03 ---> Archiving generated docs 23:02:03 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 23:02:03 + echo '---> tox-run.sh ends' 23:02:03 ---> tox-run.sh ends 23:02:03 + test 0 -eq 0 23:02:04 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-4099 23:02:05 [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 23:02:05 Could not find 'java' executable in JAVA_HOME or PATH. 23:02:05 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 23:02:05 $ ssh-agent -k 23:02:05 unset SSH_AUTH_SOCK; 23:02:05 unset SSH_AGENT_PID; 23:02:05 echo Agent pid 5644 killed; 23:02:05 [ssh-agent] Stopped. 23:02:05 ERROR: SonarQube scanner exited with non-zero code: 1 23:02:05 [PostBuildScript] - [INFO] Executing post build scripts. 23:02:05 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13071943461599382618.sh 23:02:05 ---> sysstat.sh 23:02:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4226357285678488694.sh 23:02:06 ---> package-listing.sh 23:02:06 ++ tr '[:upper:]' '[:lower:]' 23:02:06 ++ facter osfamily 23:02:06 + OS_FAMILY=debian 23:02:06 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 23:02:06 + START_PACKAGES=/tmp/packages_start.txt 23:02:06 + END_PACKAGES=/tmp/packages_end.txt 23:02:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:02:06 + PACKAGES=/tmp/packages_start.txt 23:02:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 23:02:06 + PACKAGES=/tmp/packages_end.txt 23:02:06 + case "${OS_FAMILY}" in 23:02:06 + grep '^ii' 23:02:06 + dpkg -l 23:02:06 + '[' -f /tmp/packages_start.txt ']' 23:02:06 + '[' -f /tmp/packages_end.txt ']' 23:02:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:02:06 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 23:02:06 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 23:02:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 23:02:06 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9493987852898373580.sh 23:02:06 ---> capture-instance-metadata.sh 23:02:06 Setup pyenv: 23:02:06 system 23:02:06 3.8.13 23:02:06 3.9.13 23:02:06 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 23:02:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-W1Hq from file:/tmp/.os_lf_venv 23:02:08 lf-activate-venv(): INFO: Installing: lftools 23:02:23 lf-activate-venv(): INFO: Adding /tmp/venv-W1Hq/bin to PATH 23:02:23 INFO: Running in OpenStack, capturing instance metadata 23:02:24 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15725633204458602602.sh 23:02:24 provisioning config files... 23:02:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config1280072998309223274tmp 23:02:24 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 23:02:24 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 23:02:24 [EnvInject] - Injecting environment variables from a build step. 23:02:24 [EnvInject] - Injecting as environment variables the properties content 23:02:24 SERVER_ID=logs 23:02:24 23:02:24 [EnvInject] - Variables injected successfully. 23:02:24 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9429269188610788788.sh 23:02:24 ---> create-netrc.sh 23:02:24 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14872230337235975880.sh 23:02:24 ---> python-tools-install.sh 23:02:24 Setup pyenv: 23:02:24 system 23:02:24 3.8.13 23:02:24 3.9.13 23:02:24 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 23:02:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-W1Hq from file:/tmp/.os_lf_venv 23:02:26 lf-activate-venv(): INFO: Installing: lftools 23:02:37 lf-activate-venv(): INFO: Adding /tmp/venv-W1Hq/bin to PATH 23:02:37 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8507077423966052130.sh 23:02:37 ---> sudo-logs.sh 23:02:37 Archiving 'sudo' log.. 23:02:38 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5707254157372438160.sh 23:02:38 ---> job-cost.sh 23:02:38 Setup pyenv: 23:02:38 system 23:02:38 3.8.13 23:02:38 3.9.13 23:02:38 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 23:02:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-W1Hq from file:/tmp/.os_lf_venv 23:02:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 23:02:48 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. 23:02:48 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. 23:02:48 lf-activate-venv(): INFO: Adding /tmp/venv-W1Hq/bin to PATH 23:02:48 INFO: No Stack... 23:02:48 INFO: Retrieving Pricing Info for: v2-highcpu-2 23:02:49 INFO: Archiving Costs 23:02:49 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16978625996784321291.sh 23:02:49 ---> logs-deploy.sh 23:02:49 Setup pyenv: 23:02:49 system 23:02:49 3.8.13 23:02:49 3.9.13 23:02:49 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 23:02:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-W1Hq from file:/tmp/.os_lf_venv 23:02:50 lf-activate-venv(): INFO: Installing: lftools 23:03:03 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. 23:03:03 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 23:03:03 lf-activate-venv(): INFO: Adding /tmp/venv-W1Hq/bin to PATH 23:03:03 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/226 23:03:03 INFO: archiving workspace using pattern(s): -p **/*.log 23:03:08 Archives upload complete. 23:03:08 INFO: archiving logs to Nexus 23:03:09 ---> uname -a: 23:03:09 Linux prd-ubuntu1804-builder-2c-2g-4099 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 23:03:09 23:03:09 23:03:09 ---> lscpu: 23:03:09 Architecture: x86_64 23:03:09 CPU op-mode(s): 32-bit, 64-bit 23:03:09 Byte Order: Little Endian 23:03:09 Address sizes: 40 bits physical, 48 bits virtual 23:03:09 CPU(s): 2 23:03:09 On-line CPU(s) list: 0,1 23:03:09 Thread(s) per core: 1 23:03:09 Core(s) per socket: 1 23:03:09 Socket(s): 2 23:03:09 NUMA node(s): 1 23:03:09 Vendor ID: AuthenticAMD 23:03:09 CPU family: 23 23:03:09 Model: 49 23:03:09 Model name: AMD EPYC-Rome Processor 23:03:09 Stepping: 0 23:03:09 CPU MHz: 2799.998 23:03:09 BogoMIPS: 5599.99 23:03:09 Virtualization: AMD-V 23:03:09 Hypervisor vendor: KVM 23:03:09 Virtualization type: full 23:03:09 L1d cache: 64 KiB 23:03:09 L1i cache: 64 KiB 23:03:09 L2 cache: 1 MiB 23:03:09 L3 cache: 32 MiB 23:03:09 NUMA node0 CPU(s): 0,1 23:03:09 Vulnerability Itlb multihit: Not affected 23:03:09 Vulnerability L1tf: Not affected 23:03:09 Vulnerability Mds: Not affected 23:03:09 Vulnerability Meltdown: Not affected 23:03:09 Vulnerability Mmio stale data: Not affected 23:03:09 Vulnerability Retbleed: Vulnerable 23:03:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:03:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:03:09 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 23:03:09 Vulnerability Srbds: Not affected 23:03:09 Vulnerability Tsx async abort: Not affected 23:03:09 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 23:03:09 23:03:09 23:03:09 ---> nproc: 23:03:09 2 23:03:09 23:03:09 23:03:09 ---> df -h: 23:03:09 Filesystem Size Used Avail Use% Mounted on 23:03:09 udev 975M 0 975M 0% /dev 23:03:09 tmpfs 199M 1012K 198M 1% /run 23:03:09 /dev/vda1 20G 9.1G 11G 48% / 23:03:09 tmpfs 992M 0 992M 0% /dev/shm 23:03:09 tmpfs 5.0M 0 5.0M 0% /run/lock 23:03:09 tmpfs 992M 0 992M 0% /sys/fs/cgroup 23:03:09 /dev/loop0 62M 62M 0 100% /snap/core20/1405 23:03:09 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 23:03:09 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 23:03:09 /dev/vda15 105M 6.1M 99M 6% /boot/efi 23:03:09 tmpfs 199M 0 199M 0% /run/user/1001 23:03:09 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 23:03:09 23:03:09 23:03:09 ---> free -m: 23:03:09 total used free shared buff/cache available 23:03:09 Mem: 1983 457 78 2 1447 1331 23:03:09 Swap: 1023 1 1022 23:03:09 23:03:09 23:03:09 ---> ip addr: 23:03:09 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 23:03:09 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 23:03:09 inet 127.0.0.1/8 scope host lo 23:03:09 valid_lft forever preferred_lft forever 23:03:09 inet6 ::1/128 scope host 23:03:09 valid_lft forever preferred_lft forever 23:03:09 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 23:03:09 link/ether fa:16:3e:cc:28:d7 brd ff:ff:ff:ff:ff:ff 23:03:09 inet 10.32.6.157/23 brd 10.32.7.255 scope global dynamic ens3 23:03:09 valid_lft 86078sec preferred_lft 86078sec 23:03:09 inet6 fe80::f816:3eff:fecc:28d7/64 scope link 23:03:09 valid_lft forever preferred_lft forever 23:03:09 23:03:09 23:03:09 ---> sar -b -r -n DEV: 23:03:09 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4099) 01/18/24 _x86_64_ (2 CPU) 23:03:09 23:03:09 22:57:50 LINUX RESTART (2 CPU) 23:03:09 23:03:09 22:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:03:09 22:59:02 233.09 145.40 87.69 0.00 5613.06 11476.37 0.00 23:03:09 23:00:01 79.92 11.18 68.74 0.00 337.38 12442.29 0.00 23:03:09 23:01:01 30.93 5.88 25.05 0.00 587.33 7509.07 0.00 23:03:09 23:02:01 94.60 2.90 91.70 0.00 272.71 32352.15 0.00 23:03:09 23:03:01 67.92 26.96 40.96 0.00 1166.74 7398.77 0.00 23:03:09 Average: 101.38 38.57 62.81 0.00 1600.00 14242.22 0.00 23:03:09 23:03:09 22:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:03:09 22:59:02 201156 1422404 380112 18.72 55480 1245640 824144 26.76 447664 1189024 90892 23:03:09 23:00:01 100432 1385684 408948 20.14 70532 1278620 908480 29.50 494496 1219672 43224 23:03:09 23:01:01 88756 1377984 416844 20.53 71496 1277848 927372 30.12 496848 1226208 36168 23:03:09 23:02:01 102364 1324044 461032 22.70 93700 1189948 976628 31.72 526372 1174828 114016 23:03:09 23:03:01 104388 1330600 454036 22.36 102724 1175052 933676 30.32 474048 1213900 49516 23:03:09 Average: 119419 1368143 424194 20.89 78786 1233422 914060 29.68 487886 1204726 66763 23:03:09 23:03:09 22:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:03:09 22:59:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 23:03:09 22:59:02 ens3 294.09 175.77 1381.66 61.63 0.00 0.00 0.00 0.00 23:03:09 23:00:01 lo 0.88 0.88 0.07 0.07 0.00 0.00 0.00 0.00 23:03:09 23:00:01 ens3 39.24 38.04 353.91 7.53 0.00 0.00 0.00 0.00 23:03:09 23:01:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 23:03:09 23:01:01 ens3 67.93 52.18 1474.65 5.22 0.00 0.00 0.00 0.00 23:03:09 23:02:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 23:03:09 23:02:01 ens3 66.76 61.78 1033.34 8.55 0.00 0.00 0.00 0.00 23:03:09 23:03:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 23:03:09 23:03:01 ens3 97.70 69.49 412.69 19.52 0.00 0.00 0.00 0.00 23:03:09 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 23:03:09 Average: ens3 113.41 79.60 933.19 20.54 0.00 0.00 0.00 0.00 23:03:09 23:03:09 23:03:09 ---> sar -P ALL: 23:03:09 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-4099) 01/18/24 _x86_64_ (2 CPU) 23:03:09 23:03:09 22:57:50 LINUX RESTART (2 CPU) 23:03:09 23:03:09 22:58:01 CPU %user %nice %system %iowait %steal %idle 23:03:09 22:59:02 all 36.90 25.16 19.73 9.64 0.10 8.46 23:03:09 22:59:02 0 57.01 14.83 14.95 8.47 0.08 4.65 23:03:09 22:59:02 1 16.22 35.79 24.64 10.84 0.12 12.39 23:03:09 23:00:01 all 35.54 1.17 3.54 5.88 0.07 53.80 23:03:09 23:00:01 0 41.58 0.54 3.75 8.05 0.08 45.98 23:03:09 23:00:01 1 29.50 1.80 3.33 3.72 0.05 61.61 23:03:09 23:01:01 all 10.07 0.00 1.25 1.81 0.09 86.79 23:03:09 23:01:01 0 13.66 0.00 1.51 1.68 0.05 83.10 23:03:09 23:01:01 1 6.50 0.00 0.98 1.93 0.13 90.45 23:03:09 23:02:01 all 39.50 0.00 3.35 4.86 0.09 52.20 23:03:09 23:02:01 0 43.40 0.00 3.51 7.74 0.10 45.25 23:03:09 23:02:01 1 35.61 0.00 3.20 1.99 0.08 59.13 23:03:09 23:03:01 all 36.74 0.00 2.66 3.22 0.07 57.32 23:03:09 23:03:01 0 49.24 0.00 2.94 2.41 0.08 45.32 23:03:09 23:03:01 1 24.20 0.00 2.38 4.03 0.05 69.34 23:03:09 Average: all 31.74 5.20 6.06 5.06 0.08 51.86 23:03:09 Average: 0 41.00 3.07 5.33 5.66 0.08 44.86 23:03:09 Average: 1 22.44 7.33 6.79 4.46 0.09 58.89 23:03:09 23:03:09 23:03:09