13:28:10 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 13:28:10 Running as SYSTEM 13:28:10 [EnvInject] - Loading node environment variables. 13:28:10 Building remotely on prd-ubuntu1804-builder-2c-2g-3483 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 13:28:10 [ssh-agent] Looking for ssh-agent implementation... 13:28:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:10 $ ssh-agent 13:28:10 SSH_AUTH_SOCK=/tmp/ssh-7duDmZgyBqiW/agent.6148 13:28:10 SSH_AGENT_PID=6150 13:28:10 [ssh-agent] Started. 13:28:10 Running ssh-add (command line suppressed) 13:28:10 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_10375736742399184805.key (jenkins-ssh) 13:28:10 [ssh-agent] Using credentials jenkins (jenkins) 13:28:10 The recommended git tool is: NONE 13:28:12 using credential jenkins 13:28:12 Wiping out workspace first. 13:28:12 Cloning the remote Git repository 13:28:12 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:28:12 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 13:28:12 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:28:12 > git --version # timeout=10 13:28:12 > git --version # 'git version 2.25.1' 13:28:12 using GIT_SSH to set credentials jenkins 13:28:12 > 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:28:13 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 13:28:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:28:13 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 13:28:13 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 13:28:13 using GIT_SSH to set credentials jenkins 13:28:13 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/8 # timeout=10 13:28:14 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 13:28:14 Checking out Revision 839ca3b917396650cf5623a4bf5e88318f7cb435 (refs/remotes/origin/master) 13:28:14 > git config core.sparsecheckout # timeout=10 13:28:14 > git checkout -f 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 13:28:14 Commit message: "Release notes after i-release 2.6.1" 13:28:14 > git rev-list --no-walk 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 13:28:14 provisioning config files... 13:28:14 copy managed file [npmrc] to file:/home/jenkins/.npmrc 13:28:14 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 13:28:14 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8971832285983946660.sh 13:28:14 ---> python-tools-install.sh 13:28:14 Setup pyenv: 13:28:14 * system (set by /opt/pyenv/version) 13:28:14 * 3.8.13 (set by /opt/pyenv/version) 13:28:14 * 3.9.13 (set by /opt/pyenv/version) 13:28:14 * 3.10.6 (set by /opt/pyenv/version) 13:28:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-j0Y2 13:28:20 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 13:28:23 lf-activate-venv(): INFO: Installing: lftools 13:29:01 lf-activate-venv(): INFO: Adding /tmp/venv-j0Y2/bin to PATH 13:29:01 Generating Requirements File 13:29:37 Python 3.10.6 13:29:37 pip 23.3.2 from /tmp/venv-j0Y2/lib/python3.10/site-packages/pip (python 3.10) 13:29:38 appdirs==1.4.4 13:29:38 argcomplete==3.2.1 13:29:38 aspy.yaml==1.3.0 13:29:38 attrs==23.2.0 13:29:38 autopage==0.5.2 13:29:38 beautifulsoup4==4.12.2 13:29:38 boto3==1.34.16 13:29:38 botocore==1.34.16 13:29:38 bs4==0.0.1 13:29:38 cachetools==5.3.2 13:29:38 certifi==2023.11.17 13:29:38 cffi==1.16.0 13:29:38 cfgv==3.4.0 13:29:38 chardet==5.2.0 13:29:38 charset-normalizer==3.3.2 13:29:38 click==8.1.7 13:29:38 cliff==4.4.0 13:29:38 cmd2==2.4.3 13:29:38 cryptography==3.3.2 13:29:38 debtcollector==2.5.0 13:29:38 decorator==5.1.1 13:29:38 defusedxml==0.7.1 13:29:38 Deprecated==1.2.14 13:29:38 distlib==0.3.8 13:29:38 dnspython==2.4.2 13:29:38 docker==4.2.2 13:29:38 dogpile.cache==1.3.0 13:29:38 email-validator==2.1.0.post1 13:29:38 filelock==3.13.1 13:29:38 future==0.18.3 13:29:38 gitdb==4.0.11 13:29:38 GitPython==3.1.41 13:29:38 google-auth==2.26.2 13:29:38 httplib2==0.22.0 13:29:38 identify==2.5.33 13:29:38 idna==3.6 13:29:38 importlib-metadata==7.0.1 13:29:38 importlib-resources==1.5.0 13:29:38 iso8601==2.1.0 13:29:38 Jinja2==3.1.3 13:29:38 jmespath==1.0.1 13:29:38 jsonpatch==1.33 13:29:38 jsonpointer==2.4 13:29:38 jsonschema==4.20.0 13:29:38 jsonschema-specifications==2023.12.1 13:29:38 keystoneauth1==5.4.0 13:29:38 kubernetes==29.0.0 13:29:38 lftools==0.37.8 13:29:38 lxml==5.1.0 13:29:38 MarkupSafe==2.1.3 13:29:38 msgpack==1.0.7 13:29:38 multi_key_dict==2.0.3 13:29:38 munch==4.0.0 13:29:38 netaddr==0.10.1 13:29:38 netifaces==0.11.0 13:29:38 niet==1.4.2 13:29:38 nodeenv==1.8.0 13:29:38 oauth2client==4.1.3 13:29:38 oauthlib==3.2.2 13:29:38 openstacksdk==0.62.0 13:29:38 os-client-config==2.1.0 13:29:38 os-service-types==1.7.0 13:29:38 osc-lib==2.9.0 13:29:38 oslo.config==9.3.0 13:29:38 oslo.context==5.3.0 13:29:38 oslo.i18n==6.2.0 13:29:38 oslo.log==5.4.0 13:29:38 oslo.serialization==5.3.0 13:29:38 oslo.utils==6.3.0 13:29:38 packaging==23.2 13:29:38 pbr==6.0.0 13:29:38 platformdirs==4.1.0 13:29:38 prettytable==3.9.0 13:29:38 pyasn1==0.5.1 13:29:38 pyasn1-modules==0.3.0 13:29:38 pycparser==2.21 13:29:38 pygerrit2==2.0.15 13:29:38 PyGithub==2.1.1 13:29:38 pyinotify==0.9.6 13:29:38 PyJWT==2.8.0 13:29:38 PyNaCl==1.5.0 13:29:38 pyparsing==2.4.7 13:29:38 pyperclip==1.8.2 13:29:38 pyrsistent==0.20.0 13:29:38 python-cinderclient==9.4.0 13:29:38 python-dateutil==2.8.2 13:29:38 python-heatclient==3.4.0 13:29:38 python-jenkins==1.8.2 13:29:38 python-keystoneclient==5.2.0 13:29:38 python-magnumclient==4.3.0 13:29:38 python-novaclient==18.4.0 13:29:38 python-openstackclient==6.0.0 13:29:38 python-swiftclient==4.4.0 13:29:38 pytz==2023.3.post1 13:29:38 PyYAML==6.0.1 13:29:38 referencing==0.32.1 13:29:38 requests==2.31.0 13:29:38 requests-oauthlib==1.3.1 13:29:38 requestsexceptions==1.4.0 13:29:38 rfc3986==2.0.0 13:29:38 rpds-py==0.16.2 13:29:38 rsa==4.9 13:29:38 ruamel.yaml==0.18.5 13:29:38 ruamel.yaml.clib==0.2.8 13:29:38 s3transfer==0.10.0 13:29:38 simplejson==3.19.2 13:29:38 six==1.16.0 13:29:38 smmap==5.0.1 13:29:38 soupsieve==2.5 13:29:38 stevedore==5.1.0 13:29:38 tabulate==0.9.0 13:29:38 toml==0.10.2 13:29:38 tomlkit==0.12.3 13:29:38 tqdm==4.66.1 13:29:38 typing_extensions==4.9.0 13:29:38 tzdata==2023.4 13:29:38 urllib3==1.26.18 13:29:38 virtualenv==20.25.0 13:29:38 wcwidth==0.2.13 13:29:38 websocket-client==1.7.0 13:29:38 wrapt==1.16.0 13:29:38 xdg==6.0.0 13:29:38 xmltodict==0.13.0 13:29:38 yq==3.2.3 13:29:38 zipp==3.17.0 13:29:38 [EnvInject] - Injecting environment variables from a build step. 13:29:38 [EnvInject] - Injecting as environment variables the properties content 13:29:38 PYTHON=python3 13:29:38 13:29:38 [EnvInject] - Variables injected successfully. 13:29:38 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3340647932086447192.sh 13:29:38 ---> tox-install.sh 13:29:38 + source /home/jenkins/lf-env.sh 13:29:38 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:29:38 ++ mktemp -d /tmp/venv-XXXX 13:29:38 + lf_venv=/tmp/venv-tRTv 13:29:38 + local venv_file=/tmp/.os_lf_venv 13:29:38 + local python=python3 13:29:38 + local options 13:29:38 + local set_path=true 13:29:38 + local install_args= 13:29:38 ++ 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:29:38 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:29:38 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:29:38 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:29:38 + true 13:29:38 + case $1 in 13:29:38 + venv_file=/tmp/.toxenv 13:29:38 + shift 2 13:29:38 + true 13:29:38 + case $1 in 13:29:38 + shift 13:29:38 + break 13:29:38 + case $python in 13:29:38 + local pkg_list= 13:29:38 + [[ -d /opt/pyenv ]] 13:29:38 + echo 'Setup pyenv:' 13:29:38 Setup pyenv: 13:29:38 + export PYENV_ROOT=/opt/pyenv 13:29:38 + PYENV_ROOT=/opt/pyenv 13:29:38 + 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:29:38 + 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:29:38 + pyenv versions 13:29:38 system 13:29:38 3.8.13 13:29:38 3.9.13 13:29:38 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:29:38 + command -v pyenv 13:29:38 ++ pyenv init - --no-rehash 13:29:38 + 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:29:38 export PATH="/opt/pyenv/shims:${PATH}" 13:29:38 export PYENV_SHELL=bash 13:29:38 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:29:38 pyenv() { 13:29:38 local command 13:29:38 command="${1:-}" 13:29:38 if [ "$#" -gt 0 ]; then 13:29:38 shift 13:29:38 fi 13:29:38 13:29:38 case "$command" in 13:29:38 rehash|shell) 13:29:38 eval "$(pyenv "sh-$command" "$@")" 13:29:38 ;; 13:29:38 *) 13:29:38 command pyenv "$command" "$@" 13:29:38 ;; 13:29:38 esac 13:29:38 }' 13:29:38 +++ 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:29:38 ++ 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:29:38 ++ 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:29:38 ++ 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:29:38 ++ export PYENV_SHELL=bash 13:29:38 ++ PYENV_SHELL=bash 13:29:38 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:29:38 +++ complete -F _pyenv pyenv 13:29:38 ++ lf-pyver python3 13:29:38 ++ local py_version_xy=python3 13:29:38 ++ local py_version_xyz= 13:29:38 ++ pyenv versions 13:29:38 ++ local command 13:29:38 ++ command=versions 13:29:38 ++ '[' 1 -gt 0 ']' 13:29:38 ++ shift 13:29:38 ++ case "$command" in 13:29:38 ++ command pyenv versions 13:29:38 ++ pyenv versions 13:29:38 ++ sed 's/^[ *]* //' 13:29:38 ++ grep -E '^[0-9.]*[0-9]$' 13:29:38 ++ awk '{ print $1 }' 13:29:38 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:29:38 +++ sort -V 13:29:38 +++ grep '^3' /tmp/.pyenv_versions 13:29:38 +++ tail -n 1 13:29:38 ++ py_version_xyz=3.10.6 13:29:38 ++ [[ -z 3.10.6 ]] 13:29:38 ++ echo 3.10.6 13:29:38 ++ return 0 13:29:38 + pyenv local 3.10.6 13:29:38 + local command 13:29:38 + command=local 13:29:38 + '[' 2 -gt 0 ']' 13:29:38 + shift 13:29:38 + case "$command" in 13:29:38 + command pyenv local 3.10.6 13:29:38 + pyenv local 3.10.6 13:29:38 + for arg in "$@" 13:29:38 + case $arg in 13:29:38 + pkg_list+='tox ' 13:29:38 + for arg in "$@" 13:29:38 + case $arg in 13:29:38 + pkg_list+='virtualenv ' 13:29:38 + for arg in "$@" 13:29:38 + case $arg in 13:29:38 + pkg_list+='urllib3~=1.26.15 ' 13:29:38 + [[ -f /tmp/.toxenv ]] 13:29:38 + [[ ! -f /tmp/.toxenv ]] 13:29:38 + [[ -n '' ]] 13:29:38 + python3 -m venv /tmp/venv-tRTv 13:29:42 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tRTv' 13:29:42 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tRTv 13:29:42 + echo /tmp/venv-tRTv 13:29:42 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 13:29:42 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 13:29:42 + /tmp/venv-tRTv/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:29:45 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:29:45 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:29:45 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:29:45 + /tmp/venv-tRTv/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:29:48 + type python3 13:29:48 + true 13:29:48 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tRTv/bin to PATH' 13:29:48 lf-activate-venv(): INFO: Adding /tmp/venv-tRTv/bin to PATH 13:29:48 + PATH=/tmp/venv-tRTv/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:29:48 + return 0 13:29:48 + python3 --version 13:29:48 Python 3.10.6 13:29:48 + python3 -m pip --version 13:29:48 pip 23.3.2 from /tmp/venv-tRTv/lib/python3.10/site-packages/pip (python 3.10) 13:29:48 + python3 -m pip freeze 13:29:48 cachetools==5.3.2 13:29:48 chardet==5.2.0 13:29:48 colorama==0.4.6 13:29:48 distlib==0.3.8 13:29:48 filelock==3.13.1 13:29:48 packaging==23.2 13:29:48 platformdirs==4.1.0 13:29:48 pluggy==1.3.0 13:29:48 pyproject-api==1.6.1 13:29:48 tomli==2.0.1 13:29:48 tox==4.11.4 13:29:48 urllib3==1.26.18 13:29:48 virtualenv==20.25.0 13:29:48 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins1438762314646488216.sh 13:29:48 [EnvInject] - Injecting environment variables from a build step. 13:29:48 [EnvInject] - Injecting as environment variables the properties content 13:29:48 PARALLEL=False 13:29:48 13:29:48 [EnvInject] - Variables injected successfully. 13:29:48 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9222716759262629779.sh 13:29:48 ---> tox-run.sh 13:29:48 + 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:29:48 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 13:29:48 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 13:29:48 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 13:29:48 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 13:29:48 + source /home/jenkins/lf-env.sh 13:29:48 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 13:29:48 ++ mktemp -d /tmp/venv-XXXX 13:29:48 + lf_venv=/tmp/venv-GUs6 13:29:48 + local venv_file=/tmp/.os_lf_venv 13:29:48 + local python=python3 13:29:48 + local options 13:29:48 + local set_path=true 13:29:48 + local install_args= 13:29:48 ++ 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:29:48 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:29:48 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 13:29:48 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 13:29:48 + true 13:29:48 + case $1 in 13:29:48 + venv_file=/tmp/.toxenv 13:29:48 + shift 2 13:29:48 + true 13:29:48 + case $1 in 13:29:48 + shift 13:29:48 + break 13:29:48 + case $python in 13:29:48 + local pkg_list= 13:29:48 + [[ -d /opt/pyenv ]] 13:29:48 + echo 'Setup pyenv:' 13:29:48 Setup pyenv: 13:29:48 + export PYENV_ROOT=/opt/pyenv 13:29:48 + PYENV_ROOT=/opt/pyenv 13:29:48 + 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:29:48 + 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:29:48 + pyenv versions 13:29:48 system 13:29:48 3.8.13 13:29:48 3.9.13 13:29:48 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:29:48 + command -v pyenv 13:29:48 ++ pyenv init - --no-rehash 13:29:48 + 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:29:48 export PATH="/opt/pyenv/shims:${PATH}" 13:29:48 export PYENV_SHELL=bash 13:29:48 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 13:29:48 pyenv() { 13:29:48 local command 13:29:48 command="${1:-}" 13:29:48 if [ "$#" -gt 0 ]; then 13:29:48 shift 13:29:48 fi 13:29:48 13:29:48 case "$command" in 13:29:48 rehash|shell) 13:29:48 eval "$(pyenv "sh-$command" "$@")" 13:29:48 ;; 13:29:48 *) 13:29:48 command pyenv "$command" "$@" 13:29:48 ;; 13:29:48 esac 13:29:48 }' 13:29:48 +++ 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:29:48 ++ 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:29:48 ++ 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:29:48 ++ 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:29:48 ++ export PYENV_SHELL=bash 13:29:48 ++ PYENV_SHELL=bash 13:29:48 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 13:29:48 +++ complete -F _pyenv pyenv 13:29:48 ++ lf-pyver python3 13:29:48 ++ local py_version_xy=python3 13:29:48 ++ local py_version_xyz= 13:29:48 ++ awk '{ print $1 }' 13:29:48 ++ sed 's/^[ *]* //' 13:29:48 ++ pyenv versions 13:29:48 ++ local command 13:29:48 ++ command=versions 13:29:48 ++ '[' 1 -gt 0 ']' 13:29:48 ++ grep -E '^[0-9.]*[0-9]$' 13:29:48 ++ shift 13:29:48 ++ case "$command" in 13:29:48 ++ command pyenv versions 13:29:48 ++ pyenv versions 13:29:49 ++ [[ ! -s /tmp/.pyenv_versions ]] 13:29:49 +++ grep '^3' /tmp/.pyenv_versions 13:29:49 +++ tail -n 1 13:29:49 +++ sort -V 13:29:49 ++ py_version_xyz=3.10.6 13:29:49 ++ [[ -z 3.10.6 ]] 13:29:49 ++ echo 3.10.6 13:29:49 ++ return 0 13:29:49 + pyenv local 3.10.6 13:29:49 + local command 13:29:49 + command=local 13:29:49 + '[' 2 -gt 0 ']' 13:29:49 + shift 13:29:49 + case "$command" in 13:29:49 + command pyenv local 3.10.6 13:29:49 + pyenv local 3.10.6 13:29:49 + for arg in "$@" 13:29:49 + case $arg in 13:29:49 + pkg_list+='tox ' 13:29:49 + for arg in "$@" 13:29:49 + case $arg in 13:29:49 + pkg_list+='virtualenv ' 13:29:49 + for arg in "$@" 13:29:49 + case $arg in 13:29:49 + pkg_list+='urllib3~=1.26.15 ' 13:29:49 + [[ -f /tmp/.toxenv ]] 13:29:49 ++ cat /tmp/.toxenv 13:29:49 + lf_venv=/tmp/venv-tRTv 13:29:49 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tRTv from' file:/tmp/.toxenv 13:29:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tRTv from file:/tmp/.toxenv 13:29:49 + /tmp/venv-tRTv/bin/python3 -m pip install --upgrade --quiet pip virtualenv 13:29:49 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 13:29:49 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 13:29:49 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 13:29:49 + /tmp/venv-tRTv/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 13:29:51 + type python3 13:29:51 + true 13:29:51 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tRTv/bin to PATH' 13:29:51 lf-activate-venv(): INFO: Adding /tmp/venv-tRTv/bin to PATH 13:29:51 + PATH=/tmp/venv-tRTv/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:29:51 + return 0 13:29:51 + [[ -d /opt/pyenv ]] 13:29:51 + echo '---> Setting up pyenv' 13:29:51 ---> Setting up pyenv 13:29:51 + export PYENV_ROOT=/opt/pyenv 13:29:51 + PYENV_ROOT=/opt/pyenv 13:29:51 + export PATH=/opt/pyenv/bin:/tmp/venv-tRTv/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:29:51 + PATH=/opt/pyenv/bin:/tmp/venv-tRTv/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:29:51 ++ pwd 13:29:51 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 13:29:51 + export PYTHONPATH 13:29:51 + export TOX_TESTENV_PASSENV=PYTHONPATH 13:29:51 + TOX_TESTENV_PASSENV=PYTHONPATH 13:29:51 + tox --version 13:29:51 4.11.4 from /tmp/venv-tRTv/lib/python3.10/site-packages/tox/__init__.py 13:29:51 + PARALLEL=False 13:29:51 + TOX_OPTIONS_LIST= 13:29:51 + [[ -n '' ]] 13:29:51 + case ${PARALLEL,,} in 13:29:51 + tox 13:29:51 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 13:29:52 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 13:30:02 code: freeze> python -m pip freeze --all 13:30:02 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:30:02 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:30:03 ============================= test session starts ============================== 13:30:03 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 13:30:03 cachedir: .tox/code/.pytest_cache 13:30:03 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 13:30:03 plugins: cov-4.1.0 13:30:03 collected 4 items 13:30:03 13:30:03 near-rt-ric-simulator/tests/test_osc_2_1_0.py ...F [100%] 13:30:14 13:30:14 =================================== FAILURES =================================== 13:30:14 _______________________________ test_sendstatus ________________________________ 13:30:14 13:30:14 client = > 13:30:14 13:30:14 def test_sendstatus(client): 13:30:14 # Create a new thread to run the Flask app in parallel on a different port so that we can call the callback. 13:30:14 proc = multiprocessing.Process(target=run_flask_app, args=()) 13:30:14 proc.start() 13:30:14 13:30:14 test_data = get_testdata_dir() + 'pi2.json' 13:30:14 header = { "Content-Type" : "application/json" } 13:30:14 13:30:14 # === Send status for pi2=== 13:30:14 with open(test_data) as json_file: 13:30:14 payload = json.load(json_file) 13:30:14 response = client.post(SERVER_URL+'sendstatus?policyid=pi2', headers=header, data=json.dumps(payload)) 13:30:14 13:30:14 > assert response.status_code == 201 13:30:14 E assert 502 == 201 13:30:14 E + where 502 = .status_code 13:30:14 13:30:14 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py:612: AssertionError 13:30:14 ----------------------------- Captured stdout call ----------------------------- 13:30:14 13:30:14 -----Request----- 13:30:14 Req Headers: User-Agent: werkzeug/2.2.3 13:30:14 Host: localhost:2222 13:30:14 Content-Type: application/json 13:30:14 Content-Length: 79 13:30:14 13:30:14 13:30:14 Req Body: b'{"scope": {"ueId": "ue2", "qosId": "qos2"}, "statement": {"priorityLevel": 10}}' 13:30:14 -----Response----- 13:30:14 Resp Headers: Content-Type: text/plain; charset=utf-8 13:30:14 Content-Length: 92 13:30:14 13:30:14 13:30:14 Resp Body: b'Post status failed with Connection Error, could not send to http://localhost:8086/statustest' 13:30:14 --------------------------- Captured stdout teardown --------------------------- 13:30:14 * Serving Flask app 'var_declaration' 13:30:14 * Debug mode: off 13:30:14 =============================== warnings summary =============================== 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 /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:30:14 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 13:30:14 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 /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:30:14 from jsonschema import Draft4Validator, RefResolver 13:30:14 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 /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:30:14 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 13:30:14 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 13:30:14 /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:30:14 app.json_encoder = FlaskJSONEncoder 13:30:14 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 13:30:14 /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:30:14 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 13:30:14 13:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 13:30:14 /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:30:14 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 13:30:14 13:30:14 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 13:30:14 13:30:14 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 13:30:14 Name Stmts Miss Cover Missing 13:30:14 --------------------------------------------------------------------------------------------------------- 13:30:14 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 13:30:14 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:30:14 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:30:14 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 13:30:14 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 13:30:14 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 13:30:14 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 13:30:14 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 13:30:14 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 13:30:14 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:30:14 near-rt-ric-simulator/tests/test_osc_2_1_0.py 370 7 98% 613-624 13:30:14 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 13:30:14 --------------------------------------------------------------------------------------------------------- 13:30:14 TOTAL 972 123 87% 13:30:14 Coverage HTML written to dir htmlcov 13:30:14 Coverage XML written to file coverage.xml 13:30:14 13:30:14 Required test coverage of 70% reached. Total coverage: 87.35% 13:30:14 =========================== short test summary info ============================ 13:30:14 FAILED near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus - asser... 13:30:14 ================== 1 failed, 3 passed, 118 warnings in 11.42s ================== 13:41:40 $ ssh-agent -k 13:41:40 unset SSH_AUTH_SOCK; 13:41:40 unset SSH_AGENT_PID; 13:41:40 echo Agent pid 6150 killed; 13:41:40 [ssh-agent] Stopped. 13:41:40 Build was aborted 13:41:40 Aborted by new patch set. 13:41:40 [PostBuildScript] - [INFO] Executing post build scripts. 13:41:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11204023846675383943.sh 13:41:40 ---> sysstat.sh 13:41:40 code: exit -15 (697.64 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=27726 13:41:40 + tox_status=143 13:41:40 + echo '---> Completed tox runs' 13:41:40 ---> Completed tox runs 13:41:40 + for i in .tox/*/log 13:41:40 ++ echo .tox/code/log 13:41:40 ++ awk -F/ '{print $2}' 13:41:40 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16611758945763347678.sh 13:41:40 ---> package-listing.sh 13:41:40 ++ facter osfamily 13:41:40 ++ tr '[:upper:]' '[:lower:]' 13:41:41 + OS_FAMILY=debian 13:41:41 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 13:41:41 + START_PACKAGES=/tmp/packages_start.txt 13:41:41 + END_PACKAGES=/tmp/packages_end.txt 13:41:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:41:41 + PACKAGES=/tmp/packages_start.txt 13:41:41 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 13:41:41 + PACKAGES=/tmp/packages_end.txt 13:41:41 + case "${OS_FAMILY}" in 13:41:41 + dpkg -l 13:41:41 + grep '^ii' 13:41:41 + '[' -f /tmp/packages_start.txt ']' 13:41:41 + '[' -f /tmp/packages_end.txt ']' 13:41:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:41:41 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 13:41:41 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 13:41:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 13:41:41 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins5881548635973928461.sh 13:41:41 ---> capture-instance-metadata.sh 13:41:41 Setup pyenv: 13:41:41 system 13:41:41 3.8.13 13:41:41 3.9.13 13:41:41 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:41:41 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-j0Y2 from file:/tmp/.os_lf_venv 13:41:43 lf-activate-venv(): INFO: Installing: lftools 13:41:57 lf-activate-venv(): INFO: Adding /tmp/venv-j0Y2/bin to PATH 13:41:57 INFO: Running in OpenStack, capturing instance metadata 13:41:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4832044722601209025.sh 13:41:58 provisioning config files... 13:41:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config14151852905533028094tmp 13:41:58 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 13:41:58 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 13:41:58 [EnvInject] - Injecting environment variables from a build step. 13:41:58 [EnvInject] - Injecting as environment variables the properties content 13:41:58 SERVER_ID=logs 13:41:58 13:41:58 [EnvInject] - Variables injected successfully. 13:41:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins18215352803605675426.sh 13:41:58 ---> create-netrc.sh 13:41:58 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2271862319633479222.sh 13:41:58 ---> python-tools-install.sh 13:41:58 Setup pyenv: 13:41:58 system 13:41:58 3.8.13 13:41:58 3.9.13 13:41:58 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:41:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-j0Y2 from file:/tmp/.os_lf_venv 13:42:00 lf-activate-venv(): INFO: Installing: lftools 13:42:12 lf-activate-venv(): INFO: Adding /tmp/venv-j0Y2/bin to PATH 13:42:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10096743599683280281.sh 13:42:12 ---> sudo-logs.sh 13:42:12 Archiving 'sudo' log.. 13:42:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11910360773630158341.sh 13:42:12 ---> job-cost.sh 13:42:12 Setup pyenv: 13:42:12 system 13:42:12 3.8.13 13:42:12 3.9.13 13:42:12 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:42:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-j0Y2 from file:/tmp/.os_lf_venv 13:42:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 13:42:23 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. 13:42:23 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 13:42:24 lf-activate-venv(): INFO: Adding /tmp/venv-j0Y2/bin to PATH 13:42:24 INFO: No Stack... 13:42:24 INFO: Retrieving Pricing Info for: v2-highcpu-2 13:42:24 INFO: Archiving Costs 13:42:24 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3973601157613401717.sh 13:42:24 ---> logs-deploy.sh 13:42:24 Setup pyenv: 13:42:24 system 13:42:24 3.8.13 13:42:24 3.9.13 13:42:24 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 13:42:24 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-j0Y2 from file:/tmp/.os_lf_venv 13:42:26 lf-activate-venv(): INFO: Installing: lftools 13:42:38 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. 13:42:38 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 13:42:39 lf-activate-venv(): INFO: Adding /tmp/venv-j0Y2/bin to PATH 13:42:39 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/211 13:42:39 INFO: archiving workspace using pattern(s): -p **/*.log 13:42:41 Archives upload complete. 13:42:41 INFO: archiving logs to Nexus 13:42:42 ---> uname -a: 13:42:42 Linux prd-ubuntu1804-builder-2c-2g-3483 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 13:42:42 13:42:42 13:42:42 ---> lscpu: 13:42:42 Architecture: x86_64 13:42:42 CPU op-mode(s): 32-bit, 64-bit 13:42:42 Byte Order: Little Endian 13:42:42 Address sizes: 40 bits physical, 48 bits virtual 13:42:42 CPU(s): 2 13:42:42 On-line CPU(s) list: 0,1 13:42:42 Thread(s) per core: 1 13:42:42 Core(s) per socket: 1 13:42:42 Socket(s): 2 13:42:42 NUMA node(s): 1 13:42:42 Vendor ID: AuthenticAMD 13:42:42 CPU family: 23 13:42:42 Model: 49 13:42:42 Model name: AMD EPYC-Rome Processor 13:42:42 Stepping: 0 13:42:42 CPU MHz: 2800.022 13:42:42 BogoMIPS: 5600.04 13:42:42 Virtualization: AMD-V 13:42:42 Hypervisor vendor: KVM 13:42:42 Virtualization type: full 13:42:42 L1d cache: 64 KiB 13:42:42 L1i cache: 64 KiB 13:42:42 L2 cache: 1 MiB 13:42:42 L3 cache: 32 MiB 13:42:42 NUMA node0 CPU(s): 0,1 13:42:42 Vulnerability Itlb multihit: Not affected 13:42:42 Vulnerability L1tf: Not affected 13:42:42 Vulnerability Mds: Not affected 13:42:42 Vulnerability Meltdown: Not affected 13:42:42 Vulnerability Mmio stale data: Not affected 13:42:42 Vulnerability Retbleed: Vulnerable 13:42:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:42:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:42:42 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 13:42:42 Vulnerability Srbds: Not affected 13:42:42 Vulnerability Tsx async abort: Not affected 13:42:42 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 13:42:42 13:42:42 13:42:42 ---> nproc: 13:42:42 2 13:42:42 13:42:42 13:42:42 ---> df -h: 13:42:42 Filesystem Size Used Avail Use% Mounted on 13:42:42 udev 975M 0 975M 0% /dev 13:42:42 tmpfs 199M 1008K 198M 1% /run 13:42:42 /dev/vda1 20G 8.5G 11G 45% / 13:42:42 tmpfs 992M 0 992M 0% /dev/shm 13:42:42 tmpfs 5.0M 0 5.0M 0% /run/lock 13:42:42 tmpfs 992M 0 992M 0% /sys/fs/cgroup 13:42:42 /dev/loop2 62M 62M 0 100% /snap/core20/1405 13:42:42 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 13:42:42 /dev/vda15 105M 6.1M 99M 6% /boot/efi 13:42:42 tmpfs 199M 0 199M 0% /run/user/1001 13:42:42 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 13:42:42 /dev/loop4 64M 64M 0 100% /snap/core20/2105 13:42:42 /dev/loop5 92M 92M 0 100% /snap/lxd/24061 13:42:42 13:42:42 13:42:42 ---> free -m: 13:42:42 total used free shared buff/cache available 13:42:42 Mem: 1983 417 170 2 1395 1371 13:42:42 Swap: 1023 0 1023 13:42:42 13:42:42 13:42:42 ---> ip addr: 13:42:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 13:42:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 13:42:42 inet 127.0.0.1/8 scope host lo 13:42:42 valid_lft forever preferred_lft forever 13:42:42 inet6 ::1/128 scope host 13:42:42 valid_lft forever preferred_lft forever 13:42:42 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 13:42:42 link/ether fa:16:3e:6d:ea:89 brd ff:ff:ff:ff:ff:ff 13:42:42 inet 10.32.6.12/23 brd 10.32.7.255 scope global dynamic ens3 13:42:42 valid_lft 85507sec preferred_lft 85507sec 13:42:42 inet6 fe80::f816:3eff:fe6d:ea89/64 scope link 13:42:42 valid_lft forever preferred_lft forever 13:42:42 13:42:42 13:42:42 ---> sar -b -r -n DEV: 13:42:42 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3483) 01/12/24 _x86_64_ (2 CPU) 13:42:42 13:42:42 13:27:51 LINUX RESTART (2 CPU) 13:42:42 13:42:42 13:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 13:42:42 13:29:02 244.93 150.81 94.12 0.00 5698.88 11620.34 0.00 13:42:42 13:30:01 91.58 4.08 87.49 0.00 249.58 13288.87 0.00 13:42:42 13:31:01 6.03 1.82 4.22 0.00 161.31 1051.82 0.00 13:42:42 13:32:01 5.93 4.50 1.43 0.00 118.91 17.46 0.00 13:42:42 13:33:02 3.65 1.45 2.20 0.00 95.98 73.05 0.00 13:42:42 13:34:01 78.21 26.01 52.19 0.00 7048.84 11863.48 0.00 13:42:42 13:35:01 3.42 0.07 3.35 0.00 1.60 91.85 0.00 13:42:42 13:36:01 0.88 0.00 0.88 0.00 0.00 10.00 0.00 13:42:42 13:37:01 1.12 0.00 1.12 0.00 0.00 14.13 0.00 13:42:42 13:38:01 1.05 0.00 1.05 0.00 0.00 12.53 0.00 13:42:42 13:39:01 1.05 0.00 1.05 0.00 0.00 12.40 0.00 13:42:42 13:40:01 0.95 0.00 0.95 0.00 0.00 10.66 0.00 13:42:42 13:41:01 1.00 0.00 1.00 0.00 0.00 12.26 0.00 13:42:42 13:42:01 16.40 9.37 7.03 0.00 652.82 450.19 0.00 13:42:42 Average: 32.46 14.15 18.31 0.00 995.78 2728.81 0.00 13:42:42 13:42:42 13:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:42:42 13:29:02 238492 1484000 316372 15.58 55860 1270180 801228 26.02 388940 1209764 107892 13:42:42 13:30:01 83164 1394336 398708 19.63 68120 1308084 917220 29.79 477520 1253276 28420 13:42:42 13:31:01 74476 1391636 401272 19.76 68256 1313804 942312 30.60 484836 1255272 152 13:42:42 13:32:01 82612 1386356 406340 20.01 67824 1301272 943972 30.66 489108 1243900 124 13:42:42 13:33:02 77356 1372648 419900 20.68 68928 1291512 993424 32.26 497392 1238968 708 13:42:42 13:34:01 205580 1375436 396152 19.51 95496 1155684 906552 29.44 680444 921948 276 13:42:42 13:35:01 207384 1375596 396304 19.52 94040 1155692 905812 29.42 680952 920456 88 13:42:42 13:36:01 207384 1375684 396276 19.51 94064 1155708 905812 29.42 681056 920444 148 13:42:42 13:37:01 207416 1375720 396180 19.51 94100 1155708 905812 29.42 681060 920444 100 13:42:42 13:38:01 208376 1376748 395112 19.46 94128 1155712 905812 29.42 680040 920216 176 13:42:42 13:39:01 208368 1376868 395012 19.45 94152 1155840 905812 29.42 680100 920344 92 13:42:42 13:40:01 210384 1378936 392948 19.35 94172 1155844 905812 29.42 679644 918676 140 13:42:42 13:41:01 210424 1378976 392864 19.35 94192 1155844 901780 29.29 679640 918676 92 13:42:42 13:42:01 241500 1446448 325492 16.03 97560 1190424 762616 24.77 626744 944328 42936 13:42:42 Average: 175923 1392099 387781 19.10 84349 1208665 900284 29.24 600534 1036194 12953 13:42:42 13:42:42 13:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:42:42 13:29:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 13:42:42 13:29:02 ens3 293.37 171.73 1313.49 57.67 0.00 0.00 0.00 0.00 13:42:42 13:30:01 lo 1.02 1.02 0.08 0.08 0.00 0.00 0.00 0.00 13:42:42 13:30:01 ens3 42.67 41.52 377.17 7.87 0.00 0.00 0.00 0.00 13:42:42 13:31:01 lo 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:31:01 ens3 0.62 0.45 0.11 0.23 0.00 0.00 0.00 0.00 13:42:42 13:32:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 13:42:42 13:32:01 ens3 8.85 7.35 5.95 11.30 0.00 0.00 0.00 0.00 13:42:42 13:33:02 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 13:42:42 13:33:02 ens3 5.38 4.87 7.86 0.53 0.00 0.00 0.00 0.00 13:42:42 13:34:01 lo 0.68 0.68 0.06 0.06 0.00 0.00 0.00 0.00 13:42:42 13:34:01 ens3 446.67 214.39 2789.93 14.30 0.00 0.00 0.00 0.00 13:42:42 13:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:35:01 ens3 0.23 0.15 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:36:01 ens3 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:37:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:38:01 ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:39:01 ens3 0.20 0.08 0.08 0.06 0.00 0.00 0.00 0.00 13:42:42 13:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:40:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:42:42 13:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:41:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 13:42:42 13:42:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 13:42:42 13:42:01 ens3 10.08 9.22 7.76 4.33 0.00 0.00 0.00 0.00 13:42:42 Average: lo 0.30 0.30 0.02 0.02 0.00 0.00 0.00 0.00 13:42:42 Average: ens3 57.30 31.92 318.61 6.87 0.00 0.00 0.00 0.00 13:42:42 13:42:42 13:42:42 ---> sar -P ALL: 13:42:42 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3483) 01/12/24 _x86_64_ (2 CPU) 13:42:42 13:42:42 13:27:51 LINUX RESTART (2 CPU) 13:42:42 13:42:42 13:28:01 CPU %user %nice %system %iowait %steal %idle 13:42:42 13:29:02 all 37.08 28.12 19.34 7.17 0.12 8.16 13:42:42 13:29:02 0 41.06 24.98 18.47 6.62 0.12 8.75 13:42:42 13:29:02 1 33.08 31.28 20.22 7.73 0.12 7.57 13:42:42 13:30:01 all 38.41 0.00 3.07 8.20 0.08 50.24 13:42:42 13:30:01 0 11.11 0.00 2.17 7.84 0.05 78.83 13:42:42 13:30:01 1 65.97 0.00 3.97 8.57 0.10 21.39 13:42:42 13:31:01 all 2.04 0.00 0.25 0.20 0.03 97.47 13:42:42 13:31:01 0 0.30 0.00 0.24 0.08 0.03 99.35 13:42:42 13:31:01 1 3.77 0.00 0.27 0.32 0.03 95.61 13:42:42 13:32:01 all 1.20 0.00 0.19 0.12 0.03 98.46 13:42:42 13:32:01 0 1.36 0.00 0.18 0.08 0.05 98.32 13:42:42 13:32:01 1 1.04 0.00 0.20 0.15 0.02 98.59 13:42:42 13:33:02 all 0.38 0.00 0.31 0.13 0.03 99.15 13:42:42 13:33:02 0 0.42 0.00 0.32 0.17 0.03 99.06 13:42:42 13:33:02 1 0.34 0.00 0.30 0.08 0.03 99.24 13:42:42 13:34:01 all 10.13 0.00 5.31 3.85 0.06 80.65 13:42:42 13:34:01 0 9.31 0.00 4.68 2.58 0.05 83.38 13:42:42 13:34:01 1 10.96 0.00 5.95 5.11 0.07 77.91 13:42:42 13:35:01 all 0.48 0.00 0.22 0.09 0.03 99.18 13:42:42 13:35:01 0 0.50 0.00 0.25 0.02 0.03 99.20 13:42:42 13:35:01 1 0.45 0.00 0.18 0.17 0.03 99.16 13:42:42 13:36:01 all 0.18 0.00 0.13 0.02 0.03 99.64 13:42:42 13:36:01 0 0.18 0.00 0.12 0.00 0.02 99.68 13:42:42 13:36:01 1 0.17 0.00 0.15 0.03 0.05 99.60 13:42:42 13:37:01 all 0.16 0.00 0.14 0.03 0.03 99.63 13:42:42 13:37:01 0 0.13 0.00 0.12 0.00 0.03 99.72 13:42:42 13:37:01 1 0.18 0.00 0.17 0.07 0.03 99.55 13:42:42 13:38:01 all 0.16 0.00 0.09 0.03 0.02 99.71 13:42:42 13:38:01 0 0.10 0.00 0.02 0.02 0.00 99.87 13:42:42 13:38:01 1 0.22 0.00 0.17 0.03 0.03 99.55 13:42:42 13:39:01 all 0.15 0.00 0.12 0.02 0.03 99.68 13:42:42 13:39:01 0 0.20 0.00 0.12 0.00 0.03 99.65 13:42:42 13:39:01 1 0.10 0.00 0.12 0.03 0.03 99.71 13:42:42 13:42:42 13:39:01 CPU %user %nice %system %iowait %steal %idle 13:42:42 13:40:01 all 0.13 0.00 0.09 0.02 0.03 99.73 13:42:42 13:40:01 0 0.07 0.00 0.07 0.00 0.02 99.85 13:42:42 13:40:01 1 0.20 0.00 0.12 0.03 0.03 99.61 13:42:42 13:41:01 all 0.20 0.00 0.13 0.01 0.03 99.63 13:42:42 13:41:01 0 0.18 0.00 0.15 0.00 0.03 99.63 13:42:42 13:41:01 1 0.22 0.00 0.10 0.02 0.03 99.63 13:42:42 13:42:01 all 12.96 0.00 0.90 0.74 0.04 85.35 13:42:42 13:42:01 0 22.11 0.00 1.09 0.33 0.05 76.42 13:42:42 13:42:01 1 3.79 0.00 0.72 1.16 0.03 94.30 13:42:42 Average: all 7.37 2.00 2.15 1.46 0.04 86.98 13:42:42 Average: 0 6.19 1.77 1.99 1.26 0.04 88.75 13:42:42 Average: 1 8.54 2.22 2.31 1.67 0.05 85.22 13:42:42 13:42:42 13:42:42