00:33:56 Started by timer 00:33:56 Running as SYSTEM 00:33:56 [EnvInject] - Loading node environment variables. 00:33:56 Building remotely on prd-ubuntu1804-builder-2c-2g-4474 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:56 [ssh-agent] Looking for ssh-agent implementation... 00:33:56 $ ssh-agent 00:33:56 SSH_AUTH_SOCK=/tmp/ssh-rQU8EhHWDway/agent.1675 00:33:56 SSH_AGENT_PID=1677 00:33:56 [ssh-agent] Started. 00:33:56 Running ssh-add (command line suppressed) 00:33:56 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_3881107860792066281.key (jenkins-ssh) 00:33:56 [ssh-agent] Using credentials jenkins (jenkins) 00:33:56 The recommended git tool is: NONE 00:33:58 using credential jenkins 00:33:58 Wiping out workspace first. 00:33:58 Cloning the remote Git repository 00:33:58 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:58 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:58 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:58 > git --version # timeout=10 00:33:58 > git --version # 'git version 2.17.1' 00:33:58 using GIT_SSH to set credentials jenkins 00:33:58 > 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:00 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:00 Avoid second fetch 00:34:00 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:00 Checking out Revision 350a9759066203fa9867b96669831afd58f5c811 (refs/remotes/origin/master) 00:34:00 > git config core.sparsecheckout # timeout=10 00:34:00 > git checkout -f 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:00 Commit message: "Chore(rtd): modernise docs build infra" 00:34:00 > git rev-list --no-walk 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:04 provisioning config files... 00:34:04 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:04 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:04 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15850720122907417344.sh 00:34:04 ---> python-tools-install.sh 00:34:04 Setup pyenv: 00:34:04 * system (set by /opt/pyenv/version) 00:34:04 * 3.8.13 (set by /opt/pyenv/version) 00:34:04 * 3.9.13 (set by /opt/pyenv/version) 00:34:04 * 3.10.6 (set by /opt/pyenv/version) 00:34:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-taQH 00:34:08 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:08 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:34:13 lf-activate-venv(): INFO: Installing additional packages: lftools 00:34:39 lf-activate-venv(): INFO: Adding /tmp/venv-taQH/bin to PATH 00:34:39 Generating Requirements File 00:35:07 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:35:07 botocore 1.44.19 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 3.0.0 which is incompatible. 00:35:07 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 00:35:08 Python 3.10.6 00:35:08 pip 26.3 from /tmp/venv-taQH/lib/python3.10/site-packages/pip (python 3.10) 00:35:08 aiohappyeyeballs==2.7.1 00:35:08 aiohttp==3.14.5 00:35:08 aiosignal==1.4.0 00:35:08 appdirs==1.4.4 00:35:08 argcomplete==3.8.0 00:35:08 aspy.yaml==1.3.0 00:35:08 async-timeout==5.0.1 00:35:08 attrs==26.1.0 00:35:08 autopage==0.6.0 00:35:08 backports.strenum==1.3.1 00:35:08 beautifulsoup4==4.15.0 00:35:08 boto3==1.44.19 00:35:08 botocore==1.44.19 00:35:08 bs4==0.0.2 00:35:08 certifi==2026.11.20 00:35:08 cffi==2.1.1 00:35:08 cfgv==3.5.0 00:35:08 chardet==7.7.0 00:35:08 charset-normalizer==3.5.3 00:35:08 click==8.5.1 00:35:08 cliff==4.14.0 00:35:08 cmd2==3.5.1 00:35:08 cryptography==3.3.2 00:35:08 debtcollector==3.1.0 00:35:08 decorator==5.3.2 00:35:08 defusedxml==0.7.1 00:35:08 Deprecated==1.3.1 00:35:08 distlib==0.4.4 00:35:08 dnspython==2.8.0 00:35:08 docker==7.2.0 00:35:08 dogpile.cache==1.5.0 00:35:08 durationpy==0.12 00:35:08 email-validator==2.4.0 00:35:08 filelock==4.1.0 00:35:08 frozenlist==1.8.0 00:35:08 future==1.0.0 00:35:08 gitdb==4.0.12 00:35:08 GitPython==3.2.1 00:35:08 httplib2==0.30.2 00:35:08 identify==2.6.20 00:35:08 idna==3.21 00:35:08 importlib-resources==1.5.0 00:35:08 iso8601==2.1.0 00:35:08 Jinja2==3.1.6 00:35:08 jmespath==1.1.0 00:35:08 jsonpatch==1.46 00:35:08 jsonpointer==3.12 00:35:08 jsonschema==4.26.0 00:35:08 jsonschema-specifications==2025.9.1 00:35:08 keystoneauth1==5.14.0 00:35:08 kubernetes==36.0.3 00:35:08 lftools==0.37.28 00:35:08 lxml==6.2.1 00:35:08 markdown-it-py==4.3.0 00:35:08 MarkupSafe==3.0.4 00:35:08 mdurl==0.1.2 00:35:08 msgpack==1.2.4 00:35:08 multi_key_dict==2.0.4 00:35:08 multidict==7.1.0 00:35:08 munch==4.0.0 00:35:08 netaddr==1.3.0 00:35:08 niet==1.4.2 00:35:08 nodeenv==1.12.0 00:35:08 oauth2client==4.1.3 00:35:08 oauthlib==4.0.1 00:35:08 openstacksdk==4.13.0 00:35:08 os-service-types==1.8.2 00:35:08 osc-lib==4.6.0 00:35:08 oslo.config==10.4.0 00:35:08 oslo.context==6.4.0 00:35:08 oslo.i18n==6.8.0 00:35:08 oslo.log==8.2.0 00:35:08 oslo.serialization==5.10.0 00:35:08 oslo.utils==10.1.1 00:35:08 packaging==26.4 00:35:08 pbr==7.1.3 00:35:08 platformdirs==4.12.4 00:35:08 prettytable==3.18.0 00:35:08 propcache==0.5.4 00:35:08 psutil==7.2.2 00:35:08 pyasn1==0.6.5 00:35:08 pyasn1_modules==0.4.2 00:35:08 pycparser==3.11 00:35:08 pygerrit2==2.0.15 00:35:08 PyGithub==2.11.0 00:35:08 Pygments==2.21.0 00:35:08 PyJWT==2.15.1 00:35:08 PyNaCl==1.6.2 00:35:08 pyparsing==2.4.7 00:35:08 pyperclip==1.11.0 00:35:08 pyrsistent==0.20.0 00:35:08 python-cinderclient==9.9.0 00:35:08 python-dateutil==3.0.0 00:35:08 python-discovery==1.9.10 00:35:08 python-heatclient==5.2.0 00:35:08 python-jenkins==1.8.3 00:35:08 python-keystoneclient==6.0.0 00:35:08 python-magnumclient==4.11.0 00:35:08 python-openstackclient==10.0.0 00:35:08 python-swiftclient==4.11.0 00:35:08 PyYAML==6.0.4 00:35:08 referencing==0.37.0 00:35:08 requests==2.34.2 00:35:08 requests-oauthlib==2.0.0 00:35:08 rfc3986==2.0.0 00:35:08 rich==15.0.0 00:35:08 rich-argparse==1.8.0 00:35:08 rpds-py==0.30.0 00:35:08 rsa==4.9.1 00:35:08 ruamel.yaml==0.19.1 00:35:08 ruamel.yaml.clib==0.2.15 00:35:08 s3transfer==0.19.3 00:35:08 simplejson==4.3.0 00:35:08 six==1.17.0 00:35:08 smmap==5.0.3 00:35:08 soupsieve==2.10 00:35:08 stevedore==5.8.0 00:35:08 tabulate==0.10.0 00:35:08 toml==0.10.2 00:35:08 tomlkit==0.15.3 00:35:08 tqdm==4.70.1 00:35:08 typing_extensions==4.16.0 00:35:08 tzdata==2026.6 00:35:08 urllib3==1.26.20 00:35:08 virtualenv==21.16.0 00:35:08 wcwidth==0.9.6 00:35:08 websocket-client==1.9.2 00:35:08 wrapt==2.5.2 00:35:08 xdg==6.0.0 00:35:08 xmltodict==1.0.6 00:35:08 yarl==1.25.1 00:35:08 yq==4.4.5 00:35:08 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins4260503071354250419.sh 00:35:08 ---> uv-install.sh 00:35:08 Installing uv/uvx (latest) using shell installer 00:35:09 2026-12-06 00:35:09 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71308/71308] -> "/tmp/uv-install-IiOuoC.sh" [1] 00:35:09 downloading uv 0.13.13 x86_64-unknown-linux-gnu 00:35:10 installing to /home/jenkins/.local/bin 00:35:10 uv 00:35:10 uvx 00:35:10 everything's installed! 00:35:10 00:35:10 To add $HOME/.local/bin to your PATH, either restart your shell or run: 00:35:10 00:35:10 source $HOME/.local/bin/env (sh, bash, zsh) 00:35:10 source $HOME/.local/bin/env.fish (fish) 00:35:10 Adding install location to PATH 00:35:10 ---> Validating uv/uvx install 00:35:10 uvx 0.13.13 (x86_64-unknown-linux-gnu) 00:35:10 [EnvInject] - Injecting environment variables from a build step. 00:35:10 [EnvInject] - Injecting as environment variables the properties content 00:35:10 SET_JDK_VERSION=openjdk17 00:35:10 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:10 00:35:10 [EnvInject] - Variables injected successfully. 00:35:10 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins6778629737799139157.sh 00:35:10 ---> update-java-alternatives.sh 00:35:10 ---> Updating Java version 00:35:10 ---> Ubuntu/Debian system detected 00:35:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:10 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:35:11 openjdk version "17.0.7" 2023-04-18 00:35:11 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:11 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:11 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:11 [EnvInject] - Injecting environment variables from a build step. 00:35:11 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:11 [EnvInject] - Variables injected successfully. 00:35:11 [EnvInject] - Injecting environment variables from a build step. 00:35:11 [EnvInject] - Injecting as environment variables the properties content 00:35:11 PYTHON=python3 00:35:11 00:35:11 [EnvInject] - Variables injected successfully. 00:35:11 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins9642738468353140520.sh 00:35:11 ---> tox-install.sh 00:35:11 + source /home/jenkins/lf-env.sh 00:35:11 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:11 ++ mktemp -d /tmp/venv-XXXX 00:35:11 + lf_venv=/tmp/venv-oi4V 00:35:11 + local venv_file=/tmp/.os_lf_venv 00:35:11 + local python=python3 00:35:11 + local options 00:35:11 + local set_path=true 00:35:11 + local install_args= 00:35:11 ++ 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:35:11 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:11 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:11 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:11 + true 00:35:11 + case $1 in 00:35:11 + venv_file=/tmp/.toxenv 00:35:11 + shift 2 00:35:11 + true 00:35:11 + case $1 in 00:35:11 + shift 00:35:11 + break 00:35:11 + case $python in 00:35:11 + local pkg_list= 00:35:11 + [[ -d /opt/pyenv ]] 00:35:11 + echo 'Setup pyenv:' 00:35:11 Setup pyenv: 00:35:11 + export PYENV_ROOT=/opt/pyenv 00:35:11 + PYENV_ROOT=/opt/pyenv 00:35:11 + 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:35:11 + 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:35:11 + pyenv versions 00:35:11 system 00:35:11 3.8.13 00:35:11 3.9.13 00:35:11 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:11 + command -v pyenv 00:35:11 ++ pyenv init - --no-rehash 00:35:11 + 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:35:11 export PATH="/opt/pyenv/shims:${PATH}" 00:35:11 export PYENV_SHELL=bash 00:35:11 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:11 pyenv() { 00:35:11 local command 00:35:11 command="${1:-}" 00:35:11 if [ "$#" -gt 0 ]; then 00:35:11 shift 00:35:11 fi 00:35:11 00:35:11 case "$command" in 00:35:11 rehash|shell) 00:35:11 eval "$(pyenv "sh-$command" "$@")" 00:35:11 ;; 00:35:11 *) 00:35:11 command pyenv "$command" "$@" 00:35:11 ;; 00:35:11 esac 00:35:11 }' 00:35:11 +++ 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:35:11 ++ 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:35:11 ++ 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:35:11 ++ 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:35:11 ++ export PYENV_SHELL=bash 00:35:11 ++ PYENV_SHELL=bash 00:35:11 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:11 +++ complete -F _pyenv pyenv 00:35:11 ++ lf-pyver python3 00:35:11 ++ local py_version_xy=python3 00:35:11 ++ local py_version_xyz= 00:35:11 ++ awk '{ print $1 }' 00:35:11 ++ sed 's/^[ *]* //' 00:35:11 ++ pyenv versions 00:35:11 ++ local command 00:35:11 ++ command=versions 00:35:11 ++ '[' 1 -gt 0 ']' 00:35:11 ++ shift 00:35:11 ++ case "$command" in 00:35:11 ++ command pyenv versions 00:35:11 ++ pyenv versions 00:35:11 ++ grep -E '^[0-9.]*[0-9]$' 00:35:11 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:11 +++ grep '^3' /tmp/.pyenv_versions 00:35:11 +++ tail -n 1 00:35:11 +++ sort -V 00:35:11 ++ py_version_xyz=3.10.6 00:35:11 ++ [[ -z 3.10.6 ]] 00:35:11 ++ echo 3.10.6 00:35:11 ++ return 0 00:35:11 + pyenv local 3.10.6 00:35:11 + local command 00:35:11 + command=local 00:35:11 + '[' 2 -gt 0 ']' 00:35:11 + shift 00:35:11 + case "$command" in 00:35:11 + command pyenv local 3.10.6 00:35:11 + pyenv local 3.10.6 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='tox ' 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='virtualenv ' 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='urllib3~=1.26.15 ' 00:35:11 + [[ -f /tmp/.toxenv ]] 00:35:11 + [[ ! -f /tmp/.toxenv ]] 00:35:11 + [[ -n '' ]] 00:35:11 + python3 -m venv /tmp/venv-oi4V 00:35:15 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oi4V' 00:35:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oi4V 00:35:15 + echo /tmp/venv-oi4V 00:35:15 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:15 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:15 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:15 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:15 + local 'pip_opts=--upgrade --quiet' 00:35:15 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:15 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:15 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:15 + [[ -n '' ]] 00:35:15 + [[ -n '' ]] 00:35:15 + lf-venv-pip-install /tmp/venv-oi4V/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:15 + local venv_python=/tmp/venv-oi4V/bin/python3 00:35:15 + shift 00:35:15 + local upstream=https://pypi.org/simple 00:35:15 + /tmp/venv-oi4V/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:35:20 + return 0 00:35:20 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:20 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:20 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:20 + lf-venv-pip-install /tmp/venv-oi4V/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 00:35:20 + local venv_python=/tmp/venv-oi4V/bin/python3 00:35:20 + shift 00:35:20 + local upstream=https://pypi.org/simple 00:35:20 + /tmp/venv-oi4V/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:35:22 + return 0 00:35:22 + type python3 00:35:22 + true 00:35:22 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-oi4V/bin to PATH' 00:35:22 lf-activate-venv(): INFO: Adding /tmp/venv-oi4V/bin to PATH 00:35:22 + PATH=/tmp/venv-oi4V/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:35:22 + return 0 00:35:22 + python3 --version 00:35:22 Python 3.10.6 00:35:22 + python3 -m pip --version 00:35:23 pip 26.3 from /tmp/venv-oi4V/lib/python3.10/site-packages/pip (python 3.10) 00:35:23 + python3 -m pip freeze 00:35:23 cachetools==7.3.6 00:35:23 colorama==0.4.6 00:35:23 distlib==0.4.4 00:35:23 filelock==4.1.0 00:35:23 packaging==26.4 00:35:23 platformdirs==4.12.4 00:35:23 pluggy==1.7.0 00:35:23 pyproject-api==1.11.4 00:35:23 python-discovery==1.9.10 00:35:23 tomli==2.5.0 00:35:23 tomli_w==1.2.0 00:35:23 tox==4.65.0 00:35:23 typing_extensions==4.16.0 00:35:23 urllib3==1.26.20 00:35:23 virtualenv==21.16.0 00:35:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins11967744853883976626.sh 00:35:23 ---> install-deb-rmr.sh 00:35:23 + version_file=rmr-version.yaml 00:35:23 + '[' -f rmr-version.yaml ']' 00:35:23 ++ grep '^repo:' rmr-version.yaml 00:35:23 ++ cut -d: -f2 00:35:23 ++ xargs 00:35:23 + repo= 00:35:23 ++ xargs 00:35:23 ++ cut -d: -f2 00:35:23 ++ grep '^version:' rmr-version.yaml 00:35:23 + ver=4.9.0 00:35:23 + '[' -z 4.9.0 ']' 00:35:23 + repo=release 00:35:23 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:23 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:23 2026-12-06 00:35:23 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1796518223&Signature=jpiQFMa3GpwS0Slup-oeHusc5U4KqOeBu9sNbGcl0OuzXjFS6prz6304R8ZP1fSGi23jkmf0s~cFP5nXNXf6yqCfJmuNpR7CfzWtxu2haklENACWW257tYbjFa0tu-7TemP7WG9L5ZMyyOv123E7wP5Tksmx1ELHFdhV8RVNHGuNrg3bd4XkHbMdpjto0k8CKvMnGZHrAQuOz-a7SFwIuSDWAG0Wr3PbfzVPcEz6bCEBIlolf6VnKm5lRRVUmQUplSB~9SimvTNYHhH4Un9nEsDr3xNIIkG0oHMkEuKXG-2NXVGpjNJ7YSejBqmT~b69mtBCqdlGyvgzRiRI4Sb73w__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:23 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:23 Selecting previously unselected package rmr. 00:35:25 (Reading database ... 188029 files and directories currently installed.) 00:35:25 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:25 Unpacking rmr (4.9.0) ... 00:35:25 Setting up rmr (4.9.0) ... 00:35:25 + rm -f rmr_4.9.0_amd64.deb 00:35:25 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:25 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 00:35:26 2026-12-06 00:35:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1796518226&Signature=nm5eXMHJUyvMYmXBEFC77ztREIlZJuYc7MbyVDKrfMqjW1RtGWpvH4fZ0nTmwp-LEo2L15TsBJcUBHF-t3bY06a~iaU5n3U7YctSfS1raZDhLNDhpuHgTqhLDjDdjIZap7wGwCTMkgKmNVd8q2ubc1PqYGxkBl6LTvZWI50FvDLAaxn4M9geuvgI6bDY34s0rN0Znh32aPZi10mMPQfAMqFZycm~qQUOgwKJOKJMrgU8nsbQx3PXHLApR-aV2Lkxpk4WbHYLG4I1k49NgGPiR8Y2fl8Ua5vyxmttFBq~wp-LrnPkSuesWLRESw1GN705auUYV2uWDqdGzSD7bVfbow__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:26 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:26 Selecting previously unselected package rmr-dev. 00:35:26 (Reading database ... 188037 files and directories currently installed.) 00:35:26 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:26 Unpacking rmr-dev (4.9.0) ... 00:35:26 Setting up rmr-dev (4.9.0) ... 00:35:26 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:26 + echo '---> install-deb-rmr.sh ends' 00:35:26 ---> install-deb-rmr.sh ends 00:35:26 [EnvInject] - Injecting environment variables from a build step. 00:35:26 [EnvInject] - Injecting as environment variables the properties content 00:35:26 PARALLEL=False 00:35:26 00:35:26 [EnvInject] - Variables injected successfully. 00:35:26 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12857980567658729328.sh 00:35:26 ---> tox-run.sh 00:35:26 + 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 00:35:26 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:26 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:26 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:26 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:26 + source /home/jenkins/lf-env.sh 00:35:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:26 ++ mktemp -d /tmp/venv-XXXX 00:35:26 + lf_venv=/tmp/venv-0jKq 00:35:26 + local venv_file=/tmp/.os_lf_venv 00:35:26 + local python=python3 00:35:26 + local options 00:35:26 + local set_path=true 00:35:26 + local install_args= 00:35:26 ++ 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:35:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:26 + true 00:35:26 + case $1 in 00:35:26 + venv_file=/tmp/.toxenv 00:35:26 + shift 2 00:35:26 + true 00:35:26 + case $1 in 00:35:26 + shift 00:35:26 + break 00:35:26 + case $python in 00:35:26 + local pkg_list= 00:35:26 + [[ -d /opt/pyenv ]] 00:35:26 + echo 'Setup pyenv:' 00:35:26 Setup pyenv: 00:35:26 + export PYENV_ROOT=/opt/pyenv 00:35:26 + PYENV_ROOT=/opt/pyenv 00:35:26 + 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 00:35:26 + 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 00:35:26 + pyenv versions 00:35:26 system 00:35:26 3.8.13 00:35:26 3.9.13 00:35:26 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:26 + command -v pyenv 00:35:26 ++ pyenv init - --no-rehash 00:35:26 + 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:35:26 export PATH="/opt/pyenv/shims:${PATH}" 00:35:26 export PYENV_SHELL=bash 00:35:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:26 pyenv() { 00:35:26 local command 00:35:26 command="${1:-}" 00:35:26 if [ "$#" -gt 0 ]; then 00:35:26 shift 00:35:26 fi 00:35:26 00:35:26 case "$command" in 00:35:26 rehash|shell) 00:35:26 eval "$(pyenv "sh-$command" "$@")" 00:35:26 ;; 00:35:26 *) 00:35:26 command pyenv "$command" "$@" 00:35:26 ;; 00:35:26 esac 00:35:26 }' 00:35:26 +++ 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:35:26 ++ 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 00:35:26 ++ 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 00:35:26 ++ 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 00:35:26 ++ export PYENV_SHELL=bash 00:35:26 ++ PYENV_SHELL=bash 00:35:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:26 +++ complete -F _pyenv pyenv 00:35:26 ++ lf-pyver python3 00:35:26 ++ local py_version_xy=python3 00:35:26 ++ local py_version_xyz= 00:35:26 ++ pyenv versions 00:35:26 ++ local command 00:35:26 ++ command=versions 00:35:26 ++ grep -E '^[0-9.]*[0-9]$' 00:35:26 ++ '[' 1 -gt 0 ']' 00:35:26 ++ shift 00:35:26 ++ case "$command" in 00:35:26 ++ command pyenv versions 00:35:26 ++ pyenv versions 00:35:26 ++ awk '{ print $1 }' 00:35:26 ++ sed 's/^[ *]* //' 00:35:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:26 +++ tail -n 1 00:35:26 +++ sort -V 00:35:26 +++ grep '^3' /tmp/.pyenv_versions 00:35:26 ++ py_version_xyz=3.10.6 00:35:26 ++ [[ -z 3.10.6 ]] 00:35:26 ++ echo 3.10.6 00:35:26 ++ return 0 00:35:26 + pyenv local 3.10.6 00:35:26 + local command 00:35:26 + command=local 00:35:26 + '[' 2 -gt 0 ']' 00:35:26 + shift 00:35:26 + case "$command" in 00:35:26 + command pyenv local 3.10.6 00:35:26 + pyenv local 3.10.6 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='tox ' 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='virtualenv ' 00:35:26 + for arg in "$@" 00:35:26 + case $arg in 00:35:26 + pkg_list+='urllib3~=1.26.15 ' 00:35:26 + [[ -f /tmp/.toxenv ]] 00:35:26 ++ cat /tmp/.toxenv 00:35:26 + lf_venv=/tmp/venv-oi4V 00:35:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oi4V from' file:/tmp/.toxenv 00:35:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oi4V from file:/tmp/.toxenv 00:35:26 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:26 + local 'pip_opts=--upgrade --quiet' 00:35:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:26 + [[ -n '' ]] 00:35:26 + [[ -n '' ]] 00:35:26 + lf-venv-pip-install /tmp/venv-oi4V/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:26 + local venv_python=/tmp/venv-oi4V/bin/python3 00:35:26 + shift 00:35:26 + local upstream=https://pypi.org/simple 00:35:26 + /tmp/venv-oi4V/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:35:27 + return 0 00:35:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:27 + lf-venv-pip-install /tmp/venv-oi4V/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 00:35:27 + local venv_python=/tmp/venv-oi4V/bin/python3 00:35:27 + shift 00:35:27 + local upstream=https://pypi.org/simple 00:35:27 + /tmp/venv-oi4V/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:35:29 + return 0 00:35:29 + type python3 00:35:29 + true 00:35:29 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-oi4V/bin to PATH' 00:35:29 lf-activate-venv(): INFO: Adding /tmp/venv-oi4V/bin to PATH 00:35:29 + PATH=/tmp/venv-oi4V/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 00:35:29 + return 0 00:35:29 + [[ -d /opt/pyenv ]] 00:35:29 + echo '---> Setting up pyenv' 00:35:29 ---> Setting up pyenv 00:35:29 + export PYENV_ROOT=/opt/pyenv 00:35:29 + PYENV_ROOT=/opt/pyenv 00:35:29 + export PATH=/opt/pyenv/bin:/tmp/venv-oi4V/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 00:35:29 + PATH=/opt/pyenv/bin:/tmp/venv-oi4V/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 00:35:29 ++ pwd 00:35:29 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:29 + export PYTHONPATH 00:35:29 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:29 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:29 + tox --version 00:35:29 4.65.0 from /tmp/venv-oi4V/lib/python3.10/site-packages/tox/__init__.py 00:35:29 + PARALLEL=False 00:35:29 + TOX_OPTIONS_LIST= 00:35:29 + [[ -n code,flake8 ]] 00:35:29 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:29 + case ${PARALLEL,,} in 00:35:29 + tox -e code,flake8 00:35:29 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:30 code: install_deps> python -I -m pip install coverage influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'numpy<2' 'pandas<2' pytest pytest-cov ricxappframe==3.2.2 'schedule>=0.0.0' 'scikit-learn<1.4' 00:36:06 code: freeze> python -m pip freeze --all 00:36:06 code: async-timeout==5.0.1,build==1.6.1,certifi==2026.11.20,charset-normalizer==3.5.3,cloudpickle==3.1.3,coverage==7.16.2,exceptiongroup==1.3.2,hiredis==2.0.0,idna==3.21,influxdb==5.3.2,iniconfig==2.3.1,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.6.0,mdclogpy==1.1.1,msgpack==1.2.4,numpy==1.26.4,packaging==26.4,pandas==1.5.3,pip==26.3,pluggy==1.7.0,protobuf==3.20.3,Pygments==2.21.0,pyproject_hooks==1.3.3,pytest==9.2.0,pytest-cov==7.1.0,python-dateutil==3.0.0,pytz==2026.6,redis==4.3.6,requests==2.34.2,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.3.2,scipy==1.15.3,setuptools==84.2.1,six==1.17.0,threadpoolctl==3.8.0,tomli==2.5.0,typing_extensions==4.16.0,tzdata==2026.6,urllib3==2.8.0 00:36:06 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:07 ============================= test session starts ============================== 00:36:07 platform linux -- Python 3.10.6, pytest-9.2.0, pluggy-1.7.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:36:07 cachedir: .tox/code/.pytest_cache 00:36:07 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:07 plugins: cov-7.1.0 00:36:07 collecting ... collected 4 items 00:36:08 00:36:08 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:08 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:44 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:45 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:00 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 tests/test_ad.py::test_trainModel 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/lib/python3.10/site-packages/pandas/core/dtypes/cast.py:1641: DeprecationWarning: np.find_common_type is deprecated. Please use `np.result_type` or `np.promote_types`. 00:38:00 See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) 00:38:00 return np.find_common_type(types, []) 00:38:00 00:38:00 tests/test_ad.py::test_predict_anomaly 00:38:00 /w/workspace/ric-app-ad-tox-sonarqube/src/main.py:111: DeprecationWarning: In a future version, `df.iloc[:, i] = newvals` will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either `df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)` 00:38:00 df.loc[:, 'RRU.PrbUsedDl'] = df['RRU.PrbUsedDl'].astype('float') 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 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:00 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:00 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 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 65 44% 41-46, 70-83, 106-110, 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 173 61% 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: 61.04% 00:38:00 ================== 4 passed, 9 warnings in 112.95s (0:01:52) =================== 00:38:00 code: commands[1]> coverage xml -i 00:38:01 Wrote XML report to coverage.xml 00:38:01 code: OK ✔ in 2 minutes 31.38 seconds 00:38:01 flake8: install_deps> python -I -m pip install flake8 00:38:03 flake8: freeze> python -m pip freeze --all 00:38:03 flake8: flake8==7.4.1,mccabe==0.7.0,pip==26.3,pycodestyle==2.15.0,pyflakes==4.0.3,setuptools==84.2.1 00:38:03 flake8: commands[0]> flake8 setup.py src tests 00:38:03 code: OK (151.38=setup[37.04]+cmd[114.15,0.19] seconds) 00:38:03 flake8: OK (2.81=setup[2.53]+cmd[0.28] seconds) 00:38:03 congratulations :) (154.23 seconds) 00:38:03 + tox_status=0 00:38:03 + echo '---> Completed tox runs' 00:38:03 ---> Completed tox runs 00:38:03 + for i in .tox/*/log 00:38:03 ++ echo .tox/code/log 00:38:03 ++ awk -F/ '{print $2}' 00:38:03 + tox_env=code 00:38:03 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:03 + for i in .tox/*/log 00:38:03 ++ echo .tox/flake8/log 00:38:03 ++ awk -F/ '{print $2}' 00:38:03 + tox_env=flake8 00:38:03 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:03 + DOC_DIR=docs/_build/html 00:38:03 + [[ -d docs/_build/html ]] 00:38:03 + echo '---> tox-run.sh ends' 00:38:03 ---> tox-run.sh ends 00:38:03 + test 0 -eq 0 00:38:04 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-4474 00:38:04 [ric-app-ad-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-app-ad -Dsonar.projectName=ric-app-ad -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ad -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-ad-tox-sonarqube 00:38:04 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:04 INFO: Project root configuration file: NONE 00:38:04 INFO: SonarScanner 4.6.2.2472 00:38:04 INFO: Java 17.0.7 Private Build (64-bit) 00:38:04 INFO: Linux 4.15.0-213-generic amd64 00:38:05 INFO: User cache: /home/jenkins/.sonar/cache 00:38:07 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:07 INFO: Project root configuration file: NONE 00:38:07 INFO: Analyzing on SonarCloud 00:38:07 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 INFO: EXECUTION FAILURE 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 INFO: Total time: 3.258s 00:38:08 INFO: Final Memory: 5M/27M 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 ERROR: Error during SonarScanner execution 00:38:08 java.lang.IllegalStateException: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. 00:38:08 at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:59) 00:38:08 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:53) 00:38:08 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 00:38:08 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:38:08 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 00:38:08 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:38:08 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 00:38:08 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 00:38:08 at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 00:38:08 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 00:38:08 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 00:38:08 at org.sonarsource.scanner.cli.Main.execute(Main.java:112) 00:38:08 at org.sonarsource.scanner.cli.Main.execute(Main.java:75) 00:38:08 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 00:38:08 ERROR: 00:38:08 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:08 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:09 $ ssh-agent -k 00:38:09 unset SSH_AUTH_SOCK; 00:38:09 unset SSH_AGENT_PID; 00:38:09 echo Agent pid 1677 killed; 00:38:09 [ssh-agent] Stopped. 00:38:09 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:09 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16268236705558413334.sh 00:38:09 ---> sysstat.sh 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4759137792824618627.sh 00:38:09 ---> package-listing.sh 00:38:09 + '[' -f /etc/os-release ']' 00:38:09 + . /etc/os-release 00:38:09 ++ NAME=Ubuntu 00:38:09 ++ VERSION='18.04.6 LTS (Bionic Beaver)' 00:38:09 ++ ID=ubuntu 00:38:09 ++ ID_LIKE=debian 00:38:09 ++ PRETTY_NAME='Ubuntu 18.04.6 LTS' 00:38:09 ++ VERSION_ID=18.04 00:38:09 ++ HOME_URL=https://www.ubuntu.com/ 00:38:09 ++ SUPPORT_URL=https://help.ubuntu.com/ 00:38:09 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 00:38:09 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 00:38:09 ++ VERSION_CODENAME=bionic 00:38:09 ++ UBUNTU_CODENAME=bionic 00:38:09 + case " ${ID:-} ${ID_LIKE:-} " in 00:38:09 + OS_FAMILY=debian 00:38:09 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:09 + START_PACKAGES=/tmp/packages_start.txt 00:38:09 + END_PACKAGES=/tmp/packages_end.txt 00:38:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:09 + PACKAGES=/tmp/packages_start.txt 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + PACKAGES=/tmp/packages_end.txt 00:38:09 + case "${OS_FAMILY}" in 00:38:09 + grep '^ii' 00:38:09 + dpkg -l 00:38:09 + '[' -f /tmp/packages_start.txt ']' 00:38:09 + '[' -f /tmp/packages_end.txt ']' 00:38:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:09 + true 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 + exit 0 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins228275884455452175.sh 00:38:09 ---> capture-instance-metadata.sh 00:38:09 INFO: Running in OpenStack, capturing instance metadata 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16851514115448862223.sh 00:38:09 provisioning config files... 00:38:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config13891651096315847135tmp 00:38:09 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:09 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:09 [EnvInject] - Injecting environment variables from a build step. 00:38:09 [EnvInject] - Injecting as environment variables the properties content 00:38:09 SERVER_ID=logs 00:38:09 00:38:09 [EnvInject] - Variables injected successfully. 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins316616377763044880.sh 00:38:09 ---> create-netrc.sh 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3948064552778730725.sh 00:38:09 ---> python-tools-install.sh 00:38:09 Setup pyenv: 00:38:09 system 00:38:09 3.8.13 00:38:09 3.9.13 00:38:09 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-taQH from file:/tmp/.os_lf_venv 00:38:09 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:11 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:25 lf-activate-venv(): INFO: Adding /tmp/venv-taQH/bin to PATH 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins466524241337690609.sh 00:38:25 ---> uv-install.sh 00:38:25 uv 0.13.13 is already installed 00:38:25 uvx 0.13.13 (x86_64-unknown-linux-gnu) 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13259722535319364654.sh 00:38:25 ---> sudo-logs.sh 00:38:25 Archiving 'sudo' log.. 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8592338086275709622.sh 00:38:25 ---> job-cost.sh 00:38:25 INFO: Activating Python virtual environment... 00:38:25 Setup pyenv: 00:38:25 system 00:38:25 3.8.13 00:38:25 3.9.13 00:38:25 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-taQH from file:/tmp/.os_lf_venv 00:38:25 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:27 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:34 lf-activate-venv(): INFO: Adding /tmp/venv-taQH/bin to PATH 00:38:34 INFO: No stack-cost file found 00:38:34 INFO: Instance uptime: 307s 00:38:34 INFO: Fetching instance metadata (attempt 1 of 3)... 00:38:34 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 00:38:34 INFO: Successfully fetched instance metadata 00:38:34 INFO: Instance type: v3-starter-2 00:38:34 INFO: Retrieving pricing info for: v3-starter-2 00:38:34 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 00:38:34 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=307 00:38:34 INFO: Successfully fetched Vexxhost pricing API 00:38:34 INFO: Retrieved cost: 0.02 00:38:34 INFO: Retrieved resource: v3-starter-2 00:38:34 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost 00:38:34 INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv 00:38:34 INFO: Successfully archived job cost data 00:38:34 DEBUG: Cost data: ric-app-ad-tox-sonarqube,312,2026-12-06 00:38:34,v3-starter-2,307,0.02,0.00,FAILURE 00:38:34 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1426406241083546662.sh 00:38:34 ---> logs-deploy.sh 00:38:34 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/312 00:38:34 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:44 INFO: archiving logs to Nexus 00:38:44 ---> uname -a: 00:38:44 Linux prd-ubuntu1804-builder-2c-2g-4474 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:38:44 00:38:44 00:38:44 ---> lscpu: 00:38:44 Architecture: x86_64 00:38:44 CPU op-mode(s): 32-bit, 64-bit 00:38:44 Byte Order: Little Endian 00:38:44 CPU(s): 2 00:38:44 On-line CPU(s) list: 0,1 00:38:44 Thread(s) per core: 1 00:38:44 Core(s) per socket: 1 00:38:44 Socket(s): 2 00:38:44 NUMA node(s): 1 00:38:44 Vendor ID: AuthenticAMD 00:38:44 CPU family: 23 00:38:44 Model: 49 00:38:44 Model name: AMD EPYC-Rome Processor 00:38:44 Stepping: 0 00:38:44 CPU MHz: 2800.000 00:38:44 BogoMIPS: 5600.00 00:38:44 Virtualization: AMD-V 00:38:44 Hypervisor vendor: KVM 00:38:44 Virtualization type: full 00:38:44 L1d cache: 32K 00:38:44 L1i cache: 32K 00:38:44 L2 cache: 512K 00:38:44 L3 cache: 16384K 00:38:44 NUMA node0 CPU(s): 0,1 00:38:44 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:38:44 00:38:44 00:38:44 ---> nproc: 00:38:44 2 00:38:44 00:38:44 00:38:44 ---> df -h: 00:38:44 Filesystem Size Used Avail Use% Mounted on 00:38:44 udev 2.0G 0 2.0G 0% /dev 00:38:44 tmpfs 395M 668K 394M 1% /run 00:38:44 /dev/vda1 20G 8.2G 12G 43% / 00:38:44 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:38:44 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:44 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:38:44 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:44 tmpfs 395M 0 395M 0% /run/user/1001 00:38:44 00:38:44 00:38:44 ---> free -m: 00:38:44 total used free shared buff/cache available 00:38:44 Mem: 3944 417 401 0 3125 3244 00:38:44 Swap: 1023 0 1023 00:38:44 00:38:44 00:38:44 ---> ip addr: 00:38:44 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:44 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:44 inet 127.0.0.1/8 scope host lo 00:38:44 valid_lft forever preferred_lft forever 00:38:44 inet6 ::1/128 scope host 00:38:44 valid_lft forever preferred_lft forever 00:38:44 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:44 link/ether fa:16:3e:de:43:21 brd ff:ff:ff:ff:ff:ff 00:38:44 inet 10.32.6.244/23 brd 10.32.7.255 scope global dynamic ens3 00:38:44 valid_lft 86095sec preferred_lft 86095sec 00:38:44 inet6 fe80::f816:3eff:fede:4321/64 scope link 00:38:44 valid_lft forever preferred_lft forever 00:38:44 00:38:44 00:38:44 ---> sar -b -r -n DEV: 00:38:44 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4474) 12/06/26 _x86_64_ (2 CPU) 00:38:44 00:38:44 00:33:41 LINUX RESTART (2 CPU) 00:38:44 00:38:44 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:44 00:35:02 94.83 18.91 75.92 703.22 8122.51 00:38:44 00:36:01 139.71 50.26 89.44 2647.42 21665.75 00:38:44 00:37:01 31.38 1.45 29.93 44.93 12741.74 00:38:44 00:38:01 1.48 0.10 1.38 14.53 751.75 00:38:44 Average: 66.54 17.54 49.00 844.98 10774.65 00:38:44 00:38:44 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:44 00:35:02 1634592 3364512 2404468 59.53 55104 1827508 638672 12.55 547160 1691216 241168 00:38:44 00:36:01 848132 3320172 3190928 79.00 75224 2521468 692692 13.62 698572 2267260 300440 00:38:44 00:37:01 752476 3209932 3286584 81.37 78020 2500856 928228 18.24 738328 2317056 1744 00:38:44 00:38:01 919068 3402228 3119992 77.25 78448 2526204 626432 12.31 553904 2335776 4636 00:38:44 Average: 1038567 3324211 3000493 74.29 71699 2344009 721506 14.18 634491 2152827 136997 00:38:44 00:38:44 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:44 00:35:02 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 00:38:44 00:35:02 ens3 94.58 78.87 1740.00 11.42 0.00 0.00 0.00 0.00 00:38:44 00:36:01 lo 2.24 2.24 0.22 0.22 0.00 0.00 0.00 0.00 00:38:44 00:36:01 ens3 103.36 85.44 1706.82 10.59 0.00 0.00 0.00 0.00 00:38:44 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:44 00:37:01 ens3 0.35 0.47 0.07 0.10 0.00 0.00 0.00 0.00 00:38:44 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:38:44 00:38:01 ens3 0.45 0.45 0.09 0.12 0.00 0.00 0.00 0.00 00:38:44 Average: lo 1.67 1.67 0.12 0.12 0.00 0.00 0.00 0.00 00:38:44 Average: ens3 49.46 41.12 858.17 5.53 0.00 0.00 0.00 0.00 00:38:44 00:38:44 00:38:44 ---> sar -P ALL: 00:38:44 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4474) 12/06/26 _x86_64_ (2 CPU) 00:38:44 00:38:44 00:33:41 LINUX RESTART (2 CPU) 00:38:44 00:38:44 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:44 00:35:02 all 38.93 0.00 2.38 5.74 0.09 52.85 00:38:44 00:35:02 0 21.09 0.00 1.50 0.28 0.07 77.06 00:38:44 00:35:02 1 56.86 0.00 3.29 11.23 0.12 28.50 00:38:44 00:36:01 all 34.81 0.00 3.02 6.78 0.09 55.30 00:38:44 00:36:01 0 48.05 0.00 3.20 1.43 0.10 47.22 00:38:44 00:36:01 1 21.54 0.00 2.83 12.15 0.07 63.41 00:38:44 00:37:01 all 49.65 0.00 0.67 0.83 0.09 48.76 00:38:44 00:37:01 0 49.82 0.00 0.79 0.08 0.10 49.21 00:38:44 00:37:01 1 49.51 0.00 0.53 1.55 0.10 48.31 00:38:44 00:38:01 all 37.67 0.00 0.13 0.02 0.06 62.12 00:38:44 00:38:01 0 1.19 0.00 0.12 0.00 0.00 98.69 00:38:44 00:38:01 1 74.33 0.00 0.17 0.03 0.12 25.35 00:38:44 Average: all 40.29 0.00 1.54 3.32 0.08 54.76 00:38:44 Average: 0 29.88 0.00 1.39 0.44 0.07 68.22 00:38:44 Average: 1 50.72 0.00 1.70 6.21 0.10 41.28 00:38:44 00:38:44 00:38:44