00:34:14 Started by timer 00:34:14 Running as SYSTEM 00:34:14 [EnvInject] - Loading node environment variables. 00:34:14 Building remotely on prd-ubuntu1804-builder-2c-2g-4245 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:34:14 [ssh-agent] Looking for ssh-agent implementation... 00:34:14 $ ssh-agent 00:34:14 SSH_AUTH_SOCK=/tmp/ssh-Kw76lvVN0MzS/agent.1600 00:34:14 SSH_AGENT_PID=1602 00:34:14 [ssh-agent] Started. 00:34:14 Running ssh-add (command line suppressed) 00:34:14 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_17790892622809975427.key (jenkins-ssh) 00:34:15 [ssh-agent] Using credentials jenkins (jenkins) 00:34:15 The recommended git tool is: NONE 00:34:18 using credential jenkins 00:34:18 Wiping out workspace first. 00:34:18 Cloning the remote Git repository 00:34:18 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:18 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:18 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:18 > git --version # timeout=10 00:34:18 > git --version # 'git version 2.17.1' 00:34:18 using GIT_SSH to set credentials jenkins 00:34:18 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:20 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:21 Avoid second fetch 00:34:21 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:21 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:34:21 > git config core.sparsecheckout # timeout=10 00:34:21 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:21 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:34:21 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:34:25 provisioning config files... 00:34:25 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:25 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:25 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8463332971146904767.sh 00:34:25 ---> python-tools-install.sh 00:34:25 Setup pyenv: 00:34:25 * system (set by /opt/pyenv/version) 00:34:25 * 3.8.13 (set by /opt/pyenv/version) 00:34:25 * 3.9.13 (set by /opt/pyenv/version) 00:34:25 * 3.10.6 (set by /opt/pyenv/version) 00:34:34 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZhoK 00:34:34 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:34 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:34:34 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:34:42 lf-activate-venv(): INFO: Base packages installed successfully 00:34:42 lf-activate-venv(): INFO: Installing additional packages: lftools 00:35:26 lf-activate-venv(): INFO: Adding /tmp/venv-ZhoK/bin to PATH 00:35:26 Generating Requirements File 00:36:02 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. 00:36:02 httplib2 0.31.0 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 00:36:03 Python 3.10.6 00:36:03 pip 25.2 from /tmp/venv-ZhoK/lib/python3.10/site-packages/pip (python 3.10) 00:36:04 appdirs==1.4.4 00:36:04 argcomplete==3.6.2 00:36:04 aspy.yaml==1.3.0 00:36:04 attrs==25.3.0 00:36:04 autopage==0.5.2 00:36:04 beautifulsoup4==4.13.5 00:36:04 boto3==1.40.35 00:36:04 botocore==1.40.35 00:36:04 bs4==0.0.2 00:36:04 cachetools==5.5.2 00:36:04 certifi==2025.8.3 00:36:04 cffi==2.0.0 00:36:04 cfgv==3.4.0 00:36:04 chardet==5.2.0 00:36:04 charset-normalizer==3.4.3 00:36:04 click==8.3.0 00:36:04 cliff==4.11.0 00:36:04 cmd2==2.7.0 00:36:04 cryptography==3.3.2 00:36:04 debtcollector==3.0.0 00:36:04 decorator==5.2.1 00:36:04 defusedxml==0.7.1 00:36:04 Deprecated==1.2.18 00:36:04 distlib==0.4.0 00:36:04 dnspython==2.8.0 00:36:04 docker==7.1.0 00:36:04 dogpile.cache==1.4.1 00:36:04 durationpy==0.10 00:36:04 email-validator==2.3.0 00:36:04 filelock==3.19.1 00:36:04 future==1.0.0 00:36:04 gitdb==4.0.12 00:36:04 GitPython==3.1.45 00:36:04 google-auth==2.40.3 00:36:04 httplib2==0.31.0 00:36:04 identify==2.6.14 00:36:04 idna==3.10 00:36:04 importlib-resources==1.5.0 00:36:04 iso8601==2.1.0 00:36:04 Jinja2==3.1.6 00:36:04 jmespath==1.0.1 00:36:04 jsonpatch==1.33 00:36:04 jsonpointer==3.0.0 00:36:04 jsonschema==4.25.1 00:36:04 jsonschema-specifications==2025.9.1 00:36:04 keystoneauth1==5.12.0 00:36:04 kubernetes==33.1.0 00:36:04 lftools==0.37.13 00:36:04 lxml==6.0.1 00:36:04 markdown-it-py==4.0.0 00:36:04 MarkupSafe==3.0.2 00:36:04 mdurl==0.1.2 00:36:04 msgpack==1.1.1 00:36:04 multi_key_dict==2.0.3 00:36:04 munch==4.0.0 00:36:04 netaddr==1.3.0 00:36:04 niet==1.4.2 00:36:04 nodeenv==1.9.1 00:36:04 oauth2client==4.1.3 00:36:04 oauthlib==3.3.1 00:36:04 openstacksdk==4.7.1 00:36:04 os-service-types==1.8.0 00:36:04 osc-lib==4.2.0 00:36:04 oslo.config==10.0.0 00:36:04 oslo.context==6.1.0 00:36:04 oslo.i18n==6.6.0 00:36:04 oslo.log==7.2.1 00:36:04 oslo.serialization==5.8.0 00:36:04 oslo.utils==9.1.0 00:36:04 packaging==25.0 00:36:04 pbr==7.0.1 00:36:04 platformdirs==4.4.0 00:36:04 prettytable==3.16.0 00:36:04 psutil==7.1.0 00:36:04 pyasn1==0.6.1 00:36:04 pyasn1_modules==0.4.2 00:36:04 pycparser==2.23 00:36:04 pygerrit2==2.0.15 00:36:04 PyGithub==2.8.1 00:36:04 Pygments==2.19.2 00:36:04 PyJWT==2.10.1 00:36:04 PyNaCl==1.6.0 00:36:04 pyparsing==2.4.7 00:36:04 pyperclip==1.10.0 00:36:04 pyrsistent==0.20.0 00:36:04 python-cinderclient==9.8.0 00:36:04 python-dateutil==2.9.0.post0 00:36:04 python-heatclient==4.3.0 00:36:04 python-jenkins==1.8.3 00:36:04 python-keystoneclient==5.7.0 00:36:04 python-magnumclient==4.9.0 00:36:04 python-openstackclient==8.2.0 00:36:04 python-swiftclient==4.8.0 00:36:04 PyYAML==6.0.2 00:36:04 referencing==0.36.2 00:36:04 requests==2.32.5 00:36:04 requests-oauthlib==2.0.0 00:36:04 requestsexceptions==1.4.0 00:36:04 rfc3986==2.0.0 00:36:04 rich==14.1.0 00:36:04 rich-argparse==1.7.1 00:36:04 rpds-py==0.27.1 00:36:04 rsa==4.9.1 00:36:04 ruamel.yaml==0.18.15 00:36:04 ruamel.yaml.clib==0.2.12 00:36:04 s3transfer==0.14.0 00:36:04 simplejson==3.20.1 00:36:04 six==1.17.0 00:36:04 smmap==5.0.2 00:36:04 soupsieve==2.8 00:36:04 stevedore==5.5.0 00:36:04 tabulate==0.9.0 00:36:04 toml==0.10.2 00:36:04 tomlkit==0.13.3 00:36:04 tqdm==4.67.1 00:36:04 typing_extensions==4.15.0 00:36:04 tzdata==2025.2 00:36:04 urllib3==1.26.20 00:36:04 virtualenv==20.34.0 00:36:04 wcwidth==0.2.13 00:36:04 websocket-client==1.8.0 00:36:04 wrapt==1.17.3 00:36:04 xdg==6.0.0 00:36:04 xmltodict==1.0.2 00:36:04 yq==3.4.3 00:36:04 [EnvInject] - Injecting environment variables from a build step. 00:36:04 [EnvInject] - Injecting as environment variables the properties content 00:36:04 SET_JDK_VERSION=openjdk17 00:36:04 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:36:04 00:36:04 [EnvInject] - Variables injected successfully. 00:36:04 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins8621060288842013210.sh 00:36:04 ---> update-java-alternatives.sh 00:36:04 ---> Updating Java version 00:36:04 ---> Ubuntu/Debian system detected 00:36:04 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:36:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:36:05 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:36:05 openjdk version "17.0.7" 2023-04-18 00:36:05 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:36:05 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:36:05 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:36:05 [EnvInject] - Injecting environment variables from a build step. 00:36:05 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:36:05 [EnvInject] - Variables injected successfully. 00:36:05 [EnvInject] - Injecting environment variables from a build step. 00:36:05 [EnvInject] - Injecting as environment variables the properties content 00:36:05 PYTHON=python3 00:36:05 00:36:05 [EnvInject] - Variables injected successfully. 00:36:05 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5182828491526807904.sh 00:36:05 ---> tox-install.sh 00:36:05 + source /home/jenkins/lf-env.sh 00:36:05 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:36:05 ++ mktemp -d /tmp/venv-XXXX 00:36:05 + lf_venv=/tmp/venv-4aCD 00:36:05 + local venv_file=/tmp/.os_lf_venv 00:36:05 + local python=python3 00:36:05 + local options 00:36:05 + local set_path=true 00:36:05 + local install_args= 00:36:05 ++ 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 00:36:05 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:36:05 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:36:05 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:36:05 + true 00:36:05 + case $1 in 00:36:05 + venv_file=/tmp/.toxenv 00:36:05 + shift 2 00:36:05 + true 00:36:05 + case $1 in 00:36:05 + shift 00:36:05 + break 00:36:05 + case $python in 00:36:05 + local pkg_list= 00:36:05 + [[ -d /opt/pyenv ]] 00:36:05 + echo 'Setup pyenv:' 00:36:05 Setup pyenv: 00:36:05 + export PYENV_ROOT=/opt/pyenv 00:36:05 + PYENV_ROOT=/opt/pyenv 00:36:05 + 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 00:36:05 + 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 00:36:05 + pyenv versions 00:36:05 system 00:36:05 3.8.13 00:36:05 3.9.13 00:36:05 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:36:05 + command -v pyenv 00:36:05 ++ pyenv init - --no-rehash 00:36:05 + 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[*]}"'\'')" 00:36:05 export PATH="/opt/pyenv/shims:${PATH}" 00:36:05 export PYENV_SHELL=bash 00:36:05 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:36:05 pyenv() { 00:36:05 local command 00:36:05 command="${1:-}" 00:36:05 if [ "$#" -gt 0 ]; then 00:36:05 shift 00:36:05 fi 00:36:05 00:36:05 case "$command" in 00:36:05 rehash|shell) 00:36:05 eval "$(pyenv "sh-$command" "$@")" 00:36:05 ;; 00:36:05 *) 00:36:05 command pyenv "$command" "$@" 00:36:05 ;; 00:36:05 esac 00:36:05 }' 00:36:05 +++ 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[*]}"' 00:36:05 ++ 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 00:36:05 ++ 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 00:36:05 ++ 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 00:36:05 ++ export PYENV_SHELL=bash 00:36:05 ++ PYENV_SHELL=bash 00:36:05 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:36:05 +++ complete -F _pyenv pyenv 00:36:05 ++ lf-pyver python3 00:36:05 ++ local py_version_xy=python3 00:36:05 ++ local py_version_xyz= 00:36:05 ++ grep -E '^[0-9.]*[0-9]$' 00:36:05 ++ awk '{ print $1 }' 00:36:05 ++ pyenv versions 00:36:05 ++ local command 00:36:05 ++ command=versions 00:36:05 ++ '[' 1 -gt 0 ']' 00:36:05 ++ sed 's/^[ *]* //' 00:36:05 ++ shift 00:36:05 ++ case "$command" in 00:36:05 ++ command pyenv versions 00:36:05 ++ pyenv versions 00:36:05 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:36:05 +++ grep '^3' /tmp/.pyenv_versions 00:36:05 +++ tail -n 1 00:36:05 +++ sort -V 00:36:05 ++ py_version_xyz=3.10.6 00:36:05 ++ [[ -z 3.10.6 ]] 00:36:05 ++ echo 3.10.6 00:36:05 ++ return 0 00:36:05 + pyenv local 3.10.6 00:36:05 + local command 00:36:05 + command=local 00:36:05 + '[' 2 -gt 0 ']' 00:36:05 + shift 00:36:05 + case "$command" in 00:36:05 + command pyenv local 3.10.6 00:36:05 + pyenv local 3.10.6 00:36:05 + for arg in "$@" 00:36:05 + case $arg in 00:36:05 + pkg_list+='tox ' 00:36:05 + for arg in "$@" 00:36:05 + case $arg in 00:36:05 + pkg_list+='virtualenv ' 00:36:05 + for arg in "$@" 00:36:05 + case $arg in 00:36:05 + pkg_list+='urllib3~=1.26.15 ' 00:36:05 + [[ -f /tmp/.toxenv ]] 00:36:05 + [[ ! -f /tmp/.toxenv ]] 00:36:05 + [[ -n '' ]] 00:36:05 + python3 -m venv /tmp/venv-4aCD 00:36:12 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4aCD' 00:36:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4aCD 00:36:12 + echo /tmp/venv-4aCD 00:36:12 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:36:12 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:36:12 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:36:12 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:36:12 + local 'pip_opts=--upgrade --quiet' 00:36:12 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:36:12 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:36:12 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:36:12 + [[ -n '' ]] 00:36:12 + [[ -n '' ]] 00:36:12 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 00:36:12 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:36:12 + /tmp/venv-4aCD/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:36:20 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 00:36:20 lf-activate-venv(): INFO: Base packages installed successfully 00:36:20 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:36:20 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:36:20 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:36:20 + /tmp/venv-4aCD/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:36:23 + type python3 00:36:23 + true 00:36:23 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4aCD/bin to PATH' 00:36:23 lf-activate-venv(): INFO: Adding /tmp/venv-4aCD/bin to PATH 00:36:23 + PATH=/tmp/venv-4aCD/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 00:36:23 + return 0 00:36:23 + python3 --version 00:36:23 Python 3.10.6 00:36:23 + python3 -m pip --version 00:36:24 pip 25.2 from /tmp/venv-4aCD/lib/python3.10/site-packages/pip (python 3.10) 00:36:24 + python3 -m pip freeze 00:36:24 cachetools==6.2.0 00:36:24 chardet==5.2.0 00:36:24 colorama==0.4.6 00:36:24 distlib==0.4.0 00:36:24 filelock==3.19.1 00:36:24 packaging==25.0 00:36:24 platformdirs==4.4.0 00:36:24 pluggy==1.6.0 00:36:24 pyproject-api==1.9.1 00:36:24 tomli==2.2.1 00:36:24 tox==4.30.2 00:36:24 typing_extensions==4.15.0 00:36:24 urllib3==1.26.20 00:36:24 virtualenv==20.34.0 00:36:24 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8390899905764271814.sh 00:36:24 ---> install-deb-rmr.sh 00:36:24 + version_file=rmr-version.yaml 00:36:24 + '[' -f rmr-version.yaml ']' 00:36:24 ++ cut -d: -f2 00:36:24 ++ grep '^repo:' rmr-version.yaml 00:36:24 ++ xargs 00:36:24 + repo= 00:36:24 ++ grep '^version:' rmr-version.yaml 00:36:24 ++ cut -d: -f2 00:36:24 ++ xargs 00:36:24 + ver=4.9.0 00:36:24 + '[' -z 4.9.0 ']' 00:36:24 + repo=release 00:36:24 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:36:24 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:36:24 2025-09-21 00:36:24 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1758415884&Signature=dLIznhm8Jtvd0VlKFqLdgotZNXs9r1IYrqOrd0C3122TL1ypDQ1aTeLrMLgaNA8EQ1vmF5Y9gFxg4GBNxE9~I6-ESl4PIJuPbrmmgu8-Z6~31nq8~LTHiPVh5oCQNv0JY5Pf5szqggV4DROJ58tupNNYsxu-NNuAiVby4MhiI4SxEnI3C3MORCqVEOiJWebReTsJxkBluyxprBouPXnVYW7X1zKufwTwdIt8-YZKxLYG18f9T9jzOoBLN2uZ0U79Jvd9srD1wf4H-mwKpYYMn4puwsuEHAxrLAOzzy-km1V2kVGzkwmyIfO6X8J2-iisT4kci-pQYn7R5rgjF6CFhg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:36:24 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:36:25 Selecting previously unselected package rmr. 00:36:26 (Reading database ... 188029 files and directories currently installed.) 00:36:26 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:36:26 Unpacking rmr (4.9.0) ... 00:36:27 Setting up rmr (4.9.0) ... 00:36:27 + rm -f rmr_4.9.0_amd64.deb 00:36:27 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:36:27 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 00:36:27 2025-09-21 00:36:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1758415887&Signature=iblooLe35dIPZcBluVxve8rdAajdhznCIRzAIu-3vPG1Ay~Ug7DZF9vXtaFPjuh2tLRaVoOakw~~-im92sM4wkZJNWozfsmzjFoKUWxYjk2~BskWQ5Otwj3jBypZiC4~2A3KBl7jtdld53JPeFla0IUjN0JUVyqe2a71eIA3mIzTuMZyXDDsT3mKYlbrVHamMzPu3oLWvjPnIbnjZpz2iWiBmcupUAM~EUyKoYA7Bk03ZWJ4RHLDQxc-1KSJlcUgjbxlRJIdqVcW8sMrsPQfZ1KrqoSFwHomiPVGQ5TYLgLlN3MTewfpTuU-YVvm9wpjHdjnkX8mn0VOMM6JJR67gQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:36:27 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:36:27 Selecting previously unselected package rmr-dev. 00:36:27 (Reading database ... 188037 files and directories currently installed.) 00:36:27 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:36:27 Unpacking rmr-dev (4.9.0) ... 00:36:27 Setting up rmr-dev (4.9.0) ... 00:36:27 + rm -f rmr-dev_4.9.0_amd64.deb 00:36:27 + echo '---> install-deb-rmr.sh ends' 00:36:27 ---> install-deb-rmr.sh ends 00:36:27 [EnvInject] - Injecting environment variables from a build step. 00:36:27 [EnvInject] - Injecting as environment variables the properties content 00:36:27 PARALLEL=False 00:36:27 00:36:27 [EnvInject] - Variables injected successfully. 00:36:27 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6301303194207228524.sh 00:36:27 ---> tox-run.sh 00:36:27 + 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 00:36:27 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:36:27 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:36:27 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:36:27 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:36:27 + source /home/jenkins/lf-env.sh 00:36:27 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:36:27 ++ mktemp -d /tmp/venv-XXXX 00:36:27 + lf_venv=/tmp/venv-xN3l 00:36:27 + local venv_file=/tmp/.os_lf_venv 00:36:27 + local python=python3 00:36:27 + local options 00:36:27 + local set_path=true 00:36:27 + local install_args= 00:36:27 ++ 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 00:36:27 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:36:27 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:36:27 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:36:27 + true 00:36:27 + case $1 in 00:36:27 + venv_file=/tmp/.toxenv 00:36:27 + shift 2 00:36:27 + true 00:36:27 + case $1 in 00:36:27 + shift 00:36:27 + break 00:36:27 + case $python in 00:36:27 + local pkg_list= 00:36:27 + [[ -d /opt/pyenv ]] 00:36:27 + echo 'Setup pyenv:' 00:36:27 Setup pyenv: 00:36:27 + export PYENV_ROOT=/opt/pyenv 00:36:27 + PYENV_ROOT=/opt/pyenv 00:36:27 + 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 00:36:27 + 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 00:36:27 + pyenv versions 00:36:27 system 00:36:27 3.8.13 00:36:27 3.9.13 00:36:27 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:36:27 + command -v pyenv 00:36:27 ++ pyenv init - --no-rehash 00:36:27 + 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[*]}"'\'')" 00:36:27 export PATH="/opt/pyenv/shims:${PATH}" 00:36:27 export PYENV_SHELL=bash 00:36:27 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:36:27 pyenv() { 00:36:27 local command 00:36:27 command="${1:-}" 00:36:27 if [ "$#" -gt 0 ]; then 00:36:27 shift 00:36:27 fi 00:36:27 00:36:27 case "$command" in 00:36:27 rehash|shell) 00:36:27 eval "$(pyenv "sh-$command" "$@")" 00:36:27 ;; 00:36:27 *) 00:36:27 command pyenv "$command" "$@" 00:36:27 ;; 00:36:27 esac 00:36:27 }' 00:36:27 +++ 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[*]}"' 00:36:27 ++ 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 00:36:27 ++ 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 00:36:27 ++ 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 00:36:27 ++ export PYENV_SHELL=bash 00:36:27 ++ PYENV_SHELL=bash 00:36:27 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:36:27 +++ complete -F _pyenv pyenv 00:36:27 ++ lf-pyver python3 00:36:27 ++ local py_version_xy=python3 00:36:27 ++ local py_version_xyz= 00:36:27 ++ pyenv versions 00:36:27 ++ local command 00:36:27 ++ command=versions 00:36:27 ++ '[' 1 -gt 0 ']' 00:36:27 ++ shift 00:36:27 ++ case "$command" in 00:36:27 ++ command pyenv versions 00:36:27 ++ pyenv versions 00:36:27 ++ awk '{ print $1 }' 00:36:27 ++ grep -E '^[0-9.]*[0-9]$' 00:36:27 ++ sed 's/^[ *]* //' 00:36:27 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:36:27 +++ grep '^3' /tmp/.pyenv_versions 00:36:27 +++ tail -n 1 00:36:27 +++ sort -V 00:36:27 ++ py_version_xyz=3.10.6 00:36:27 ++ [[ -z 3.10.6 ]] 00:36:27 ++ echo 3.10.6 00:36:27 ++ return 0 00:36:27 + pyenv local 3.10.6 00:36:27 + local command 00:36:27 + command=local 00:36:27 + '[' 2 -gt 0 ']' 00:36:27 + shift 00:36:27 + case "$command" in 00:36:27 + command pyenv local 3.10.6 00:36:27 + pyenv local 3.10.6 00:36:27 + for arg in "$@" 00:36:27 + case $arg in 00:36:27 + pkg_list+='tox ' 00:36:27 + for arg in "$@" 00:36:27 + case $arg in 00:36:27 + pkg_list+='virtualenv ' 00:36:27 + for arg in "$@" 00:36:27 + case $arg in 00:36:27 + pkg_list+='urllib3~=1.26.15 ' 00:36:27 + [[ -f /tmp/.toxenv ]] 00:36:27 ++ cat /tmp/.toxenv 00:36:27 + lf_venv=/tmp/venv-4aCD 00:36:27 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4aCD from' file:/tmp/.toxenv 00:36:27 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4aCD from file:/tmp/.toxenv 00:36:27 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:36:27 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:36:27 + local 'pip_opts=--upgrade --quiet' 00:36:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:36:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:36:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:36:27 + [[ -n '' ]] 00:36:27 + [[ -n '' ]] 00:36:27 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 00:36:27 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:36:27 + /tmp/venv-4aCD/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:36:29 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 00:36:29 lf-activate-venv(): INFO: Base packages installed successfully 00:36:29 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:36:29 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:36:29 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:36:29 + /tmp/venv-4aCD/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:36:31 + type python3 00:36:31 + true 00:36:31 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4aCD/bin to PATH' 00:36:31 lf-activate-venv(): INFO: Adding /tmp/venv-4aCD/bin to PATH 00:36:31 + PATH=/tmp/venv-4aCD/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 00:36:31 + return 0 00:36:31 + [[ -d /opt/pyenv ]] 00:36:31 + echo '---> Setting up pyenv' 00:36:31 ---> Setting up pyenv 00:36:31 + export PYENV_ROOT=/opt/pyenv 00:36:31 + PYENV_ROOT=/opt/pyenv 00:36:31 + export PATH=/opt/pyenv/bin:/tmp/venv-4aCD/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 00:36:31 + PATH=/opt/pyenv/bin:/tmp/venv-4aCD/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 00:36:31 ++ pwd 00:36:31 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:36:31 + export PYTHONPATH 00:36:31 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:36:31 + TOX_TESTENV_PASSENV=PYTHONPATH 00:36:31 + tox --version 00:36:32 4.30.2 from /tmp/venv-4aCD/lib/python3.10/site-packages/tox/__init__.py 00:36:32 + PARALLEL=False 00:36:32 + TOX_OPTIONS_LIST= 00:36:32 + [[ -n code,flake8 ]] 00:36:32 + TOX_OPTIONS_LIST=' -e code,flake8' 00:36:32 + case ${PARALLEL,,} in 00:36:32 + tox -e code,flake8 00:36:32 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:36:34 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:36:42 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' 00:36:44 .pkg: _optional_hooks> python /tmp/venv-4aCD/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:36:44 .pkg: get_requires_for_build_sdist> python /tmp/venv-4aCD/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:36:45 .pkg: get_requires_for_build_wheel> python /tmp/venv-4aCD/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:36:45 .pkg: freeze> python -m pip freeze --all 00:36:46 .pkg: pip==25.2,setuptools==80.9.0 00:36:46 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-4aCD/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:36:46 .pkg: build_sdist> python /tmp/venv-4aCD/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:36:46 code: install_package_deps> python -I -m pip install 'Scikit-learn>=0.18' influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'pandas>=1.1.3' ricxappframe==3.2.2 'schedule>=0.0.0' 00:37:35 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-ad-tox-sonarqube/.tox/.tmp/package/1/ad-1.0.1.tar.gz 00:37:39 code: freeze> python -m pip freeze --all 00:37:39 code: ad==1.0.1,async-timeout==5.0.1,build==1.3.0,certifi==2025.8.3,charset-normalizer==3.4.3,coverage==7.10.6,exceptiongroup==1.3.0,hiredis==2.0.0,idna==3.10,influxdb==5.3.2,iniconfig==2.1.0,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.5.2,mdclogpy==1.1.1,msgpack==1.1.1,numpy==2.2.6,packaging==25.0,pandas==2.3.2,pip==25.2,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.19.2,pyproject_hooks==1.2.0,pytest==8.4.2,pytest-cov==7.0.0,python-dateutil==2.9.0.post0,pytz==2025.2,redis==4.3.6,requests==2.32.5,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.2,scipy==1.15.3,setuptools==80.9.0,six==1.17.0,threadpoolctl==3.6.0,tomli==2.2.1,typing_extensions==4.15.0,tzdata==2025.2,urllib3==2.5.0 00:37:39 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:37:41 ============================= test session starts ============================== 00:37:41 platform linux -- Python 3.10.6, pytest-8.4.2, pluggy-1.6.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:37:41 cachedir: .tox/code/.pytest_cache 00:37:41 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:37:41 plugins: cov-7.0.0 00:37:41 collecting ... collected 4 items 00:37:43 00:37:43 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:37:43 tests/test_ad.py::test_trainModel FAILED [ 50%] 00:37:44 tests/test_ad.py::test_predict_anomaly FAILED [ 75%] 00:37:44 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:00 00:38:00 =================================== FAILURES =================================== 00:38:00 _______________________________ test_trainModel ________________________________ 00:38:00 00:38:00 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faf0ba7c040> 00:38:00 00:38:00 def test_trainModel(monkeypatch): 00:38:00 > main.train_model() 00:38:00 00:38:00 tests/test_ad.py:28: 00:38:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 00:38:00 src/main.py:62: in train_model 00:38:00 mt.train() 00:38:00 src/ad_train.py:122: in train 00:38:00 f1, model = self.isoforest() 00:38:00 src/ad_train.py:89: in isoforest 00:38:00 md = model.fit(self.train_data.values) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/base.py:1365: in wrapper 00:38:00 return fit_method(estimator, *args, **kwargs) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1051: in fit 00:38:00 self._run_search(evaluate_candidates) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1992: in _run_search 00:38:00 evaluate_candidates( 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:997: in evaluate_candidates 00:38:00 out = parallel( 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:82: in __call__ 00:38:00 return super().__call__(iterable_with_config_and_warning_filters) 00:38:00 .tox/code/lib/python3.10/site-packages/joblib/parallel.py:1986: in __call__ 00:38:00 return output if self.return_generator else list(output) 00:38:00 .tox/code/lib/python3.10/site-packages/joblib/parallel.py:1914: in _get_sequential_output 00:38:00 res = func(*args, **kwargs) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:147: in __call__ 00:38:00 return self.function(*args, **kwargs) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_validation.py:851: in _fit_and_score 00:38:00 X_train, y_train = _safe_split(estimator, X, y, train) 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/utils/metaestimators.py:156: in _safe_split 00:38:00 X_subset = _safe_indexing(X, indices) 00:38:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 00:38:00 00:38:00 X = array([[ 3.77292128e-01, 2.86786711e-02, 1.11735082e-04, ..., 00:38:00 -3.75802327e-01, -4.02027834e-03, 1.21858569e...0016081e-02, 7.00032162e-05, ..., 00:38:00 -5.88727048e-01, -2.85562268e-02, 1.17085036e-02]], 00:38:00 shape=(10000, 7)) 00:38:00 indices = array(slice(None, None, None), dtype=object) 00:38:00 00:38:00 def _safe_indexing(X, indices, *, axis=0): 00:38:00 """Return rows, items or columns of X using indices. 00:38:00 00:38:00 .. warning:: 00:38:00 00:38:00 This utility is documented, but **private**. This means that 00:38:00 backward compatibility might be broken without any deprecation 00:38:00 cycle. 00:38:00 00:38:00 Parameters 00:38:00 ---------- 00:38:00 X : array-like, sparse-matrix, list, pandas.DataFrame, pandas.Series 00:38:00 Data from which to sample rows, items or columns. `list` are only 00:38:00 supported when `axis=0`. 00:38:00 indices : bool, int, str, slice, array-like 00:38:00 - If `axis=0`, boolean and integer array-like, integer slice, 00:38:00 and scalar integer are supported. 00:38:00 - If `axis=1`: 00:38:00 - to select a single column, `indices` can be of `int` type for 00:38:00 all `X` types and `str` only for dataframe. The selected subset 00:38:00 will be 1D, unless `X` is a sparse matrix in which case it will 00:38:00 be 2D. 00:38:00 - to select multiples columns, `indices` can be one of the 00:38:00 following: `list`, `array`, `slice`. The type used in 00:38:00 these containers can be one of the following: `int`, 'bool' and 00:38:00 `str`. However, `str` is only supported when `X` is a dataframe. 00:38:00 The selected subset will be 2D. 00:38:00 axis : int, default=0 00:38:00 The axis along which `X` will be subsampled. `axis=0` will select 00:38:00 rows while `axis=1` will select columns. 00:38:00 00:38:00 Returns 00:38:00 ------- 00:38:00 subset 00:38:00 Subset of X on axis 0 or 1. 00:38:00 00:38:00 Notes 00:38:00 ----- 00:38:00 CSR, CSC, and LIL sparse matrices are supported. COO sparse matrices are 00:38:00 not supported. 00:38:00 00:38:00 Examples 00:38:00 -------- 00:38:00 >>> import numpy as np 00:38:00 >>> from sklearn.utils import _safe_indexing 00:38:00 >>> data = np.array([[1, 2], [3, 4], [5, 6]]) 00:38:00 >>> _safe_indexing(data, 0, axis=0) # select the first row 00:38:00 array([1, 2]) 00:38:00 >>> _safe_indexing(data, 0, axis=1) # select the first column 00:38:00 array([1, 3, 5]) 00:38:00 """ 00:38:00 if indices is None: 00:38:00 return X 00:38:00 00:38:00 if axis not in (0, 1): 00:38:00 raise ValueError( 00:38:00 "'axis' should be either 0 (to index rows) or 1 (to index " 00:38:00 " column). Got {} instead.".format(axis) 00:38:00 ) 00:38:00 00:38:00 indices_dtype = _determine_key_type(indices) 00:38:00 00:38:00 if axis == 0 and indices_dtype == "str": 00:38:00 > raise ValueError("String indexing is not supported with 'axis=0'") 00:38:00 E ValueError: String indexing is not supported with 'axis=0' 00:38:00 00:38:00 .tox/code/lib/python3.10/site-packages/sklearn/utils/_indexing.py:305: ValueError 00:38:00 ----------------------------- Captured stdout call ----------------------------- 00:38:00 {"ts": 1758415063489, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training on 10000 Samples"} 00:38:00 {"ts": 1758415063500, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Validation on 10000 Samples"} 00:38:00 {"ts": 1758415063500, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training Starts"} 00:38:00 {"ts": 1758415063568, "crit": "INFO", "id": "ad_train", "mdc": {}, "msg": "Training Isolation Forest"} 00:38:00 _____________________________ test_predict_anomaly _____________________________ 00:38:00 00:38:00 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faf0b2f7e80> 00:38:00 ad_ue = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 00:38:00 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 00:38:00 00:38:00 [1 rows x 12 columns] 00:38:00 00:38:00 def test_predict_anomaly(monkeypatch, ad_ue): 00:38:00 main.load_model() 00:38:00 > main.predict_anomaly(monkeypatch, ad_ue) 00:38:00 00:38:00 tests/test_ad.py:33: 00:38:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 00:38:00 src/main.py:99: in predict_anomaly 00:38:00 df['Anomaly'] = md.predict(df) 00:38:00 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 00:38:00 00:38:00 self = 00:38:00 df = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 00:38:00 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 00:38:00 00:38:00 [1 rows x 12 columns] 00:38:00 00:38:00 def predict(self, df): 00:38:00 """ Load the saved model and return predicted result. 00:38:00 Parameters 00:38:00 ......... 00:38:00 name:str 00:38:00 name of model 00:38:00 00:38:00 Return 00:38:00 ...... 00:38:00 pred:int 00:38:00 predict label on a given sample 00:38:00 00:38:00 """ 00:38:00 self.data = df.loc[:, self.num] 00:38:00 self.transformation() 00:38:00 > pred = self.model.predict(self.data) 00:38:00 E AttributeError: 'modelling' object has no attribute 'model' 00:38:00 00:38:00 src/ad_model.py:78: AttributeError 00:38:00 ----------------------------- Captured stdout call ----------------------------- 00:38:00 {"ts": 1758415064179, "crit": "ERROR", "id": "ad_model", "mdc": {}, "msg": "Model Does not exsist"} 00:38:00 {"ts": 1758415064181, "crit": "INFO", "id": "src.main", "mdc": {}, "msg": "throughput threshold parameter is set as 70% (default)"} 00:38:00 =============================== warnings summary =============================== 00:38:00 tests/test_ad.py::test_trainModel 00:38:00 tests/test_ad.py::test_trainModel 00:38:00 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:38:00 You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy. 00:38:00 A typical example is when you are setting values in a column of a DataFrame, like: 00:38:00 00:38:00 df["col"][row_indexer] = value 00:38:00 00:38:00 Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. 00:38:00 00:38:00 See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy 00:38:00 00:38:00 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:38:00 00:38:00 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:00 ================================ tests coverage ================================ 00:38:00 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 00:38:00 00:38:00 Name Stmts Miss Cover Missing 00:38:00 ------------------------------------------------- 00:38:00 src/__init__.py 0 0 100% 00:38:00 src/ad_model.py 67 34 49% 41, 50-51, 57-58, 79-80, 98-115, 119-130 00:38:00 src/ad_train.py 69 22 68% 56-58, 66-68, 90-91, 94-101, 123-129 00:38:00 src/database.py 94 36 62% 64-75, 85-97, 106-110, 113-118, 161, 164 00:38:00 src/exceptions.py 4 4 0% 18-25 00:38:00 src/insert.py 50 50 0% 21-84 00:38:00 src/main.py 116 75 35% 41-46, 70-83, 100-114, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192 00:38:00 src/processing.py 44 0 100% 00:38:00 ------------------------------------------------- 00:38:00 TOTAL 444 221 50% 00:38:00 Coverage HTML written to dir htmlcov 00:38:00 Coverage XML written to file coverage.xml 00:38:00 Required test coverage of 50% reached. Total coverage: 50.23% 00:38:00 =========================== short test summary info ============================ 00:38:00 FAILED tests/test_ad.py::test_trainModel - ValueError: String indexing is not... 00:38:00 FAILED tests/test_ad.py::test_predict_anomaly - AttributeError: 'modelling' o... 00:38:00 =================== 2 failed, 2 passed, 2 warnings in 18.73s =================== 00:38:01 code: exit 1 (21.63 seconds) /w/workspace/ric-app-ad-tox-sonarqube> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 pid=2523 00:38:01 code: FAIL ✖ in 1 minute 28.09 seconds 00:38:01 flake8: install_deps> python -I -m pip install flake8 00:38:04 flake8: freeze> python -m pip freeze --all 00:38:04 flake8: ad==1.0.1,flake8==7.3.0,mccabe==0.7.0,pip==25.2,pycodestyle==2.14.0,pyflakes==3.4.0,setuptools==80.9.0 00:38:04 flake8: commands[0]> flake8 setup.py src tests 00:38:05 code: FAIL code 1 (88.08=setup[66.44]+cmd[21.63] seconds) 00:38:05 flake8: OK (3.82=setup[3.36]+cmd[0.46] seconds) 00:38:05 evaluation failed :( (91.95 seconds) 00:38:05 + tox_status=255 00:38:05 + echo '---> Completed tox runs' 00:38:05 ---> Completed tox runs 00:38:05 + for i in .tox/*/log 00:38:05 ++ echo .tox/code/log 00:38:05 ++ awk -F/ '{print $2}' 00:38:05 + tox_env=code 00:38:05 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:05 + for i in .tox/*/log 00:38:05 ++ echo .tox/flake8/log 00:38:05 ++ awk -F/ '{print $2}' 00:38:05 + tox_env=flake8 00:38:05 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:05 + DOC_DIR=docs/_build/html 00:38:05 + [[ -d docs/_build/html ]] 00:38:05 + echo '---> tox-run.sh ends' 00:38:05 ---> tox-run.sh ends 00:38:05 + test 255 -eq 0 00:38:05 + exit 255 00:38:05 ++ '[' 2 = 1 ']' 00:38:05 Build step 'Execute shell' marked build as failure 00:38:05 $ ssh-agent -k 00:38:05 unset SSH_AUTH_SOCK; 00:38:05 unset SSH_AGENT_PID; 00:38:05 echo Agent pid 1602 killed; 00:38:05 [ssh-agent] Stopped. 00:38:05 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8914468104470699372.sh 00:38:05 ---> sysstat.sh 00:38:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7458265825489514449.sh 00:38:06 ---> package-listing.sh 00:38:06 ++ facter osfamily 00:38:06 ++ tr '[:upper:]' '[:lower:]' 00:38:06 + OS_FAMILY=debian 00:38:06 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:06 + START_PACKAGES=/tmp/packages_start.txt 00:38:06 + END_PACKAGES=/tmp/packages_end.txt 00:38:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:06 + PACKAGES=/tmp/packages_start.txt 00:38:06 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:06 + PACKAGES=/tmp/packages_end.txt 00:38:06 + case "${OS_FAMILY}" in 00:38:06 + dpkg -l 00:38:06 + grep '^ii' 00:38:06 + '[' -f /tmp/packages_start.txt ']' 00:38:06 + '[' -f /tmp/packages_end.txt ']' 00:38:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:06 + true 00:38:06 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:06 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14174529355052712840.sh 00:38:06 ---> capture-instance-metadata.sh 00:38:06 Setup pyenv: 00:38:06 system 00:38:06 3.8.13 00:38:06 3.9.13 00:38:06 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZhoK from file:/tmp/.os_lf_venv 00:38:06 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:06 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:38:10 lf-activate-venv(): INFO: Base packages installed successfully 00:38:10 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:30 lf-activate-venv(): INFO: Adding /tmp/venv-ZhoK/bin to PATH 00:38:30 INFO: Running in OpenStack, capturing instance metadata 00:38:31 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13105308141598110764.sh 00:38:31 provisioning config files... 00:38:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config2819591243093637836tmp 00:38:31 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:31 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:31 [EnvInject] - Injecting environment variables from a build step. 00:38:31 [EnvInject] - Injecting as environment variables the properties content 00:38:31 SERVER_ID=logs 00:38:31 00:38:31 [EnvInject] - Variables injected successfully. 00:38:31 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6085965494335921135.sh 00:38:31 ---> create-netrc.sh 00:38:31 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14955831263177312890.sh 00:38:31 ---> python-tools-install.sh 00:38:31 Setup pyenv: 00:38:31 system 00:38:31 3.8.13 00:38:31 3.9.13 00:38:31 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZhoK from file:/tmp/.os_lf_venv 00:38:31 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:31 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:38:35 lf-activate-venv(): INFO: Base packages installed successfully 00:38:35 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:55 lf-activate-venv(): INFO: Adding /tmp/venv-ZhoK/bin to PATH 00:38:55 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14030187484455774582.sh 00:38:55 ---> sudo-logs.sh 00:38:55 Archiving 'sudo' log.. 00:38:56 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5217463139788345380.sh 00:38:56 ---> job-cost.sh 00:38:56 Setup pyenv: 00:38:56 system 00:38:56 3.8.13 00:38:56 3.9.13 00:38:56 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZhoK from file:/tmp/.os_lf_venv 00:38:56 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:56 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:38:59 lf-activate-venv(): INFO: Base packages installed successfully 00:38:59 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:11 lf-activate-venv(): INFO: Adding /tmp/venv-ZhoK/bin to PATH 00:39:11 INFO: No Stack... 00:39:11 INFO: Retrieving Pricing Info for: v3-starter-2 00:39:11 INFO: Archiving Costs 00:39:11 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13031912915983247582.sh 00:39:11 ---> logs-deploy.sh 00:39:11 Setup pyenv: 00:39:11 system 00:39:11 3.8.13 00:39:11 3.9.13 00:39:12 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:39:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZhoK from file:/tmp/.os_lf_venv 00:39:12 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:39:12 lf-activate-venv(): INFO: Attempting to install with network-safe options... 00:39:15 lf-activate-venv(): INFO: Base packages installed successfully 00:39:15 lf-activate-venv(): INFO: Installing additional packages: lftools 00:39:35 lf-activate-venv(): INFO: Adding /tmp/venv-ZhoK/bin to PATH 00:39:35 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/249 00:39:35 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:38 Archives upload complete. 00:39:39 INFO: archiving logs to Nexus 00:39:40 ---> uname -a: 00:39:40 Linux prd-ubuntu1804-builder-2c-2g-4245 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:40 00:39:40 00:39:40 ---> lscpu: 00:39:40 Architecture: x86_64 00:39:40 CPU op-mode(s): 32-bit, 64-bit 00:39:40 Byte Order: Little Endian 00:39:40 CPU(s): 2 00:39:40 On-line CPU(s) list: 0,1 00:39:40 Thread(s) per core: 1 00:39:40 Core(s) per socket: 1 00:39:40 Socket(s): 2 00:39:40 NUMA node(s): 1 00:39:40 Vendor ID: AuthenticAMD 00:39:40 CPU family: 23 00:39:40 Model: 49 00:39:40 Model name: AMD EPYC-Rome Processor 00:39:40 Stepping: 0 00:39:40 CPU MHz: 2800.000 00:39:40 BogoMIPS: 5600.00 00:39:40 Virtualization: AMD-V 00:39:40 Hypervisor vendor: KVM 00:39:40 Virtualization type: full 00:39:40 L1d cache: 32K 00:39:40 L1i cache: 32K 00:39:40 L2 cache: 512K 00:39:40 L3 cache: 16384K 00:39:40 NUMA node0 CPU(s): 0,1 00:39:40 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 00:39:40 00:39:40 00:39:40 ---> nproc: 00:39:40 2 00:39:40 00:39:40 00:39:40 ---> df -h: 00:39:40 Filesystem Size Used Avail Use% Mounted on 00:39:40 udev 2.0G 0 2.0G 0% /dev 00:39:40 tmpfs 395M 668K 394M 1% /run 00:39:40 /dev/vda1 20G 7.7G 12G 41% / 00:39:40 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:39:40 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:40 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:39:40 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:39:40 tmpfs 395M 0 395M 0% /run/user/1001 00:39:40 00:39:40 00:39:40 ---> free -m: 00:39:40 total used free shared buff/cache available 00:39:40 Mem: 3944 367 985 0 2591 3295 00:39:40 Swap: 1023 0 1023 00:39:40 00:39:40 00:39:40 ---> ip addr: 00:39:40 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:40 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:40 inet 127.0.0.1/8 scope host lo 00:39:40 valid_lft forever preferred_lft forever 00:39:40 inet6 ::1/128 scope host 00:39:40 valid_lft forever preferred_lft forever 00:39:40 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:40 link/ether fa:16:3e:2c:8c:7f brd ff:ff:ff:ff:ff:ff 00:39:40 inet 10.32.7.75/23 brd 10.32.7.255 scope global dynamic ens3 00:39:40 valid_lft 86048sec preferred_lft 86048sec 00:39:40 inet6 fe80::f816:3eff:fe2c:8c7f/64 scope link 00:39:40 valid_lft forever preferred_lft forever 00:39:40 00:39:40 00:39:40 ---> sar -b -r -n DEV: 00:39:40 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4245) 09/21/25 _x86_64_ (2 CPU) 00:39:40 00:39:40 00:33:51 LINUX RESTART (2 CPU) 00:39:40 00:39:40 00:34:02 tps rtps wtps bread/s bwrtn/s 00:39:40 00:35:02 122.34 49.97 72.36 4029.01 35120.01 00:39:40 00:36:01 54.74 0.17 54.57 26.71 9386.88 00:39:40 00:37:01 87.09 38.21 48.88 1642.79 8554.44 00:39:40 00:38:01 59.66 12.91 46.75 1018.46 18301.23 00:39:40 00:39:01 23.51 0.80 22.71 89.19 1920.35 00:39:40 Average: 69.34 20.38 48.96 1356.75 14605.73 00:39:40 00:39:40 00:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:40 00:35:02 1972328 3415240 2066724 51.17 36648 1572452 584236 11.48 496472 1430348 70020 00:39:40 00:36:01 1680124 3377240 2358928 58.40 56172 1792128 601544 11.82 547552 1640136 126252 00:39:40 00:37:01 1413264 3361924 2625788 65.01 68780 2018804 650216 12.78 600728 1828432 109368 00:39:40 00:38:01 958084 3292300 3080968 76.28 78332 2379924 915892 18.00 685956 2167292 10800 00:39:40 00:39:01 1050836 3412808 2988216 73.98 81420 2404092 564116 11.09 578464 2183512 24392 00:39:40 Average: 1414927 3371902 2624125 64.97 64270 2033480 663201 13.04 581834 1849944 68166 00:39:40 00:39:40 00:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:40 00:35:02 lo 0.81 0.81 0.08 0.08 0.00 0.00 0.00 0.00 00:39:40 00:35:02 ens3 326.25 200.59 1345.07 65.74 0.00 0.00 0.00 0.00 00:39:40 00:36:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 00:39:40 00:36:01 ens3 42.25 30.96 573.31 4.31 0.00 0.00 0.00 0.00 00:39:40 00:37:01 lo 1.87 1.87 0.19 0.19 0.00 0.00 0.00 0.00 00:39:40 00:37:01 ens3 47.53 35.24 732.16 6.31 0.00 0.00 0.00 0.00 00:39:40 00:38:01 lo 3.73 3.73 0.19 0.19 0.00 0.00 0.00 0.00 00:39:40 00:38:01 ens3 19.03 10.58 615.62 1.32 0.00 0.00 0.00 0.00 00:39:40 00:39:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 00:39:40 00:39:01 ens3 14.51 15.73 13.88 13.24 0.00 0.00 0.00 0.00 00:39:40 Average: lo 1.53 1.53 0.11 0.11 0.00 0.00 0.00 0.00 00:39:40 Average: ens3 89.28 58.24 653.97 18.07 0.00 0.00 0.00 0.00 00:39:40 00:39:40 00:39:40 ---> sar -P ALL: 00:39:40 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4245) 09/21/25 _x86_64_ (2 CPU) 00:39:40 00:39:40 00:33:51 LINUX RESTART (2 CPU) 00:39:40 00:39:40 00:34:02 CPU %user %nice %system %iowait %steal %idle 00:39:40 00:35:02 all 35.32 0.00 4.11 10.81 6.89 42.88 00:39:40 00:35:02 0 25.25 0.00 4.38 8.49 6.57 55.31 00:39:40 00:35:02 1 45.41 0.00 3.82 13.11 7.22 30.44 00:39:40 00:36:01 all 37.61 0.00 2.47 4.46 4.79 50.68 00:39:40 00:36:01 0 25.94 0.00 2.25 4.21 3.87 63.73 00:39:40 00:36:01 1 49.29 0.00 2.70 4.72 5.70 37.58 00:39:40 00:37:01 all 33.14 0.00 2.82 5.08 5.22 53.74 00:39:40 00:37:01 0 30.38 0.00 2.85 7.92 5.16 53.69 00:39:40 00:37:01 1 35.89 0.00 2.79 2.27 5.25 53.79 00:39:40 00:38:01 all 30.58 0.00 2.33 2.55 4.31 60.23 00:39:40 00:38:01 0 15.98 0.00 1.70 3.34 3.10 75.88 00:39:40 00:38:01 1 45.18 0.00 2.96 1.75 5.52 44.60 00:39:40 00:39:01 all 39.24 0.00 2.23 1.75 5.55 51.24 00:39:40 00:39:01 0 18.99 0.00 1.84 1.22 4.13 73.82 00:39:40 00:39:01 1 59.52 0.00 2.61 2.29 7.00 28.58 00:39:40 Average: all 35.17 0.00 2.79 4.91 5.35 51.78 00:39:40 Average: 0 23.29 0.00 2.60 5.03 4.56 64.51 00:39:40 Average: 1 47.04 0.00 2.97 4.80 6.14 39.04 00:39:40 00:39:40 00:39:40