15:15:08 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/sim/a1-interface/+/12434 15:15:08 Running as SYSTEM 15:15:08 [EnvInject] - Loading node environment variables. 15:15:08 Building remotely on prd-ubuntu1804-builder-2c-2g-3502 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 15:15:08 [ssh-agent] Looking for ssh-agent implementation... 15:15:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:08 $ ssh-agent 15:15:08 SSH_AUTH_SOCK=/tmp/ssh-W66jBsUpusaf/agent.5889 15:15:08 SSH_AGENT_PID=5891 15:15:08 [ssh-agent] Started. 15:15:08 Running ssh-add (command line suppressed) 15:15:08 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_1445664060672507537.key (jenkins-ssh) 15:15:08 [ssh-agent] Using credentials jenkins (jenkins) 15:15:08 The recommended git tool is: NONE 15:15:10 using credential jenkins 15:15:10 Wiping out workspace first. 15:15:10 Cloning the remote Git repository 15:15:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 15:15:10 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 15:15:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 15:15:10 > git --version # timeout=10 15:15:10 > git --version # 'git version 2.25.1' 15:15:10 using GIT_SSH to set credentials jenkins 15:15: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 15:15:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 15:15:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:15:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 15:15:11 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 15:15:11 using GIT_SSH to set credentials jenkins 15:15:11 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface refs/changes/34/12434/12 # timeout=10 15:15:11 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 15:15:11 Checking out Revision 839ca3b917396650cf5623a4bf5e88318f7cb435 (refs/remotes/origin/master) 15:15:11 > git config core.sparsecheckout # timeout=10 15:15:11 > git checkout -f 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 15:15:12 Commit message: "Release notes after i-release 2.6.1" 15:15:12 > git rev-list --no-walk 839ca3b917396650cf5623a4bf5e88318f7cb435 # timeout=10 15:15:12 provisioning config files... 15:15:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 15:15:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 15:15:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2676404679302754877.sh 15:15:12 ---> python-tools-install.sh 15:15:12 Setup pyenv: 15:15:12 * system (set by /opt/pyenv/version) 15:15:12 * 3.8.13 (set by /opt/pyenv/version) 15:15:12 * 3.9.13 (set by /opt/pyenv/version) 15:15:12 * 3.10.6 (set by /opt/pyenv/version) 15:15:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6QIu 15:15:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 15:15:21 lf-activate-venv(): INFO: Installing: lftools 15:15:59 lf-activate-venv(): INFO: Adding /tmp/venv-6QIu/bin to PATH 15:15:59 Generating Requirements File 15:16:34 Python 3.10.6 15:16:34 pip 23.3.2 from /tmp/venv-6QIu/lib/python3.10/site-packages/pip (python 3.10) 15:16:35 appdirs==1.4.4 15:16:35 argcomplete==3.2.1 15:16:35 aspy.yaml==1.3.0 15:16:35 attrs==23.2.0 15:16:35 autopage==0.5.2 15:16:35 beautifulsoup4==4.12.2 15:16:35 boto3==1.34.16 15:16:35 botocore==1.34.16 15:16:35 bs4==0.0.1 15:16:35 cachetools==5.3.2 15:16:35 certifi==2023.11.17 15:16:35 cffi==1.16.0 15:16:35 cfgv==3.4.0 15:16:35 chardet==5.2.0 15:16:35 charset-normalizer==3.3.2 15:16:35 click==8.1.7 15:16:35 cliff==4.4.0 15:16:35 cmd2==2.4.3 15:16:35 cryptography==3.3.2 15:16:35 debtcollector==2.5.0 15:16:35 decorator==5.1.1 15:16:35 defusedxml==0.7.1 15:16:35 Deprecated==1.2.14 15:16:35 distlib==0.3.8 15:16:35 dnspython==2.4.2 15:16:35 docker==4.2.2 15:16:35 dogpile.cache==1.3.0 15:16:35 email-validator==2.1.0.post1 15:16:35 filelock==3.13.1 15:16:35 future==0.18.3 15:16:35 gitdb==4.0.11 15:16:35 GitPython==3.1.41 15:16:35 google-auth==2.26.2 15:16:35 httplib2==0.22.0 15:16:35 identify==2.5.33 15:16:35 idna==3.6 15:16:35 importlib-metadata==7.0.1 15:16:35 importlib-resources==1.5.0 15:16:35 iso8601==2.1.0 15:16:35 Jinja2==3.1.3 15:16:35 jmespath==1.0.1 15:16:35 jsonpatch==1.33 15:16:35 jsonpointer==2.4 15:16:35 jsonschema==4.20.0 15:16:35 jsonschema-specifications==2023.12.1 15:16:35 keystoneauth1==5.4.0 15:16:35 kubernetes==29.0.0 15:16:35 lftools==0.37.8 15:16:35 lxml==5.1.0 15:16:35 MarkupSafe==2.1.3 15:16:35 msgpack==1.0.7 15:16:35 multi_key_dict==2.0.3 15:16:35 munch==4.0.0 15:16:35 netaddr==0.10.1 15:16:35 netifaces==0.11.0 15:16:35 niet==1.4.2 15:16:35 nodeenv==1.8.0 15:16:35 oauth2client==4.1.3 15:16:35 oauthlib==3.2.2 15:16:35 openstacksdk==0.62.0 15:16:35 os-client-config==2.1.0 15:16:35 os-service-types==1.7.0 15:16:35 osc-lib==2.9.0 15:16:35 oslo.config==9.3.0 15:16:35 oslo.context==5.3.0 15:16:35 oslo.i18n==6.2.0 15:16:35 oslo.log==5.4.0 15:16:35 oslo.serialization==5.3.0 15:16:35 oslo.utils==6.3.0 15:16:35 packaging==23.2 15:16:35 pbr==6.0.0 15:16:35 platformdirs==4.1.0 15:16:35 prettytable==3.9.0 15:16:35 pyasn1==0.5.1 15:16:35 pyasn1-modules==0.3.0 15:16:35 pycparser==2.21 15:16:35 pygerrit2==2.0.15 15:16:35 PyGithub==2.1.1 15:16:35 pyinotify==0.9.6 15:16:35 PyJWT==2.8.0 15:16:35 PyNaCl==1.5.0 15:16:35 pyparsing==2.4.7 15:16:35 pyperclip==1.8.2 15:16:35 pyrsistent==0.20.0 15:16:35 python-cinderclient==9.4.0 15:16:35 python-dateutil==2.8.2 15:16:35 python-heatclient==3.4.0 15:16:35 python-jenkins==1.8.2 15:16:35 python-keystoneclient==5.2.0 15:16:35 python-magnumclient==4.3.0 15:16:35 python-novaclient==18.4.0 15:16:35 python-openstackclient==6.0.0 15:16:35 python-swiftclient==4.4.0 15:16:35 pytz==2023.3.post1 15:16:35 PyYAML==6.0.1 15:16:35 referencing==0.32.1 15:16:35 requests==2.31.0 15:16:35 requests-oauthlib==1.3.1 15:16:35 requestsexceptions==1.4.0 15:16:35 rfc3986==2.0.0 15:16:35 rpds-py==0.16.2 15:16:35 rsa==4.9 15:16:35 ruamel.yaml==0.18.5 15:16:35 ruamel.yaml.clib==0.2.8 15:16:35 s3transfer==0.10.0 15:16:35 simplejson==3.19.2 15:16:35 six==1.16.0 15:16:35 smmap==5.0.1 15:16:35 soupsieve==2.5 15:16:35 stevedore==5.1.0 15:16:35 tabulate==0.9.0 15:16:35 toml==0.10.2 15:16:35 tomlkit==0.12.3 15:16:35 tqdm==4.66.1 15:16:35 typing_extensions==4.9.0 15:16:35 tzdata==2023.4 15:16:35 urllib3==1.26.18 15:16:35 virtualenv==20.25.0 15:16:35 wcwidth==0.2.13 15:16:35 websocket-client==1.7.0 15:16:35 wrapt==1.16.0 15:16:35 xdg==6.0.0 15:16:35 xmltodict==0.13.0 15:16:35 yq==3.2.3 15:16:35 zipp==3.17.0 15:16:35 [EnvInject] - Injecting environment variables from a build step. 15:16:35 [EnvInject] - Injecting as environment variables the properties content 15:16:35 PYTHON=python3 15:16:35 15:16:35 [EnvInject] - Variables injected successfully. 15:16:35 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12510033155877779000.sh 15:16:35 ---> tox-install.sh 15:16:35 + source /home/jenkins/lf-env.sh 15:16:35 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 15:16:35 ++ mktemp -d /tmp/venv-XXXX 15:16:35 + lf_venv=/tmp/venv-QyMT 15:16:35 + local venv_file=/tmp/.os_lf_venv 15:16:35 + local python=python3 15:16:35 + local options 15:16:35 + local set_path=true 15:16:35 + local install_args= 15:16:35 ++ 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 15:16:35 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 15:16:35 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 15:16:35 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 15:16:35 + true 15:16:35 + case $1 in 15:16:35 + venv_file=/tmp/.toxenv 15:16:35 + shift 2 15:16:35 + true 15:16:35 + case $1 in 15:16:35 + shift 15:16:35 + break 15:16:35 + case $python in 15:16:35 + local pkg_list= 15:16:35 + [[ -d /opt/pyenv ]] 15:16:35 + echo 'Setup pyenv:' 15:16:35 Setup pyenv: 15:16:35 + export PYENV_ROOT=/opt/pyenv 15:16:35 + PYENV_ROOT=/opt/pyenv 15:16:35 + 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 15:16:35 + 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 15:16:35 + pyenv versions 15:16:35 system 15:16:35 3.8.13 15:16:35 3.9.13 15:16:35 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:16:35 + command -v pyenv 15:16:35 ++ pyenv init - --no-rehash 15:16:35 + 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[*]}"'\'')" 15:16:35 export PATH="/opt/pyenv/shims:${PATH}" 15:16:35 export PYENV_SHELL=bash 15:16:35 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 15:16:35 pyenv() { 15:16:35 local command 15:16:35 command="${1:-}" 15:16:35 if [ "$#" -gt 0 ]; then 15:16:35 shift 15:16:35 fi 15:16:35 15:16:35 case "$command" in 15:16:35 rehash|shell) 15:16:35 eval "$(pyenv "sh-$command" "$@")" 15:16:35 ;; 15:16:35 *) 15:16:35 command pyenv "$command" "$@" 15:16:35 ;; 15:16:35 esac 15:16:35 }' 15:16:35 +++ 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[*]}"' 15:16:35 ++ 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 15:16:35 ++ 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 15:16:35 ++ 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 15:16:35 ++ export PYENV_SHELL=bash 15:16:35 ++ PYENV_SHELL=bash 15:16:35 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 15:16:35 +++ complete -F _pyenv pyenv 15:16:35 ++ lf-pyver python3 15:16:35 ++ local py_version_xy=python3 15:16:35 ++ local py_version_xyz= 15:16:35 ++ grep -E '^[0-9.]*[0-9]$' 15:16:35 ++ awk '{ print $1 }' 15:16:35 ++ sed 's/^[ *]* //' 15:16:35 ++ pyenv versions 15:16:35 ++ local command 15:16:35 ++ command=versions 15:16:35 ++ '[' 1 -gt 0 ']' 15:16:35 ++ shift 15:16:35 ++ case "$command" in 15:16:35 ++ command pyenv versions 15:16:35 ++ pyenv versions 15:16:35 ++ [[ ! -s /tmp/.pyenv_versions ]] 15:16:35 +++ grep '^3' /tmp/.pyenv_versions 15:16:35 +++ sort -V 15:16:35 +++ tail -n 1 15:16:35 ++ py_version_xyz=3.10.6 15:16:35 ++ [[ -z 3.10.6 ]] 15:16:35 ++ echo 3.10.6 15:16:35 ++ return 0 15:16:35 + pyenv local 3.10.6 15:16:35 + local command 15:16:35 + command=local 15:16:35 + '[' 2 -gt 0 ']' 15:16:35 + shift 15:16:35 + case "$command" in 15:16:35 + command pyenv local 3.10.6 15:16:35 + pyenv local 3.10.6 15:16:35 + for arg in "$@" 15:16:35 + case $arg in 15:16:35 + pkg_list+='tox ' 15:16:35 + for arg in "$@" 15:16:35 + case $arg in 15:16:35 + pkg_list+='virtualenv ' 15:16:35 + for arg in "$@" 15:16:35 + case $arg in 15:16:35 + pkg_list+='urllib3~=1.26.15 ' 15:16:35 + [[ -f /tmp/.toxenv ]] 15:16:35 + [[ ! -f /tmp/.toxenv ]] 15:16:35 + [[ -n '' ]] 15:16:35 + python3 -m venv /tmp/venv-QyMT 15:16:39 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QyMT' 15:16:39 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QyMT 15:16:39 + echo /tmp/venv-QyMT 15:16:39 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 15:16:39 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 15:16:39 + /tmp/venv-QyMT/bin/python3 -m pip install --upgrade --quiet pip virtualenv 15:16:43 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 15:16:43 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 15:16:43 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 15:16:43 + /tmp/venv-QyMT/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 15:16:46 + type python3 15:16:46 + true 15:16:46 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-QyMT/bin to PATH' 15:16:46 lf-activate-venv(): INFO: Adding /tmp/venv-QyMT/bin to PATH 15:16:46 + PATH=/tmp/venv-QyMT/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 15:16:46 + return 0 15:16:46 + python3 --version 15:16:46 Python 3.10.6 15:16:46 + python3 -m pip --version 15:16:46 pip 23.3.2 from /tmp/venv-QyMT/lib/python3.10/site-packages/pip (python 3.10) 15:16:46 + python3 -m pip freeze 15:16:46 cachetools==5.3.2 15:16:46 chardet==5.2.0 15:16:46 colorama==0.4.6 15:16:46 distlib==0.3.8 15:16:46 filelock==3.13.1 15:16:46 packaging==23.2 15:16:46 platformdirs==4.1.0 15:16:46 pluggy==1.3.0 15:16:46 pyproject-api==1.6.1 15:16:46 tomli==2.0.1 15:16:46 tox==4.12.0 15:16:46 urllib3==1.26.18 15:16:46 virtualenv==20.25.0 15:16:46 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins15595506635537056541.sh 15:16:46 [EnvInject] - Injecting environment variables from a build step. 15:16:46 [EnvInject] - Injecting as environment variables the properties content 15:16:46 PARALLEL=False 15:16:46 15:16:46 [EnvInject] - Variables injected successfully. 15:16:46 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16550286382387251512.sh 15:16:46 ---> tox-run.sh 15:16:46 + 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 15:16:46 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 15:16:46 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 15:16:46 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 15:16:46 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 15:16:46 + source /home/jenkins/lf-env.sh 15:16:46 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 15:16:46 ++ mktemp -d /tmp/venv-XXXX 15:16:46 + lf_venv=/tmp/venv-l6Sc 15:16:46 + local venv_file=/tmp/.os_lf_venv 15:16:46 + local python=python3 15:16:46 + local options 15:16:46 + local set_path=true 15:16:46 + local install_args= 15:16:46 ++ 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 15:16:46 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 15:16:46 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 15:16:46 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 15:16:46 + true 15:16:46 + case $1 in 15:16:46 + venv_file=/tmp/.toxenv 15:16:46 + shift 2 15:16:46 + true 15:16:46 + case $1 in 15:16:46 + shift 15:16:46 + break 15:16:46 + case $python in 15:16:46 + local pkg_list= 15:16:46 + [[ -d /opt/pyenv ]] 15:16:46 + echo 'Setup pyenv:' 15:16:46 Setup pyenv: 15:16:46 + export PYENV_ROOT=/opt/pyenv 15:16:46 + PYENV_ROOT=/opt/pyenv 15:16:46 + 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 15:16:46 + 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 15:16:46 + pyenv versions 15:16:46 system 15:16:46 3.8.13 15:16:46 3.9.13 15:16:46 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:16:46 + command -v pyenv 15:16:46 ++ pyenv init - --no-rehash 15:16:46 + 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[*]}"'\'')" 15:16:46 export PATH="/opt/pyenv/shims:${PATH}" 15:16:46 export PYENV_SHELL=bash 15:16:46 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 15:16:46 pyenv() { 15:16:46 local command 15:16:46 command="${1:-}" 15:16:46 if [ "$#" -gt 0 ]; then 15:16:46 shift 15:16:46 fi 15:16:46 15:16:46 case "$command" in 15:16:46 rehash|shell) 15:16:46 eval "$(pyenv "sh-$command" "$@")" 15:16:46 ;; 15:16:46 *) 15:16:46 command pyenv "$command" "$@" 15:16:46 ;; 15:16:46 esac 15:16:46 }' 15:16:46 +++ 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[*]}"' 15:16:46 ++ 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 15:16:46 ++ 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 15:16:46 ++ 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 15:16:46 ++ export PYENV_SHELL=bash 15:16:46 ++ PYENV_SHELL=bash 15:16:46 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 15:16:46 +++ complete -F _pyenv pyenv 15:16:46 ++ lf-pyver python3 15:16:46 ++ local py_version_xy=python3 15:16:46 ++ local py_version_xyz= 15:16:46 ++ pyenv versions 15:16:46 ++ local command 15:16:46 ++ command=versions 15:16:46 ++ '[' 1 -gt 0 ']' 15:16:46 ++ shift 15:16:46 ++ case "$command" in 15:16:46 ++ command pyenv versions 15:16:46 ++ pyenv versions 15:16:46 ++ sed 's/^[ *]* //' 15:16:46 ++ awk '{ print $1 }' 15:16:46 ++ grep -E '^[0-9.]*[0-9]$' 15:16:46 ++ [[ ! -s /tmp/.pyenv_versions ]] 15:16:46 +++ grep '^3' /tmp/.pyenv_versions 15:16:46 +++ sort -V 15:16:46 +++ tail -n 1 15:16:46 ++ py_version_xyz=3.10.6 15:16:46 ++ [[ -z 3.10.6 ]] 15:16:46 ++ echo 3.10.6 15:16:46 ++ return 0 15:16:46 + pyenv local 3.10.6 15:16:46 + local command 15:16:46 + command=local 15:16:46 + '[' 2 -gt 0 ']' 15:16:46 + shift 15:16:46 + case "$command" in 15:16:46 + command pyenv local 3.10.6 15:16:46 + pyenv local 3.10.6 15:16:47 + for arg in "$@" 15:16:47 + case $arg in 15:16:47 + pkg_list+='tox ' 15:16:47 + for arg in "$@" 15:16:47 + case $arg in 15:16:47 + pkg_list+='virtualenv ' 15:16:47 + for arg in "$@" 15:16:47 + case $arg in 15:16:47 + pkg_list+='urllib3~=1.26.15 ' 15:16:47 + [[ -f /tmp/.toxenv ]] 15:16:47 ++ cat /tmp/.toxenv 15:16:47 + lf_venv=/tmp/venv-QyMT 15:16:47 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QyMT from' file:/tmp/.toxenv 15:16:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QyMT from file:/tmp/.toxenv 15:16:47 + /tmp/venv-QyMT/bin/python3 -m pip install --upgrade --quiet pip virtualenv 15:16:47 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 15:16:47 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 15:16:47 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 15:16:47 + /tmp/venv-QyMT/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 15:16:49 + type python3 15:16:49 + true 15:16:49 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-QyMT/bin to PATH' 15:16:49 lf-activate-venv(): INFO: Adding /tmp/venv-QyMT/bin to PATH 15:16:49 + PATH=/tmp/venv-QyMT/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 15:16:49 + return 0 15:16:49 + [[ -d /opt/pyenv ]] 15:16:49 + echo '---> Setting up pyenv' 15:16:49 ---> Setting up pyenv 15:16:49 + export PYENV_ROOT=/opt/pyenv 15:16:49 + PYENV_ROOT=/opt/pyenv 15:16:49 + export PATH=/opt/pyenv/bin:/tmp/venv-QyMT/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 15:16:49 + PATH=/opt/pyenv/bin:/tmp/venv-QyMT/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 15:16:49 ++ pwd 15:16:49 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 15:16:49 + export PYTHONPATH 15:16:49 + export TOX_TESTENV_PASSENV=PYTHONPATH 15:16:49 + TOX_TESTENV_PASSENV=PYTHONPATH 15:16:49 + tox --version 15:16:49 4.12.0 from /tmp/venv-QyMT/lib/python3.10/site-packages/tox/__init__.py 15:16:49 + PARALLEL=False 15:16:49 + TOX_OPTIONS_LIST= 15:16:49 + [[ -n '' ]] 15:16:49 + case ${PARALLEL,,} in 15:16:49 + tox 15:16:49 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 15:16:50 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 15:16:58 code: freeze> python -m pip freeze --all 15:16:58 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 15:16:58 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 15:16:59 ============================= test session starts ============================== 15:16:59 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 15:16:59 cachedir: .tox/code/.pytest_cache 15:16:59 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 15:16:59 plugins: cov-4.1.0 15:16:59 collected 4 items 15:16:59 15:16:59 near-rt-ric-simulator/tests/test_osc_2_1_0.py ...F [100%] 15:17:10 15:17:10 =================================== FAILURES =================================== 15:17:10 _______________________________ test_sendstatus ________________________________ 15:17:10 15:17:10 client = > 15:17:10 15:17:10 def test_sendstatus(client): 15:17:10 # Create a new thread to run the Flask app in parallel on a different port so that we can call the callback. 15:17:10 proc = multiprocessing.Process(target=run_flask_app, args=()) 15:17:10 proc.start() 15:17:10 15:17:10 test_data = get_testdata_dir() + 'pi2.json' 15:17:10 header = { "Content-Type" : "application/json" } 15:17:10 15:17:10 # === Send status for pi2=== 15:17:10 with open(test_data) as json_file: 15:17:10 payload = json.load(json_file) 15:17:10 response = client.post(SERVER_URL+'sendstatus?policyid=pi2', headers=header, data=json.dumps(payload)) 15:17:10 15:17:10 > assert response.status_code == 201 15:17:10 E assert 502 == 201 15:17:10 E + where 502 = .status_code 15:17:10 15:17:10 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py:612: AssertionError 15:17:10 ----------------------------- Captured stdout call ----------------------------- 15:17:10 15:17:10 -----Request----- 15:17:10 Req Headers: User-Agent: werkzeug/2.2.3 15:17:10 Host: localhost:2222 15:17:10 Content-Type: application/json 15:17:10 Content-Length: 79 15:17:10 15:17:10 15:17:10 Req Body: b'{"scope": {"ueId": "ue2", "qosId": "qos2"}, "statement": {"priorityLevel": 10}}' 15:17:10 -----Response----- 15:17:10 Resp Headers: Content-Type: text/plain; charset=utf-8 15:17:10 Content-Length: 92 15:17:10 15:17:10 15:17:10 Resp Body: b'Post status failed with Connection Error, could not send to http://localhost:8086/statustest' 15:17:10 --------------------------- Captured stdout teardown --------------------------- 15:17:10 * Serving Flask app 'var_declaration' 15:17:10 * Debug mode: off 15:17:10 =============================== warnings summary =============================== 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 /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. 15:17:10 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 15:17:10 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 /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. 15:17:10 from jsonschema import Draft4Validator, RefResolver 15:17:10 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 /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. 15:17:10 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 15:17:10 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 15:17:10 /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. 15:17:10 app.json_encoder = FlaskJSONEncoder 15:17:10 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 15:17:10 /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. 15:17:10 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 15:17:10 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 15:17:10 /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. 15:17:10 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 15:17:10 15:17:10 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 15:17:10 15:17:10 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 15:17:10 Name Stmts Miss Cover Missing 15:17:10 --------------------------------------------------------------------------------------------------------- 15:17:10 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 15:17:10 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 15:17:10 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 15:17:10 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 15:17:10 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 15:17:10 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 15:17:10 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 15:17:10 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 15:17:10 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 15:17:10 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 15:17:10 near-rt-ric-simulator/tests/test_osc_2_1_0.py 370 7 98% 613-624 15:17:10 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 15:17:10 --------------------------------------------------------------------------------------------------------- 15:17:10 TOTAL 972 123 87% 15:17:10 Coverage HTML written to dir htmlcov 15:17:10 Coverage XML written to file coverage.xml 15:17:10 15:17:10 Required test coverage of 70% reached. Total coverage: 87.35% 15:17:10 =========================== short test summary info ============================ 15:17:10 FAILED near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus - asser... 15:17:10 ================== 1 failed, 3 passed, 118 warnings in 11.57s ================== 15:30:12 Build timed out (after 15 minutes). Marking the build as failed. 15:30:12 $ ssh-agent -k 15:30:12 unset SSH_AUTH_SOCK; 15:30:12 unset SSH_AGENT_PID; 15:30:12 echo Agent pid 5891 killed; 15:30:12 [ssh-agent] Stopped. 15:30:12 Build was aborted 15:30:12 [PostBuildScript] - [INFO] Executing post build scripts. 15:30:12 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins8972899056841318302.sh 15:30:12 ---> sysstat.sh 15:30:12 code: exit -15 (793.52 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=27745 15:30:12 + tox_status=143 15:30:12 + echo '---> Completed tox runs' 15:30:12 ---> Completed tox runs 15:30:12 + for i in .tox/*/log 15:30:12 ++ echo .tox/code/log 15:30:12 ++ awk -F/ '{print $2}' 15:30:13 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins7423534109759432155.sh 15:30:13 ---> package-listing.sh 15:30:13 ++ tr '[:upper:]' '[:lower:]' 15:30:13 ++ facter osfamily 15:30:13 + OS_FAMILY=debian 15:30:13 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 15:30:13 + START_PACKAGES=/tmp/packages_start.txt 15:30:13 + END_PACKAGES=/tmp/packages_end.txt 15:30:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:30:13 + PACKAGES=/tmp/packages_start.txt 15:30:13 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 15:30:13 + PACKAGES=/tmp/packages_end.txt 15:30:13 + case "${OS_FAMILY}" in 15:30:13 + dpkg -l 15:30:13 + grep '^ii' 15:30:13 + '[' -f /tmp/packages_start.txt ']' 15:30:13 + '[' -f /tmp/packages_end.txt ']' 15:30:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:30:13 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 15:30:13 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 15:30:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 15:30:13 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12339248851529910939.sh 15:30:13 ---> capture-instance-metadata.sh 15:30:13 Setup pyenv: 15:30:13 system 15:30:13 3.8.13 15:30:13 3.9.13 15:30:13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:30:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QIu from file:/tmp/.os_lf_venv 15:30:15 lf-activate-venv(): INFO: Installing: lftools 15:30:29 lf-activate-venv(): INFO: Adding /tmp/venv-6QIu/bin to PATH 15:30:29 INFO: Running in OpenStack, capturing instance metadata 15:30:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2301375024129921695.sh 15:30:30 provisioning config files... 15:30:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config7893044845015960459tmp 15:30:30 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 15:30:30 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 15:30:30 [EnvInject] - Injecting environment variables from a build step. 15:30:30 [EnvInject] - Injecting as environment variables the properties content 15:30:30 SERVER_ID=logs 15:30:30 15:30:30 [EnvInject] - Variables injected successfully. 15:30:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13428847752423245983.sh 15:30:30 ---> create-netrc.sh 15:30:30 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1504099448812535649.sh 15:30:30 ---> python-tools-install.sh 15:30:30 Setup pyenv: 15:30:30 system 15:30:30 3.8.13 15:30:30 3.9.13 15:30:30 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:30:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QIu from file:/tmp/.os_lf_venv 15:30:32 lf-activate-venv(): INFO: Installing: lftools 15:30:43 lf-activate-venv(): INFO: Adding /tmp/venv-6QIu/bin to PATH 15:30:43 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins2988292433935690724.sh 15:30:43 ---> sudo-logs.sh 15:30:43 Archiving 'sudo' log.. 15:30:44 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins3949361852277442814.sh 15:30:44 ---> job-cost.sh 15:30:44 Setup pyenv: 15:30:44 system 15:30:44 3.8.13 15:30:44 3.9.13 15:30:44 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:30:44 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QIu from file:/tmp/.os_lf_venv 15:30:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 15:30:55 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 15:30:55 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 15:30:55 lf-activate-venv(): INFO: Adding /tmp/venv-6QIu/bin to PATH 15:30:55 INFO: No Stack... 15:30:56 INFO: Retrieving Pricing Info for: v2-highcpu-2 15:30:56 INFO: Archiving Costs 15:30:56 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14474434242264267292.sh 15:30:56 ---> logs-deploy.sh 15:30:56 Setup pyenv: 15:30:56 system 15:30:56 3.8.13 15:30:56 3.9.13 15:30:56 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 15:30:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6QIu from file:/tmp/.os_lf_venv 15:30:57 lf-activate-venv(): INFO: Installing: lftools 15:31:10 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. 15:31:10 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 15:31:10 lf-activate-venv(): INFO: Adding /tmp/venv-6QIu/bin to PATH 15:31:10 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/215 15:31:10 INFO: archiving workspace using pattern(s): -p **/*.log 15:31:12 Archives upload complete. 15:31:12 INFO: archiving logs to Nexus 15:31:13 ---> uname -a: 15:31:13 Linux prd-ubuntu1804-builder-2c-2g-3502 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 15:31:13 15:31:13 15:31:13 ---> lscpu: 15:31:13 Architecture: x86_64 15:31:13 CPU op-mode(s): 32-bit, 64-bit 15:31:13 Byte Order: Little Endian 15:31:13 Address sizes: 40 bits physical, 48 bits virtual 15:31:13 CPU(s): 2 15:31:13 On-line CPU(s) list: 0,1 15:31:13 Thread(s) per core: 1 15:31:13 Core(s) per socket: 1 15:31:13 Socket(s): 2 15:31:13 NUMA node(s): 1 15:31:13 Vendor ID: AuthenticAMD 15:31:13 CPU family: 23 15:31:13 Model: 49 15:31:13 Model name: AMD EPYC-Rome Processor 15:31:13 Stepping: 0 15:31:13 CPU MHz: 2800.022 15:31:13 BogoMIPS: 5600.04 15:31:13 Virtualization: AMD-V 15:31:13 Hypervisor vendor: KVM 15:31:13 Virtualization type: full 15:31:13 L1d cache: 64 KiB 15:31:13 L1i cache: 64 KiB 15:31:13 L2 cache: 1 MiB 15:31:13 L3 cache: 32 MiB 15:31:13 NUMA node0 CPU(s): 0,1 15:31:13 Vulnerability Itlb multihit: Not affected 15:31:13 Vulnerability L1tf: Not affected 15:31:13 Vulnerability Mds: Not affected 15:31:13 Vulnerability Meltdown: Not affected 15:31:13 Vulnerability Mmio stale data: Not affected 15:31:13 Vulnerability Retbleed: Vulnerable 15:31:13 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:31:13 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:31:13 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 15:31:13 Vulnerability Srbds: Not affected 15:31:13 Vulnerability Tsx async abort: Not affected 15:31: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 15:31:13 15:31:13 15:31:13 ---> nproc: 15:31:13 2 15:31:13 15:31:13 15:31:13 ---> df -h: 15:31:13 Filesystem Size Used Avail Use% Mounted on 15:31:13 udev 975M 0 975M 0% /dev 15:31:13 tmpfs 199M 1008K 198M 1% /run 15:31:13 /dev/vda1 20G 8.4G 11G 44% / 15:31:13 tmpfs 992M 0 992M 0% /dev/shm 15:31:13 tmpfs 5.0M 0 5.0M 0% /run/lock 15:31:13 tmpfs 992M 0 992M 0% /sys/fs/cgroup 15:31:13 /dev/loop0 62M 62M 0 100% /snap/core20/1405 15:31:13 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 15:31:13 /dev/vda15 105M 6.1M 99M 6% /boot/efi 15:31:13 tmpfs 199M 0 199M 0% /run/user/1001 15:31:13 /dev/loop3 41M 41M 0 100% /snap/snapd/20671 15:31:13 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 15:31:13 15:31:13 15:31:13 ---> free -m: 15:31:13 total used free shared buff/cache available 15:31:13 Mem: 1983 422 141 2 1419 1366 15:31:13 Swap: 1023 0 1023 15:31:13 15:31:13 15:31:13 ---> ip addr: 15:31:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 15:31:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:31:13 inet 127.0.0.1/8 scope host lo 15:31:13 valid_lft forever preferred_lft forever 15:31:13 inet6 ::1/128 scope host 15:31:13 valid_lft forever preferred_lft forever 15:31:13 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 15:31:13 link/ether fa:16:3e:91:e4:31 brd ff:ff:ff:ff:ff:ff 15:31:13 inet 10.32.7.96/23 brd 10.32.7.255 scope global dynamic ens3 15:31:13 valid_lft 85415sec preferred_lft 85415sec 15:31:13 inet6 fe80::f816:3eff:fe91:e431/64 scope link 15:31:13 valid_lft forever preferred_lft forever 15:31:13 15:31:13 15:31:13 ---> sar -b -r -n DEV: 15:31:13 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3502) 01/12/24 _x86_64_ (2 CPU) 15:31:13 15:31:13 15:14:51 LINUX RESTART (2 CPU) 15:31:13 15:31:13 15:15:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:31:13 15:16:01 243.86 151.67 92.19 0.00 5776.98 11223.21 0.00 15:31:13 15:17:01 85.87 5.62 80.25 0.00 256.22 11646.73 0.00 15:31:13 15:18:01 14.76 0.20 14.56 0.00 19.20 3699.38 0.00 15:31:13 15:19:01 0.93 0.00 0.93 0.00 0.00 10.53 0.00 15:31:13 15:20:01 3.87 1.43 2.43 0.00 95.72 83.45 0.00 15:31:13 15:21:01 60.80 21.34 39.45 0.00 4758.28 8634.46 0.00 15:31:13 15:22:01 3.88 0.07 3.82 0.00 0.53 82.65 0.00 15:31:13 15:23:01 1.05 0.00 1.05 0.00 0.00 11.06 0.00 15:31:13 15:24:01 17.46 16.51 0.95 0.00 856.66 18.53 0.00 15:31:13 15:25:01 1.88 0.00 1.88 0.00 0.00 22.80 0.00 15:31:13 15:26:01 1.15 0.00 1.15 0.00 0.00 12.40 0.00 15:31:13 15:27:01 1.00 0.00 1.00 0.00 0.00 16.26 0.00 15:31:13 15:28:01 1.20 0.00 1.20 0.00 0.00 15.06 0.00 15:31:13 15:29:01 0.87 0.00 0.87 0.00 0.00 9.60 0.00 15:31:13 15:30:01 1.27 0.00 1.27 0.00 0.00 16.26 0.00 15:31:13 15:31:01 30.74 7.78 22.96 0.00 664.69 1980.07 0.00 15:31:13 Average: 29.42 12.79 16.62 0.00 776.91 2342.90 0.00 15:31:13 15:31:13 15:15:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:31:13 15:16:01 191508 1431828 369932 18.22 53504 1269868 849028 27.57 446420 1202792 126368 15:31:13 15:17:01 94060 1410488 383432 18.88 67984 1316224 894004 29.03 472172 1252092 105608 15:31:13 15:18:01 83692 1379900 414096 20.39 67616 1296572 935812 30.39 493224 1241172 112 15:31:13 15:19:01 83456 1379636 414332 20.40 67636 1296576 935812 30.39 493456 1241224 124 15:31:13 15:20:01 73480 1375296 418696 20.62 68772 1300444 957836 31.11 495700 1246680 14648 15:31:13 15:21:01 194828 1371392 403840 19.89 91208 1166132 892768 28.99 663948 952512 496 15:31:13 15:22:01 197516 1372484 402572 19.82 89756 1166144 887308 28.82 663992 950932 96 15:31:13 15:23:01 197248 1372272 402776 19.83 89796 1166148 887308 28.82 663904 950936 132 15:31:13 15:24:01 171764 1373752 401664 19.78 90900 1190916 890300 28.91 669908 969116 472 15:31:13 15:25:01 172080 1374116 401288 19.76 90944 1190920 890300 28.91 669868 969120 164 15:31:13 15:26:01 172200 1374280 401100 19.75 90984 1190920 890300 28.91 670192 969120 176 15:31:13 15:27:01 172232 1374372 400992 19.75 91032 1190928 890300 28.91 670544 969128 168 15:31:13 15:28:01 172612 1374772 400552 19.72 91072 1190928 890300 28.91 670796 969128 88 15:31:13 15:29:01 172092 1374304 401036 19.75 91100 1190928 890300 28.91 670656 969128 144 15:31:13 15:30:01 172076 1374340 400920 19.74 91152 1190924 890300 28.91 670968 969132 12 15:31:13 15:31:01 166168 1405460 369728 18.21 95544 1223716 786160 25.53 662564 983776 33732 15:31:13 Average: 155438 1382418 399185 19.66 83062 1221143 891134 28.94 609270 1050374 17659 15:31:13 15:31:13 15:15:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:31:13 15:16:01 ens3 292.32 180.08 1330.44 57.66 0.00 0.00 0.00 0.00 15:31:13 15:16:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 15:31:13 15:17:01 ens3 39.66 38.39 350.55 7.72 0.00 0.00 0.00 0.00 15:31:13 15:17:01 lo 0.93 0.93 0.08 0.08 0.00 0.00 0.00 0.00 15:31:13 15:18:01 ens3 0.40 0.30 0.07 0.17 0.00 0.00 0.00 0.00 15:31:13 15:18:01 lo 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:19:01 ens3 1.40 0.57 4.74 0.22 0.00 0.00 0.00 0.00 15:31:13 15:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:20:01 ens3 45.88 30.09 243.72 2.15 0.00 0.00 0.00 0.00 15:31:13 15:20:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 15:31:13 15:21:01 ens3 293.49 102.38 1838.86 7.62 0.00 0.00 0.00 0.00 15:31:13 15:21:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 15:31:13 15:22:01 ens3 0.80 0.28 0.30 0.20 0.00 0.00 0.00 0.00 15:31:13 15:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:23:01 ens3 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:24:01 ens3 0.17 0.05 0.01 0.00 0.00 0.00 0.00 0.00 15:31:13 15:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:25:01 ens3 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:26:01 ens3 0.95 0.42 0.38 0.27 0.00 0.00 0.00 0.00 15:31:13 15:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:27:01 ens3 0.43 0.10 0.05 0.01 0.00 0.00 0.00 0.00 15:31:13 15:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:28:01 ens3 0.78 0.62 0.41 0.28 0.00 0.00 0.00 0.00 15:31:13 15:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:29:01 ens3 0.53 0.08 0.05 0.01 0.00 0.00 0.00 0.00 15:31:13 15:29:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:31:13 15:30:01 ens3 0.63 0.33 0.35 0.27 0.00 0.00 0.00 0.00 15:31:13 15:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:31:13 15:31:01 ens3 23.30 25.26 42.48 16.10 0.00 0.00 0.00 0.00 15:31:13 15:31:01 lo 1.07 1.07 0.09 0.09 0.00 0.00 0.00 0.00 15:31:13 Average: ens3 43.82 23.70 238.32 5.79 0.00 0.00 0.00 0.00 15:31:13 Average: lo 0.29 0.29 0.02 0.02 0.00 0.00 0.00 0.00 15:31:13 15:31:13 15:31:13 ---> sar -P ALL: 15:31:13 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-3502) 01/12/24 _x86_64_ (2 CPU) 15:31:13 15:31:13 15:14:51 LINUX RESTART (2 CPU) 15:31:13 15:31:13 15:15:01 CPU %user %nice %system %iowait %steal %idle 15:31:13 15:16:01 all 38.68 27.60 19.25 6.84 0.12 7.51 15:31:13 15:16:01 0 40.28 26.99 18.96 6.87 0.12 6.78 15:31:13 15:16:01 1 37.08 28.21 19.54 6.82 0.12 8.23 15:31:13 15:17:01 all 38.61 0.00 2.78 6.44 0.07 52.10 15:31:13 15:17:01 0 23.81 0.00 2.41 10.65 0.07 63.07 15:31:13 15:17:01 1 53.61 0.00 3.16 2.17 0.08 40.98 15:31:13 15:18:01 all 1.66 0.00 0.21 0.70 0.03 97.40 15:31:13 15:18:01 0 2.09 0.00 0.21 1.40 0.02 96.28 15:31:13 15:18:01 1 1.22 0.00 0.20 0.00 0.05 98.53 15:31:13 15:19:01 all 0.37 0.00 0.11 0.01 0.03 99.49 15:31:13 15:19:01 0 0.22 0.00 0.12 0.02 0.03 99.62 15:31:13 15:19:01 1 0.52 0.00 0.10 0.00 0.02 99.36 15:31:13 15:20:01 all 0.60 0.00 0.41 0.17 0.03 98.79 15:31:13 15:20:01 0 0.48 0.00 0.42 0.30 0.02 98.78 15:31:13 15:20:01 1 0.72 0.00 0.40 0.03 0.03 98.81 15:31:13 15:21:01 all 7.22 0.00 4.24 2.94 0.06 85.54 15:31:13 15:21:01 0 7.78 0.00 4.31 3.81 0.05 84.05 15:31:13 15:21:01 1 6.66 0.00 4.18 2.06 0.07 87.03 15:31:13 15:22:01 all 1.02 0.00 0.25 0.07 0.03 98.62 15:31:13 15:22:01 0 1.64 0.00 0.25 0.02 0.03 98.06 15:31:13 15:22:01 1 0.40 0.00 0.25 0.13 0.03 99.18 15:31:13 15:23:01 all 0.19 0.00 0.10 0.03 0.03 99.65 15:31:13 15:23:01 0 0.22 0.00 0.05 0.00 0.03 99.70 15:31:13 15:23:01 1 0.17 0.00 0.15 0.05 0.03 99.60 15:31:13 15:24:01 all 0.82 0.00 0.28 0.71 0.03 98.15 15:31:13 15:24:01 0 1.11 0.00 0.29 0.84 0.03 97.73 15:31:13 15:24:01 1 0.54 0.00 0.28 0.59 0.03 98.56 15:31:13 15:25:01 all 0.80 0.00 0.15 0.02 0.03 98.99 15:31:13 15:25:01 0 0.32 0.00 0.15 0.00 0.03 99.50 15:31:13 15:25:01 1 1.28 0.00 0.15 0.05 0.03 98.49 15:31:13 15:26:01 all 0.65 0.00 0.18 0.02 0.03 99.12 15:31:13 15:26:01 0 0.18 0.00 0.10 0.00 0.02 99.70 15:31:13 15:26:01 1 1.11 0.00 0.27 0.03 0.05 98.54 15:31:13 15:31:13 15:26:01 CPU %user %nice %system %iowait %steal %idle 15:31:13 15:27:01 all 0.19 0.00 0.12 0.03 0.03 99.63 15:31:13 15:27:01 0 0.12 0.00 0.07 0.00 0.03 99.78 15:31:13 15:27:01 1 0.27 0.00 0.17 0.05 0.03 99.48 15:31:13 15:28:01 all 0.91 0.00 0.13 0.02 0.03 98.91 15:31:13 15:28:01 0 0.40 0.00 0.17 0.00 0.03 99.40 15:31:13 15:28:01 1 1.41 0.00 0.10 0.03 0.03 98.42 15:31:13 15:29:01 all 0.35 0.00 0.14 0.03 0.03 99.46 15:31:13 15:29:01 0 0.22 0.00 0.15 0.02 0.02 99.60 15:31:13 15:29:01 1 0.49 0.00 0.13 0.03 0.03 99.31 15:31:13 15:30:01 all 0.33 0.00 0.11 0.03 0.03 99.50 15:31:13 15:30:01 0 0.35 0.00 0.18 0.00 0.05 99.41 15:31:13 15:30:01 1 0.32 0.00 0.03 0.07 0.00 99.58 15:31:13 15:31:01 all 31.03 0.00 1.83 1.82 0.07 65.23 15:31:13 15:31:01 0 33.33 0.00 1.72 1.37 0.07 63.52 15:31:13 15:31:01 1 28.74 0.00 1.95 2.28 0.08 66.95 15:31:13 Average: all 7.71 1.71 1.88 1.24 0.04 87.41 15:31:13 Average: 0 7.03 1.67 1.84 1.59 0.04 87.83 15:31:13 Average: 1 8.40 1.75 1.93 0.90 0.05 86.99 15:31:13 15:31:13 15:31:13