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-3882 (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-ZK8t2f7p0Avz/agent.1758 00:33:58 SSH_AGENT_PID=1760 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_9930811779919402663.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:05 provisioning config files... 00:34:05 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:05 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4726533348459823550.sh 00:34:05 ---> python-tools-install.sh 00:34:05 Setup pyenv: 00:34:05 * system (set by /opt/pyenv/version) 00:34:05 * 3.8.13 (set by /opt/pyenv/version) 00:34:05 * 3.9.13 (set by /opt/pyenv/version) 00:34:05 * 3.10.6 (set by /opt/pyenv/version) 00:34:10 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nbsX 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:15 lf-activate-venv(): INFO: Installing additional packages: lftools 00:34:41 lf-activate-venv(): INFO: Adding /tmp/venv-nbsX/bin to PATH 00:34:41 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.44.13 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:10 Python 3.10.6 00:35:10 pip 26.3 from /tmp/venv-nbsX/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.8.0 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.44.13 00:35:10 botocore==1.44.13 00:35:10 bs4==0.0.2 00:35:10 certifi==2026.11.20 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.3 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.2 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.12 00:35:10 email-validator==2.4.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.46 00:35:10 jsonpointer==3.12 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.28 00:35:10 lxml==6.2.0 00:35:10 markdown-it-py==4.3.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.4 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.8 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.4 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.3.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.3 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.14 00:35:10 wcwidth==0.9.5 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/jenkins15956064890566421391.sh 00:35:10 ---> uv-install.sh 00:35:10 Installing uv/uvx (latest) using shell installer 00:35:11 2026-11-29 00:35:11 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71308/71308] -> "/tmp/uv-install-ebOKCX.sh" [1] 00:35:11 downloading uv 0.13.10 x86_64-unknown-linux-gnu 00:35:12 installing to /home/jenkins/.local/bin 00:35:12 uv 00:35:12 uvx 00:35:12 everything's installed! 00:35:12 00:35:12 To add $HOME/.local/bin to your PATH, either restart your shell or run: 00:35:12 00:35:12 source $HOME/.local/bin/env (sh, bash, zsh) 00:35:12 source $HOME/.local/bin/env.fish (fish) 00:35:12 Adding install location to PATH 00:35:12 ---> Validating uv/uvx install 00:35:12 uvx 0.13.10 (x86_64-unknown-linux-gnu) 00:35:12 [EnvInject] - Injecting environment variables from a build step. 00:35:12 [EnvInject] - Injecting as environment variables the properties content 00:35:12 SET_JDK_VERSION=openjdk17 00:35:12 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:12 00:35:12 [EnvInject] - Variables injected successfully. 00:35:12 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins11890243534206969564.sh 00:35:12 ---> update-java-alternatives.sh 00:35:12 ---> 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:12 openjdk version "17.0.7" 2023-04-18 00:35:12 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:12 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:12 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:12 [EnvInject] - Injecting environment variables from a build step. 00:35:12 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:12 [EnvInject] - Variables injected successfully. 00:35:12 [EnvInject] - Injecting environment variables from a build step. 00:35:12 [EnvInject] - Injecting as environment variables the properties content 00:35:12 PYTHON=python3 00:35:12 00:35:12 [EnvInject] - Variables injected successfully. 00:35:12 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17607915775374443160.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-75AZ 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 ++ grep -E '^[0-9.]*[0-9]$' 00:35:13 ++ awk '{ print $1 }' 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 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:13 +++ tail -n 1 00:35:13 +++ grep '^3' /tmp/.pyenv_versions 00:35:13 +++ sort -V 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-75AZ 00:35:17 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-75AZ' 00:35:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-75AZ 00:35:17 + echo /tmp/venv-75AZ 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-75AZ/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-75AZ/bin/python3 00:35:17 + shift 00:35:17 + local upstream=https://pypi.org/simple 00:35:17 + /tmp/venv-75AZ/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-75AZ/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-75AZ/bin/python3 00:35:21 + shift 00:35:21 + local upstream=https://pypi.org/simple 00:35:21 + /tmp/venv-75AZ/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-75AZ/bin to PATH' 00:35:24 lf-activate-venv(): INFO: Adding /tmp/venv-75AZ/bin to PATH 00:35:24 + PATH=/tmp/venv-75AZ/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-75AZ/lib/python3.10/site-packages/pip (python 3.10) 00:35:24 + python3 -m pip freeze 00:35:24 cachetools==7.3.4 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.4 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.8 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.14 00:35:24 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3411176202532877736.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 ++ grep '^repo:' rmr-version.yaml 00:35:24 ++ xargs 00:35:24 ++ cut -d: -f2 00:35:24 + repo= 00:35:24 ++ cut -d: -f2 00:35:24 ++ grep '^version:' rmr-version.yaml 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:25 2026-11-29 00:35:25 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1795913424&Signature=vT520fBlFDbFd8xBe0mBjutW2EMDaUphDbaUVzPsTt5q5G9Ef9vABTA12jh-xI66xOpQH-rmVJLFo17njBRGczWEKe4v4Nw0mTVtkbjM-6kQAqcSH3JUWCw5kRcrfeOvnxU4HZzj-b6dMDJUpvF0gi-4INjWW2SAuDaMYYXHztn-ngqGxBDjD27aWB-nZbIcld3b16pSi5v8jNBEwOfiasFrz5lS8R3Vc6PAlyu3kOLEA3d-9Exrw4UAplnlYF87s6E4wd3-LkGQkRyHySo1UsribG3vOOGkk75UmYs59wMHd0rH0hi8Bty5XR3jitJp55RaX9fcPGSrbZYLieEhqg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:25 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:25 Selecting previously unselected package rmr. 00:35:27 (Reading database ... 188029 files and directories currently installed.) 00:35:27 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:27 Unpacking rmr (4.9.0) ... 00:35:27 Setting up rmr (4.9.0) ... 00:35:27 + rm -f rmr_4.9.0_amd64.deb 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-dev_4.9.0_amd64.deb/download.deb 00:35:27 2026-11-29 00:35:27 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1795913427&Signature=NG8OujUIuhC-iJtAbqYdwMsxGO7RZWUbOvabe1Z00Tg7EAfmxO6QpDyYbS2JHF5NuVzSliX19tYYz6r4scUPYz5d3r9pcM3q-rR0YmgMZ3C2Xgyzq5xoVPRu299TJr4AlGNxfUdfqrX6yxhxtq5AgBqo7V-crSf40-m785z4bKIBxnQgR1Q4V~ZcgwnKzBFeHOvrTtkSiugutv4-sC1q5xA8NUYlOCaYLSZb7QvE96c3KcIVB6n2TeqzA4hxSpXwrBmTc2stUtNnaXCv6iNW3L9poJYWuRK7kxb88bh04F2aCFPw~PqKBhiDmOrIPz5gzH4eHzlK5MHUztae7rZhWg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:27 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:27 Selecting previously unselected package rmr-dev. 00:35:27 (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/jenkins1467222908868092920.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-CvdA 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:28 ++ lf-pyver python3 00:35:28 ++ local py_version_xy=python3 00:35:28 ++ local py_version_xyz= 00:35:28 ++ pyenv versions 00:35:28 ++ local command 00:35:28 ++ command=versions 00:35:28 ++ '[' 1 -gt 0 ']' 00:35:28 ++ shift 00:35:28 ++ case "$command" in 00:35:28 ++ command pyenv versions 00:35:28 ++ pyenv versions 00:35:28 ++ grep -E '^[0-9.]*[0-9]$' 00:35:28 ++ awk '{ print $1 }' 00:35:28 ++ sed 's/^[ *]* //' 00:35:28 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:28 +++ grep '^3' /tmp/.pyenv_versions 00:35:28 +++ tail -n 1 00:35:28 +++ sort -V 00:35:28 ++ py_version_xyz=3.10.6 00:35:28 ++ [[ -z 3.10.6 ]] 00:35:28 ++ echo 3.10.6 00:35:28 ++ return 0 00:35:28 + pyenv local 3.10.6 00:35:28 + local command 00:35:28 + command=local 00:35:28 + '[' 2 -gt 0 ']' 00:35:28 + shift 00:35:28 + case "$command" in 00:35:28 + command pyenv local 3.10.6 00:35:28 + pyenv local 3.10.6 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='tox ' 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='virtualenv ' 00:35:28 + for arg in "$@" 00:35:28 + case $arg in 00:35:28 + pkg_list+='urllib3~=1.26.15 ' 00:35:28 + [[ -f /tmp/.toxenv ]] 00:35:28 ++ cat /tmp/.toxenv 00:35:28 + lf_venv=/tmp/venv-75AZ 00:35:28 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-75AZ from' file:/tmp/.toxenv 00:35:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-75AZ from file:/tmp/.toxenv 00:35:28 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:28 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:28 + local 'pip_opts=--upgrade --quiet' 00:35:28 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:28 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:28 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:28 + [[ -n '' ]] 00:35:28 + [[ -n '' ]] 00:35:28 + lf-venv-pip-install /tmp/venv-75AZ/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:28 + local venv_python=/tmp/venv-75AZ/bin/python3 00:35:28 + shift 00:35:28 + local upstream=https://pypi.org/simple 00:35:28 + /tmp/venv-75AZ/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:29 + return 0 00:35:29 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:29 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:29 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:29 + lf-venv-pip-install /tmp/venv-75AZ/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:29 + local venv_python=/tmp/venv-75AZ/bin/python3 00:35:29 + shift 00:35:29 + local upstream=https://pypi.org/simple 00:35:29 + /tmp/venv-75AZ/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:30 + return 0 00:35:30 + type python3 00:35:30 + true 00:35:30 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-75AZ/bin to PATH' 00:35:30 lf-activate-venv(): INFO: Adding /tmp/venv-75AZ/bin to PATH 00:35:30 + PATH=/tmp/venv-75AZ/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:30 + return 0 00:35:30 + [[ -d /opt/pyenv ]] 00:35:30 + echo '---> Setting up pyenv' 00:35:30 ---> Setting up pyenv 00:35:30 + export PYENV_ROOT=/opt/pyenv 00:35:30 + PYENV_ROOT=/opt/pyenv 00:35:30 + export PATH=/opt/pyenv/bin:/tmp/venv-75AZ/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:30 + PATH=/opt/pyenv/bin:/tmp/venv-75AZ/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:30 ++ pwd 00:35:30 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:30 + export PYTHONPATH 00:35:30 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:30 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:30 + tox --version 00:35:30 4.65.0 from /tmp/venv-75AZ/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 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:30 + tox -e code,flake8 00:35:32 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.11.20,charset-normalizer==3.5.3,cloudpickle==3.1.3,coverage==7.16.2,exceptiongroup==1.3.2,hiredis==2.0.0,idna==3.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.4,pandas==1.5.3,pip==26.3,pluggy==1.7.0,protobuf==3.20.3,Pygments==2.21.0,pyproject_hooks==1.3.3,pytest==9.2.0,pytest-cov==7.1.0,python-dateutil==3.0.0,pytz==2026.6,redis==4.3.6,requests==2.34.2,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.3.2,scipy==1.15.3,setuptools==84.2.1,six==1.17.0,threadpoolctl==3.8.0,tomli==2.5.0,typing_extensions==4.16.0,tzdata==2026.6,urllib3==2.8.0 00:36: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:44 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:45 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:01 00:38:01 =============================== warnings summary =============================== 00:38:01 tests/test_ad.py::test_trainModel 00:38:01 tests/test_ad.py::test_trainModel 00:38:01 tests/test_ad.py::test_trainModel 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 /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:01 See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) 00:38:01 return np.find_common_type(types, []) 00:38:01 00:38:01 tests/test_ad.py::test_predict_anomaly 00:38:01 /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:01 df.loc[:, 'RRU.PrbUsedDl'] = df['RRU.PrbUsedDl'].astype('float') 00:38:01 00:38:01 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:01 ================================ tests coverage ================================ 00:38:01 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 00:38:01 00:38:01 Name Stmts Miss Cover Missing 00:38:01 ------------------------------------------------- 00:38:01 src/__init__.py 0 0 100% 00:38:01 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:01 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:01 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:01 src/exceptions.py 4 4 0% 18-25 00:38:01 src/insert.py 50 50 0% 21-84 00:38:01 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:01 src/processing.py 44 0 100% 00:38:01 ------------------------------------------------- 00:38:01 TOTAL 444 173 61% 00:38:01 Coverage HTML written to dir htmlcov 00:38:01 Coverage XML written to file coverage.xml 00:38:01 Required test coverage of 50% reached. Total coverage: 61.04% 00:38:01 ================== 4 passed, 9 warnings in 112.57s (0:01:52) =================== 00:38:01 code: commands[1]> coverage xml -i 00:38:01 Wrote XML report to coverage.xml 00:38:01 code: OK ✔ in 2 minutes 30.32 seconds 00:38:01 flake8: install_deps> python -I -m pip install flake8 00:38:03 flake8: freeze> python -m pip freeze --all 00:38:03 flake8: flake8==7.4.1,mccabe==0.7.0,pip==26.3,pycodestyle==2.15.0,pyflakes==4.0.3,setuptools==84.2.1 00:38:03 flake8: commands[0]> flake8 setup.py src tests 00:38:04 code: OK (150.32=setup[36.38]+cmd[113.75,0.19] seconds) 00:38:04 flake8: OK (2.59=setup[2.30]+cmd[0.29] seconds) 00:38:04 congratulations :) (152.95 seconds) 00:38:04 + tox_status=0 00:38:04 + echo '---> Completed tox runs' 00:38:04 ---> Completed tox runs 00:38:04 + for i in .tox/*/log 00:38:04 ++ echo .tox/code/log 00:38:04 ++ awk -F/ '{print $2}' 00:38:04 + tox_env=code 00:38:04 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:04 + for i in .tox/*/log 00:38:04 ++ echo .tox/flake8/log 00:38:04 ++ awk -F/ '{print $2}' 00:38:04 + tox_env=flake8 00:38:04 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:04 + DOC_DIR=docs/_build/html 00:38:04 + [[ -d docs/_build/html ]] 00:38:04 + echo '---> tox-run.sh ends' 00:38:04 ---> tox-run.sh ends 00:38:04 + test 0 -eq 0 00:38:04 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-3882 00:38:05 [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:05 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:05 INFO: Project root configuration file: NONE 00:38:05 INFO: SonarScanner 4.6.2.2472 00:38:05 INFO: Java 17.0.7 Private Build (64-bit) 00:38:05 INFO: Linux 4.15.0-213-generic amd64 00:38:06 INFO: User cache: /home/jenkins/.sonar/cache 00:38:08 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:08 INFO: Project root configuration file: NONE 00:38:08 INFO: Analyzing on SonarCloud 00:38:08 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 INFO: EXECUTION FAILURE 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 INFO: Total time: 3.750s 00:38:08 INFO: Final Memory: 5M/24M 00:38:08 INFO: ------------------------------------------------------------------------ 00:38:08 ERROR: Error during SonarScanner execution 00:38:08 java.lang.IllegalStateException: Java 17 is not supported. Please upgrade to Java 21 or newer, or use JRE auto-provisioning to keep this requirement always up to date. For more information check https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements. 00:38:08 at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:59) 00:38:08 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:53) 00:38:08 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 00:38:08 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:38:08 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 00:38:08 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:38:08 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 00:38:08 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 00:38:08 at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 00:38:08 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 00:38:08 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 00:38:08 at org.sonarsource.scanner.cli.Main.execute(Main.java:112) 00:38:08 at org.sonarsource.scanner.cli.Main.execute(Main.java:75) 00:38:08 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 00:38:08 ERROR: 00:38:08 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:09 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:09 $ ssh-agent -k 00:38:09 unset SSH_AUTH_SOCK; 00:38:09 unset SSH_AGENT_PID; 00:38:09 echo Agent pid 1760 killed; 00:38:09 [ssh-agent] Stopped. 00:38:09 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:09 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17769581074983600034.sh 00:38:09 ---> sysstat.sh 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9365787130579968202.sh 00:38:09 ---> package-listing.sh 00:38:09 + '[' -f /etc/os-release ']' 00:38:09 + . /etc/os-release 00:38:09 ++ NAME=Ubuntu 00:38:09 ++ VERSION='18.04.6 LTS (Bionic Beaver)' 00:38:09 ++ ID=ubuntu 00:38:09 ++ ID_LIKE=debian 00:38:09 ++ PRETTY_NAME='Ubuntu 18.04.6 LTS' 00:38:09 ++ VERSION_ID=18.04 00:38:09 ++ HOME_URL=https://www.ubuntu.com/ 00:38:09 ++ SUPPORT_URL=https://help.ubuntu.com/ 00:38:09 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 00:38:09 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 00:38:09 ++ VERSION_CODENAME=bionic 00:38:09 ++ UBUNTU_CODENAME=bionic 00:38:09 + case " ${ID:-} ${ID_LIKE:-} " in 00:38:09 + OS_FAMILY=debian 00:38:09 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:09 + START_PACKAGES=/tmp/packages_start.txt 00:38:09 + END_PACKAGES=/tmp/packages_end.txt 00:38:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:09 + PACKAGES=/tmp/packages_start.txt 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + PACKAGES=/tmp/packages_end.txt 00:38:09 + case "${OS_FAMILY}" in 00:38:09 + grep '^ii' 00:38:09 + dpkg -l 00:38:09 + '[' -f /tmp/packages_start.txt ']' 00:38:09 + '[' -f /tmp/packages_end.txt ']' 00:38:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:09 + true 00:38:09 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:09 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:09 + exit 0 00:38:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15589324496364054254.sh 00:38:09 ---> capture-instance-metadata.sh 00:38:09 INFO: Running in OpenStack, capturing instance metadata 00:38:10 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13298176382221237517.sh 00:38:10 provisioning config files... 00:38:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config10976061144767548918tmp 00:38:10 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:10 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:10 [EnvInject] - Injecting environment variables from a build step. 00:38:10 [EnvInject] - Injecting as environment variables the properties content 00:38:10 SERVER_ID=logs 00:38:10 00:38:10 [EnvInject] - Variables injected successfully. 00:38:10 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4524681429779596349.sh 00:38:10 ---> create-netrc.sh 00:38:10 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2090938187528740149.sh 00:38:10 ---> python-tools-install.sh 00:38:10 Setup pyenv: 00:38:10 system 00:38:10 3.8.13 00:38:10 3.9.13 00:38:10 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nbsX from file:/tmp/.os_lf_venv 00:38:10 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:12 lf-activate-venv(): INFO: Installing additional packages: lftools 00:38:25 lf-activate-venv(): INFO: Adding /tmp/venv-nbsX/bin to PATH 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins14591060997646718628.sh 00:38:25 ---> uv-install.sh 00:38:25 uv 0.13.10 is already installed 00:38:25 uvx 0.13.10 (x86_64-unknown-linux-gnu) 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10089576621052674926.sh 00:38:25 ---> sudo-logs.sh 00:38:25 Archiving 'sudo' log.. 00:38:25 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14932914401366107296.sh 00:38:25 ---> job-cost.sh 00:38:25 INFO: Activating Python virtual environment... 00:38:25 Setup pyenv: 00:38:25 system 00:38:25 3.8.13 00:38:25 3.9.13 00:38:25 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:25 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-nbsX from file:/tmp/.os_lf_venv 00:38:25 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:27 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:34 lf-activate-venv(): INFO: Adding /tmp/venv-nbsX/bin to PATH 00:38:34 INFO: No stack-cost file found 00:38:34 INFO: Instance uptime: 306s 00:38:34 INFO: Fetching instance metadata (attempt 1 of 3)... 00:38:34 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 00:38:35 INFO: Successfully fetched instance metadata 00:38:35 INFO: Instance type: v3-starter-2 00:38:35 INFO: Retrieving pricing info for: v3-starter-2 00:38:35 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 00:38:35 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=306 00:38:35 INFO: Successfully fetched Vexxhost pricing API 00:38:35 INFO: Retrieved cost: 0.02 00:38:35 INFO: Retrieved resource: v3-starter-2 00:38:35 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost 00:38:35 INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv 00:38:35 INFO: Successfully archived job cost data 00:38:35 DEBUG: Cost data: ric-app-ad-tox-sonarqube,311,2026-11-29 00:38:35,v3-starter-2,306,0.02,0.00,FAILURE 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17788804551583952606.sh 00:38:35 ---> logs-deploy.sh 00:38:35 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/311 00:38:35 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:44 INFO: archiving logs to Nexus 00:38:45 ---> uname -a: 00:38:45 Linux prd-ubuntu1804-builder-2c-2g-3882 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:45 00:38:45 00:38:45 ---> lscpu: 00:38:45 Architecture: x86_64 00:38:45 CPU op-mode(s): 32-bit, 64-bit 00:38:45 Byte Order: Little Endian 00:38:45 CPU(s): 2 00:38:45 On-line CPU(s) list: 0,1 00:38:45 Thread(s) per core: 1 00:38:45 Core(s) per socket: 1 00:38:45 Socket(s): 2 00:38:45 NUMA node(s): 1 00:38:45 Vendor ID: AuthenticAMD 00:38:45 CPU family: 23 00:38:45 Model: 49 00:38:45 Model name: AMD EPYC-Rome Processor 00:38:45 Stepping: 0 00:38:45 CPU MHz: 2799.998 00:38:45 BogoMIPS: 5599.99 00:38:45 Virtualization: AMD-V 00:38:45 Hypervisor vendor: KVM 00:38:45 Virtualization type: full 00:38:45 L1d cache: 32K 00:38:45 L1i cache: 32K 00:38:45 L2 cache: 512K 00:38:45 L3 cache: 16384K 00:38:45 NUMA node0 CPU(s): 0,1 00:38:45 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:45 00:38:45 00:38:45 ---> nproc: 00:38:45 2 00:38:45 00:38:45 00:38:45 ---> df -h: 00:38:45 Filesystem Size Used Avail Use% Mounted on 00:38:45 udev 2.0G 0 2.0G 0% /dev 00:38:45 tmpfs 395M 668K 394M 1% /run 00:38:45 /dev/vda1 20G 8.3G 11G 43% / 00:38:45 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:38:45 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:45 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:38:45 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:45 tmpfs 395M 0 395M 0% /run/user/1001 00:38:45 00:38:45 00:38:45 ---> free -m: 00:38:45 total used free shared buff/cache available 00:38:45 Mem: 3944 418 363 0 3162 3242 00:38:45 Swap: 1023 0 1023 00:38:45 00:38:45 00:38:45 ---> ip addr: 00:38:45 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:45 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:45 inet 127.0.0.1/8 scope host lo 00:38:45 valid_lft forever preferred_lft forever 00:38:45 inet6 ::1/128 scope host 00:38:45 valid_lft forever preferred_lft forever 00:38:45 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:45 link/ether fa:16:3e:4f:f1:b2 brd ff:ff:ff:ff:ff:ff 00:38:45 inet 10.32.6.163/23 brd 10.32.7.255 scope global dynamic ens3 00:38:45 valid_lft 86096sec preferred_lft 86096sec 00:38:45 inet6 fe80::f816:3eff:fe4f:f1b2/64 scope link 00:38:45 valid_lft forever preferred_lft forever 00:38:45 00:38:45 00:38:45 ---> sar -b -r -n DEV: 00:38:45 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3882) 11/29/26 _x86_64_ (2 CPU) 00:38:45 00:38:45 00:33:44 LINUX RESTART (2 CPU) 00:38:45 00:38:45 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:45 00:35:01 106.40 19.46 86.94 717.08 8712.41 00:38:45 00:36:01 153.25 49.43 103.82 2603.73 29338.93 00:38:45 00:37:01 19.60 1.45 18.15 44.93 5063.02 00:38:45 00:38:01 1.10 0.10 1.00 14.53 76.92 00:38:45 Average: 70.08 17.61 52.47 844.99 10797.05 00:38:45 00:38:45 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:45 00:35:01 1672296 3391016 2366756 58.60 52828 1820172 619080 12.17 511328 1691440 221544 00:38:45 00:36:01 848272 3329680 3190780 79.00 75084 2531036 703320 13.82 688940 2276556 70720 00:38:45 00:37:01 755356 3224728 3283696 81.30 77936 2512860 935160 18.38 721932 2328584 1856 00:38:45 00:38:01 893588 3415784 3145464 77.88 78448 2564688 612136 12.03 539688 2372652 51796 00:38:45 Average: 1042378 3340302 2996674 74.19 71074 2357189 717424 14.10 615472 2167308 86479 00:38:45 00:38:45 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:45 00:35:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 00:38:45 00:35:01 ens3 131.46 102.80 1826.19 25.99 0.00 0.00 0.00 0.00 00:38:45 00:36:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 00:38:45 00:36:01 ens3 107.32 87.15 1671.68 10.69 0.00 0.00 0.00 0.00 00:38:45 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:45 00:37:01 ens3 0.33 0.33 0.07 0.09 0.00 0.00 0.00 0.00 00:38:45 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:38:45 00:38:01 ens3 0.63 0.73 0.77 0.13 0.00 0.00 0.00 0.00 00:38:45 Average: lo 1.67 1.67 0.12 0.12 0.00 0.00 0.00 0.00 00:38:45 Average: ens3 59.93 47.75 874.64 9.23 0.00 0.00 0.00 0.00 00:38:45 00:38:45 00:38:45 ---> sar -P ALL: 00:38:45 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3882) 11/29/26 _x86_64_ (2 CPU) 00:38:45 00:38:45 00:33:44 LINUX RESTART (2 CPU) 00:38:45 00:38:45 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:45 00:35:01 all 38.27 0.00 2.46 6.83 0.09 52.35 00:38:45 00:35:01 0 27.31 0.00 1.70 5.36 0.08 65.55 00:38:45 00:35:01 1 49.33 0.00 3.20 8.32 0.10 39.04 00:38:45 00:36:01 all 35.37 0.00 3.17 7.98 0.09 53.39 00:38:45 00:36:01 0 27.54 0.00 2.93 12.57 0.08 56.88 00:38:45 00:36:01 1 43.18 0.00 3.41 3.40 0.10 49.91 00:38:45 00:37:01 all 49.68 0.00 0.53 0.43 0.08 49.28 00:38:45 00:37:01 0 10.24 0.00 0.23 0.15 0.03 89.34 00:38:45 00:37:01 1 88.98 0.00 0.83 0.70 0.13 9.35 00:38:45 00:38:01 all 37.27 0.00 0.18 0.02 0.06 62.47 00:38:45 00:38:01 0 0.39 0.00 0.05 0.00 0.00 99.56 00:38:45 00:38:01 1 74.00 0.00 0.30 0.03 0.12 25.55 00:38:45 Average: all 40.15 0.00 1.59 3.82 0.08 54.37 00:38:45 Average: 0 16.41 0.00 1.23 4.52 0.05 77.79 00:38:45 Average: 1 63.89 0.00 1.94 3.11 0.11 30.94 00:38:45 00:38:45 00:38:45