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-3331 (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-4jjMESO68jQ3/agent.1693 00:33:58 SSH_AGENT_PID=1695 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_499327874210301575.key (jenkins-ssh) 00:33:59 [ssh-agent] Using credentials jenkins (jenkins) 00:33:59 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:02 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:02 > 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:03 Commit message: "Chore(rtd): modernise docs build infra" 00:34:03 > 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/jenkins13628459585894827316.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:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8D69 00:34:11 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:11 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:34:17 lf-activate-venv(): INFO: Installing additional packages: lftools 00:34:42 lf-activate-venv(): INFO: Adding /tmp/venv-8D69/bin to PATH 00:34:42 Generating Requirements File 00:35:11 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:11 botocore 1.44.9 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 3.0.0 which is incompatible. 00:35:11 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 00:35:11 Python 3.10.6 00:35:11 pip 26.3 from /tmp/venv-8D69/lib/python3.10/site-packages/pip (python 3.10) 00:35:12 aiohappyeyeballs==2.7.1 00:35:12 aiohttp==3.14.5 00:35:12 aiosignal==1.4.0 00:35:12 appdirs==1.4.4 00:35:12 argcomplete==3.7.2 00:35:12 aspy.yaml==1.3.0 00:35:12 async-timeout==5.0.1 00:35:12 attrs==26.1.0 00:35:12 autopage==0.6.0 00:35:12 backports.strenum==1.3.1 00:35:12 beautifulsoup4==4.15.0 00:35:12 boto3==1.44.9 00:35:12 botocore==1.44.9 00:35:12 bs4==0.0.2 00:35:12 certifi==2026.11.20 00:35:12 cffi==2.1.1 00:35:12 cfgv==3.5.0 00:35:12 chardet==7.7.0 00:35:12 charset-normalizer==3.5.2 00:35:12 click==8.5.1 00:35:12 cliff==4.14.0 00:35:12 cmd2==3.5.1 00:35:12 cryptography==3.3.2 00:35:12 debtcollector==3.1.0 00:35:12 decorator==5.3.2 00:35:12 defusedxml==0.7.1 00:35:12 Deprecated==1.3.1 00:35:12 distlib==0.4.4 00:35:12 dnspython==2.8.0 00:35:12 docker==7.2.0 00:35:12 dogpile.cache==1.5.0 00:35:12 durationpy==0.11 00:35:12 email-validator==2.4.0 00:35:12 filelock==4.1.0 00:35:12 frozenlist==1.8.0 00:35:12 future==1.0.0 00:35:12 gitdb==4.0.12 00:35:12 GitPython==3.2.1 00:35:12 httplib2==0.30.2 00:35:12 identify==2.6.20 00:35:12 idna==3.20 00:35:12 importlib-resources==1.5.0 00:35:12 iso8601==2.1.0 00:35:12 Jinja2==3.1.6 00:35:12 jmespath==1.1.0 00:35:12 jsonpatch==1.46 00:35:12 jsonpointer==3.12 00:35:12 jsonschema==4.26.0 00:35:12 jsonschema-specifications==2025.9.1 00:35:12 keystoneauth1==5.14.0 00:35:12 kubernetes==36.0.3 00:35:12 lftools==0.37.28 00:35:12 lxml==6.1.3 00:35:12 markdown-it-py==4.3.0 00:35:12 MarkupSafe==3.0.4 00:35:12 mdurl==0.1.2 00:35:12 msgpack==1.2.4 00:35:12 multi_key_dict==2.0.4 00:35:12 multidict==7.1.0 00:35:12 munch==4.0.0 00:35:12 netaddr==1.3.0 00:35:12 niet==1.4.2 00:35:12 nodeenv==1.12.0 00:35:12 oauth2client==4.1.3 00:35:12 oauthlib==4.0.1 00:35:12 openstacksdk==4.13.0 00:35:12 os-service-types==1.8.2 00:35:12 osc-lib==4.6.0 00:35:12 oslo.config==10.4.0 00:35:12 oslo.context==6.4.0 00:35:12 oslo.i18n==6.8.0 00:35:12 oslo.log==8.2.0 00:35:12 oslo.serialization==5.10.0 00:35:12 oslo.utils==10.1.1 00:35:12 packaging==26.3 00:35:12 pbr==7.1.3 00:35:12 platformdirs==4.12.4 00:35:12 prettytable==3.18.0 00:35:12 propcache==0.5.4 00:35:12 psutil==7.2.2 00:35:12 pyasn1==0.6.5 00:35:12 pyasn1_modules==0.4.2 00:35:12 pycparser==3.11 00:35:12 pygerrit2==2.0.15 00:35:12 PyGithub==2.10.0 00:35:12 Pygments==2.21.0 00:35:12 PyJWT==2.15.1 00:35:12 PyNaCl==1.6.2 00:35:12 pyparsing==2.4.7 00:35:12 pyperclip==1.11.0 00:35:12 pyrsistent==0.20.0 00:35:12 python-cinderclient==9.9.0 00:35:12 python-dateutil==3.0.0 00:35:12 python-discovery==1.9.6 00:35:12 python-heatclient==5.2.0 00:35:12 python-jenkins==1.8.3 00:35:12 python-keystoneclient==6.0.0 00:35:12 python-magnumclient==4.11.0 00:35:12 python-openstackclient==10.0.0 00:35:12 python-swiftclient==4.11.0 00:35:12 PyYAML==6.0.4 00:35:12 referencing==0.37.0 00:35:12 requests==2.34.2 00:35:12 requests-oauthlib==2.0.0 00:35:12 rfc3986==2.0.0 00:35:12 rich==15.0.0 00:35:12 rich-argparse==1.8.0 00:35:12 rpds-py==0.30.0 00:35:12 rsa==4.9.1 00:35:12 ruamel.yaml==0.19.1 00:35:12 ruamel.yaml.clib==0.2.15 00:35:12 s3transfer==0.19.3 00:35:12 simplejson==4.3.0 00:35:12 six==1.17.0 00:35:12 smmap==5.0.3 00:35:12 soupsieve==2.10 00:35:12 stevedore==5.8.0 00:35:12 tabulate==0.10.0 00:35:12 toml==0.10.2 00:35:12 tomlkit==0.15.2 00:35:12 tqdm==4.70.1 00:35:12 typing_extensions==4.16.0 00:35:12 tzdata==2026.6 00:35:12 urllib3==1.26.20 00:35:12 virtualenv==21.15.11 00:35:12 wcwidth==0.9.4 00:35:12 websocket-client==1.9.2 00:35:12 wrapt==2.5.2 00:35:12 xdg==6.0.0 00:35:12 xmltodict==1.0.4 00:35:12 yarl==1.25.1 00:35:12 yq==4.4.5 00:35:12 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins3713473720836297457.sh 00:35:12 ---> uv-install.sh 00:35:12 Installing uv/uvx (latest) using shell installer 00:35:12 2026-11-22 00:35:12 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-XQDID4.sh" [1] 00:35:12 downloading uv 0.13.9 x86_64-unknown-linux-gnu 00:35:13 installing to /home/jenkins/.local/bin 00:35:13 uv 00:35:13 uvx 00:35:13 everything's installed! 00:35:13 00:35:13 To add $HOME/.local/bin to your PATH, either restart your shell or run: 00:35:13 00:35:13 source $HOME/.local/bin/env (sh, bash, zsh) 00:35:13 source $HOME/.local/bin/env.fish (fish) 00:35:13 Adding install location to PATH 00:35:13 ---> Validating uv/uvx install 00:35:13 uvx 0.13.9 (x86_64-unknown-linux-gnu) 00:35:14 [EnvInject] - Injecting environment variables from a build step. 00:35:14 [EnvInject] - Injecting as environment variables the properties content 00:35:14 SET_JDK_VERSION=openjdk17 00:35:14 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:14 00:35:14 [EnvInject] - Variables injected successfully. 00:35:14 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins16760827759493301216.sh 00:35:14 ---> update-java-alternatives.sh 00:35:14 ---> Updating Java version 00:35:14 ---> Ubuntu/Debian system detected 00:35:14 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:14 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:14 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:14 openjdk version "17.0.7" 2023-04-18 00:35:14 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:14 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:14 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:14 [EnvInject] - Injecting environment variables from a build step. 00:35:14 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:14 [EnvInject] - Variables injected successfully. 00:35:14 [EnvInject] - Injecting environment variables from a build step. 00:35:14 [EnvInject] - Injecting as environment variables the properties content 00:35:14 PYTHON=python3 00:35:14 00:35:14 [EnvInject] - Variables injected successfully. 00:35:14 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins178348038024899636.sh 00:35:14 ---> tox-install.sh 00:35:14 + source /home/jenkins/lf-env.sh 00:35:14 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:14 ++ mktemp -d /tmp/venv-XXXX 00:35:14 + lf_venv=/tmp/venv-NRFY 00:35:14 + local venv_file=/tmp/.os_lf_venv 00:35:14 + local python=python3 00:35:14 + local options 00:35:14 + local set_path=true 00:35:14 + local install_args= 00:35:14 ++ 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:14 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:14 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:14 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:14 + true 00:35:14 + case $1 in 00:35:14 + venv_file=/tmp/.toxenv 00:35:14 + shift 2 00:35:14 + true 00:35:14 + case $1 in 00:35:14 + shift 00:35:14 + break 00:35:14 + case $python in 00:35:14 + local pkg_list= 00:35:14 + [[ -d /opt/pyenv ]] 00:35:14 + echo 'Setup pyenv:' 00:35:14 Setup pyenv: 00:35:14 + export PYENV_ROOT=/opt/pyenv 00:35:14 + PYENV_ROOT=/opt/pyenv 00:35:14 + 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:14 + 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:14 + pyenv versions 00:35:14 system 00:35:14 3.8.13 00:35:14 3.9.13 00:35:14 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:14 + command -v pyenv 00:35:14 ++ pyenv init - --no-rehash 00:35:14 + 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:14 export PATH="/opt/pyenv/shims:${PATH}" 00:35:14 export PYENV_SHELL=bash 00:35:14 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:14 pyenv() { 00:35:14 local command 00:35:14 command="${1:-}" 00:35:14 if [ "$#" -gt 0 ]; then 00:35:14 shift 00:35:14 fi 00:35:14 00:35:14 case "$command" in 00:35:14 rehash|shell) 00:35:14 eval "$(pyenv "sh-$command" "$@")" 00:35:14 ;; 00:35:14 *) 00:35:14 command pyenv "$command" "$@" 00:35:14 ;; 00:35:14 esac 00:35:14 }' 00:35:14 +++ 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:14 ++ 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:14 ++ 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:14 ++ 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:14 ++ export PYENV_SHELL=bash 00:35:14 ++ PYENV_SHELL=bash 00:35:14 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:14 +++ complete -F _pyenv pyenv 00:35:14 ++ lf-pyver python3 00:35:14 ++ local py_version_xy=python3 00:35:14 ++ local py_version_xyz= 00:35:14 ++ grep -E '^[0-9.]*[0-9]$' 00:35:14 ++ sed 's/^[ *]* //' 00:35:14 ++ pyenv versions 00:35:14 ++ local command 00:35:14 ++ command=versions 00:35:14 ++ '[' 1 -gt 0 ']' 00:35:14 ++ shift 00:35:14 ++ case "$command" in 00:35:14 ++ command pyenv versions 00:35:14 ++ pyenv versions 00:35:14 ++ awk '{ print $1 }' 00:35:15 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:15 +++ tail -n 1 00:35:15 +++ sort -V 00:35:15 +++ grep '^3' /tmp/.pyenv_versions 00:35:15 ++ py_version_xyz=3.10.6 00:35:15 ++ [[ -z 3.10.6 ]] 00:35:15 ++ echo 3.10.6 00:35:15 ++ return 0 00:35:15 + pyenv local 3.10.6 00:35:15 + local command 00:35:15 + command=local 00:35:15 + '[' 2 -gt 0 ']' 00:35:15 + shift 00:35:15 + case "$command" in 00:35:15 + command pyenv local 3.10.6 00:35:15 + pyenv local 3.10.6 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='tox ' 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='virtualenv ' 00:35:15 + for arg in "$@" 00:35:15 + case $arg in 00:35:15 + pkg_list+='urllib3~=1.26.15 ' 00:35:15 + [[ -f /tmp/.toxenv ]] 00:35:15 + [[ ! -f /tmp/.toxenv ]] 00:35:15 + [[ -n '' ]] 00:35:15 + python3 -m venv /tmp/venv-NRFY 00:35:19 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NRFY' 00:35:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NRFY 00:35:19 + echo /tmp/venv-NRFY 00:35:19 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:19 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:19 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:19 + local 'pip_opts=--upgrade --quiet' 00:35:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:19 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:19 + [[ -n '' ]] 00:35:19 + [[ -n '' ]] 00:35:19 + lf-venv-pip-install /tmp/venv-NRFY/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:19 + local venv_python=/tmp/venv-NRFY/bin/python3 00:35:19 + shift 00:35:19 + local upstream=https://pypi.org/simple 00:35:19 + /tmp/venv-NRFY/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:24 + return 0 00:35:24 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:24 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:24 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:24 + lf-venv-pip-install /tmp/venv-NRFY/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:24 + local venv_python=/tmp/venv-NRFY/bin/python3 00:35:24 + shift 00:35:24 + local upstream=https://pypi.org/simple 00:35:24 + /tmp/venv-NRFY/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:27 + return 0 00:35:27 + type python3 00:35:27 + true 00:35:27 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NRFY/bin to PATH' 00:35:27 lf-activate-venv(): INFO: Adding /tmp/venv-NRFY/bin to PATH 00:35:27 + PATH=/tmp/venv-NRFY/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:27 + return 0 00:35:27 + python3 --version 00:35:27 Python 3.10.6 00:35:27 + python3 -m pip --version 00:35:27 pip 26.3 from /tmp/venv-NRFY/lib/python3.10/site-packages/pip (python 3.10) 00:35:27 + python3 -m pip freeze 00:35:27 cachetools==7.3.3 00:35:27 colorama==0.4.6 00:35:27 distlib==0.4.4 00:35:27 filelock==4.1.0 00:35:27 packaging==26.3 00:35:27 platformdirs==4.12.4 00:35:27 pluggy==1.7.0 00:35:27 pyproject-api==1.11.4 00:35:27 python-discovery==1.9.6 00:35:27 tomli==2.5.0 00:35:27 tomli_w==1.2.0 00:35:27 tox==4.65.0 00:35:27 typing_extensions==4.16.0 00:35:27 urllib3==1.26.20 00:35:27 virtualenv==21.15.11 00:35:27 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2518580781789098906.sh 00:35:27 ---> install-deb-rmr.sh 00:35:27 + version_file=rmr-version.yaml 00:35:27 + '[' -f rmr-version.yaml ']' 00:35:27 ++ cut -d: -f2 00:35:27 ++ grep '^repo:' rmr-version.yaml 00:35:27 ++ xargs 00:35:27 + repo= 00:35:27 ++ xargs 00:35:27 ++ cut -d: -f2 00:35:27 ++ grep '^version:' rmr-version.yaml 00:35:27 + ver=4.9.0 00:35:27 + '[' -z 4.9.0 ']' 00:35:27 + repo=release 00:35:27 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:27 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:27 2026-11-22 00:35:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1795308627&Signature=oZzgLPRwsB6c0COXLcbPUQNq78YUFhA43WacNIsrk1Bm-TVwl5csKGBKvbDOfehUn0Mx7AW1DW2jJSTEw-9W2N6pviCf2i7FcTDlk1Zf57xWrdKIEbublRpaoA7NrQTK2nD5UBo4hGRo3Ne1JVtpyTNd1GB-qWPB1-O11k4uYRYZP6ahFiRFp0~PZkY--PLU94A0gALB9hsvk3uoHWWmZ9FLT6-mo5n1ckpUEtyNb96tmP5F~7~5GwhDQRfHVe5yIdm1XwejoEuZiCFiQZo5tF0TVoqrDfhk3b2zjLh~ThdI0ZEIUI98yLkbEqoH3rHdI6qXVNW2un8JjQ5Y5CoWBQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:27 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:27 Selecting previously unselected package rmr. 00:35:29 (Reading database ... 188029 files and directories currently installed.) 00:35:29 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:29 Unpacking rmr (4.9.0) ... 00:35:29 Setting up rmr (4.9.0) ... 00:35:29 + rm -f rmr_4.9.0_amd64.deb 00:35:29 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:29 + 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:29 2026-11-22 00:35:29 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1795308629&Signature=NbjTMYZQaFvW-188xPo4cnYuksJOfMJq~pcTn0PkhFzCEFcTJ66OyqurxnJXtm6bpsedYd6vZ8llVjn61GunPzzQJnCf22uAT1FQetzDPsEYcmlPVW6aWbj6XsctvSegeT4cKPlUPjzG5HLjms2qrjn5D1uUSijBOunS~U2OWudP-QkFGgpmsydqzPSrQjtYY3Q-VSPU4YvGkk2YNP49rzsSW-f7VV0y2QWe4ioKUz7KJNXSZ8BisAsMBEVd8KFATPeelUIViRt1cLDmc-rfWdDCevEwx4HyM9E9u5JQn-iBfD77Axi~W7Tq6Enbek1aUBFiovVuZYpxSzw0ToHdfQ__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:29 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:29 Selecting previously unselected package rmr-dev. 00:35:29 (Reading database ... 188037 files and directories currently installed.) 00:35:29 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:29 Unpacking rmr-dev (4.9.0) ... 00:35:29 Setting up rmr-dev (4.9.0) ... 00:35:29 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:29 + echo '---> install-deb-rmr.sh ends' 00:35:29 ---> install-deb-rmr.sh ends 00:35:29 [EnvInject] - Injecting environment variables from a build step. 00:35:29 [EnvInject] - Injecting as environment variables the properties content 00:35:29 PARALLEL=False 00:35:29 00:35:29 [EnvInject] - Variables injected successfully. 00:35:29 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14653043361059049486.sh 00:35:29 ---> tox-run.sh 00:35:29 + 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:29 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:29 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:29 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:29 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:29 + source /home/jenkins/lf-env.sh 00:35:29 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:29 ++ mktemp -d /tmp/venv-XXXX 00:35:29 + lf_venv=/tmp/venv-5VCf 00:35:29 + local venv_file=/tmp/.os_lf_venv 00:35:29 + local python=python3 00:35:29 + local options 00:35:29 + local set_path=true 00:35:29 + local install_args= 00:35:29 ++ 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:29 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:29 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:29 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:29 + true 00:35:29 + case $1 in 00:35:29 + venv_file=/tmp/.toxenv 00:35:29 + shift 2 00:35:29 + true 00:35:29 + case $1 in 00:35:29 + shift 00:35:29 + break 00:35:29 + case $python in 00:35:29 + local pkg_list= 00:35:29 + [[ -d /opt/pyenv ]] 00:35:29 + echo 'Setup pyenv:' 00:35:29 Setup pyenv: 00:35:29 + export PYENV_ROOT=/opt/pyenv 00:35:29 + PYENV_ROOT=/opt/pyenv 00:35:29 + 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:29 + 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:29 + pyenv versions 00:35:30 system 00:35:30 3.8.13 00:35:30 3.9.13 00:35:30 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:30 + command -v pyenv 00:35:30 ++ pyenv init - --no-rehash 00:35:30 + 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:30 export PATH="/opt/pyenv/shims:${PATH}" 00:35:30 export PYENV_SHELL=bash 00:35:30 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:30 pyenv() { 00:35:30 local command 00:35:30 command="${1:-}" 00:35:30 if [ "$#" -gt 0 ]; then 00:35:30 shift 00:35:30 fi 00:35:30 00:35:30 case "$command" in 00:35:30 rehash|shell) 00:35:30 eval "$(pyenv "sh-$command" "$@")" 00:35:30 ;; 00:35:30 *) 00:35:30 command pyenv "$command" "$@" 00:35:30 ;; 00:35:30 esac 00:35:30 }' 00:35:30 +++ 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:30 ++ 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:30 ++ 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:30 ++ 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:30 ++ export PYENV_SHELL=bash 00:35:30 ++ PYENV_SHELL=bash 00:35:30 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:30 +++ complete -F _pyenv pyenv 00:35:30 ++ lf-pyver python3 00:35:30 ++ local py_version_xy=python3 00:35:30 ++ local py_version_xyz= 00:35:30 ++ pyenv versions 00:35:30 ++ local command 00:35:30 ++ command=versions 00:35:30 ++ grep -E '^[0-9.]*[0-9]$' 00:35:30 ++ '[' 1 -gt 0 ']' 00:35:30 ++ shift 00:35:30 ++ case "$command" in 00:35:30 ++ command pyenv versions 00:35:30 ++ pyenv versions 00:35:30 ++ awk '{ print $1 }' 00:35:30 ++ sed 's/^[ *]* //' 00:35:30 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:30 +++ grep '^3' /tmp/.pyenv_versions 00:35:30 +++ sort -V 00:35:30 +++ tail -n 1 00:35:30 ++ py_version_xyz=3.10.6 00:35:30 ++ [[ -z 3.10.6 ]] 00:35:30 ++ echo 3.10.6 00:35:30 ++ return 0 00:35:30 + pyenv local 3.10.6 00:35:30 + local command 00:35:30 + command=local 00:35:30 + '[' 2 -gt 0 ']' 00:35:30 + shift 00:35:30 + case "$command" in 00:35:30 + command pyenv local 3.10.6 00:35:30 + pyenv local 3.10.6 00:35:30 + for arg in "$@" 00:35:30 + case $arg in 00:35:30 + pkg_list+='tox ' 00:35:30 + for arg in "$@" 00:35:30 + case $arg in 00:35:30 + pkg_list+='virtualenv ' 00:35:30 + for arg in "$@" 00:35:30 + case $arg in 00:35:30 + pkg_list+='urllib3~=1.26.15 ' 00:35:30 + [[ -f /tmp/.toxenv ]] 00:35:30 ++ cat /tmp/.toxenv 00:35:30 + lf_venv=/tmp/venv-NRFY 00:35:30 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NRFY from' file:/tmp/.toxenv 00:35:30 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-NRFY from file:/tmp/.toxenv 00:35:30 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:30 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:30 + local 'pip_opts=--upgrade --quiet' 00:35:30 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:30 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:30 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:30 + [[ -n '' ]] 00:35:30 + [[ -n '' ]] 00:35:30 + lf-venv-pip-install /tmp/venv-NRFY/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:30 + local venv_python=/tmp/venv-NRFY/bin/python3 00:35:30 + shift 00:35:30 + local upstream=https://pypi.org/simple 00:35:30 + /tmp/venv-NRFY/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:31 + return 0 00:35:31 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:31 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:31 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:31 + lf-venv-pip-install /tmp/venv-NRFY/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:31 + local venv_python=/tmp/venv-NRFY/bin/python3 00:35:31 + shift 00:35:31 + local upstream=https://pypi.org/simple 00:35:31 + /tmp/venv-NRFY/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:32 + return 0 00:35:32 + type python3 00:35:32 + true 00:35:32 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-NRFY/bin to PATH' 00:35:32 lf-activate-venv(): INFO: Adding /tmp/venv-NRFY/bin to PATH 00:35:32 + PATH=/tmp/venv-NRFY/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:32 + return 0 00:35:32 + [[ -d /opt/pyenv ]] 00:35:32 + echo '---> Setting up pyenv' 00:35:32 ---> Setting up pyenv 00:35:32 + export PYENV_ROOT=/opt/pyenv 00:35:32 + PYENV_ROOT=/opt/pyenv 00:35:32 + export PATH=/opt/pyenv/bin:/tmp/venv-NRFY/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:32 + PATH=/opt/pyenv/bin:/tmp/venv-NRFY/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:32 ++ pwd 00:35:32 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:32 + export PYTHONPATH 00:35:32 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:32 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:32 + tox --version 00:35:32 4.65.0 from /tmp/venv-NRFY/lib/python3.10/site-packages/tox/__init__.py 00:35:32 + PARALLEL=False 00:35:32 + TOX_OPTIONS_LIST= 00:35:32 + [[ -n code,flake8 ]] 00:35:32 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:32 + case ${PARALLEL,,} in 00:35:32 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:32 + tox -e code,flake8 00:35:34 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:09 code: freeze> python -m pip freeze --all 00:36:10 code: async-timeout==5.0.1,build==1.6.1,certifi==2026.11.20,charset-normalizer==3.5.2,cloudpickle==3.1.3,coverage==7.16.2,exceptiongroup==1.3.2,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:10 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:11 ============================= test session starts ============================== 00:36:11 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:11 cachedir: .tox/code/.pytest_cache 00:36:11 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:11 plugins: cov-7.1.0 00:36:11 collecting ... collected 4 items 00:36:12 00:36:12 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:12 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:55 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:56 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:12 00:38:12 =============================== warnings summary =============================== 00:38:12 tests/test_ad.py::test_trainModel 00:38:12 tests/test_ad.py::test_trainModel 00:38:12 tests/test_ad.py::test_trainModel 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 /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:12 See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) 00:38:12 return np.find_common_type(types, []) 00:38:12 00:38:12 tests/test_ad.py::test_predict_anomaly 00:38:12 /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:12 df.loc[:, 'RRU.PrbUsedDl'] = df['RRU.PrbUsedDl'].astype('float') 00:38:12 00:38:12 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:12 ================================ tests coverage ================================ 00:38:12 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 00:38:12 00:38:12 Name Stmts Miss Cover Missing 00:38:12 ------------------------------------------------- 00:38:12 src/__init__.py 0 0 100% 00:38:12 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:12 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:12 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:12 src/exceptions.py 4 4 0% 18-25 00:38:12 src/insert.py 50 50 0% 21-84 00:38:12 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:12 src/processing.py 44 0 100% 00:38:12 ------------------------------------------------- 00:38:12 TOTAL 444 173 61% 00:38:12 Coverage HTML written to dir htmlcov 00:38:12 Coverage XML written to file coverage.xml 00:38:12 Required test coverage of 50% reached. Total coverage: 61.04% 00:38:12 ================== 4 passed, 9 warnings in 121.06s (0:02:01) =================== 00:38:12 code: commands[1]> coverage xml -i 00:38:12 Wrote XML report to coverage.xml 00:38:12 code: OK ✔ in 2 minutes 39.41 seconds 00:38:12 flake8: install_deps> python -I -m pip install flake8 00:38:14 flake8: freeze> python -m pip freeze --all 00:38:14 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:14 flake8: commands[0]> flake8 setup.py src tests 00:38:15 code: OK (159.40=setup[36.96]+cmd[122.26,0.19] seconds) 00:38:15 flake8: OK (2.55=setup[2.29]+cmd[0.26] seconds) 00:38:15 congratulations :) (161.99 seconds) 00:38:15 + tox_status=0 00:38:15 + echo '---> Completed tox runs' 00:38:15 ---> Completed tox runs 00:38:15 + for i in .tox/*/log 00:38:15 ++ echo .tox/code/log 00:38:15 ++ awk -F/ '{print $2}' 00:38:15 + tox_env=code 00:38:15 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:15 + for i in .tox/*/log 00:38:15 ++ echo .tox/flake8/log 00:38:15 ++ awk -F/ '{print $2}' 00:38:15 + tox_env=flake8 00:38:15 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:15 + DOC_DIR=docs/_build/html 00:38:15 + [[ -d docs/_build/html ]] 00:38:15 + echo '---> tox-run.sh ends' 00:38:15 ---> tox-run.sh ends 00:38:15 + test 0 -eq 0 00:38:15 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-3331 00:38:16 [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:16 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:16 INFO: Project root configuration file: NONE 00:38:16 INFO: SonarScanner 4.6.2.2472 00:38:16 INFO: Java 17.0.7 Private Build (64-bit) 00:38:16 INFO: Linux 4.15.0-213-generic amd64 00:38:17 INFO: User cache: /home/jenkins/.sonar/cache 00:38:19 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:19 INFO: Project root configuration file: NONE 00:38:19 INFO: Analyzing on SonarCloud 00:38:19 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:19 INFO: ------------------------------------------------------------------------ 00:38:19 INFO: EXECUTION FAILURE 00:38:19 INFO: ------------------------------------------------------------------------ 00:38:19 INFO: Total time: 3.642s 00:38:19 INFO: Final Memory: 5M/24M 00:38:19 INFO: ------------------------------------------------------------------------ 00:38:19 ERROR: Error during SonarScanner execution 00:38:19 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:19 at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:59) 00:38:19 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:53) 00:38:19 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 00:38:19 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:38:19 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 00:38:19 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:38:19 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 00:38:19 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 00:38:19 at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 00:38:19 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 00:38:19 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 00:38:19 at org.sonarsource.scanner.cli.Main.execute(Main.java:112) 00:38:19 at org.sonarsource.scanner.cli.Main.execute(Main.java:75) 00:38:19 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 00:38:19 ERROR: 00:38:19 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:20 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:20 $ ssh-agent -k 00:38:20 unset SSH_AUTH_SOCK; 00:38:20 unset SSH_AGENT_PID; 00:38:20 echo Agent pid 1695 killed; 00:38:20 [ssh-agent] Stopped. 00:38:20 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:20 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14870826165757708056.sh 00:38:20 ---> sysstat.sh 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins546296413435616751.sh 00:38:20 ---> package-listing.sh 00:38:20 + '[' -f /etc/os-release ']' 00:38:20 + . /etc/os-release 00:38:20 ++ NAME=Ubuntu 00:38:20 ++ VERSION='18.04.6 LTS (Bionic Beaver)' 00:38:20 ++ ID=ubuntu 00:38:20 ++ ID_LIKE=debian 00:38:20 ++ PRETTY_NAME='Ubuntu 18.04.6 LTS' 00:38:20 ++ VERSION_ID=18.04 00:38:20 ++ HOME_URL=https://www.ubuntu.com/ 00:38:20 ++ SUPPORT_URL=https://help.ubuntu.com/ 00:38:20 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 00:38:20 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 00:38:20 ++ VERSION_CODENAME=bionic 00:38:20 ++ UBUNTU_CODENAME=bionic 00:38:20 + case " ${ID:-} ${ID_LIKE:-} " in 00:38:20 + OS_FAMILY=debian 00:38:20 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:20 + START_PACKAGES=/tmp/packages_start.txt 00:38:20 + END_PACKAGES=/tmp/packages_end.txt 00:38:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:20 + PACKAGES=/tmp/packages_start.txt 00:38:20 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:20 + PACKAGES=/tmp/packages_end.txt 00:38:20 + case "${OS_FAMILY}" in 00:38:20 + dpkg -l 00:38:20 + grep '^ii' 00:38:20 + '[' -f /tmp/packages_start.txt ']' 00:38:20 + '[' -f /tmp/packages_end.txt ']' 00:38:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:20 + true 00:38:20 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:20 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:20 + exit 0 00:38:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12992290654364378260.sh 00:38:20 ---> capture-instance-metadata.sh 00:38:20 INFO: Running in OpenStack, capturing instance metadata 00:38:21 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1740930925134253974.sh 00:38:21 provisioning config files... 00:38:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config15932748151215409800tmp 00:38:21 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:21 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:21 [EnvInject] - Injecting environment variables from a build step. 00:38:21 [EnvInject] - Injecting as environment variables the properties content 00:38:21 SERVER_ID=logs 00:38:21 00:38:21 [EnvInject] - Variables injected successfully. 00:38:21 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17607751094021034751.sh 00:38:21 ---> create-netrc.sh 00:38:21 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14697840936789868020.sh 00:38:21 ---> python-tools-install.sh 00:38:21 Setup pyenv: 00:38:21 system 00:38:21 3.8.13 00:38:21 3.9.13 00:38:21 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:21 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8D69 from file:/tmp/.os_lf_venv 00:38:21 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:23 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:36 lf-activate-venv(): INFO: Adding /tmp/venv-8D69/bin to PATH 00:38:36 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins18236364729968042321.sh 00:38:36 ---> uv-install.sh 00:38:36 uv 0.13.9 is already installed 00:38:36 uvx 0.13.9 (x86_64-unknown-linux-gnu) 00:38:36 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15031298720705898347.sh 00:38:36 ---> sudo-logs.sh 00:38:36 Archiving 'sudo' log.. 00:38:36 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9012302996132864725.sh 00:38:36 ---> job-cost.sh 00:38:36 INFO: Activating Python virtual environment... 00:38:36 Setup pyenv: 00:38:36 system 00:38:36 3.8.13 00:38:36 3.9.13 00:38:36 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:36 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8D69 from file:/tmp/.os_lf_venv 00:38:36 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:38 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:46 lf-activate-venv(): INFO: Adding /tmp/venv-8D69/bin to PATH 00:38:46 INFO: No stack-cost file found 00:38:46 INFO: Instance uptime: 317s 00:38:46 INFO: Fetching instance metadata (attempt 1 of 3)... 00:38:46 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 00:38:46 INFO: Successfully fetched instance metadata 00:38:46 INFO: Instance type: v3-starter-2 00:38:46 INFO: Retrieving pricing info for: v3-starter-2 00:38:46 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 00:38:46 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=317 00:38:46 INFO: Successfully fetched Vexxhost pricing API 00:38:46 INFO: Retrieved cost: 0.02 00:38:46 INFO: Retrieved resource: v3-starter-2 00:38:46 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost 00:38:46 INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv 00:38:46 INFO: Successfully archived job cost data 00:38:46 DEBUG: Cost data: ric-app-ad-tox-sonarqube,310,2026-11-22 00:38:46,v3-starter-2,317,0.02,0.00,FAILURE 00:38:47 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16238989043749587634.sh 00:38:47 ---> logs-deploy.sh 00:38:47 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/310 00:38:47 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:57 INFO: archiving logs to Nexus 00:38:58 ---> uname -a: 00:38:58 Linux prd-ubuntu1804-builder-2c-2g-3331 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:58 00:38:58 00:38:58 ---> lscpu: 00:38:58 Architecture: x86_64 00:38:58 CPU op-mode(s): 32-bit, 64-bit 00:38:58 Byte Order: Little Endian 00:38:58 CPU(s): 2 00:38:58 On-line CPU(s) list: 0,1 00:38:58 Thread(s) per core: 1 00:38:58 Core(s) per socket: 1 00:38:58 Socket(s): 2 00:38:58 NUMA node(s): 1 00:38:58 Vendor ID: AuthenticAMD 00:38:58 CPU family: 23 00:38:58 Model: 49 00:38:58 Model name: AMD EPYC-Rome Processor 00:38:58 Stepping: 0 00:38:58 CPU MHz: 2799.998 00:38:58 BogoMIPS: 5599.99 00:38:58 Virtualization: AMD-V 00:38:58 Hypervisor vendor: KVM 00:38:58 Virtualization type: full 00:38:58 L1d cache: 32K 00:38:58 L1i cache: 32K 00:38:58 L2 cache: 512K 00:38:58 L3 cache: 16384K 00:38:58 NUMA node0 CPU(s): 0,1 00:38:58 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:58 00:38:58 00:38:58 ---> nproc: 00:38:58 2 00:38:58 00:38:58 00:38:58 ---> df -h: 00:38:58 Filesystem Size Used Avail Use% Mounted on 00:38:58 udev 2.0G 0 2.0G 0% /dev 00:38:58 tmpfs 395M 668K 394M 1% /run 00:38:58 /dev/vda1 20G 8.3G 11G 43% / 00:38:58 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:38:58 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:58 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:38:58 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:58 tmpfs 395M 0 395M 0% /run/user/1001 00:38:58 00:38:58 00:38:58 ---> free -m: 00:38:58 total used free shared buff/cache available 00:38:58 Mem: 3944 410 334 0 3199 3250 00:38:58 Swap: 1023 0 1023 00:38:58 00:38:58 00:38:58 ---> ip addr: 00:38:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:58 inet 127.0.0.1/8 scope host lo 00:38:58 valid_lft forever preferred_lft forever 00:38:58 inet6 ::1/128 scope host 00:38:58 valid_lft forever preferred_lft forever 00:38:58 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:58 link/ether fa:16:3e:dd:f5:4b brd ff:ff:ff:ff:ff:ff 00:38:58 inet 10.32.6.72/23 brd 10.32.7.255 scope global dynamic ens3 00:38:58 valid_lft 86083sec preferred_lft 86083sec 00:38:58 inet6 fe80::f816:3eff:fedd:f54b/64 scope link 00:38:58 valid_lft forever preferred_lft forever 00:38:58 00:38:58 00:38:58 ---> sar -b -r -n DEV: 00:38:58 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3331) 11/22/26 _x86_64_ (2 CPU) 00:38:58 00:38:58 00:33:44 LINUX RESTART (2 CPU) 00:38:58 00:38:58 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:58 00:35:01 105.07 19.43 85.63 718.40 8620.67 00:38:58 00:36:01 139.76 49.43 90.33 2603.30 21524.68 00:38:58 00:37:01 33.38 1.80 31.58 89.59 12922.25 00:38:58 00:38:01 1.32 0.00 1.32 0.00 73.05 00:38:58 Average: 69.88 17.66 52.21 852.83 10785.25 00:38:58 00:38:58 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:58 00:35:01 1673640 3383868 2365412 58.56 52628 1812060 627388 12.33 517920 1683160 219492 00:38:58 00:36:01 907548 3328628 3131504 77.53 73580 2474584 707988 13.92 679864 2231032 246668 00:38:58 00:37:01 752740 3217536 3286312 81.36 77952 2508320 931232 18.30 730152 2323956 1796 00:38:58 00:38:01 690684 3206436 3348368 82.90 77988 2559132 984328 19.35 740880 2374676 51008 00:38:58 Average: 1006153 3284117 3032899 75.09 70537 2338524 812734 15.97 667204 2153206 129741 00:38:58 00:38:58 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:58 00:35:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 00:38:58 00:35:01 ens3 139.23 110.68 1901.40 23.20 0.00 0.00 0.00 0.00 00:38:58 00:36:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 00:38:58 00:36:01 ens3 88.79 74.37 1687.37 9.94 0.00 0.00 0.00 0.00 00:38:58 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:58 00:37:01 ens3 0.45 0.45 0.75 0.09 0.00 0.00 0.00 0.00 00:38:58 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:38:58 00:38:01 ens3 0.30 0.42 0.06 0.06 0.00 0.00 0.00 0.00 00:38:58 Average: lo 1.67 1.67 0.12 0.12 0.00 0.00 0.00 0.00 00:38:58 Average: ens3 57.19 46.48 897.35 8.32 0.00 0.00 0.00 0.00 00:38:58 00:38:58 00:38:58 ---> sar -P ALL: 00:38:58 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3331) 11/22/26 _x86_64_ (2 CPU) 00:38:58 00:38:58 00:33:44 LINUX RESTART (2 CPU) 00:38:58 00:38:58 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:58 00:35:01 all 38.69 0.00 2.56 6.40 0.11 52.24 00:38:58 00:35:01 0 18.24 0.00 1.46 7.94 0.05 72.31 00:38:58 00:35:01 1 58.99 0.00 3.67 4.88 0.15 32.31 00:38:58 00:36:01 all 35.14 0.00 2.98 7.27 0.09 54.53 00:38:58 00:36:01 0 30.17 0.00 2.86 10.58 0.10 56.28 00:38:58 00:36:01 1 40.07 0.00 3.11 3.95 0.10 52.77 00:38:58 00:37:01 all 49.57 0.00 0.73 0.89 0.09 48.71 00:38:58 00:37:01 0 31.02 0.00 0.75 1.66 0.07 66.50 00:38:58 00:37:01 1 68.07 0.00 0.68 0.13 0.10 31.01 00:38:58 00:38:01 all 45.90 0.00 0.17 0.02 0.07 53.83 00:38:58 00:38:01 0 55.79 0.00 0.15 0.03 0.08 43.94 00:38:58 00:38:01 1 35.99 0.00 0.20 0.00 0.07 63.74 00:38:58 Average: all 42.34 0.00 1.61 3.64 0.09 52.33 00:38:58 Average: 0 33.86 0.00 1.30 5.04 0.08 59.72 00:38:58 Average: 1 50.79 0.00 1.91 2.24 0.10 44.95 00:38:58 00:38:58 00:38:58