Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-10100 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-Hewo7NE8qn8V/agent.1552 SSH_AGENT_PID=1554 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_15380858327150390212.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-app/ad > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad > 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-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # 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 f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # 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-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5366195328757190607.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-Z5Tf lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Z5Tf/bin to PATH Generating Requirements File 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. httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. Python 3.10.6 pip 26.2.1 from /tmp/venv-Z5Tf/lib/python3.10/site-packages/pip (python 3.10) aiohappyeyeballs==2.7.1 aiohttp==3.14.3 aiosignal==1.4.0 appdirs==1.4.4 argcomplete==3.7.2 aspy.yaml==1.3.0 async-timeout==5.0.1 attrs==26.1.0 autopage==0.6.0 backports.strenum==1.3.1 beautifulsoup4==4.15.0 boto3==1.43.89 botocore==1.43.89 bs4==0.0.2 certifi==2026.7.22 cffi==2.1.1 cfgv==3.5.0 chardet==7.6.0 charset-normalizer==3.5.1 click==8.5.0 cliff==4.14.0 cmd2==3.5.1 cryptography==3.3.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.3 dnspython==2.8.0 docker==7.2.0 dogpile.cache==1.5.0 durationpy==0.11 email-validator==2.3.0 filelock==3.32.5 frozenlist==1.8.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.61 httplib2==0.30.2 identify==2.6.19 idna==3.19 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.1.0 jsonpatch==1.33 jsonpointer==3.1.1 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 keystoneauth1==5.14.0 kubernetes==36.0.3 lftools==0.37.23 lxml==6.1.3 markdown-it-py==4.2.0 MarkupSafe==3.0.3 mdurl==0.1.2 msgpack==1.2.2 multi_key_dict==2.0.3 multidict==6.7.1 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.10.0 oauth2client==4.1.3 oauthlib==3.3.1 openstacksdk==4.13.0 os-service-types==1.8.2 osc-lib==4.6.0 oslo.config==10.4.0 oslo.context==6.4.0 oslo.i18n==6.8.0 oslo.log==8.2.0 oslo.serialization==5.10.0 oslo.utils==10.1.1 packaging==26.3 pbr==7.0.3 platformdirs==4.11.7 prettytable==3.18.0 propcache==0.5.2 psutil==7.2.2 pyasn1==0.6.4 pyasn1_modules==0.4.2 pycparser==3.0 pygerrit2==2.0.15 PyGithub==2.10.0 Pygments==2.21.0 PyJWT==2.13.0 PyNaCl==1.6.2 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.9.0 python-dateutil==2.9.0.post0 python-discovery==1.6.0 python-heatclient==5.2.0 python-jenkins==1.8.3 python-keystoneclient==6.0.0 python-magnumclient==4.11.0 python-openstackclient==10.0.0 python-swiftclient==4.11.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.34.2 requests-oauthlib==2.0.0 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.19.1 ruamel.yaml.clib==0.2.15 s3transfer==0.19.2 simplejson==4.1.2 six==1.17.0 smmap==5.0.3 soupsieve==2.9.2 stevedore==5.8.0 tabulate==0.10.0 toml==0.10.2 tomlkit==0.15.1 tqdm==4.70.0 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.7.8 wcwidth==0.8.3 websocket-client==1.9.2 wrapt==2.4.0 xdg==6.0.0 xmltodict==1.0.4 yarl==1.24.5 yq==4.1.2 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins17001066845600977224.sh ---> uv-install.sh Installing uv/uvx (latest) using shell installer 2026-09-06 00:35:54 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71308/71308] -> "/tmp/uv-install-vb1ysR.sh" [1] downloading uv 0.12.10 x86_64-unknown-linux-gnu installing to /home/jenkins/.local/bin uv uvx everything's installed! To add $HOME/.local/bin to your PATH, either restart your shell or run: source $HOME/.local/bin/env (sh, bash, zsh) source $HOME/.local/bin/env.fish (fish) Adding install location to PATH ---> Validating uv/uvx install uvx 0.12.10 (x86_64-unknown-linux-gnu) [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins2165532598364700587.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8871026148060357324.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-zrPE + 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-app-ad-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= ++ grep -E '^[0-9.]*[0-9]$' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 ++ 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-zrPE + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zrPE' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zrPE + echo /tmp/venv-zrPE + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-zrPE/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-zrPE/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-zrPE/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 + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-zrPE/bin/python3 --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 + local venv_python=/tmp/venv-zrPE/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-zrPE/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zrPE/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-zrPE/bin to PATH + PATH=/tmp/venv-zrPE/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 + python3 --version Python 3.10.6 + python3 -m pip --version pip 26.2.1 from /tmp/venv-zrPE/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==7.1.8 colorama==0.4.6 distlib==0.4.3 filelock==3.32.5 packaging==26.3 platformdirs==4.11.7 pluggy==1.6.0 pyproject-api==1.11.0 python-discovery==1.6.0 tomli==2.4.1 tomli_w==1.2.0 tox==4.61.2 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.7.8 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4701949067616720702.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + '[' -f rmr-version.yaml ']' ++ grep '^repo:' rmr-version.yaml ++ cut -d: -f2 ++ xargs + repo= ++ cut -d: -f2 ++ xargs ++ grep '^version:' rmr-version.yaml + ver=4.9.0 + '[' -z 4.9.0 ']' + 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.0_amd64.deb/download.deb 2026-09-06 00:36:17 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1788655877&Signature=IhV1j5MyaB8hRlJcXu3oMsCb7GJ5ReFgPTuEKOZUJCpjiYIROPOe6i1pFwaB8PAb8FgFkVA5lqAm4fqa57vtHmQiiAM9qvAhF0RAb8OKchabuqicZ7tkLE-~MXNqJdO4NFmOZg-tc4h9cB2jxgqRnHrgWyi5gUFdZ1NpSbYcx1-A3LOQlT3p1dlwUeEjDsvL0fQ5zoUsBSuf24ENBO-ScGKtQ~tQNBhhSNywIuQ2X~S~hZsWmesL5RJLIsdC1P13mU5hQyjNyX702HxSR2KzJm5dUOXF4c2KAwd4hq7iAZOJ1xO6VOchvLLTpMnXGcCwmg6W3zEXhDI3-xeVVUt8eg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] + sudo dpkg -i rmr_4.9.0_amd64.deb Selecting previously unselected package rmr. (Reading database ... 188029 files and directories currently installed.) Preparing to unpack rmr_4.9.0_amd64.deb ... Unpacking rmr (4.9.0) ... Setting up rmr (4.9.0) ... + rm -f rmr_4.9.0_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.0_amd64.deb/download.deb 2026-09-06 00:36:21 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1788655881&Signature=Dz~dsQAT-YIWLmXYTdzk8moRU83JJ9oJukz0~rHbhtcxOAcJ-zGwuctxwwF8bobez-Fhj7uqCm0vuHkUm4oxyppB1V1Ed69bW3Tfqdlx1GwuW6GAk~K1TnDehx7ZaUgiXy2klJnQnbdkZrPpkAR-gJ55SRDlboyZlByljXXipmV5MR9Cf7ee11Jv3x1QlS7WCS9M5tsVQOCS~h-zvEUFq8dPRSIj-1MEDb6TA7HAZN~C0pz4m5q-fKcx9CPIaM8O~dVNkmgZZAvDfzbzVFEaOA5p50N8tRn9VbH8dcuZrixbsleHj1edNzWHP114r3Xwd-3chZ47RkskEMeR0xao2Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] + sudo dpkg -i rmr-dev_4.9.0_amd64.deb Selecting previously unselected package rmr-dev. (Reading database ... 188037 files and directories currently installed.) Preparing to unpack rmr-dev_4.9.0_amd64.deb ... Unpacking rmr-dev (4.9.0) ... Setting up rmr-dev (4.9.0) ... + rm -f rmr-dev_4.9.0_amd64.deb + echo '---> install-deb-rmr.sh ends' ---> install-deb-rmr.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-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11840876347147334606.sh ---> tox-run.sh + PATH=/home/jenkins/.local/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 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox + cd /w/workspace/ric-app-ad-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-vgzM + 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:/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:/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-app-ad-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:/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:/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:/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 ++ grep -E '^[0-9.]*[0-9]$' ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ [[ ! -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-zrPE + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zrPE from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-zrPE from file:/tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-zrPE/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-zrPE/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-zrPE/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 + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-zrPE/bin/python3 --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 + local venv_python=/tmp/venv-zrPE/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-zrPE/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-zrPE/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-zrPE/bin to PATH + PATH=/tmp/venv-zrPE/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-zrPE/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-zrPE/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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-app-ad-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.61.2 from /tmp/venv-zrPE/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 + tox -e code,flake8 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log code: install_deps> python -I -m pip install coverage pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-zrPE/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-zrPE/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-zrPE/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==26.2.1,setuptools==84.0.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-zrPE/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-zrPE/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 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' 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 code: freeze> python -m pip freeze --all code: ad==1.0.1,async-timeout==5.0.1,build==1.6.0,certifi==2026.7.22,charset-normalizer==3.5.1,cloudpickle==3.1.2,coverage==7.16.0,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.19,influxdb==5.3.2,iniconfig==2.3.0,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.6.0,mdclogpy==1.1.1,msgpack==1.2.2,numpy==2.2.6,packaging==26.3,pandas==2.3.3,pip==26.2.1,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.21.0,pyproject_hooks==1.2.0,pytest==9.1.1,pytest-cov==7.1.0,python-dateutil==2.9.0.post0,pytz==2026.3.post1,redis==4.3.6,requests==2.34.2,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.2,scipy==1.15.3,setuptools==84.0.0,six==1.17.0,threadpoolctl==3.6.0,tomli==2.4.1,typing_extensions==4.16.0,tzdata==2026.3,urllib3==2.7.0 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-app-ad-tox-sonarqube plugins: cov-7.1.0 collecting ... collected 4 items tests/test_ad.py::test_database_connection PASSED [ 25%] tests/test_ad.py::test_trainModel FAILED [ 50%] tests/test_ad.py::test_predict_anomaly FAILED [ 75%] tests/test_ad.py::test_msg_to_ts PASSED [100%] =================================== FAILURES =================================== _______________________________ test_trainModel ________________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe444eb0250> def test_trainModel(monkeypatch): > main.train_model() tests/test_ad.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/main.py:62: in train_model mt.train() src/ad_train.py:122: in train f1, model = self.isoforest() src/ad_train.py:89: in isoforest md = model.fit(self.train_data.values) .tox/code/lib/python3.10/site-packages/sklearn/base.py:1365: in wrapper return fit_method(estimator, *args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1051: in fit self._run_search(evaluate_candidates) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1992: in _run_search evaluate_candidates( .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:997: in evaluate_candidates out = parallel( .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:82: in __call__ return super().__call__(iterable_with_config_and_warning_filters) .tox/code/lib/python3.10/site-packages/joblib/parallel.py:2012: in __call__ return output if self.return_generator else list(output) .tox/code/lib/python3.10/site-packages/joblib/parallel.py:1940: in _get_sequential_output res = func(*args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:147: in __call__ return self.function(*args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_validation.py:851: in _fit_and_score X_train, y_train = _safe_split(estimator, X, y, train) .tox/code/lib/python3.10/site-packages/sklearn/utils/metaestimators.py:156: in _safe_split X_subset = _safe_indexing(X, indices) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ X = array([[ 3.77292128e-01, 2.86786711e-02, 1.11735082e-04, ..., -3.75802327e-01, -4.02027834e-03, 1.21858569e...0016081e-02, 7.00032162e-05, ..., -5.88727048e-01, -2.85562268e-02, 1.17085036e-02]], shape=(10000, 7)) indices = array(slice(None, None, None), dtype=object), axis = 0 def _safe_indexing(X, indices, *, axis=0): """Return rows, items or columns of X using indices. .. warning:: This utility is documented, but **private**. This means that backward compatibility might be broken without any deprecation cycle. Parameters ---------- X : array-like, sparse-matrix, list, pandas.DataFrame, pandas.Series Data from which to sample rows, items or columns. `list` are only supported when `axis=0`. indices : bool, int, str, slice, array-like - If `axis=0`, boolean and integer array-like, integer slice, and scalar integer are supported. - If `axis=1`: - to select a single column, `indices` can be of `int` type for all `X` types and `str` only for dataframe. The selected subset will be 1D, unless `X` is a sparse matrix in which case it will be 2D. - to select multiples columns, `indices` can be one of the following: `list`, `array`, `slice`. The type used in these containers can be one of the following: `int`, 'bool' and `str`. However, `str` is only supported when `X` is a dataframe. The selected subset will be 2D. axis : int, default=0 The axis along which `X` will be subsampled. `axis=0` will select rows while `axis=1` will select columns. Returns ------- subset Subset of X on axis 0 or 1. Notes ----- CSR, CSC, and LIL sparse matrices are supported. COO sparse matrices are not supported. Examples -------- >>> import numpy as np >>> from sklearn.utils import _safe_indexing >>> data = np.array([[1, 2], [3, 4], [5, 6]]) >>> _safe_indexing(data, 0, axis=0) # select the first row array([1, 2]) >>> _safe_indexing(data, 0, axis=1) # select the first column array([1, 3, 5]) """ if indices is None: return X if axis not in (0, 1): raise ValueError( "'axis' should be either 0 (to index rows) or 1 (to index " " column). Got {} instead.".format(axis) ) indices_dtype = _determine_key_type(indices) if axis == 0 and indices_dtype == "str": > raise ValueError("String indexing is not supported with 'axis=0'") E ValueError: String indexing is not supported with 'axis=0' .tox/code/lib/python3.10/site-packages/sklearn/utils/_indexing.py:305: ValueError ----------------------------- Captured stdout call ----------------------------- {"ts": 1788655059772, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training on 10000 Samples"} {"ts": 1788655059788, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Validation on 10000 Samples"} {"ts": 1788655059788, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training Starts"} {"ts": 1788655059863, "crit": "INFO", "id": "ad_train", "mdc": {}, "msg": "Training Isolation Forest"} _____________________________ test_predict_anomaly _____________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe44447f9a0> ad_ue = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 [1 rows x 12 columns] def test_predict_anomaly(monkeypatch, ad_ue): main.load_model() > main.predict_anomaly(monkeypatch, ad_ue) tests/test_ad.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/main.py:99: in predict_anomaly df['Anomaly'] = md.predict(df) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = df = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 [1 rows x 12 columns] def predict(self, df): """ Load the saved model and return predicted result. Parameters ......... name:str name of model Return ...... pred:int predict label on a given sample """ self.data = df.loc[:, self.num] self.transformation() > pred = self.model.predict(self.data) E AttributeError: 'modelling' object has no attribute 'model' src/ad_model.py:78: AttributeError ----------------------------- Captured stdout call ----------------------------- {"ts": 1788655060584, "crit": "ERROR", "id": "ad_model", "mdc": {}, "msg": "Model Does not exsist"} {"ts": 1788655060587, "crit": "INFO", "id": "src.main", "mdc": {}, "msg": "throughput threshold parameter is set as 70% (default)"} =============================== warnings summary =============================== tests/test_ad.py::test_trainModel tests/test_ad.py::test_trainModel /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 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. A typical example is when you are setting values in a column of a DataFrame, like: df["col"][row_indexer] = value Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing ------------------------------------------------- src/__init__.py 0 0 100% src/ad_model.py 67 34 49% 41, 50-51, 57-58, 79-80, 98-115, 119-130 src/ad_train.py 69 22 68% 56-58, 66-68, 90-91, 94-101, 123-129 src/database.py 94 36 62% 64-75, 85-97, 106-110, 113-118, 161, 164 src/exceptions.py 4 4 0% 18-25 src/insert.py 50 50 0% 21-84 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 src/processing.py 44 0 100% ------------------------------------------------- TOTAL 444 221 50% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 50% reached. Total coverage: 50.23% =========================== short test summary info ============================ FAILED tests/test_ad.py::test_trainModel - ValueError: String indexing is not... FAILED tests/test_ad.py::test_predict_anomaly - AttributeError: 'modelling' o... =================== 2 failed, 2 passed, 2 warnings in 19.29s =================== code: exit 1 (21.76 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=2618 code: FAIL ✖ in 1 minute 30.63 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: ad==1.0.1,flake8==7.3.0,mccabe==0.7.0,pip==26.2.1,pycodestyle==2.14.0,pyflakes==3.4.0,setuptools==84.0.0 flake8: commands[0]> flake8 setup.py src tests code: FAIL code 1 (90.63=setup[68.87]+cmd[21.76] seconds) flake8: OK (4.38=setup[3.92]+cmd[0.46] seconds) evaluation failed :( (95.07 seconds) + tox_status=1 + 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-app-ad-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-app-ad-tox-sonarqube/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 1 -eq 0 + exit 1 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1554 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9442981651734412479.sh ---> sysstat.sh [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16361544759792920498.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-ad-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-app-ad-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-app-ad-tox-sonarqube ']' + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3751015203907913654.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z5Tf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Z5Tf/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2853397958701913595.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config3761701977399623518tmp 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-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1765468100777393954.sh ---> create-netrc.sh [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5835297874401197867.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z5Tf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-Z5Tf/bin to PATH [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins1354326312730186065.sh ---> uv-install.sh uv 0.12.10 is already installed uvx 0.12.10 (x86_64-unknown-linux-gnu) [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4230494354173449092.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8927542225824690367.sh ---> job-cost.sh INFO: Activating Python virtual environment... Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z5Tf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-Z5Tf/bin to PATH INFO: No stack-cost file found INFO: Instance uptime: 341s INFO: Fetching instance metadata (attempt 1 of 3)... DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type INFO: Successfully fetched instance metadata INFO: Instance type: v3-starter-2 INFO: Retrieving pricing info for: v3-starter-2 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=341 INFO: Successfully fetched Vexxhost pricing API INFO: Retrieved cost: 0.02 INFO: Retrieved resource: v3-starter-2 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv INFO: Successfully archived job cost data DEBUG: Cost data: ric-app-ad-tox-sonarqube,299,2026-09-06 00:39:07,v3-starter-2,341,0.02,0.00,FAILURE [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14120308720820058026.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Z5Tf from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-Z5Tf/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/299 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-10100 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: 2800.000 BogoMIPS: 5600.00 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 2.0G 0 2.0G 0% /dev tmpfs 395M 668K 394M 1% /run /dev/vda1 20G 7.9G 12G 41% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3944 336 892 0 2715 3324 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:67:cc:92 brd ff:ff:ff:ff:ff:ff inet 10.32.7.126/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86046sec preferred_lft 86046sec inet6 fe80::f816:3eff:fe67:cc92/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-10100) 09/06/26 _x86_64_ (2 CPU) 00:33:41 LINUX RESTART (2 CPU) 00:34:01 tps rtps wtps bread/s bwrtn/s 00:35:01 90.99 19.73 71.26 792.14 5770.50 00:36:01 57.82 11.61 46.21 1044.63 9014.76 00:37:01 94.55 37.14 57.41 1475.75 11666.99 00:38:01 50.03 2.67 47.37 178.74 17293.30 00:39:01 25.56 0.72 24.85 79.05 2145.11 Average: 63.80 14.37 49.42 714.06 9177.83 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:35:01 1794072 3399396 2244988 55.58 46776 1716892 625524 12.29 549228 1538836 167660 00:36:01 1570188 3431164 2468872 61.12 58976 1948096 571624 11.24 489348 1797008 191864 00:37:01 1184464 3358792 2854596 70.67 70800 2237480 685636 13.48 620816 2026004 146420 00:38:01 937712 3416320 3101348 76.78 80632 2516408 620968 12.21 562044 2303092 22384 00:39:01 927880 3419696 3111180 77.03 82344 2529180 570816 11.22 576696 2300452 10520 Average: 1282863 3405074 2756197 68.24 67906 2189611 614914 12.09 559626 1993078 107770 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:35:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 00:35:01 ens3 131.88 100.87 1156.65 33.16 0.00 0.00 0.00 0.00 00:36:01 lo 1.47 1.47 0.14 0.14 0.00 0.00 0.00 0.00 00:36:01 ens3 53.54 48.06 682.44 8.43 0.00 0.00 0.00 0.00 00:37:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 00:37:01 ens3 61.39 47.88 1357.73 6.24 0.00 0.00 0.00 0.00 00:38:01 lo 3.80 3.80 0.20 0.20 0.00 0.00 0.00 0.00 00:38:01 ens3 1.53 1.65 3.33 0.53 0.00 0.00 0.00 0.00 00:39:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 00:39:01 ens3 15.13 14.28 10.76 7.28 0.00 0.00 0.00 0.00 Average: lo 1.53 1.53 0.11 0.11 0.00 0.00 0.00 0.00 Average: ens3 52.71 42.55 642.24 11.13 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-10100) 09/06/26 _x86_64_ (2 CPU) 00:33:41 LINUX RESTART (2 CPU) 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:35:01 all 39.24 0.00 2.82 6.64 1.82 49.48 00:35:01 0 37.49 0.00 3.08 8.32 1.55 49.57 00:35:01 1 41.00 0.00 2.53 4.99 2.09 49.39 00:36:01 all 39.67 0.00 2.84 3.84 1.75 51.90 00:36:01 0 40.98 0.00 2.43 4.48 1.55 50.57 00:36:01 1 38.35 0.00 3.27 3.18 1.97 53.23 00:37:01 all 32.74 0.00 3.25 5.55 1.57 56.89 00:37:01 0 40.04 0.00 3.49 1.19 1.45 53.83 00:37:01 1 25.47 0.00 2.99 9.92 1.68 59.94 00:38:01 all 33.94 0.00 2.35 1.60 1.57 60.54 00:38:01 0 53.24 0.00 3.28 0.55 1.98 40.94 00:38:01 1 14.84 0.00 1.43 2.62 1.15 79.95 00:39:01 all 42.03 0.00 2.24 1.40 1.54 52.79 00:39:01 0 33.18 0.00 1.99 0.65 1.54 62.65 00:39:01 1 50.92 0.00 2.53 2.18 1.55 42.81 Average: all 37.52 0.00 2.70 3.80 1.65 54.32 Average: 0 40.97 0.00 2.85 3.03 1.61 51.53 Average: 1 34.08 0.00 2.55 4.57 1.69 57.10