00:33:58 Started by timer 00:33:58 Running as SYSTEM 00:33:58 [EnvInject] - Loading node environment variables. 00:33:58 Building remotely on prd-ubuntu1804-builder-2c-2g-2206 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:58 [ssh-agent] Looking for ssh-agent implementation... 00:33:58 $ ssh-agent 00:33:58 SSH_AUTH_SOCK=/tmp/ssh-fxDp1ZTG9oLd/agent.1630 00:33:58 SSH_AGENT_PID=1632 00:33:58 [ssh-agent] Started. 00:33:58 Running ssh-add (command line suppressed) 00:33:58 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_12061435773504636386.key (jenkins-ssh) 00:33:58 [ssh-agent] Using credentials jenkins (jenkins) 00:33:58 The recommended git tool is: NONE 00:34:00 using credential jenkins 00:34:00 Wiping out workspace first. 00:34:00 Cloning the remote Git repository 00:34:00 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:00 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:00 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:00 > git --version # timeout=10 00:34:00 > git --version # 'git version 2.17.1' 00:34:00 using GIT_SSH to set credentials jenkins 00:34:00 > 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:01 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:02 Avoid second fetch 00:34:02 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:02 Checking out Revision 350a9759066203fa9867b96669831afd58f5c811 (refs/remotes/origin/master) 00:34:02 > git config core.sparsecheckout # timeout=10 00:34:02 > git checkout -f 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:02 Commit message: "Chore(rtd): modernise docs build infra" 00:34:02 > git rev-list --no-walk 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:06 provisioning config files... 00:34:06 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:06 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4483937609643138976.sh 00:34:06 ---> python-tools-install.sh 00:34:06 Setup pyenv: 00:34:06 * system (set by /opt/pyenv/version) 00:34:06 * 3.8.13 (set by /opt/pyenv/version) 00:34:06 * 3.9.13 (set by /opt/pyenv/version) 00:34:06 * 3.10.6 (set by /opt/pyenv/version) 00:34:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mfjn 00:34:10 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:10 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:34:16 lf-activate-venv(): INFO: Installing additional packages: lftools 00:34:40 lf-activate-venv(): INFO: Adding /tmp/venv-mfjn/bin to PATH 00:34:40 Generating Requirements File 00:35:09 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:09 botocore 1.43.126 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 3.0.0 which is incompatible. 00:35:09 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 00:35:09 Python 3.10.6 00:35:09 pip 26.3 from /tmp/venv-mfjn/lib/python3.10/site-packages/pip (python 3.10) 00:35:10 aiohappyeyeballs==2.7.1 00:35:10 aiohttp==3.14.5 00:35:10 aiosignal==1.4.0 00:35:10 appdirs==1.4.4 00:35:10 argcomplete==3.7.2 00:35:10 aspy.yaml==1.3.0 00:35:10 async-timeout==5.0.1 00:35:10 attrs==26.1.0 00:35:10 autopage==0.6.0 00:35:10 backports.strenum==1.3.1 00:35:10 beautifulsoup4==4.15.0 00:35:10 boto3==1.43.126 00:35:10 botocore==1.43.126 00:35:10 bs4==0.0.2 00:35:10 certifi==2026.10.23 00:35:10 cffi==2.1.1 00:35:10 cfgv==3.5.0 00:35:10 chardet==7.7.0 00:35:10 charset-normalizer==3.5.2 00:35:10 click==8.5.1 00:35:10 cliff==4.14.0 00:35:10 cmd2==3.5.1 00:35:10 cryptography==3.3.2 00:35:10 debtcollector==3.1.0 00:35:10 decorator==5.3.1 00:35:10 defusedxml==0.7.1 00:35:10 Deprecated==1.3.1 00:35:10 distlib==0.4.4 00:35:10 dnspython==2.8.0 00:35:10 docker==7.2.0 00:35:10 dogpile.cache==1.5.0 00:35:10 durationpy==0.11 00:35:10 email-validator==2.3.0 00:35:10 filelock==4.1.0 00:35:10 frozenlist==1.8.0 00:35:10 future==1.0.0 00:35:10 gitdb==4.0.12 00:35:10 GitPython==3.2.1 00:35:10 httplib2==0.30.2 00:35:10 identify==2.6.20 00:35:10 idna==3.20 00:35:10 importlib-resources==1.5.0 00:35:10 iso8601==2.1.0 00:35:10 Jinja2==3.1.6 00:35:10 jmespath==1.1.0 00:35:10 jsonpatch==1.44 00:35:10 jsonpointer==3.10 00:35:10 jsonschema==4.26.0 00:35:10 jsonschema-specifications==2025.9.1 00:35:10 keystoneauth1==5.14.0 00:35:10 kubernetes==36.0.3 00:35:10 lftools==0.37.26 00:35:10 lxml==6.1.3 00:35:10 markdown-it-py==4.2.0 00:35:10 MarkupSafe==3.0.4 00:35:10 mdurl==0.1.2 00:35:10 msgpack==1.2.4 00:35:10 multi_key_dict==2.0.4 00:35:10 multidict==7.1.0 00:35:10 munch==4.0.0 00:35:10 netaddr==1.3.0 00:35:10 niet==1.4.2 00:35:10 nodeenv==1.12.0 00:35:10 oauth2client==4.1.3 00:35:10 oauthlib==4.0.1 00:35:10 openstacksdk==4.13.0 00:35:10 os-service-types==1.8.2 00:35:10 osc-lib==4.6.0 00:35:10 oslo.config==10.4.0 00:35:10 oslo.context==6.4.0 00:35:10 oslo.i18n==6.8.0 00:35:10 oslo.log==8.2.0 00:35:10 oslo.serialization==5.10.0 00:35:10 oslo.utils==10.1.1 00:35:10 packaging==26.3 00:35:10 pbr==7.1.3 00:35:10 platformdirs==4.12.4 00:35:10 prettytable==3.18.0 00:35:10 propcache==0.5.4 00:35:10 psutil==7.2.2 00:35:10 pyasn1==0.6.5 00:35:10 pyasn1_modules==0.4.2 00:35:10 pycparser==3.11 00:35:10 pygerrit2==2.0.15 00:35:10 PyGithub==2.10.0 00:35:10 Pygments==2.21.0 00:35:10 PyJWT==2.15.1 00:35:10 PyNaCl==1.6.2 00:35:10 pyparsing==2.4.7 00:35:10 pyperclip==1.11.0 00:35:10 pyrsistent==0.20.0 00:35:10 python-cinderclient==9.9.0 00:35:10 python-dateutil==3.0.0 00:35:10 python-discovery==1.9.5 00:35:10 python-heatclient==5.2.0 00:35:10 python-jenkins==1.8.3 00:35:10 python-keystoneclient==6.0.0 00:35:10 python-magnumclient==4.11.0 00:35:10 python-openstackclient==10.0.0 00:35:10 python-swiftclient==4.11.0 00:35:10 PyYAML==6.0.3 00:35:10 referencing==0.37.0 00:35:10 requests==2.34.2 00:35:10 requests-oauthlib==2.0.0 00:35:10 rfc3986==2.0.0 00:35:10 rich==15.0.0 00:35:10 rich-argparse==1.8.0 00:35:10 rpds-py==0.30.0 00:35:10 rsa==4.9.1 00:35:10 ruamel.yaml==0.19.1 00:35:10 ruamel.yaml.clib==0.2.15 00:35:10 s3transfer==0.19.3 00:35:10 simplejson==4.2.0 00:35:10 six==1.17.0 00:35:10 smmap==5.0.3 00:35:10 soupsieve==2.10 00:35:10 stevedore==5.8.0 00:35:10 tabulate==0.10.0 00:35:10 toml==0.10.2 00:35:10 tomlkit==0.15.2 00:35:10 tqdm==4.70.1 00:35:10 typing_extensions==4.16.0 00:35:10 tzdata==2026.6 00:35:10 urllib3==1.26.20 00:35:10 virtualenv==21.15.6 00:35:10 wcwidth==0.9.4 00:35:10 websocket-client==1.9.2 00:35:10 wrapt==2.5.2 00:35:10 xdg==6.0.0 00:35:10 xmltodict==1.0.4 00:35:10 yarl==1.25.1 00:35:10 yq==4.4.5 00:35:10 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins5904025601929717754.sh 00:35:10 ---> uv-install.sh 00:35:10 Installing uv/uvx (latest) using shell installer 00:35:10 2026-11-08 00:35:10 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-OUYxtF.sh" [1] 00:35:10 downloading uv 0.13.7 x86_64-unknown-linux-gnu 00:35:11 installing to /home/jenkins/.local/bin 00:35:11 uv 00:35:11 uvx 00:35:11 everything's installed! 00:35:11 00:35:11 To add $HOME/.local/bin to your PATH, either restart your shell or run: 00:35:11 00:35:11 source $HOME/.local/bin/env (sh, bash, zsh) 00:35:11 source $HOME/.local/bin/env.fish (fish) 00:35:11 Adding install location to PATH 00:35:11 ---> Validating uv/uvx install 00:35:11 uvx 0.13.7 (x86_64-unknown-linux-gnu) 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 SET_JDK_VERSION=openjdk17 00:35:11 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:11 00:35:11 [EnvInject] - Variables injected successfully. 00:35:11 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins14549769011389249014.sh 00:35:11 ---> update-java-alternatives.sh 00:35:11 ---> Updating Java version 00:35:12 ---> Ubuntu/Debian system detected 00:35:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:12 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:12 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:13 openjdk version "17.0.7" 2023-04-18 00:35:13 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:13 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:13 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:13 [EnvInject] - Injecting environment variables from a build step. 00:35:13 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:13 [EnvInject] - Variables injected successfully. 00:35:13 [EnvInject] - Injecting environment variables from a build step. 00:35:13 [EnvInject] - Injecting as environment variables the properties content 00:35:13 PYTHON=python3 00:35:13 00:35:13 [EnvInject] - Variables injected successfully. 00:35:13 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6715843116641976367.sh 00:35:13 ---> tox-install.sh 00:35:13 + source /home/jenkins/lf-env.sh 00:35:13 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:13 ++ mktemp -d /tmp/venv-XXXX 00:35:13 + lf_venv=/tmp/venv-sKGc 00:35:13 + local venv_file=/tmp/.os_lf_venv 00:35:13 + local python=python3 00:35:13 + local options 00:35:13 + local set_path=true 00:35:13 + local install_args= 00:35:13 ++ 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:13 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:13 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:13 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:13 + true 00:35:13 + case $1 in 00:35:13 + venv_file=/tmp/.toxenv 00:35:13 + shift 2 00:35:13 + true 00:35:13 + case $1 in 00:35:13 + shift 00:35:13 + break 00:35:13 + case $python in 00:35:13 + local pkg_list= 00:35:13 + [[ -d /opt/pyenv ]] 00:35:13 + echo 'Setup pyenv:' 00:35:13 Setup pyenv: 00:35:13 + export PYENV_ROOT=/opt/pyenv 00:35:13 + PYENV_ROOT=/opt/pyenv 00:35:13 + 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:13 + 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:13 + pyenv versions 00:35:13 system 00:35:13 3.8.13 00:35:13 3.9.13 00:35:13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:13 + command -v pyenv 00:35:13 ++ pyenv init - --no-rehash 00:35:13 + 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:13 export PATH="/opt/pyenv/shims:${PATH}" 00:35:13 export PYENV_SHELL=bash 00:35:13 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:13 pyenv() { 00:35:13 local command 00:35:13 command="${1:-}" 00:35:13 if [ "$#" -gt 0 ]; then 00:35:13 shift 00:35:13 fi 00:35:13 00:35:13 case "$command" in 00:35:13 rehash|shell) 00:35:13 eval "$(pyenv "sh-$command" "$@")" 00:35:13 ;; 00:35:13 *) 00:35:13 command pyenv "$command" "$@" 00:35:13 ;; 00:35:13 esac 00:35:13 }' 00:35:13 +++ 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:13 ++ 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:13 ++ 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:13 ++ 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:13 ++ export PYENV_SHELL=bash 00:35:13 ++ PYENV_SHELL=bash 00:35:13 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:13 +++ complete -F _pyenv pyenv 00:35:13 ++ lf-pyver python3 00:35:13 ++ local py_version_xy=python3 00:35:13 ++ local py_version_xyz= 00:35:13 ++ pyenv versions 00:35:13 ++ local command 00:35:13 ++ command=versions 00:35:13 ++ '[' 1 -gt 0 ']' 00:35:13 ++ shift 00:35:13 ++ case "$command" in 00:35:13 ++ command pyenv versions 00:35:13 ++ pyenv versions 00:35:13 ++ sed 's/^[ *]* //' 00:35:13 ++ awk '{ print $1 }' 00:35:13 ++ grep -E '^[0-9.]*[0-9]$' 00:35:13 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:13 +++ tail -n 1 00:35:13 +++ sort -V 00:35:13 +++ grep '^3' /tmp/.pyenv_versions 00:35:13 ++ py_version_xyz=3.10.6 00:35:13 ++ [[ -z 3.10.6 ]] 00:35:13 ++ echo 3.10.6 00:35:13 ++ return 0 00:35:13 + pyenv local 3.10.6 00:35:13 + local command 00:35:13 + command=local 00:35:13 + '[' 2 -gt 0 ']' 00:35:13 + shift 00:35:13 + case "$command" in 00:35:13 + command pyenv local 3.10.6 00:35:13 + pyenv local 3.10.6 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='tox ' 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='virtualenv ' 00:35:13 + for arg in "$@" 00:35:13 + case $arg in 00:35:13 + pkg_list+='urllib3~=1.26.15 ' 00:35:13 + [[ -f /tmp/.toxenv ]] 00:35:13 + [[ ! -f /tmp/.toxenv ]] 00:35:13 + [[ -n '' ]] 00:35:13 + python3 -m venv /tmp/venv-sKGc 00:35:17 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sKGc' 00:35:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sKGc 00:35:17 + echo /tmp/venv-sKGc 00:35:17 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:17 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:17 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:17 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:17 + local 'pip_opts=--upgrade --quiet' 00:35:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:17 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:17 + [[ -n '' ]] 00:35:17 + [[ -n '' ]] 00:35:17 + lf-venv-pip-install /tmp/venv-sKGc/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:17 + local venv_python=/tmp/venv-sKGc/bin/python3 00:35:17 + shift 00:35:17 + local upstream=https://pypi.org/simple 00:35:17 + /tmp/venv-sKGc/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:21 + return 0 00:35:21 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:21 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:21 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:21 + lf-venv-pip-install /tmp/venv-sKGc/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:21 + local venv_python=/tmp/venv-sKGc/bin/python3 00:35:21 + shift 00:35:21 + local upstream=https://pypi.org/simple 00:35:21 + /tmp/venv-sKGc/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:24 + return 0 00:35:24 + type python3 00:35:24 + true 00:35:24 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-sKGc/bin to PATH' 00:35:24 lf-activate-venv(): INFO: Adding /tmp/venv-sKGc/bin to PATH 00:35:24 + PATH=/tmp/venv-sKGc/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:24 + return 0 00:35:24 + python3 --version 00:35:24 Python 3.10.6 00:35:24 + python3 -m pip --version 00:35:24 pip 26.3 from /tmp/venv-sKGc/lib/python3.10/site-packages/pip (python 3.10) 00:35:24 + python3 -m pip freeze 00:35:24 cachetools==7.3.0 00:35:24 colorama==0.4.6 00:35:24 distlib==0.4.4 00:35:24 filelock==4.1.0 00:35:24 packaging==26.3 00:35:24 platformdirs==4.12.4 00:35:24 pluggy==1.7.0 00:35:24 pyproject-api==1.11.4 00:35:24 python-discovery==1.9.5 00:35:24 tomli==2.5.0 00:35:24 tomli_w==1.2.0 00:35:24 tox==4.65.0 00:35:24 typing_extensions==4.16.0 00:35:24 urllib3==1.26.20 00:35:24 virtualenv==21.15.6 00:35:24 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1422732551969216772.sh 00:35:24 ---> install-deb-rmr.sh 00:35:24 + version_file=rmr-version.yaml 00:35:24 + '[' -f rmr-version.yaml ']' 00:35:24 ++ xargs 00:35:24 ++ cut -d: -f2 00:35:24 ++ grep '^repo:' rmr-version.yaml 00:35:24 + repo= 00:35:24 ++ grep '^version:' rmr-version.yaml 00:35:24 ++ cut -d: -f2 00:35:24 ++ xargs 00:35:24 + ver=4.9.0 00:35:24 + '[' -z 4.9.0 ']' 00:35:24 + repo=release 00:35:24 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:24 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:24 2026-11-08 00:35:24 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1794099024&Signature=VszekZ2ZX8dOcB2MksVSePL5ZdxZ40GX98pjtv4MUgOyIp3DQ6xqTtWe7uDDX4DX~MH7bSDGchSuJnsic4Hi-t6cgBatzKqgZwDD2wg5Negcew-R67ed-z3xGaxS1H6SDAwX-U1rJVY7XmwLbAYaFJ50lQ6PCmE53YvvLDuQXhQ2Pf9AuD3AGqT3RP-TdpsRzBr8hmlmbMFsOvpoowxQ7FRGMTw4sEDHFXFx9EGCyloqrREZUr2EIBOYpsVbVxEQhnUwajZT4tl21P6yJ9gxuD8p9x4jCzRhRUSdiPT6LMCCOgP2z4m~ZjY9RUTdhf2i47iMMRclYrp~nmrvFcqzEA__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:24 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:24 Selecting previously unselected package rmr. 00:35:26 (Reading database ... 188029 files and directories currently installed.) 00:35:26 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:26 Unpacking rmr (4.9.0) ... 00:35:26 Setting up rmr (4.9.0) ... 00:35:26 + rm -f rmr_4.9.0_amd64.deb 00:35:26 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:26 + 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-11-08 00:35:26 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1794099026&Signature=lHpyT8XH8LjJxMtZrUnpO2pROujyFEb9MDmbKqEO6KjAX~SYpArEBOJrzGBNMpqLHmTjC7Vnx9e16rzBtwCup0N8~cNvmlYnuTe8zciuSVp-QE1X~phXShQO48z8jQdll94SqQJ0hbVZFzy4uXLnxr28vaTZJzyysvpBymfFwugxhEhxTSpcs-fH~3Df2HgZ4A6e1BjqlNApYZIxQ50DB3Nhg-UcztmDUXXmQx52jin5JytW7aXr9CLilYd9~qLUhpkgc2fI3S0BymVxS-zM6ReFjEUEvFeE4YP573w9fb-N2V9dhVvQ4O30G2OaoBjmHFUgOKKmrmk1mZ7i8eD0CA__&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:27 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:27 Unpacking rmr-dev (4.9.0) ... 00:35:27 Setting up rmr-dev (4.9.0) ... 00:35:27 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:27 + echo '---> install-deb-rmr.sh ends' 00:35:27 ---> install-deb-rmr.sh ends 00:35:27 [EnvInject] - Injecting environment variables from a build step. 00:35:27 [EnvInject] - Injecting as environment variables the properties content 00:35:27 PARALLEL=False 00:35:27 00:35:27 [EnvInject] - Variables injected successfully. 00:35:27 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18233625159865888251.sh 00:35:27 ---> tox-run.sh 00:35:27 + 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:27 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:27 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:27 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:27 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:27 + source /home/jenkins/lf-env.sh 00:35:27 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:27 ++ mktemp -d /tmp/venv-XXXX 00:35:27 + lf_venv=/tmp/venv-eyAr 00:35:27 + local venv_file=/tmp/.os_lf_venv 00:35:27 + local python=python3 00:35:27 + local options 00:35:27 + local set_path=true 00:35:27 + local install_args= 00:35:27 ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:27 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:27 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:27 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:27 + true 00:35:27 + case $1 in 00:35:27 + venv_file=/tmp/.toxenv 00:35:27 + shift 2 00:35:27 + true 00:35:27 + case $1 in 00:35:27 + shift 00:35:27 + break 00:35:27 + case $python in 00:35:27 + local pkg_list= 00:35:27 + [[ -d /opt/pyenv ]] 00:35:27 + echo 'Setup pyenv:' 00:35:27 Setup pyenv: 00:35:27 + export PYENV_ROOT=/opt/pyenv 00:35:27 + PYENV_ROOT=/opt/pyenv 00:35:27 + 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:27 + 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:27 + pyenv versions 00:35:27 system 00:35:27 3.8.13 00:35:27 3.9.13 00:35:27 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:27 + command -v pyenv 00:35:27 ++ pyenv init - --no-rehash 00:35:27 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" 00:35:27 export PATH="/opt/pyenv/shims:${PATH}" 00:35:27 export PYENV_SHELL=bash 00:35:27 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:27 pyenv() { 00:35:27 local command 00:35:27 command="${1:-}" 00:35:27 if [ "$#" -gt 0 ]; then 00:35:27 shift 00:35:27 fi 00:35:27 00:35:27 case "$command" in 00:35:27 rehash|shell) 00:35:27 eval "$(pyenv "sh-$command" "$@")" 00:35:27 ;; 00:35:27 *) 00:35:27 command pyenv "$command" "$@" 00:35:27 ;; 00:35:27 esac 00:35:27 }' 00:35:27 +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' 00:35:27 ++ 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:27 ++ 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:27 ++ 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:27 ++ export PYENV_SHELL=bash 00:35:27 ++ PYENV_SHELL=bash 00:35:27 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:27 +++ complete -F _pyenv pyenv 00:35:27 ++ lf-pyver python3 00:35:27 ++ local py_version_xy=python3 00:35:27 ++ local py_version_xyz= 00:35:27 ++ pyenv versions 00:35:27 ++ local command 00:35:27 ++ command=versions 00:35:27 ++ '[' 1 -gt 0 ']' 00:35:27 ++ shift 00:35:27 ++ case "$command" in 00:35:27 ++ command pyenv versions 00:35:27 ++ pyenv versions 00:35:27 ++ awk '{ print $1 }' 00:35:27 ++ grep -E '^[0-9.]*[0-9]$' 00:35:27 ++ sed 's/^[ *]* //' 00:35:27 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:27 +++ grep '^3' /tmp/.pyenv_versions 00:35:27 +++ sort -V 00:35:27 +++ tail -n 1 00:35:27 ++ py_version_xyz=3.10.6 00:35:27 ++ [[ -z 3.10.6 ]] 00:35:27 ++ echo 3.10.6 00:35:27 ++ return 0 00:35:27 + pyenv local 3.10.6 00:35:27 + local command 00:35:27 + command=local 00:35:27 + '[' 2 -gt 0 ']' 00:35:27 + shift 00:35:27 + case "$command" in 00:35:27 + command pyenv local 3.10.6 00:35:27 + pyenv local 3.10.6 00:35:27 + for arg in "$@" 00:35:27 + case $arg in 00:35:27 + pkg_list+='tox ' 00:35:27 + for arg in "$@" 00:35:27 + case $arg in 00:35:27 + pkg_list+='virtualenv ' 00:35:27 + for arg in "$@" 00:35:27 + case $arg in 00:35:27 + pkg_list+='urllib3~=1.26.15 ' 00:35:27 + [[ -f /tmp/.toxenv ]] 00:35:27 ++ cat /tmp/.toxenv 00:35:27 + lf_venv=/tmp/venv-sKGc 00:35:27 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sKGc from' file:/tmp/.toxenv 00:35:27 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sKGc from file:/tmp/.toxenv 00:35:27 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:27 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:27 + local 'pip_opts=--upgrade --quiet' 00:35:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:27 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:27 + [[ -n '' ]] 00:35:27 + [[ -n '' ]] 00:35:27 + lf-venv-pip-install /tmp/venv-sKGc/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:27 + local venv_python=/tmp/venv-sKGc/bin/python3 00:35:27 + shift 00:35:27 + local upstream=https://pypi.org/simple 00:35:27 + /tmp/venv-sKGc/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:28 + return 0 00:35:28 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:28 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:28 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:28 + lf-venv-pip-install /tmp/venv-sKGc/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:28 + local venv_python=/tmp/venv-sKGc/bin/python3 00:35:28 + shift 00:35:28 + local upstream=https://pypi.org/simple 00:35:28 + /tmp/venv-sKGc/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-sKGc/bin to PATH' 00:35:29 lf-activate-venv(): INFO: Adding /tmp/venv-sKGc/bin to PATH 00:35:29 + PATH=/tmp/venv-sKGc/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-sKGc/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-sKGc/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:30 4.65.0 from /tmp/venv-sKGc/lib/python3.10/site-packages/tox/__init__.py 00:35:30 + PARALLEL=False 00:35:30 + TOX_OPTIONS_LIST= 00:35:30 + [[ -n code,flake8 ]] 00:35:30 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:30 + case ${PARALLEL,,} in 00:35:30 + tox -e code,flake8 00:35:30 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:31 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:07 code: freeze> python -m pip freeze --all 00:36:07 code: async-timeout==5.0.1,build==1.6.1,certifi==2026.10.23,charset-normalizer==3.5.2,cloudpickle==3.1.2,coverage==7.16.2,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.20,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.3,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:07 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:08 ============================= test session starts ============================== 00:36:08 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:08 cachedir: .tox/code/.pytest_cache 00:36:08 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:08 plugins: cov-7.1.0 00:36:08 collecting ... collected 4 items 00:36:09 00:36:09 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:09 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:57 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:58 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:13 00:38:13 =============================== warnings summary =============================== 00:38:13 tests/test_ad.py::test_trainModel 00:38:13 tests/test_ad.py::test_trainModel 00:38:13 tests/test_ad.py::test_trainModel 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 /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:13 See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) 00:38:13 return np.find_common_type(types, []) 00:38:13 00:38:13 tests/test_ad.py::test_predict_anomaly 00:38:13 /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:13 df.loc[:, 'RRU.PrbUsedDl'] = df['RRU.PrbUsedDl'].astype('float') 00:38:13 00:38:13 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:13 ================================ tests coverage ================================ 00:38:13 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 00:38:13 00:38:13 Name Stmts Miss Cover Missing 00:38:13 ------------------------------------------------- 00:38:13 src/__init__.py 0 0 100% 00:38:13 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:13 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:13 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:13 src/exceptions.py 4 4 0% 18-25 00:38:13 src/insert.py 50 50 0% 21-84 00:38:13 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:13 src/processing.py 44 0 100% 00:38:13 ------------------------------------------------- 00:38:13 TOTAL 444 173 61% 00:38:13 Coverage HTML written to dir htmlcov 00:38:13 Coverage XML written to file coverage.xml 00:38:13 Required test coverage of 50% reached. Total coverage: 61.04% 00:38:13 ================== 4 passed, 9 warnings in 125.18s (0:02:05) =================== 00:38:14 code: commands[1]> coverage xml -i 00:38:14 Wrote XML report to coverage.xml 00:38:14 code: OK ✔ in 2 minutes 43.89 seconds 00:38:14 flake8: install_deps> python -I -m pip install flake8 00:38:16 flake8: freeze> python -m pip freeze --all 00:38:16 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:16 flake8: commands[0]> flake8 setup.py src tests 00:38:17 code: OK (163.89=setup[37.34]+cmd[126.35,0.20] seconds) 00:38:17 flake8: OK (2.68=setup[2.43]+cmd[0.25] seconds) 00:38:17 congratulations :) (166.60 seconds) 00:38:17 + tox_status=0 00:38:17 + echo '---> Completed tox runs' 00:38:17 ---> Completed tox runs 00:38:17 + for i in .tox/*/log 00:38:17 ++ awk -F/ '{print $2}' 00:38:17 ++ echo .tox/code/log 00:38:17 + tox_env=code 00:38:17 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:17 + for i in .tox/*/log 00:38:17 ++ echo .tox/flake8/log 00:38:17 ++ awk -F/ '{print $2}' 00:38:17 + tox_env=flake8 00:38:17 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:17 + DOC_DIR=docs/_build/html 00:38:17 + [[ -d docs/_build/html ]] 00:38:17 + echo '---> tox-run.sh ends' 00:38:17 ---> tox-run.sh ends 00:38:17 + test 0 -eq 0 00:38:17 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-2206 00:38:18 [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:18 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:18 INFO: Project root configuration file: NONE 00:38:18 INFO: SonarScanner 4.6.2.2472 00:38:18 INFO: Java 17.0.7 Private Build (64-bit) 00:38:18 INFO: Linux 4.15.0-213-generic amd64 00:38:18 INFO: User cache: /home/jenkins/.sonar/cache 00:38:21 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:21 INFO: Project root configuration file: NONE 00:38:21 INFO: Analyzing on SonarCloud 00:38:21 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:21 INFO: ------------------------------------------------------------------------ 00:38:21 INFO: EXECUTION FAILURE 00:38:21 INFO: ------------------------------------------------------------------------ 00:38:21 INFO: Total time: 3.636s 00:38:21 INFO: Final Memory: 5M/27M 00:38:21 INFO: ------------------------------------------------------------------------ 00:38:21 ERROR: Error during SonarScanner execution 00:38:21 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:21 at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:59) 00:38:21 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:53) 00:38:21 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 00:38:21 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:38:21 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 00:38:21 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:38:21 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 00:38:21 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 00:38:21 at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 00:38:21 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 00:38:21 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 00:38:21 at org.sonarsource.scanner.cli.Main.execute(Main.java:112) 00:38:21 at org.sonarsource.scanner.cli.Main.execute(Main.java:75) 00:38:21 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 00:38:21 ERROR: 00:38:21 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:22 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:22 $ ssh-agent -k 00:38:22 unset SSH_AUTH_SOCK; 00:38:22 unset SSH_AGENT_PID; 00:38:22 echo Agent pid 1632 killed; 00:38:22 [ssh-agent] Stopped. 00:38:22 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:22 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:22 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins11146573107468220943.sh 00:38:22 ---> sysstat.sh 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5799621406556782844.sh 00:38:23 ---> package-listing.sh 00:38:23 ++ tr '[:upper:]' '[:lower:]' 00:38:23 ++ facter osfamily 00:38:23 + OS_FAMILY=debian 00:38:23 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:23 + START_PACKAGES=/tmp/packages_start.txt 00:38:23 + END_PACKAGES=/tmp/packages_end.txt 00:38:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:23 + PACKAGES=/tmp/packages_start.txt 00:38:23 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:23 + PACKAGES=/tmp/packages_end.txt 00:38:23 + case "${OS_FAMILY}" in 00:38:23 + dpkg -l 00:38:23 + grep '^ii' 00:38:23 + '[' -f /tmp/packages_start.txt ']' 00:38:23 + '[' -f /tmp/packages_end.txt ']' 00:38:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:23 + true 00:38:23 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:23 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16388292964512852409.sh 00:38:23 ---> capture-instance-metadata.sh 00:38:23 Setup pyenv: 00:38:23 system 00:38:23 3.8.13 00:38:23 3.9.13 00:38:23 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mfjn from file:/tmp/.os_lf_venv 00:38:23 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:25 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:37 lf-activate-venv(): INFO: Adding /tmp/venv-mfjn/bin to PATH 00:38:37 INFO: Running in OpenStack, capturing instance metadata 00:38:38 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12849249479787158764.sh 00:38:38 provisioning config files... 00:38:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config4064987235623025967tmp 00:38:38 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:38 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:38 [EnvInject] - Injecting environment variables from a build step. 00:38:38 [EnvInject] - Injecting as environment variables the properties content 00:38:38 SERVER_ID=logs 00:38:38 00:38:38 [EnvInject] - Variables injected successfully. 00:38:38 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7293512416869935270.sh 00:38:38 ---> create-netrc.sh 00:38:38 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13620526105352381419.sh 00:38:38 ---> python-tools-install.sh 00:38:38 Setup pyenv: 00:38:38 system 00:38:38 3.8.13 00:38:38 3.9.13 00:38:38 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:38 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mfjn from file:/tmp/.os_lf_venv 00:38:38 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:40 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:52 lf-activate-venv(): INFO: Adding /tmp/venv-mfjn/bin to PATH 00:38:52 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins8641058178928603159.sh 00:38:52 ---> uv-install.sh 00:38:52 uv 0.13.7 is already installed 00:38:52 uvx 0.13.7 (x86_64-unknown-linux-gnu) 00:38:52 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13892135256283781863.sh 00:38:52 ---> sudo-logs.sh 00:38:52 Archiving 'sudo' log.. 00:38:52 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16433343020579557640.sh 00:38:52 ---> job-cost.sh 00:38:52 INFO: Activating Python virtual environment... 00:38:52 Setup pyenv: 00:38:52 system 00:38:52 3.8.13 00:38:52 3.9.13 00:38:52 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mfjn from file:/tmp/.os_lf_venv 00:38:53 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:55 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:02 lf-activate-venv(): INFO: Adding /tmp/venv-mfjn/bin to PATH 00:39:02 INFO: No stack-cost file found 00:39:02 INFO: Instance uptime: 332s 00:39:02 INFO: Fetching instance metadata (attempt 1 of 3)... 00:39:02 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 00:39:02 INFO: Successfully fetched instance metadata 00:39:02 INFO: Instance type: v3-starter-2 00:39:02 INFO: Retrieving pricing info for: v3-starter-2 00:39:02 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 00:39:02 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=332 00:39:02 INFO: Successfully fetched Vexxhost pricing API 00:39:02 INFO: Retrieved cost: 0.02 00:39:02 INFO: Retrieved resource: v3-starter-2 00:39:02 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost 00:39:02 INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv 00:39:02 INFO: Successfully archived job cost data 00:39:02 DEBUG: Cost data: ric-app-ad-tox-sonarqube,308,2026-11-08 00:39:02,v3-starter-2,332,0.02,0.00,FAILURE 00:39:02 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17299406078869864833.sh 00:39:02 ---> logs-deploy.sh 00:39:02 Setup pyenv: 00:39:02 system 00:39:02 3.8.13 00:39:02 3.9.13 00:39:02 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:39:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-mfjn from file:/tmp/.os_lf_venv 00:39:02 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:39:04 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 00:39:17 lf-activate-venv(): INFO: Adding /tmp/venv-mfjn/bin to PATH 00:39:17 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/308 00:39:17 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:18 Archives upload complete. 00:39:19 INFO: archiving logs to Nexus 00:39:19 ---> uname -a: 00:39:19 Linux prd-ubuntu1804-builder-2c-2g-2206 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:19 00:39:19 00:39:19 ---> lscpu: 00:39:19 Architecture: x86_64 00:39:19 CPU op-mode(s): 32-bit, 64-bit 00:39:19 Byte Order: Little Endian 00:39:19 CPU(s): 2 00:39:19 On-line CPU(s) list: 0,1 00:39:19 Thread(s) per core: 1 00:39:19 Core(s) per socket: 1 00:39:19 Socket(s): 2 00:39:19 NUMA node(s): 1 00:39:19 Vendor ID: AuthenticAMD 00:39:19 CPU family: 23 00:39:19 Model: 49 00:39:19 Model name: AMD EPYC-Rome Processor 00:39:19 Stepping: 0 00:39:19 CPU MHz: 2799.998 00:39:19 BogoMIPS: 5599.99 00:39:19 Virtualization: AMD-V 00:39:19 Hypervisor vendor: KVM 00:39:19 Virtualization type: full 00:39:19 L1d cache: 32K 00:39:19 L1i cache: 32K 00:39:19 L2 cache: 512K 00:39:19 L3 cache: 16384K 00:39:19 NUMA node0 CPU(s): 0,1 00:39:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 00:39:19 00:39:19 00:39:19 ---> nproc: 00:39:19 2 00:39:19 00:39:19 00:39:19 ---> df -h: 00:39:19 Filesystem Size Used Avail Use% Mounted on 00:39:19 udev 2.0G 0 2.0G 0% /dev 00:39:19 tmpfs 395M 668K 394M 1% /run 00:39:19 /dev/vda1 20G 8.0G 12G 42% / 00:39:19 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:39:19 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:19 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:39:19 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:39:19 tmpfs 395M 0 395M 0% /run/user/1001 00:39:19 00:39:19 00:39:19 ---> free -m: 00:39:19 total used free shared buff/cache available 00:39:19 Mem: 3944 363 682 0 2898 3297 00:39:19 Swap: 1023 0 1023 00:39:19 00:39:19 00:39:19 ---> ip addr: 00:39:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:19 inet 127.0.0.1/8 scope host lo 00:39:19 valid_lft forever preferred_lft forever 00:39:19 inet6 ::1/128 scope host 00:39:19 valid_lft forever preferred_lft forever 00:39:19 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:19 link/ether fa:16:3e:59:53:e5 brd ff:ff:ff:ff:ff:ff 00:39:19 inet 10.32.6.11/23 brd 10.32.7.255 scope global dynamic ens3 00:39:19 valid_lft 86062sec preferred_lft 86062sec 00:39:19 inet6 fe80::f816:3eff:fe59:53e5/64 scope link 00:39:19 valid_lft forever preferred_lft forever 00:39:19 00:39:19 00:39:19 ---> sar -b -r -n DEV: 00:39:19 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2206) 11/08/26 _x86_64_ (2 CPU) 00:39:19 00:39:19 00:33:43 LINUX RESTART (2 CPU) 00:39:19 00:39:19 00:34:01 tps rtps wtps bread/s bwrtn/s 00:39:19 00:35:01 105.80 19.41 86.39 715.48 8427.80 00:39:19 00:36:01 146.96 55.89 91.07 3170.27 21486.55 00:39:19 00:37:01 32.18 1.80 30.38 89.60 12762.27 00:39:19 00:38:01 1.33 0.00 1.33 0.00 73.32 00:39:19 00:39:01 48.54 20.90 27.65 747.34 6851.12 00:39:19 Average: 66.96 19.60 47.36 944.57 9920.12 00:39:19 00:39:19 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:19 00:35:01 1690408 3389852 2348652 58.15 53180 1800272 627988 12.34 512888 1671544 216332 00:39:19 00:36:01 861636 3340556 3177424 78.67 75392 2528480 691660 13.59 682864 2270768 297560 00:39:19 00:37:01 763732 3232868 3275328 81.09 78300 2512528 928276 18.25 719444 2325064 1844 00:39:19 00:38:01 567768 3134628 3471292 85.94 78328 2609352 1067472 20.98 815732 2421796 97020 00:39:19 00:39:01 668624 3354204 3370436 83.45 81804 2720052 634892 12.48 672164 2461536 35148 00:39:19 Average: 910434 3290422 3128626 77.46 73401 2434137 790058 15.53 680618 2230142 129581 00:39:19 00:39:19 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:19 00:35:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 00:39:19 00:35:01 ens3 121.46 99.35 1687.72 22.97 0.00 0.00 0.00 0.00 00:39:19 00:36:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 00:39:19 00:36:01 ens3 107.20 91.22 1665.97 10.93 0.00 0.00 0.00 0.00 00:39:19 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:19 00:37:01 ens3 0.50 0.55 0.75 0.10 0.00 0.00 0.00 0.00 00:39:19 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:39:19 00:38:01 ens3 0.33 0.33 0.06 0.05 0.00 0.00 0.00 0.00 00:39:19 00:39:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:39:19 00:39:01 ens3 104.80 85.72 935.56 19.84 0.00 0.00 0.00 0.00 00:39:19 Average: lo 1.51 1.51 0.11 0.11 0.00 0.00 0.00 0.00 00:39:19 Average: ens3 66.86 55.44 858.04 10.78 0.00 0.00 0.00 0.00 00:39:19 00:39:19 00:39:19 ---> sar -P ALL: 00:39:19 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2206) 11/08/26 _x86_64_ (2 CPU) 00:39:19 00:39:19 00:33:43 LINUX RESTART (2 CPU) 00:39:19 00:39:19 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:19 00:35:01 all 38.20 0.00 2.25 6.45 0.09 53.01 00:39:19 00:35:01 0 44.25 0.00 2.38 8.07 0.10 45.20 00:39:19 00:35:01 1 32.18 0.00 2.14 4.83 0.08 60.77 00:39:19 00:36:01 all 34.90 0.00 2.94 7.78 0.09 54.29 00:39:19 00:36:01 0 29.07 0.00 2.87 8.91 0.08 59.07 00:39:19 00:36:01 1 40.68 0.00 3.02 6.66 0.10 49.54 00:39:19 00:37:01 all 50.24 0.00 0.55 0.68 0.09 48.43 00:39:19 00:37:01 0 96.28 0.00 0.92 1.37 0.15 1.28 00:39:19 00:37:01 1 4.85 0.00 0.18 0.00 0.05 94.92 00:39:19 00:38:01 all 47.51 0.00 0.23 0.01 0.07 52.18 00:39:19 00:38:01 0 79.15 0.00 0.15 0.02 0.10 20.58 00:39:19 00:38:01 1 16.24 0.00 0.33 0.00 0.05 83.38 00:39:19 00:39:01 all 34.32 0.00 2.12 2.24 0.07 61.24 00:39:19 00:39:01 0 20.87 0.00 1.74 3.51 0.07 73.81 00:39:19 00:39:01 1 47.68 0.00 2.49 1.00 0.08 48.75 00:39:19 Average: all 41.05 0.00 1.62 3.42 0.08 53.82 00:39:19 Average: 0 53.96 0.00 1.61 4.37 0.10 39.96 00:39:19 Average: 1 28.26 0.00 1.63 2.48 0.07 67.56 00:39:19 00:39:19 00:39:19