Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-4454 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-Jz6S60rYOuYF/agent.1693 SSH_AGENT_PID=1695 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/private_key_7232655458946164043.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py > git init /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 Commit message: "I release step 2 of 2" > git rev-list --no-walk 7fb94911c4197e6c0c93d20bc2e6e73d9444d14f # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.nodeb-rnib.url # timeout=10 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 > git submodule update --init --recursive nodeb-rnib # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins3570270981446337446.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5M3i lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5M3i/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-5M3i/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.23 botocore==1.34.23 bs4==0.0.2 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.26.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13760521754172015218.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-dS58 + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + 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 + 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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ 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 ++ 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 ++ 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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-dS58 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dS58' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dS58 + echo /tmp/venv-dS58 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-dS58/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-dS58/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-dS58/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-dS58/bin to PATH + PATH=/tmp/venv-dS58/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 + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 23.3.2 from /tmp/venv-dS58/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.12.1 urllib3==1.26.18 virtualenv==20.25.0 [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins7468197329216242587.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + [[ -f rmr-version.yaml ]] ++ xargs ++ cut -d: -f2 ++ grep '^repo:' rmr-version.yaml + repo= ++ grep '^version:' rmr-version.yaml ++ cut -d: -f2 ++ xargs + ver=4.9.4 + [[ -z 4.9.4 ]] + repo=release + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.4_amd64.deb/download.deb 2024-01-23 03:11:35 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486039.deb?Expires=1705979794&Signature=HKJvaMS9gAzZTfFixhtvB5L8MVCMTtB4xfKvtqVD3Yq9BKiOQH9hxk~r6cZILfr9yMCd298B3dXgcPBITxkp5zV6tHqujcOe3mcF-OD6cRw~n1dDjMd~rUYEUCpHWEF~1bwdytS8zqnuRaWOqG9aUCf9uH49KVkgMeryOxSK7qzZT-myh~rsV7dzxyy6IeqiRcIZMNnSLeN1OKjhSlfLoRZdeMJQ7v-KiJoiahzl0oaEJOi0PLZ0QvC-OGWLFyuN-~13PhrAQOXAx~GeuZM2uJT-sTPHCVQUmjj5t0ZKgA-UOxgUrLpBSDjr~jXojPu4oqY7bcTrj690FyXuBP9lhw__&Key-Pair-Id=K1ZMSF1EKC3AZL [246552/246552] -> "rmr_4.9.4_amd64.deb" [1] + sudo dpkg -i rmr_4.9.4_amd64.deb Selecting previously unselected package rmr. (Reading database ... 188029 files and directories currently installed.) Preparing to unpack rmr_4.9.4_amd64.deb ... Unpacking rmr (4.9.4) ... Setting up rmr (4.9.4) ... + rm -f rmr_4.9.4_amd64.deb + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.4_amd64.deb/download.deb 2024-01-23 03:11:37 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4486035.deb?Expires=1705979797&Signature=pPbpXwqROyqJ8qEQpFh4yiqtkz~cGQcE~PS1sdLFUoFPEAQsxfx2ZvUpbXNATI5JtUnjhONlUjB-ogHfNvA7klNYpHYb~DZdCB-KMf7YLRc9iu8nh2-yJyT46Yp4ybposx8T6lK6t6TbKng1-Gzn1DLiIN1pj59OtyxeYejQBWTNMLkMQefene5YA40D47BsQ3sQ~~TSgLE437Ze88gH-Nev1czdMmUSGU1HqN~WQaW6JE77TVYUT6b7OVJ0x06VzZWeCTQDQrWGeTHk~y~tcsV2rd58IJ~sDHg4wIK0FNR67sC7sDUfUrL1fmMEGumpgk9Fu4~5WuVqCn8hCp86Xg__&Key-Pair-Id=K1ZMSF1EKC3AZL [128860/128860] -> "rmr-dev_4.9.4_amd64.deb" [1] + sudo dpkg -i rmr-dev_4.9.4_amd64.deb Selecting previously unselected package rmr-dev. (Reading database ... 188037 files and directories currently installed.) Preparing to unpack rmr-dev_4.9.4_amd64.deb ... Unpacking rmr-dev (4.9.4) ... Setting up rmr-dev (4.9.4) ... + rm -f rmr-dev_4.9.4_amd64.deb + echo '---> install-deb-rmr.sh ends' ---> install-deb-rmr.sh ends + echo '---> install-deb-e2ap.sh' ---> install-deb-e2ap.sh + set -eux + version_file=e2ap-version.yaml + [[ -f e2ap-version.yaml ]] ++ grep '^repo:' e2ap-version.yaml ++ cut -d: -f2 ++ xargs + repo= ++ grep '^version:' e2ap-version.yaml ++ cut -d: -f2 ++ xargs + ver=1.1.0 + [[ -z 1.1.0 ]] + repo=release + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 2024-01-23 03:11:38 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1705979797&Signature=iPL-~hL7MB1hMRLflz0~yRgx2Q4qWL-E~yNA5wLcz4V9atKW9frRRdQkLB7UwiwL0ied8lgOJYcc9tcP1wR9ZE-WtTh3PSTf59kGZZn40jOmtK-qnb7uphJWglf7yTzbSSQrxGjERcAaMVNyadosx9HWWg9gFcatcuRQcunna1NudDrN6CFKEnf-4pUyIT9gtdFBa0IEHdqVS6uo1WTFpsb~o8Ho50ren5qcYPpav5cqRxpr7yEiCkqQL2xFDHBocY9fvGLSsJjaq0p6wxszZni5FVssmJOXA~f2~bbLAj7~mKHp3OUaye3NvDU2Y5Ss4pxyMgJp86VpvoEFkz-XWA__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb Selecting previously unselected package riclibe2ap. (Reading database ... 188044 files and directories currently installed.) Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... Unpacking riclibe2ap (1.1.0) ... Setting up riclibe2ap (1.1.0) ... + rm -f riclibe2ap_1.1.0_amd64.deb + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_1.1.0_amd64.deb/download.deb 2024-01-23 03:11:38 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1705979798&Signature=xdDnsfmXHPGVsaQsS4MuEdelBIftQO3rDy0ez7S-xUh0Q2FYHDAvvE5rJKc3AJBpVtJNJvg-1ND8kZJP-8E2CwoSdMBtiKt5LNPx1Fq7Kpf23fsxSheNORVxUZYo2sWBV30OyO745S3Jk~FVRX-fRFoXyWuCzbyXYysqxXzOJ54l87Kd9QJCUBcMcL2Yi8aWVLGyHmbbK0SyNzNK3xmyv3F0xC3r1rJvGsH8IJ4G7ePgUCFAK9kGYjRVc6OU3JIyyT2JPlqTjSDyJrH1W1t2BTpsY~ObgNaSfmF8z0FrFgUtRYDDA2JXXXblHZdHVPRlFn~y~K3DER3gFybsT5jv-g__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb Selecting previously unselected package riclibe2ap-dev. (Reading database ... 188047 files and directories currently installed.) Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... Unpacking riclibe2ap-dev (1.1.0) ... Setting up riclibe2ap-dev (1.1.0) ... + rm -f riclibe2ap-dev_1.1.0_amd64.deb + echo '---> install-deb-e2ap.sh ends' ---> install-deb-e2ap.sh ends [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins900587845549058802.sh ---> tox-run.sh + PATH=/home/jenkins/.local/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 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/docs + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox + cd /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-lVXR + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/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 + PATH=/opt/pyenv/bin:/home/jenkins/.local/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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/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 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-dS58 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-dS58 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-dS58 from file:/tmp/.toxenv + /tmp/venv-dS58/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-dS58/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-dS58/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-dS58/bin to PATH + PATH=/tmp/venv-dS58/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-dS58/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 + PATH=/opt/pyenv/bin:/tmp/venv-dS58/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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 ++ pwd + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.12.1 from /tmp/venv-dS58/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code,flake8 ]] + TOX_OPTIONS_LIST=' -e code,flake8' + case ${PARALLEL,,} in + tee -a /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/tox.log + tox -e code,flake8 code: install_deps> python -I -m pip install coverage pytest pytest-cov six .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install inotify inotify-simple mdclogpy msgpack 'protobuf<3.21.0' requests 'ricsdl<4.0.0,>=3.0.0' code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.4.0,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,iniconfig==2.0.0,inotify==0.2.10,inotify-simple==1.3.5,mdclogpy==1.1.4,msgpack==1.0.7,nose==1.3.7,packaging==23.2,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.4,pytest-cov==4.1.0,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe @ file:///w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.tox/.tmp/package/1/ricxappframe-3.2.3.tar.gz#sha256=0ac50f513bb5a22c5ce5acc68e15f09c332d33342eb988a4b3b4cedd46b8e8c0,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 code: commands[0]> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube plugins: cov-4.1.0 collected 75 items tests/test_Logger.py .............. [ 18%] tests/test_alarm.py .. [ 21%] tests/test_config.py ... [ 25%] tests/test_e2ap.py ........ [ 36%] tests/test_init.py ... [ 40%] tests/test_metric.py .. [ 42%] tests/test_rest.py . [ 44%] tests/test_rmr.py 1705979608594 3045/RMR [INFO] sends: ts=1705979608 src=prd-ubuntu1804-builder-2c-2g-4454:3564 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) ............. [ 61%] tests/test_rmr_mocks.py ... [ 65%] tests/test_rmrclib.py .. [ 68%] tests/test_sdl.py ..... [ 74%] tests/test_subscribe.py .... [ 80%] tests/test_symptomdata.py .... [ 85%] tests/test_xapps.py ........... [100%] ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ----------------------------------------------------------------------- ricxappframe/__init__.py 0 0 100% ricxappframe/alarm/__init__.py 0 0 100% ricxappframe/alarm/alarm.py 94 2 98% 250-251 ricxappframe/alarm/exceptions.py 2 0 100% ricxappframe/constants.py 5 0 100% ricxappframe/e2ap/__init__.py 0 0 100% ricxappframe/e2ap/asn1.py 224 0 100% ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% ricxappframe/e2ap/asn1clib/types.py 16 0 100% ricxappframe/logger/__init__.py 0 0 100% ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 ricxappframe/metric/__init__.py 0 0 100% ricxappframe/metric/exceptions.py 2 0 100% ricxappframe/metric/metric.py 58 3 95% 122, 201-202 ricxappframe/rmr/__init__.py 0 0 100% ricxappframe/rmr/exceptions.py 4 0 100% ricxappframe/rmr/helpers.py 28 0 100% ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 ricxappframe/util/__init__.py 0 0 100% ricxappframe/util/constants.py 11 0 100% ricxappframe/xapp_frame.py 301 45 85% 146-151, 173-174, 176-177, 181-183, 187-195, 222-236, 249-251, 256-257, 270-271, 273, 304-306, 335-336, 366-367, 680-681, 769, 813, 980 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 ricxappframe/xapp_rmr.py 40 0 100% ricxappframe/xapp_sdl.py 94 1 99% 53 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 ----------------------------------------------------------------------- TOTAL 1550 118 92% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 92.39% ======================== 75 passed in 275.84s (0:04:35) ======================== code: commands[1]> coverage xml -i Wrote XML report to coverage.xml .pkg: _exit> python /tmp/venv-dS58/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: OK ✔ in 4 minutes 57.31 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==7.0.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.0.2,wheel==0.42.0 flake8: commands[0]> flake8 setup.py ricxappframe tests code: OK (297.31=setup[16.77]+cmd[280.24,0.31] seconds) flake8: OK (4.20=setup[3.37]+cmd[0.83] seconds) congratulations :) (301.68 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/code + for i in .tox/*/log ++ echo .tox/flake8/log ++ awk -F/ '{print $2}' + tox_env=flake8 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-4454 [ric-plt-xapp-frame-py-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-plt-xapp-frame-py -Dsonar.projectName=ric-plt-xapp-frame-py -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ricxappframe -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.exclusions=setup.py,tests/*.py -Dsonar.projectBaseDir=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube Could not find 'java' executable in JAVA_HOME or PATH. WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1695 killed; [ssh-agent] Stopped. ERROR: SonarQube scanner exited with non-zero code: 1 [PostBuildScript] - [INFO] Executing post build scripts. [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins11067607664029173064.sh ---> sysstat.sh [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins10852519724493929510.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + true + '[' /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube ']' + mkdir -p /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/archives/ [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins5050332922441220761.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5M3i from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5M3i/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins4923472566300848819.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-tox-sonarqube@tmp/config14642670561487700153tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins17486667702944920376.sh ---> create-netrc.sh [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins1055378388733009561.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5M3i from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-5M3i/bin to PATH [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins18084142640061678223.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash /tmp/jenkins16817428377353580137.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5M3i from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-5M3i/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [ric-plt-xapp-frame-py-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11049694891902903144.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-5M3i from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-5M3i/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-tox-sonarqube/204 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-4454 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.870 BogoMIPS: 5599.74 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 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 xtopology 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 arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 984M 0 984M 0% /dev tmpfs 200M 668K 199M 1% /run /dev/vda1 20G 7.3G 12G 38% / tmpfs 997M 0 997M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 997M 0 997M 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 200M 0 200M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1992 335 141 0 1515 1483 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:5e:a8:06 brd ff:ff:ff:ff:ff:ff inet 10.32.7.232/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85915sec preferred_lft 85915sec inet6 fe80::f816:3eff:fe5e:a806/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4454) 01/23/24 _x86_64_ (2 CPU) 03:09:46 LINUX RESTART (2 CPU) 03:10:01 tps rtps wtps bread/s bwrtn/s 03:11:01 115.57 58.49 57.08 2548.97 9253.43 03:12:01 150.50 64.05 86.45 2725.09 13649.18 03:13:01 9.47 0.23 9.23 20.93 1433.09 03:14:01 1.65 0.02 1.63 0.93 24.80 03:15:01 1.10 0.00 1.10 0.00 16.26 03:16:01 1.75 0.00 1.75 0.00 23.86 03:17:01 33.22 22.29 10.93 917.56 539.42 Average: 44.76 20.73 24.03 887.80 3563.44 03:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:11:01 132976 1557436 1907656 93.48 48184 1465540 515244 16.68 395156 1369316 130944 03:12:01 96940 1506772 1943692 95.25 64304 1431536 661148 21.40 509332 1283516 40204 03:13:01 93752 1504448 1946880 95.41 64376 1432276 801808 25.96 512528 1283440 100 03:14:01 87024 1497828 1953608 95.74 64444 1432296 1147992 37.16 518812 1283312 136 03:15:01 84632 1495500 1956000 95.85 64512 1432292 1255144 40.63 521020 1283296 76 03:16:01 82932 1493872 1957700 95.94 64564 1432312 1329476 43.04 522512 1283280 184 03:17:01 87064 1475832 1953568 95.73 66328 1409984 600844 19.45 527992 1278156 42808 Average: 95046 1504527 1945586 95.34 62387 1433748 901665 29.19 501050 1294902 30636 03:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:11:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 03:11:01 ens3 181.46 126.17 1120.29 43.30 0.00 0.00 0.00 0.00 03:12:01 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 03:12:01 ens3 40.44 37.90 256.61 10.66 0.00 0.00 0.00 0.00 03:13:01 lo 2.53 2.53 0.20 0.20 0.00 0.00 0.00 0.00 03:13:01 ens3 0.87 0.82 0.12 0.11 0.00 0.00 0.00 0.00 03:14:01 lo 12.80 12.80 1.02 1.02 0.00 0.00 0.00 0.00 03:14:01 ens3 1.63 1.65 0.26 0.27 0.00 0.00 0.00 0.00 03:15:01 lo 18.20 18.20 0.95 0.95 0.00 0.00 0.00 0.00 03:15:01 ens3 0.82 0.80 0.16 0.12 0.00 0.00 0.00 0.00 03:16:01 lo 18.33 18.33 0.96 0.96 0.00 0.00 0.00 0.00 03:16:01 ens3 0.75 0.77 0.09 0.12 0.00 0.00 0.00 0.00 03:17:01 lo 12.13 12.13 0.64 0.64 0.00 0.00 0.00 0.00 03:17:01 ens3 17.41 12.85 24.21 7.51 0.00 0.00 0.00 0.00 Average: lo 9.55 9.55 0.58 0.58 0.00 0.00 0.00 0.00 Average: ens3 34.78 25.86 200.31 8.87 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4454) 01/23/24 _x86_64_ (2 CPU) 03:09:46 LINUX RESTART (2 CPU) 03:10:01 CPU %user %nice %system %iowait %steal %idle 03:11:01 all 39.76 0.00 2.88 5.68 0.09 51.58 03:11:01 0 40.58 0.00 3.00 8.72 0.10 47.60 03:11:01 1 38.91 0.00 2.75 2.67 0.08 55.58 03:12:01 all 36.48 0.00 3.07 7.30 0.09 53.05 03:12:01 0 27.89 0.00 2.58 5.45 0.08 64.00 03:12:01 1 45.07 0.00 3.56 9.13 0.10 42.13 03:13:01 all 0.30 0.00 0.23 0.14 0.04 99.29 03:13:01 0 0.30 0.00 0.29 0.00 0.07 99.35 03:13:01 1 0.30 0.00 0.17 0.28 0.03 99.21 03:14:01 all 0.43 0.00 0.27 0.03 0.05 99.22 03:14:01 0 0.39 0.00 0.39 0.00 0.05 99.18 03:14:01 1 0.47 0.00 0.13 0.07 0.03 99.30 03:15:01 all 0.48 0.00 0.28 0.03 0.05 99.17 03:15:01 0 0.67 0.00 0.30 0.00 0.05 98.98 03:15:01 1 0.28 0.00 0.27 0.05 0.05 99.35 03:16:01 all 0.90 0.00 0.32 0.04 0.05 98.69 03:16:01 0 1.30 0.00 0.37 0.07 0.07 98.20 03:16:01 1 0.48 0.00 0.27 0.02 0.05 99.18 03:17:01 all 14.54 0.00 0.91 1.37 0.06 83.12 03:17:01 0 14.31 0.00 0.92 1.34 0.05 83.37 03:17:01 1 14.78 0.00 0.90 1.40 0.07 82.85 Average: all 13.27 0.00 1.14 2.08 0.06 83.45 Average: 0 12.20 0.00 1.12 2.23 0.07 84.38 Average: 1 14.33 0.00 1.15 1.95 0.06 82.51