13:57:08 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 13:57:08 Running as SYSTEM 13:57:08 [EnvInject] - Loading node environment variables. 13:57:08 Building remotely on prd-ubuntu1804-builder-2c-2g-3490 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 13:57:08 [ssh-agent] Looking for ssh-agent implementation... 13:57:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:57:08 $ ssh-agent 13:57:08 SSH_AUTH_SOCK=/tmp/ssh-bQ8CftBjv3kS/agent.5714 13:57:08 SSH_AGENT_PID=5718 13:57:08 [ssh-agent] Started. 13:57:08 Running ssh-add (command line suppressed) 13:57:08 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_18092330785714535980.key (jenkins-ssh) 13:57:08 [ssh-agent] Using credentials jenkins (jenkins) 13:57:08 The recommended git tool is: NONE 13:57:10 using credential jenkins 13:57:10 Wiping out workspace first. 13:57:10 Cloning the remote Git repository 13:57:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:57:10 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 13:57:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:57:10 > git --version # timeout=10 13:57:10 > git --version # 'git version 2.25.1' 13:57:10 using GIT_SSH to set credentials jenkins 13:57:10 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 13:57:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:57:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 13:57:11 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:57:11 using GIT_SSH to set credentials jenkins 13:57:11 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/10 # timeout=10 13:57:11 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 13:57:11 Checking out Revision 839ca3b917396650cf5623a4bf5e88318f7cb435 (refs/remotes/origin/master) 13:57:11 > git config core.sparsecheckout # timeout=10 13:57:12 > git checkout -f 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 13:57:12 Commit message: "Release notes after i-release 2.6.1" 13:57:12 > git rev-list --no-walk 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 13:57:12 provisioning config files... 13:57:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 13:57:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 13:57:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15512375438176913439.sh 13:57:12 ---> python-tools-install.sh 13:57:12 Setup pyenv: 13:57:12 * system (set by /opt/pyenv/version) 13:57:12 * 3.8.13 (set by /opt/pyenv/version) 13:57:12 * 3.9.13 (set by /opt/pyenv/version) 13:57:12 * 3.10.6 (set by /opt/pyenv/version) 13:57:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rn1Q 13:57:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 13:57:21 lf-activate-venv(): INFO: Installing: lftools 13:58:00 lf-activate-venv(): INFO: Adding /tmp/venv-rn1Q/bin to PATH 13:58:00 Generating Requirements File 13:58:36 Python 3.10.6 13:58:36 pip 23.3.2 from /tmp/venv-rn1Q/lib/python3.10/site-packages/pip (python 3.10) 13:58:37 appdirs==1.4.4 13:58:37 argcomplete==3.2.1 13:58:37 aspy.yaml==1.3.0 13:58:37 attrs==23.2.0 13:58:37 autopage==0.5.2 13:58:37 beautifulsoup4==4.12.2 13:58:37 boto3==1.34.16 13:58:37 botocore==1.34.16 13:58:37 bs4==0.0.1 13:58:37 cachetools==5.3.2 13:58:37 certifi==2023.11.17 13:58:37 cffi==1.16.0 13:58:37 cfgv==3.4.0 13:58:37 chardet==5.2.0 13:58:37 charset-normalizer==3.3.2 13:58:37 click==8.1.7 13:58:37 cliff==4.4.0 13:58:37 cmd2==2.4.3 13:58:37 cryptography==3.3.2 13:58:37 debtcollector==2.5.0 13:58:37 decorator==5.1.1 13:58:37 defusedxml==0.7.1 13:58:37 Deprecated==1.2.14 13:58:37 distlib==0.3.8 13:58:37 dnspython==2.4.2 13:58:37 docker==4.2.2 13:58:37 dogpile.cache==1.3.0 13:58:37 email-validator==2.1.0.post1 13:58:37 filelock==3.13.1 13:58:37 future==0.18.3 13:58:37 gitdb==4.0.11 13:58:37 GitPython==3.1.41 13:58:37 google-auth==2.26.2 13:58:37 httplib2==0.22.0 13:58:37 identify==2.5.33 13:58:37 idna==3.6 13:58:37 importlib-metadata==7.0.1 13:58:37 importlib-resources==1.5.0 13:58:37 iso8601==2.1.0 13:58:37 Jinja2==3.1.3 13:58:37 jmespath==1.0.1 13:58:37 jsonpatch==1.33 13:58:37 jsonpointer==2.4 13:58:37 jsonschema==4.20.0 13:58:37 jsonschema-specifications==2023.12.1 13:58:37 keystoneauth1==5.4.0 13:58:37 kubernetes==29.0.0 13:58:37 lftools==0.37.8 13:58:37 lxml==5.1.0 13:58:37 MarkupSafe==2.1.3 13:58:37 msgpack==1.0.7 13:58:37 multi_key_dict==2.0.3 13:58:37 munch==4.0.0 13:58:37 netaddr==0.10.1 13:58:37 netifaces==0.11.0 13:58:37 niet==1.4.2 13:58:37 nodeenv==1.8.0 13:58:37 oauth2client==4.1.3 13:58:37 oauthlib==3.2.2 13:58:37 openstacksdk==0.62.0 13:58:37 os-client-config==2.1.0 13:58:37 os-service-types==1.7.0 13:58:37 osc-lib==2.9.0 13:58:37 oslo.config==9.3.0 13:58:37 oslo.context==5.3.0 13:58:37 oslo.i18n==6.2.0 13:58:37 oslo.log==5.4.0 13:58:37 oslo.serialization==5.3.0 13:58:37 oslo.utils==6.3.0 13:58:37 packaging==23.2 13:58:37 pbr==6.0.0 13:58:37 platformdirs==4.1.0 13:58:37 prettytable==3.9.0 13:58:37 pyasn1==0.5.1 13:58:37 pyasn1-modules==0.3.0 13:58:37 pycparser==2.21 13:58:37 pygerrit2==2.0.15 13:58:37 PyGithub==2.1.1 13:58:37 pyinotify==0.9.6 13:58:37 PyJWT==2.8.0 13:58:37 PyNaCl==1.5.0 13:58:37 pyparsing==2.4.7 13:58:37 pyperclip==1.8.2 13:58:37 pyrsistent==0.20.0 13:58:37 python-cinderclient==9.4.0 13:58:37 python-dateutil==2.8.2 13:58:37 python-heatclient==3.4.0 13:58:37 python-jenkins==1.8.2 13:58:37 python-keystoneclient==5.2.0 13:58:37 python-magnumclient==4.3.0 13:58:37 python-novaclient==18.4.0 13:58:37 python-openstackclient==6.0.0 13:58:37 python-swiftclient==4.4.0 13:58:37 pytz==2023.3.post1 13:58:37 PyYAML==6.0.1 13:58:37 referencing==0.32.1 13:58:37 requests==2.31.0 13:58:37 requests-oauthlib==1.3.1 13:58:37 requestsexceptions==1.4.0 13:58:37 rfc3986==2.0.0 13:58:37 rpds-py==0.16.2 13:58:37 rsa==4.9 13:58:37 ruamel.yaml==0.18.5 13:58:37 ruamel.yaml.clib==0.2.8 13:58:37 s3transfer==0.10.0 13:58:37 simplejson==3.19.2 13:58:37 six==1.16.0 13:58:37 smmap==5.0.1 13:58:37 soupsieve==2.5 13:58:37 stevedore==5.1.0 13:58:37 tabulate==0.9.0 13:58:37 toml==0.10.2 13:58:37 tomlkit==0.12.3 13:58:37 tqdm==4.66.1 13:58:37 typing_extensions==4.9.0 13:58:37 tzdata==2023.4 13:58:37 urllib3==1.26.18 13:58:37 virtualenv==20.25.0 13:58:37 wcwidth==0.2.13 13:58:37 websocket-client==1.7.0 13:58:37 wrapt==1.16.0 13:58:37 xdg==6.0.0 13:58:37 xmltodict==0.13.0 13:58:37 yq==3.2.3 13:58:37 zipp==3.17.0 13:58:37 [EnvInject] - Injecting environment variables from a build step. 13:58:37 [EnvInject] - Injecting as environment variables the properties content 13:58:37 PYTHON=python3 13:58:37 13:58:37 [EnvInject] - Variables injected successfully. 13:58:37 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins421271112479969347.sh 13:58:37 ---> tox-install.sh 13:58:37 + source /home/jenkins/lf-env.sh 13:58:37 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:58:37 ++ mktemp -d /tmp/venv-XXXX 13:58:37 + lf_venv=/tmp/venv-4v7B 13:58:37 + local venv_file=/tmp/.os_lf_venv 13:58:37 + local python=python3 13:58:37 + local options 13:58:37 + local set_path=true 13:58:37 + local install_args= 13:58:37 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:58:37 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:58:37 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:58:37 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:58:37 + true 13:58:37 + case $1 in 13:58:37 + venv_file=/tmp/.toxenv 13:58:37 + shift 2 13:58:37 + true 13:58:37 + case $1 in 13:58:37 + shift 13:58:37 + break 13:58:37 + case $python in 13:58:37 + local pkg_list= 13:58:37 + [[ -d /opt/pyenv ]] 13:58:37 + echo 'Setup pyenv:' 13:58:37 Setup pyenv: 13:58:37 + export PYENV_ROOT=/opt/pyenv 13:58:37 + PYENV_ROOT=/opt/pyenv 13:58:37 + 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 13:58:37 + 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 13:58:37 + pyenv versions 13:58:37 system 13:58:37 3.8.13 13:58:37 3.9.13 13:58:37 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:58:37 + command -v pyenv 13:58:37 ++ pyenv init - --no-rehash 13:58:37 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 13:58:37 export PATH="/opt/pyenv/shims:${PATH}" 13:58:37 export PYENV_SHELL=bash 13:58:37 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:58:37 pyenv() { 13:58:37 local command 13:58:37 command="${1:-}" 13:58:37 if [ "$#" -gt 0 ]; then 13:58:37 shift 13:58:37 fi 13:58:37 13:58:37 case "$command" in 13:58:37 rehash|shell) 13:58:37 eval "$(pyenv "sh-$command" "$@")" 13:58:37 ;; 13:58:37 *) 13:58:37 command pyenv "$command" "$@" 13:58:37 ;; 13:58:37 esac 13:58:37 }' 13:58:37 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 13:58:37 ++ 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 13:58:37 ++ 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 13:58:37 ++ 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 13:58:37 ++ export PYENV_SHELL=bash 13:58:37 ++ PYENV_SHELL=bash 13:58:37 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:58:37 +++ complete -F _pyenv pyenv 13:58:37 ++ lf-pyver python3 13:58:37 ++ local py_version_xy=python3 13:58:37 ++ local py_version_xyz= 13:58:37 ++ pyenv versions 13:58:37 ++ local command 13:58:37 ++ command=versions 13:58:37 ++ '[' 1 -gt 0 ']' 13:58:37 ++ shift 13:58:37 ++ case "$command" in 13:58:37 ++ command pyenv versions 13:58:37 ++ pyenv versions 13:58:37 ++ sed 's/^[ *]* //' 13:58:37 ++ awk '{ print $1 }' 13:58:37 ++ grep -E '^[0-9.]*[0-9]$' 13:58:37 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:58:37 +++ grep '^3' /tmp/.pyenv_versions 13:58:37 +++ tail -n 1 13:58:37 +++ sort -V 13:58:37 ++ py_version_xyz=3.10.6 13:58:37 ++ [[ -z 3.10.6 ]] 13:58:37 ++ echo 3.10.6 13:58:37 ++ return 0 13:58:37 + pyenv local 3.10.6 13:58:37 + local command 13:58:37 + command=local 13:58:37 + '[' 2 -gt 0 ']' 13:58:37 + shift 13:58:37 + case "$command" in 13:58:37 + command pyenv local 3.10.6 13:58:37 + pyenv local 3.10.6 13:58:37 + for arg in "$@" 13:58:37 + case $arg in 13:58:37 + pkg_list+='tox ' 13:58:37 + for arg in "$@" 13:58:37 + case $arg in 13:58:37 + pkg_list+='virtualenv ' 13:58:37 + for arg in "$@" 13:58:37 + case $arg in 13:58:37 + pkg_list+='urllib3~=1.26.15 ' 13:58:37 + [[ -f /tmp/.toxenv ]] 13:58:37 + [[ ! -f /tmp/.toxenv ]] 13:58:37 + [[ -n '' ]] 13:58:37 + python3 -m venv /tmp/venv-4v7B 13:58:41 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4v7B' 13:58:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4v7B 13:58:41 + echo /tmp/venv-4v7B 13:58:41 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 13:58:41 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 13:58:41 + /tmp/venv-4v7B/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:58:44 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:58:44 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:58:44 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:58:44 + /tmp/venv-4v7B/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:58:46 + type python3 13:58:46 + true 13:58:46 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4v7B/bin to PATH' 13:58:46 lf-activate-venv(): INFO: Adding /tmp/venv-4v7B/bin to PATH 13:58:46 + PATH=/tmp/venv-4v7B/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 13:58:46 + return 0 13:58:46 + python3 --version 13:58:46 Python 3.10.6 13:58:46 + python3 -m pip --version 13:58:47 pip 23.3.2 from /tmp/venv-4v7B/lib/python3.10/site-packages/pip (python 3.10) 13:58:47 + python3 -m pip freeze 13:58:47 cachetools==5.3.2 13:58:47 chardet==5.2.0 13:58:47 colorama==0.4.6 13:58:47 distlib==0.3.8 13:58:47 filelock==3.13.1 13:58:47 packaging==23.2 13:58:47 platformdirs==4.1.0 13:58:47 pluggy==1.3.0 13:58:47 pyproject-api==1.6.1 13:58:47 tomli==2.0.1 13:58:47 tox==4.12.0 13:58:47 urllib3==1.26.18 13:58:47 virtualenv==20.25.0 13:58:47 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins17392440038904421371.sh 13:58:47 [EnvInject] - Injecting environment variables from a build step. 13:58:47 [EnvInject] - Injecting as environment variables the properties content 13:58:47 PARALLEL=False 13:58:47 13:58:47 [EnvInject] - Variables injected successfully. 13:58:47 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10759580183646227479.sh 13:58:47 ---> tox-run.sh 13:58:47 + 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 13:58:47 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 13:58:47 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 13:58:47 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 13:58:47 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 13:58:47 + source /home/jenkins/lf-env.sh 13:58:47 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:58:47 ++ mktemp -d /tmp/venv-XXXX 13:58:47 + lf_venv=/tmp/venv-H37X 13:58:47 + local venv_file=/tmp/.os_lf_venv 13:58:47 + local python=python3 13:58:47 + local options 13:58:47 + local set_path=true 13:58:47 + local install_args= 13:58:47 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:58:47 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:58:47 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:58:47 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:58:47 + true 13:58:47 + case $1 in 13:58:47 + venv_file=/tmp/.toxenv 13:58:47 + shift 2 13:58:47 + true 13:58:47 + case $1 in 13:58:47 + shift 13:58:47 + break 13:58:47 + case $python in 13:58:47 + local pkg_list= 13:58:47 + [[ -d /opt/pyenv ]] 13:58:47 + echo 'Setup pyenv:' 13:58:47 Setup pyenv: 13:58:47 + export PYENV_ROOT=/opt/pyenv 13:58:47 + PYENV_ROOT=/opt/pyenv 13:58:47 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:47 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:47 + pyenv versions 13:58:47 system 13:58:47 3.8.13 13:58:47 3.9.13 13:58:47 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:58:47 + command -v pyenv 13:58:47 ++ pyenv init - --no-rehash 13:58:47 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 13:58:47 export PATH="/opt/pyenv/shims:${PATH}" 13:58:47 export PYENV_SHELL=bash 13:58:47 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:58:47 pyenv() { 13:58:47 local command 13:58:47 command="${1:-}" 13:58:47 if [ "$#" -gt 0 ]; then 13:58:47 shift 13:58:47 fi 13:58:47 13:58:47 case "$command" in 13:58:47 rehash|shell) 13:58:47 eval "$(pyenv "sh-$command" "$@")" 13:58:47 ;; 13:58:47 *) 13:58:47 command pyenv "$command" "$@" 13:58:47 ;; 13:58:47 esac 13:58:47 }' 13:58:47 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 13:58:47 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:47 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:47 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:47 ++ export PYENV_SHELL=bash 13:58:47 ++ PYENV_SHELL=bash 13:58:47 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:58:47 +++ complete -F _pyenv pyenv 13:58:47 ++ lf-pyver python3 13:58:47 ++ local py_version_xy=python3 13:58:47 ++ local py_version_xyz= 13:58:47 ++ grep -E '^[0-9.]*[0-9]$' 13:58:47 ++ awk '{ print $1 }' 13:58:47 ++ pyenv versions 13:58:47 ++ local command 13:58:47 ++ command=versions 13:58:47 ++ '[' 1 -gt 0 ']' 13:58:47 ++ shift 13:58:47 ++ case "$command" in 13:58:47 ++ command pyenv versions 13:58:47 ++ pyenv versions 13:58:47 ++ sed 's/^[ *]* //' 13:58:47 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:58:47 +++ tail -n 1 13:58:47 +++ sort -V 13:58:47 +++ grep '^3' /tmp/.pyenv_versions 13:58:47 ++ py_version_xyz=3.10.6 13:58:47 ++ [[ -z 3.10.6 ]] 13:58:47 ++ echo 3.10.6 13:58:47 ++ return 0 13:58:47 + pyenv local 3.10.6 13:58:47 + local command 13:58:47 + command=local 13:58:47 + '[' 2 -gt 0 ']' 13:58:47 + shift 13:58:47 + case "$command" in 13:58:47 + command pyenv local 3.10.6 13:58:47 + pyenv local 3.10.6 13:58:47 + for arg in "$@" 13:58:47 + case $arg in 13:58:47 + pkg_list+='tox ' 13:58:47 + for arg in "$@" 13:58:47 + case $arg in 13:58:47 + pkg_list+='virtualenv ' 13:58:47 + for arg in "$@" 13:58:47 + case $arg in 13:58:47 + pkg_list+='urllib3~=1.26.15 ' 13:58:47 + [[ -f /tmp/.toxenv ]] 13:58:47 ++ cat /tmp/.toxenv 13:58:47 + lf_venv=/tmp/venv-4v7B 13:58:47 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4v7B from' file:/tmp/.toxenv 13:58:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4v7B from file:/tmp/.toxenv 13:58:47 + /tmp/venv-4v7B/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:58:48 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:58:48 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:58:48 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:58:48 + /tmp/venv-4v7B/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:58:50 + type python3 13:58:50 + true 13:58:50 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4v7B/bin to PATH' 13:58:50 lf-activate-venv(): INFO: Adding /tmp/venv-4v7B/bin to PATH 13:58:50 + PATH=/tmp/venv-4v7B/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:50 + return 0 13:58:50 + [[ -d /opt/pyenv ]] 13:58:50 + echo '---> Setting up pyenv' 13:58:50 ---> Setting up pyenv 13:58:50 + export PYENV_ROOT=/opt/pyenv 13:58:50 + PYENV_ROOT=/opt/pyenv 13:58:50 + export PATH=/opt/pyenv/bin:/tmp/venv-4v7B/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:50 + PATH=/opt/pyenv/bin:/tmp/venv-4v7B/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 13:58:50 ++ pwd 13:58:50 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 13:58:50 + export PYTHONPATH 13:58:50 + export TOX_TESTENV_PASSENV=PYTHONPATH 13:58:50 + TOX_TESTENV_PASSENV=PYTHONPATH 13:58:50 + tox --version 13:58:50 4.12.0 from /tmp/venv-4v7B/lib/python3.10/site-packages/tox/__init__.py 13:58:50 + PARALLEL=False 13:58:50 + TOX_OPTIONS_LIST= 13:58:50 + [[ -n '' ]] 13:58:50 + case ${PARALLEL,,} in 13:58:50 + tox 13:58:50 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 13:58:51 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 13:58:58 code: freeze> python -m pip freeze --all 13:58:59 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.20.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.16.2,setuptools==69.0.2,tomli==2.0.1,urllib3==2.1.0,Werkzeug==2.2.3,wheel==0.42.0 13:58:59 code: commands[0]> pytest --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 13:58:59 ============================= test session starts ============================== 13:58:59 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 13:58:59 cachedir: .tox/code/.pytest_cache 13:58:59 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 13:58:59 plugins: cov-4.1.0 13:58:59 collected 4 items 13:58:59 13:58:59 near-rt-ric-simulator/tests/test_osc_2_1_0.py ...F [100%] 13:59:11 13:59:11 =================================== FAILURES =================================== 13:59:11 _______________________________ test_sendstatus ________________________________ 13:59:11 13:59:11 client = > 13:59:11 13:59:11 def test_sendstatus(client): 13:59:11 # Create a new thread to run the Flask app in parallel on a different port so that we can call the callback. 13:59:11 proc = multiprocessing.Process(target=run_flask_app, args=()) 13:59:11 proc.start() 13:59:11 13:59:11 test_data = get_testdata_dir() + 'pi2.json' 13:59:11 header = { "Content-Type" : "application/json" } 13:59:11 13:59:11 # === Send status for pi2=== 13:59:11 with open(test_data) as json_file: 13:59:11 payload = json.load(json_file) 13:59:11 response = client.post(SERVER_URL+'sendstatus?policyid=pi2', headers=header, data=json.dumps(payload)) 13:59:11 13:59:11 > assert response.status_code == 201 13:59:11 E assert 502 == 201 13:59:11 E + where 502 = .status_code 13:59:11 13:59:11 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py:612: AssertionError 13:59:11 ----------------------------- Captured stdout call ----------------------------- 13:59:11 13:59:11 -----Request----- 13:59:11 Req Headers: User-Agent: werkzeug/2.2.3 13:59:11 Host: localhost:2222 13:59:11 Content-Type: application/json 13:59:11 Content-Length: 79 13:59:11 13:59:11 13:59:11 Req Body: b'{"scope": {"ueId": "ue2", "qosId": "qos2"}, "statement": {"priorityLevel": 10}}' 13:59:11 -----Response----- 13:59:11 Resp Headers: Content-Type: text/plain; charset=utf-8 13:59:11 Content-Length: 92 13:59:11 13:59:11 13:59:11 Resp Body: b'Post status failed with Connection Error, could not send to http://localhost:8086/statustest' 13:59:11 * Serving Flask app 'var_declaration' 13:59:11 * Debug mode: off 13:59:11 =============================== warnings summary =============================== 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 /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. 13:59:11 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 13:59:11 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 /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. 13:59:11 from jsonschema import Draft4Validator, RefResolver 13:59:11 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 /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. 13:59:11 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 13:59:11 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:59:11 /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. 13:59:11 app.json_encoder = FlaskJSONEncoder 13:59:11 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 13:59:11 /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. 13:59:11 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 13:59:11 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 13:59:11 /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. 13:59:11 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 13:59:11 13:59:11 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 13:59:11 13:59:11 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 13:59:11 Name Stmts Miss Cover Missing 13:59:11 --------------------------------------------------------------------------------------------------------- 13:59:11 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 13:59:11 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 13:59:11 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 41 77% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 232, 234, 241-244, 248-253, 259-265, 270 13:59:11 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 13:59:11 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 13:59:11 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 13:59:11 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 13:59:11 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 13:59:11 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 13:59:11 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 13:59:11 near-rt-ric-simulator/tests/test_osc_2_1_0.py 370 7 98% 613-624 13:59:11 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 13:59:11 --------------------------------------------------------------------------------------------------------- 13:59:11 TOTAL 972 123 87% 13:59:11 Coverage HTML written to dir htmlcov 13:59:11 Coverage XML written to file coverage.xml 13:59:11 13:59:11 Required test coverage of 70% reached. Total coverage: 87.35% 13:59:11 =========================== short test summary info ============================ 13:59:11 FAILED near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus - asser... 13:59:11 ================== 1 failed, 3 passed, 118 warnings in 11.42s ================== 14:12:12 Build timed out (after 15 minutes). Marking the build as failed. 14:12:12 $ ssh-agent -k 14:12:12 unset SSH_AUTH_SOCK; 14:12:12 unset SSH_AGENT_PID; 14:12:12 echo Agent pid 5718 killed; 14:12:12 [ssh-agent] Stopped. 14:12:12 Build was aborted 14:12:12 [PostBuildScript] - [INFO] Executing post build scripts. 14:12:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11994321793116302223.sh 14:12:12 ---> sysstat.sh 14:12:12 code: exit -15 (793.14 seconds) /w/workspace/sim-a1-interface-tox-sonarqube> pytest --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 pid=27739 14:12:12 + tox_status=143 14:12:12 + echo '---> Completed tox runs' 14:12:12 ---> Completed tox runs 14:12:12 + for i in .tox/*/log 14:12:12 ++ echo .tox/code/log 14:12:13 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1502937033830556436.sh 14:12:13 ---> package-listing.sh 14:12:13 ++ facter osfamily 14:12:13 ++ tr '[:upper:]' '[:lower:]' 14:12:13 + OS_FAMILY=debian 14:12:13 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 14:12:13 + START_PACKAGES=/tmp/packages_start.txt 14:12:13 + END_PACKAGES=/tmp/packages_end.txt 14:12:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:12:13 + PACKAGES=/tmp/packages_start.txt 14:12:13 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:12:13 + PACKAGES=/tmp/packages_end.txt 14:12:13 + case "${OS_FAMILY}" in 14:12:13 + dpkg -l 14:12:13 + grep '^ii' 14:12:13 + '[' -f /tmp/packages_start.txt ']' 14:12:13 + '[' -f /tmp/packages_end.txt ']' 14:12:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:12:13 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 14:12:13 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:12:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 14:12:13 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17016474269700173121.sh 14:12:13 ---> capture-instance-metadata.sh 14:12:13 Setup pyenv: 14:12:13 system 14:12:13 3.8.13 14:12:13 3.9.13 14:12:13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rn1Q from file:/tmp/.os_lf_venv 14:12:14 lf-activate-venv(): INFO: Installing: lftools 14:12:29 lf-activate-venv(): INFO: Adding /tmp/venv-rn1Q/bin to PATH 14:12:29 INFO: Running in OpenStack, capturing instance metadata 14:12:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5033066656559494800.sh 14:12:30 provisioning config files... 14:12:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config5961715799419915035tmp 14:12:30 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 14:12:30 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 14:12:30 [EnvInject] - Injecting environment variables from a build step. 14:12:30 [EnvInject] - Injecting as environment variables the properties content 14:12:30 SERVER_ID=logs 14:12:30 14:12:30 [EnvInject] - Variables injected successfully. 14:12:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14148862928931540375.sh 14:12:30 ---> create-netrc.sh 14:12:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10717593089406041088.sh 14:12:30 ---> python-tools-install.sh 14:12:30 Setup pyenv: 14:12:30 system 14:12:30 3.8.13 14:12:30 3.9.13 14:12:30 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rn1Q from file:/tmp/.os_lf_venv 14:12:31 lf-activate-venv(): INFO: Installing: lftools 14:12:43 lf-activate-venv(): INFO: Adding /tmp/venv-rn1Q/bin to PATH 14:12:43 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17758661732763801750.sh 14:12:43 ---> sudo-logs.sh 14:12:43 Archiving 'sudo' log.. 14:12:44 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13679230948821092541.sh 14:12:44 ---> job-cost.sh 14:12:44 Setup pyenv: 14:12:44 system 14:12:44 3.8.13 14:12:44 3.9.13 14:12:44 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rn1Q from file:/tmp/.os_lf_venv 14:12:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 14:12:54 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. 14:12:54 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 14:12:54 lf-activate-venv(): INFO: Adding /tmp/venv-rn1Q/bin to PATH 14:12:54 INFO: No Stack... 14:12:55 INFO: Retrieving Pricing Info for: v2-highcpu-2 14:12:55 INFO: Archiving Costs 14:12:55 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins832409097664297816.sh 14:12:55 ---> logs-deploy.sh 14:12:55 Setup pyenv: 14:12:55 system 14:12:55 3.8.13 14:12:55 3.9.13 14:12:55 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 14:12:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-rn1Q from file:/tmp/.os_lf_venv 14:12:57 lf-activate-venv(): INFO: Installing: lftools 14:13:09 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. 14:13:09 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 14:13:10 lf-activate-venv(): INFO: Adding /tmp/venv-rn1Q/bin to PATH 14:13:10 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/213 14:13:10 INFO: archiving workspace using pattern(s): -p **/*.log 14:13:12 Archives upload complete. 14:13:12 INFO: archiving logs to Nexus 14:13:13 ---> uname -a: 14:13:13 Linux prd-ubuntu1804-builder-2c-2g-3490 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 14:13:13 14:13:13 14:13:13 ---> lscpu: 14:13:13 Architecture: x86_64 14:13:13 CPU op-mode(s): 32-bit, 64-bit 14:13:13 Byte Order: Little Endian 14:13:13 Address sizes: 40 bits physical, 48 bits virtual 14:13:13 CPU(s): 2 14:13:13 On-line CPU(s) list: 0,1 14:13:13 Thread(s) per core: 1 14:13:13 Core(s) per socket: 1 14:13:13 Socket(s): 2 14:13:13 NUMA node(s): 1 14:13:13 Vendor ID: AuthenticAMD 14:13:13 CPU family: 23 14:13:13 Model: 49 14:13:13 Model name: AMD EPYC-Rome Processor 14:13:13 Stepping: 0 14:13:13 CPU MHz: 2800.022 14:13:13 BogoMIPS: 5600.04 14:13:13 Virtualization: AMD-V 14:13:13 Hypervisor vendor: KVM 14:13:13 Virtualization type: full 14:13:13 L1d cache: 64 KiB 14:13:13 L1i cache: 64 KiB 14:13:13 L2 cache: 1 MiB 14:13:13 L3 cache: 32 MiB 14:13:13 NUMA node0 CPU(s): 0,1 14:13:13 Vulnerability Itlb multihit: Not affected 14:13:13 Vulnerability L1tf: Not affected 14:13:13 Vulnerability Mds: Not affected 14:13:13 Vulnerability Meltdown: Not affected 14:13:13 Vulnerability Mmio stale data: Not affected 14:13:13 Vulnerability Retbleed: Vulnerable 14:13:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 14:13:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 14:13:13 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 14:13:13 Vulnerability Srbds: Not affected 14:13:13 Vulnerability Tsx async abort: Not affected 14:13:13 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 14:13:13 14:13:13 14:13:13 ---> nproc: 14:13:13 2 14:13:13 14:13:13 14:13:13 ---> df -h: 14:13:13 Filesystem Size Used Avail Use% Mounted on 14:13:13 udev 975M 0 975M 0% /dev 14:13:13 tmpfs 199M 1008K 198M 1% /run 14:13:13 /dev/vda1 20G 8.5G 11G 45% / 14:13:13 tmpfs 992M 0 992M 0% /dev/shm 14:13:13 tmpfs 5.0M 0 5.0M 0% /run/lock 14:13:13 tmpfs 992M 0 992M 0% /sys/fs/cgroup 14:13:13 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 14:13:13 /dev/loop0 62M 62M 0 100% /snap/core20/1405 14:13:13 /dev/vda15 105M 6.1M 99M 6% /boot/efi 14:13:13 tmpfs 199M 0 199M 0% /run/user/1001 14:13:13 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 14:13:13 /dev/loop4 64M 64M 0 100% /snap/core20/2105 14:13:13 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 14:13:13 14:13:13 14:13:13 ---> free -m: 14:13:13 total used free shared buff/cache available 14:13:13 Mem: 1983 398 161 2 1423 1390 14:13:13 Swap: 1023 0 1023 14:13:13 14:13:13 14:13:13 ---> ip addr: 14:13:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 14:13:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:13:13 inet 127.0.0.1/8 scope host lo 14:13:13 valid_lft forever preferred_lft forever 14:13:13 inet6 ::1/128 scope host 14:13:13 valid_lft forever preferred_lft forever 14:13:13 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 14:13:13 link/ether fa:16:3e:5c:bc:82 brd ff:ff:ff:ff:ff:ff 14:13:13 inet 10.32.7.67/23 brd 10.32.7.255 scope global dynamic ens3 14:13:13 valid_lft 85414sec preferred_lft 85414sec 14:13:13 inet6 fe80::f816:3eff:fe5c:bc82/64 scope link 14:13:13 valid_lft forever preferred_lft forever 14:13:13 14:13:13 14:13:13 ---> sar -b -r -n DEV: 14:13:13 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3490) 01/12/24 _x86_64_ (2 CPU) 14:13:13 14:13:13 13:56:51 LINUX RESTART (2 CPU) 14:13:13 14:13:13 13:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 14:13:13 13:58:01 260.18 150.93 109.24 0.00 5748.70 20837.19 0.00 14:13:13 13:59:01 79.45 6.97 72.49 0.00 294.35 9436.56 0.00 14:13:13 14:00:01 15.66 0.17 15.50 0.00 18.53 3892.95 0.00 14:13:13 14:01:01 1.47 0.00 1.47 0.00 0.00 17.20 0.00 14:13:13 14:02:01 3.90 1.42 2.48 0.00 95.33 91.60 0.00 14:13:13 14:03:01 69.91 19.09 50.82 0.00 6345.75 10601.27 0.00 14:13:13 14:04:01 3.28 0.07 3.22 0.00 0.53 88.25 0.00 14:13:13 14:05:01 0.88 0.00 0.88 0.00 0.00 10.13 0.00 14:13:13 14:06:01 1.10 0.00 1.10 0.00 0.00 13.73 0.00 14:13:13 14:07:01 1.08 0.02 1.07 0.00 0.13 13.73 0.00 14:13:13 14:08:01 1.08 0.00 1.08 0.00 0.00 12.53 0.00 14:13:13 14:09:01 1.30 0.00 1.30 0.00 0.00 14.66 0.00 14:13:13 14:10:01 0.87 0.00 0.87 0.00 0.00 10.66 0.00 14:13:13 14:11:01 0.82 0.02 0.80 0.00 0.13 9.73 0.00 14:13:13 14:12:01 1.13 0.00 1.13 0.00 0.00 13.73 0.00 14:13:13 14:13:01 33.31 8.12 25.20 0.00 655.09 1914.61 0.00 14:13:13 Average: 29.72 11.68 18.04 0.00 822.63 2936.83 0.00 14:13:13 14:13:13 13:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:13:13 13:58:01 238764 1480060 322052 15.86 54472 1269240 789896 25.65 396148 1206036 52968 14:13:13 13:59:01 106048 1423928 371160 18.28 69968 1314996 884540 28.73 463840 1249272 110420 14:13:13 14:00:01 73052 1392352 402708 19.83 70056 1316296 931232 30.24 495216 1250336 120 14:13:13 14:01:01 72268 1391544 403476 19.87 70108 1316420 931232 30.24 495288 1250420 124 14:13:13 14:02:01 66820 1383144 411760 20.28 71832 1311372 957444 31.09 500080 1250600 5816 14:13:13 14:03:01 179484 1381196 393956 19.40 95732 1186772 891872 28.96 689784 942024 300 14:13:13 14:04:01 182080 1382180 393084 19.36 94276 1186788 893064 29.00 689696 940492 92 14:13:13 14:05:01 182020 1382140 393084 19.36 94296 1186788 893064 29.00 690100 940492 144 14:13:13 14:06:01 181800 1382060 393148 19.36 94304 1186908 893064 29.00 689880 940612 96 14:13:13 14:07:01 183052 1383364 391928 19.30 94344 1186920 888640 28.86 688584 940304 164 14:13:13 14:08:01 183384 1383736 391524 19.28 94372 1186924 888640 28.86 688676 940308 92 14:13:13 14:09:01 184888 1385260 389968 19.20 94384 1186928 888640 28.86 687916 939136 88 14:13:13 14:10:01 185148 1385536 389676 19.19 94400 1186928 888640 28.86 687928 939136 88 14:13:13 14:11:01 184896 1385308 389876 19.20 94416 1186936 888640 28.86 687984 939140 144 14:13:13 14:12:01 184864 1385296 389836 19.20 94444 1186928 888640 28.86 688000 939140 12 14:13:13 14:13:01 187452 1429372 345732 17.03 97400 1226388 777636 25.25 661996 964296 33636 14:13:13 Average: 161001 1396030 385810 19.00 86175 1226471 885930 28.77 618820 1035734 12769 14:13:13 14:13:13 13:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:13:13 13:58:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 14:13:13 13:58:01 ens3 293.97 182.15 1313.20 57.43 0.00 0.00 0.00 0.00 14:13:13 13:59:01 lo 1.00 1.00 0.08 0.08 0.00 0.00 0.00 0.00 14:13:13 13:59:01 ens3 41.01 39.91 370.63 7.68 0.00 0.00 0.00 0.00 14:13:13 14:00:01 lo 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:00:01 ens3 0.33 0.25 0.06 0.17 0.00 0.00 0.00 0.00 14:13:13 14:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:01:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:02:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 14:13:13 14:02:01 ens3 24.88 18.03 94.64 1.37 0.00 0.00 0.00 0.00 14:13:13 14:03:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 14:13:13 14:03:01 ens3 416.64 199.97 2656.04 13.28 0.00 0.00 0.00 0.00 14:13:13 14:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:04:01 ens3 0.77 0.13 0.07 0.01 0.00 0.00 0.00 0.00 14:13:13 14:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:05:01 ens3 1.52 0.78 0.66 0.48 0.00 0.00 0.00 0.00 14:13:13 14:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:06:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:07:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:08:01 ens3 0.17 0.10 0.08 0.07 0.00 0.00 0.00 0.00 14:13:13 14:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:09:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:10:01 ens3 0.08 0.02 0.01 0.00 0.00 0.00 0.00 0.00 14:13:13 14:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:11:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 14:13:13 14:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:12:01 ens3 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 14:13:13 14:13:01 lo 1.07 1.07 0.09 0.09 0.00 0.00 0.00 0.00 14:13:13 14:13:01 ens3 25.15 21.80 46.69 13.54 0.00 0.00 0.00 0.00 14:13:13 Average: lo 0.30 0.30 0.03 0.03 0.00 0.00 0.00 0.00 14:13:13 Average: ens3 50.33 28.98 280.19 5.88 0.00 0.00 0.00 0.00 14:13:13 14:13:13 14:13:13 ---> sar -P ALL: 14:13:13 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3490) 01/12/24 _x86_64_ (2 CPU) 14:13:13 14:13:13 13:56:51 LINUX RESTART (2 CPU) 14:13:13 14:13:13 13:57:01 CPU %user %nice %system %iowait %steal %idle 14:13:13 13:58:01 all 37.72 27.85 19.51 7.73 0.12 7.06 14:13:13 13:58:01 0 35.59 29.39 19.96 7.31 0.12 7.63 14:13:13 13:58:01 1 39.86 26.31 19.06 8.15 0.12 6.49 14:13:13 13:59:01 all 38.51 0.24 3.19 6.46 0.08 51.51 14:13:13 13:59:01 0 28.38 0.32 3.14 7.22 0.08 60.87 14:13:13 13:59:01 1 48.65 0.17 3.24 5.71 0.08 42.15 14:13:13 14:00:01 all 0.70 0.00 0.23 0.64 0.04 98.37 14:13:13 14:00:01 0 0.34 0.00 0.29 1.21 0.03 98.13 14:13:13 14:00:01 1 1.07 0.00 0.18 0.08 0.05 98.61 14:13:13 14:01:01 all 0.18 0.00 0.11 0.03 0.04 99.63 14:13:13 14:01:01 0 0.17 0.00 0.13 0.07 0.05 99.58 14:13:13 14:01:01 1 0.20 0.00 0.08 0.00 0.03 99.68 14:13:13 14:02:01 all 0.38 0.00 0.35 0.18 0.03 99.07 14:13:13 14:02:01 0 0.39 0.00 0.24 0.30 0.03 99.04 14:13:13 14:02:01 1 0.37 0.00 0.47 0.05 0.02 99.10 14:13:13 14:03:01 all 9.47 0.00 5.01 3.33 0.07 82.13 14:13:13 14:03:01 0 9.76 0.00 5.04 1.70 0.07 83.45 14:13:13 14:03:01 1 9.18 0.00 4.98 4.97 0.07 80.80 14:13:13 14:04:01 all 1.39 0.00 0.27 0.08 0.03 98.22 14:13:13 14:04:01 0 2.11 0.00 0.21 0.02 0.03 97.63 14:13:13 14:04:01 1 0.67 0.00 0.33 0.15 0.03 98.81 14:13:13 14:05:01 all 0.25 0.00 0.13 0.02 0.02 99.59 14:13:13 14:05:01 0 0.27 0.00 0.13 0.00 0.02 99.58 14:13:13 14:05:01 1 0.23 0.00 0.12 0.03 0.02 99.60 14:13:13 14:06:01 all 0.22 0.00 0.10 0.02 0.03 99.64 14:13:13 14:06:01 0 0.13 0.00 0.03 0.00 0.02 99.82 14:13:13 14:06:01 1 0.30 0.00 0.17 0.03 0.03 99.46 14:13:13 14:07:01 all 0.18 0.00 0.13 0.02 0.03 99.65 14:13:13 14:07:01 0 0.20 0.00 0.13 0.00 0.03 99.63 14:13:13 14:07:01 1 0.15 0.00 0.12 0.03 0.03 99.67 14:13:13 14:08:01 all 0.18 0.00 0.18 0.03 0.03 99.59 14:13:13 14:08:01 0 0.18 0.00 0.22 0.00 0.03 99.56 14:13:13 14:08:01 1 0.18 0.00 0.13 0.05 0.02 99.62 14:13:13 14:13:13 14:08:01 CPU %user %nice %system %iowait %steal %idle 14:13:13 14:09:01 all 0.72 0.00 0.12 0.01 0.02 99.12 14:13:13 14:09:01 0 1.41 0.00 0.22 0.00 0.03 98.34 14:13:13 14:09:01 1 0.03 0.00 0.03 0.02 0.02 99.90 14:13:13 14:10:01 all 0.21 0.00 0.16 0.01 0.03 99.60 14:13:13 14:10:01 0 0.30 0.00 0.23 0.00 0.03 99.43 14:13:13 14:10:01 1 0.12 0.00 0.08 0.02 0.02 99.77 14:13:13 14:11:01 all 0.21 0.00 0.13 0.02 0.04 99.60 14:13:13 14:11:01 0 0.28 0.00 0.13 0.00 0.05 99.53 14:13:13 14:11:01 1 0.13 0.00 0.13 0.03 0.03 99.66 14:13:13 14:12:01 all 0.20 0.00 0.12 0.01 0.03 99.64 14:13:13 14:12:01 0 0.25 0.00 0.08 0.00 0.03 99.63 14:13:13 14:12:01 1 0.15 0.00 0.15 0.02 0.03 99.65 14:13:13 14:13:01 all 30.28 0.00 1.76 2.19 0.07 65.70 14:13:13 14:13:01 0 40.66 0.00 1.92 0.75 0.08 56.59 14:13:13 14:13:01 1 19.94 0.00 1.60 3.62 0.05 74.79 14:13:13 Average: all 7.54 1.74 1.96 1.29 0.04 87.43 14:13:13 Average: 0 7.52 1.84 2.00 1.16 0.05 87.44 14:13:13 Average: 1 7.56 1.64 1.92 1.43 0.04 87.41 14:13:13 14:13:13 14:13:13