00:34:00 Started by timer 00:34:00 Running as SYSTEM 00:34:00 [EnvInject] - Loading node environment variables. 00:34:00 Building remotely on prd-ubuntu1804-builder-2c-2g-2764 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:34:00 [ssh-agent] Looking for ssh-agent implementation... 00:34:01 $ ssh-agent 00:34:01 SSH_AUTH_SOCK=/tmp/ssh-sneHOE7cCNvq/agent.1664 00:34:01 SSH_AGENT_PID=1666 00:34:01 [ssh-agent] Started. 00:34:01 Running ssh-add (command line suppressed) 00:34:01 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_2743906169148402912.key (jenkins-ssh) 00:34:01 [ssh-agent] Using credentials jenkins (jenkins) 00:34:01 The recommended git tool is: NONE 00:34:02 using credential jenkins 00:34:02 Wiping out workspace first. 00:34:02 Cloning the remote Git repository 00:34:02 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:02 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:02 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:02 > git --version # timeout=10 00:34:03 > git --version # 'git version 2.17.1' 00:34:03 using GIT_SSH to set credentials jenkins 00:34:03 > 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:04 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:04 Avoid second fetch 00:34:04 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:04 Checking out Revision 350a9759066203fa9867b96669831afd58f5c811 (refs/remotes/origin/master) 00:34:04 > git config core.sparsecheckout # timeout=10 00:34:04 > git checkout -f 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:05 Commit message: "Chore(rtd): modernise docs build infra" 00:34:05 > git rev-list --no-walk 350a9759066203fa9867b96669831afd58f5c811 # timeout=10 00:34:08 provisioning config files... 00:34:08 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:08 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16608668689499001787.sh 00:34:08 ---> python-tools-install.sh 00:34:08 Setup pyenv: 00:34:08 * system (set by /opt/pyenv/version) 00:34:08 * 3.8.13 (set by /opt/pyenv/version) 00:34:08 * 3.9.13 (set by /opt/pyenv/version) 00:34:08 * 3.10.6 (set by /opt/pyenv/version) 00:34:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-w41s 00:34:13 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:34:18 lf-activate-venv(): INFO: Installing additional packages: lftools 00:34:44 lf-activate-venv(): INFO: Adding /tmp/venv-w41s/bin to PATH 00:34:44 Generating Requirements File 00:35:15 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:15 botocore 1.44.3 requires python-dateutil<3.0.0,>=2.1, but you have python-dateutil 3.0.0 which is incompatible. 00:35:15 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 00:35:15 Python 3.10.6 00:35:15 pip 26.3 from /tmp/venv-w41s/lib/python3.10/site-packages/pip (python 3.10) 00:35:16 aiohappyeyeballs==2.7.1 00:35:16 aiohttp==3.14.5 00:35:16 aiosignal==1.4.0 00:35:16 appdirs==1.4.4 00:35:16 argcomplete==3.7.2 00:35:16 aspy.yaml==1.3.0 00:35:16 async-timeout==5.0.1 00:35:16 attrs==26.1.0 00:35:16 autopage==0.6.0 00:35:16 backports.strenum==1.3.1 00:35:16 beautifulsoup4==4.15.0 00:35:16 boto3==1.44.3 00:35:16 botocore==1.44.3 00:35:16 bs4==0.0.2 00:35:16 certifi==2026.10.23 00:35:16 cffi==2.1.1 00:35:16 cfgv==3.5.0 00:35:16 chardet==7.7.0 00:35:16 charset-normalizer==3.5.2 00:35:16 click==8.5.1 00:35:16 cliff==4.14.0 00:35:16 cmd2==3.5.1 00:35:16 cryptography==3.3.2 00:35:16 debtcollector==3.1.0 00:35:16 decorator==5.3.1 00:35:16 defusedxml==0.7.1 00:35:16 Deprecated==1.3.1 00:35:16 distlib==0.4.4 00:35:16 dnspython==2.8.0 00:35:16 docker==7.2.0 00:35:16 dogpile.cache==1.5.0 00:35:16 durationpy==0.11 00:35:16 email-validator==2.3.0 00:35:16 filelock==4.1.0 00:35:16 frozenlist==1.8.0 00:35:16 future==1.0.0 00:35:16 gitdb==4.0.12 00:35:16 GitPython==3.2.1 00:35:16 httplib2==0.30.2 00:35:16 identify==2.6.20 00:35:16 idna==3.20 00:35:16 importlib-resources==1.5.0 00:35:16 iso8601==2.1.0 00:35:16 Jinja2==3.1.6 00:35:16 jmespath==1.1.0 00:35:16 jsonpatch==1.46 00:35:16 jsonpointer==3.12 00:35:16 jsonschema==4.26.0 00:35:16 jsonschema-specifications==2025.9.1 00:35:16 keystoneauth1==5.14.0 00:35:16 kubernetes==36.0.3 00:35:16 lftools==0.37.26 00:35:16 lxml==6.1.3 00:35:16 markdown-it-py==4.3.0 00:35:16 MarkupSafe==3.0.4 00:35:16 mdurl==0.1.2 00:35:16 msgpack==1.2.4 00:35:16 multi_key_dict==2.0.4 00:35:16 multidict==7.1.0 00:35:16 munch==4.0.0 00:35:16 netaddr==1.3.0 00:35:16 niet==1.4.2 00:35:16 nodeenv==1.12.0 00:35:16 oauth2client==4.1.3 00:35:16 oauthlib==4.0.1 00:35:16 openstacksdk==4.13.0 00:35:16 os-service-types==1.8.2 00:35:16 osc-lib==4.6.0 00:35:16 oslo.config==10.4.0 00:35:16 oslo.context==6.4.0 00:35:16 oslo.i18n==6.8.0 00:35:16 oslo.log==8.2.0 00:35:16 oslo.serialization==5.10.0 00:35:16 oslo.utils==10.1.1 00:35:16 packaging==26.3 00:35:16 pbr==7.1.3 00:35:16 platformdirs==4.12.4 00:35:16 prettytable==3.18.0 00:35:16 propcache==0.5.4 00:35:16 psutil==7.2.2 00:35:16 pyasn1==0.6.5 00:35:16 pyasn1_modules==0.4.2 00:35:16 pycparser==3.11 00:35:16 pygerrit2==2.0.15 00:35:16 PyGithub==2.10.0 00:35:16 Pygments==2.21.0 00:35:16 PyJWT==2.15.1 00:35:16 PyNaCl==1.6.2 00:35:16 pyparsing==2.4.7 00:35:16 pyperclip==1.11.0 00:35:16 pyrsistent==0.20.0 00:35:16 python-cinderclient==9.9.0 00:35:16 python-dateutil==3.0.0 00:35:16 python-discovery==1.9.5 00:35:16 python-heatclient==5.2.0 00:35:16 python-jenkins==1.8.3 00:35:16 python-keystoneclient==6.0.0 00:35:16 python-magnumclient==4.11.0 00:35:16 python-openstackclient==10.0.0 00:35:16 python-swiftclient==4.11.0 00:35:16 PyYAML==6.0.3 00:35:16 referencing==0.37.0 00:35:16 requests==2.34.2 00:35:16 requests-oauthlib==2.0.0 00:35:16 rfc3986==2.0.0 00:35:16 rich==15.0.0 00:35:16 rich-argparse==1.8.0 00:35:16 rpds-py==0.30.0 00:35:16 rsa==4.9.1 00:35:16 ruamel.yaml==0.19.1 00:35:16 ruamel.yaml.clib==0.2.15 00:35:16 s3transfer==0.19.3 00:35:16 simplejson==4.3.0 00:35:16 six==1.17.0 00:35:16 smmap==5.0.3 00:35:16 soupsieve==2.10 00:35:16 stevedore==5.8.0 00:35:16 tabulate==0.10.0 00:35:16 toml==0.10.2 00:35:16 tomlkit==0.15.2 00:35:16 tqdm==4.70.1 00:35:16 typing_extensions==4.16.0 00:35:16 tzdata==2026.6 00:35:16 urllib3==1.26.20 00:35:16 virtualenv==21.15.6 00:35:16 wcwidth==0.9.4 00:35:16 websocket-client==1.9.2 00:35:16 wrapt==2.5.2 00:35:16 xdg==6.0.0 00:35:16 xmltodict==1.0.4 00:35:16 yarl==1.25.1 00:35:16 yq==4.4.5 00:35:16 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins17278731255473718230.sh 00:35:16 ---> uv-install.sh 00:35:16 Installing uv/uvx (latest) using shell installer 00:35:16 2026-11-15 00:35:16 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-TFdYET.sh" [1] 00:35:16 downloading uv 0.13.8 x86_64-unknown-linux-gnu 00:35:17 installing to /home/jenkins/.local/bin 00:35:17 uv 00:35:17 uvx 00:35:17 everything's installed! 00:35:17 00:35:17 To add $HOME/.local/bin to your PATH, either restart your shell or run: 00:35:17 00:35:17 source $HOME/.local/bin/env (sh, bash, zsh) 00:35:17 source $HOME/.local/bin/env.fish (fish) 00:35:17 Adding install location to PATH 00:35:17 ---> Validating uv/uvx install 00:35:17 uvx 0.13.8 (x86_64-unknown-linux-gnu) 00:35:17 [EnvInject] - Injecting environment variables from a build step. 00:35:17 [EnvInject] - Injecting as environment variables the properties content 00:35:17 SET_JDK_VERSION=openjdk17 00:35:17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:17 00:35:17 [EnvInject] - Variables injected successfully. 00:35:17 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins264441162856461625.sh 00:35:17 ---> update-java-alternatives.sh 00:35:17 ---> Updating Java version 00:35:17 ---> Ubuntu/Debian system detected 00:35:17 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:17 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:17 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:18 openjdk version "17.0.7" 2023-04-18 00:35:18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:18 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:18 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:18 [EnvInject] - Injecting environment variables from a build step. 00:35:18 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:18 [EnvInject] - Variables injected successfully. 00:35:18 [EnvInject] - Injecting environment variables from a build step. 00:35:18 [EnvInject] - Injecting as environment variables the properties content 00:35:18 PYTHON=python3 00:35:18 00:35:18 [EnvInject] - Variables injected successfully. 00:35:18 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13218248104219224152.sh 00:35:18 ---> tox-install.sh 00:35:18 + source /home/jenkins/lf-env.sh 00:35:18 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:18 ++ mktemp -d /tmp/venv-XXXX 00:35:18 + lf_venv=/tmp/venv-cPmU 00:35:18 + local venv_file=/tmp/.os_lf_venv 00:35:18 + local python=python3 00:35:18 + local options 00:35:18 + local set_path=true 00:35:18 + local install_args= 00:35:18 ++ 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:18 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:18 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:18 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:18 + true 00:35:18 + case $1 in 00:35:18 + venv_file=/tmp/.toxenv 00:35:18 + shift 2 00:35:18 + true 00:35:18 + case $1 in 00:35:18 + shift 00:35:18 + break 00:35:18 + case $python in 00:35:18 + local pkg_list= 00:35:18 + [[ -d /opt/pyenv ]] 00:35:18 + echo 'Setup pyenv:' 00:35:18 Setup pyenv: 00:35:18 + export PYENV_ROOT=/opt/pyenv 00:35:18 + PYENV_ROOT=/opt/pyenv 00:35:18 + 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:18 + 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:18 + pyenv versions 00:35:18 system 00:35:18 3.8.13 00:35:18 3.9.13 00:35:18 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:18 + command -v pyenv 00:35:18 ++ pyenv init - --no-rehash 00:35:18 + 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:18 export PATH="/opt/pyenv/shims:${PATH}" 00:35:18 export PYENV_SHELL=bash 00:35:18 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:18 pyenv() { 00:35:18 local command 00:35:18 command="${1:-}" 00:35:18 if [ "$#" -gt 0 ]; then 00:35:18 shift 00:35:18 fi 00:35:18 00:35:18 case "$command" in 00:35:18 rehash|shell) 00:35:18 eval "$(pyenv "sh-$command" "$@")" 00:35:18 ;; 00:35:18 *) 00:35:18 command pyenv "$command" "$@" 00:35:18 ;; 00:35:18 esac 00:35:18 }' 00:35:18 +++ 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:18 ++ 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:18 ++ 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:18 ++ 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:18 ++ export PYENV_SHELL=bash 00:35:18 ++ PYENV_SHELL=bash 00:35:18 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:18 +++ complete -F _pyenv pyenv 00:35:18 ++ lf-pyver python3 00:35:18 ++ local py_version_xy=python3 00:35:18 ++ local py_version_xyz= 00:35:18 ++ pyenv versions 00:35:18 ++ local command 00:35:18 ++ command=versions 00:35:18 ++ '[' 1 -gt 0 ']' 00:35:18 ++ shift 00:35:18 ++ case "$command" in 00:35:18 ++ command pyenv versions 00:35:18 ++ pyenv versions 00:35:18 ++ grep -E '^[0-9.]*[0-9]$' 00:35:18 ++ sed 's/^[ *]* //' 00:35:18 ++ awk '{ print $1 }' 00:35:18 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:18 +++ grep '^3' /tmp/.pyenv_versions 00:35:18 +++ tail -n 1 00:35:18 +++ sort -V 00:35:18 ++ py_version_xyz=3.10.6 00:35:18 ++ [[ -z 3.10.6 ]] 00:35:18 ++ echo 3.10.6 00:35:18 ++ return 0 00:35:18 + pyenv local 3.10.6 00:35:18 + local command 00:35:18 + command=local 00:35:18 + '[' 2 -gt 0 ']' 00:35:18 + shift 00:35:18 + case "$command" in 00:35:18 + command pyenv local 3.10.6 00:35:18 + pyenv local 3.10.6 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='tox ' 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='virtualenv ' 00:35:18 + for arg in "$@" 00:35:18 + case $arg in 00:35:18 + pkg_list+='urllib3~=1.26.15 ' 00:35:18 + [[ -f /tmp/.toxenv ]] 00:35:18 + [[ ! -f /tmp/.toxenv ]] 00:35:18 + [[ -n '' ]] 00:35:18 + python3 -m venv /tmp/venv-cPmU 00:35:22 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cPmU' 00:35:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cPmU 00:35:22 + echo /tmp/venv-cPmU 00:35:22 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:22 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:22 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:22 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:22 + local 'pip_opts=--upgrade --quiet' 00:35:22 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:22 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:22 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:22 + [[ -n '' ]] 00:35:22 + [[ -n '' ]] 00:35:22 + lf-venv-pip-install /tmp/venv-cPmU/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:22 + local venv_python=/tmp/venv-cPmU/bin/python3 00:35:22 + shift 00:35:22 + local upstream=https://pypi.org/simple 00:35:22 + /tmp/venv-cPmU/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:27 + return 0 00:35:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:27 + lf-venv-pip-install /tmp/venv-cPmU/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:27 + local venv_python=/tmp/venv-cPmU/bin/python3 00:35:27 + shift 00:35:27 + local upstream=https://pypi.org/simple 00:35:27 + /tmp/venv-cPmU/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-cPmU/bin to PATH' 00:35:30 lf-activate-venv(): INFO: Adding /tmp/venv-cPmU/bin to PATH 00:35:30 + PATH=/tmp/venv-cPmU/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:30 + return 0 00:35:30 + python3 --version 00:35:30 Python 3.10.6 00:35:30 + python3 -m pip --version 00:35:30 pip 26.3 from /tmp/venv-cPmU/lib/python3.10/site-packages/pip (python 3.10) 00:35:30 + python3 -m pip freeze 00:35:30 cachetools==7.3.1 00:35:30 colorama==0.4.6 00:35:30 distlib==0.4.4 00:35:30 filelock==4.1.0 00:35:30 packaging==26.3 00:35:30 platformdirs==4.12.4 00:35:30 pluggy==1.7.0 00:35:30 pyproject-api==1.11.4 00:35:30 python-discovery==1.9.5 00:35:30 tomli==2.5.0 00:35:30 tomli_w==1.2.0 00:35:30 tox==4.65.0 00:35:30 typing_extensions==4.16.0 00:35:30 urllib3==1.26.20 00:35:30 virtualenv==21.15.6 00:35:30 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14308055088273130535.sh 00:35:30 ---> install-deb-rmr.sh 00:35:30 + version_file=rmr-version.yaml 00:35:30 + '[' -f rmr-version.yaml ']' 00:35:30 ++ grep '^repo:' rmr-version.yaml 00:35:30 ++ xargs 00:35:30 ++ cut -d: -f2 00:35:30 + repo= 00:35:30 ++ cut -d: -f2 00:35:30 ++ grep '^version:' rmr-version.yaml 00:35:30 ++ xargs 00:35:30 + ver=4.9.0 00:35:30 + '[' -z 4.9.0 ']' 00:35:30 + repo=release 00:35:30 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:30 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:30 2026-11-15 00:35:30 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1794703830&Signature=aFLxJXe7es~CEW1rrzJWCVEUp6o9ol6DM9clqitGVGBx4qK~JTTdraor4Iaqq-sB0SsseHvf2GAEeaLyz5mi5QSWRZXYxFFHZbGg6Wgtt~VXaTEfbqnzRI-6-tEaoJxeJO8f8uNcmn6ldl1S57Yx3doK6aEM-UoUe0VTrWcgj1IpD90kjc8LxS6A5DvN-sEzoEl4ACvZ1qqKFDXHgUfhqQo4aKFhH5mwCaEZwHc-TFKy16SlGeeFzVUoha7ycArpTM-1K4iMK2ARqEuJ8uEufIqTg9~dQr1JJ3rU4Wj9QkLdMwcu3VfwvciPtRG9buEx7~YP~2Wc0XzZOrSXtPRQ~w__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:30 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:31 Selecting previously unselected package rmr. 00:35:32 (Reading database ... 188029 files and directories currently installed.) 00:35:32 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:32 Unpacking rmr (4.9.0) ... 00:35:32 Setting up rmr (4.9.0) ... 00:35:32 + rm -f rmr_4.9.0_amd64.deb 00:35:32 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:32 + 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:33 2026-11-15 00:35:33 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1794703833&Signature=tmOoGqYU0tj~PAL7-NF~897krT9YOf5YBysZDyB7UKyJd4cRe2OK9PdeLpuOv0Lqkr6mBgV-qAMPjA2jmIaiQRRUtvvspjUELqnqKDu8Ho00wH6IeidU4xbfqFhqDmjHJ6RYqaTDQ7iP4n5EXL1O9P4Tg8rX42WTxZ0xaFDIhwmisO-Egqh~EUCnm1Ppze077CgvevemclUShaT3jhr1OdqW3BlHkR0RgeugiK7BSW75ePmkOXijlQtpZ8piqf-pWBm-RJUigCDE97NQwpqawzfDF79tjfpyEi7c80YN0l9zxJzrjJJGGu-H9vkP7J1gq6xsbiYpLetltMUerAiqIA__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:33 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:33 Selecting previously unselected package rmr-dev. 00:35:33 (Reading database ... 188037 files and directories currently installed.) 00:35:33 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:33 Unpacking rmr-dev (4.9.0) ... 00:35:33 Setting up rmr-dev (4.9.0) ... 00:35:33 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:33 + echo '---> install-deb-rmr.sh ends' 00:35:33 ---> install-deb-rmr.sh ends 00:35:33 [EnvInject] - Injecting environment variables from a build step. 00:35:33 [EnvInject] - Injecting as environment variables the properties content 00:35:33 PARALLEL=False 00:35:33 00:35:33 [EnvInject] - Variables injected successfully. 00:35:33 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5480794167391276755.sh 00:35:33 ---> tox-run.sh 00:35:33 + 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:33 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:33 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:33 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:33 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:33 + source /home/jenkins/lf-env.sh 00:35:33 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:33 ++ mktemp -d /tmp/venv-XXXX 00:35:33 + lf_venv=/tmp/venv-3lmp 00:35:33 + local venv_file=/tmp/.os_lf_venv 00:35:33 + local python=python3 00:35:33 + local options 00:35:33 + local set_path=true 00:35:33 + local install_args= 00:35:33 ++ 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:33 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:33 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:33 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:33 + true 00:35:33 + case $1 in 00:35:33 + venv_file=/tmp/.toxenv 00:35:33 + shift 2 00:35:33 + true 00:35:33 + case $1 in 00:35:33 + shift 00:35:33 + break 00:35:33 + case $python in 00:35:33 + local pkg_list= 00:35:33 + [[ -d /opt/pyenv ]] 00:35:33 + echo 'Setup pyenv:' 00:35:33 Setup pyenv: 00:35:33 + export PYENV_ROOT=/opt/pyenv 00:35:33 + PYENV_ROOT=/opt/pyenv 00:35:33 + 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:33 + 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:33 + pyenv versions 00:35:33 system 00:35:33 3.8.13 00:35:33 3.9.13 00:35:33 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:33 + command -v pyenv 00:35:33 ++ pyenv init - --no-rehash 00:35:33 + 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:33 export PATH="/opt/pyenv/shims:${PATH}" 00:35:33 export PYENV_SHELL=bash 00:35:33 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:33 pyenv() { 00:35:33 local command 00:35:33 command="${1:-}" 00:35:33 if [ "$#" -gt 0 ]; then 00:35:33 shift 00:35:33 fi 00:35:33 00:35:33 case "$command" in 00:35:33 rehash|shell) 00:35:33 eval "$(pyenv "sh-$command" "$@")" 00:35:33 ;; 00:35:33 *) 00:35:33 command pyenv "$command" "$@" 00:35:33 ;; 00:35:33 esac 00:35:33 }' 00:35:33 +++ 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:33 ++ 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:33 ++ 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:33 ++ 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:33 ++ export PYENV_SHELL=bash 00:35:33 ++ PYENV_SHELL=bash 00:35:33 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:33 +++ complete -F _pyenv pyenv 00:35:33 ++ lf-pyver python3 00:35:33 ++ local py_version_xy=python3 00:35:33 ++ local py_version_xyz= 00:35:33 ++ pyenv versions 00:35:33 ++ local command 00:35:33 ++ command=versions 00:35:33 ++ '[' 1 -gt 0 ']' 00:35:33 ++ shift 00:35:33 ++ case "$command" in 00:35:33 ++ command pyenv versions 00:35:33 ++ pyenv versions 00:35:33 ++ sed 's/^[ *]* //' 00:35:33 ++ grep -E '^[0-9.]*[0-9]$' 00:35:33 ++ awk '{ print $1 }' 00:35:33 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:33 +++ grep '^3' /tmp/.pyenv_versions 00:35:33 +++ tail -n 1 00:35:33 +++ sort -V 00:35:33 ++ py_version_xyz=3.10.6 00:35:33 ++ [[ -z 3.10.6 ]] 00:35:33 ++ echo 3.10.6 00:35:33 ++ return 0 00:35:33 + pyenv local 3.10.6 00:35:33 + local command 00:35:33 + command=local 00:35:33 + '[' 2 -gt 0 ']' 00:35:33 + shift 00:35:33 + case "$command" in 00:35:33 + command pyenv local 3.10.6 00:35:33 + pyenv local 3.10.6 00:35:33 + for arg in "$@" 00:35:33 + case $arg in 00:35:33 + pkg_list+='tox ' 00:35:33 + for arg in "$@" 00:35:33 + case $arg in 00:35:33 + pkg_list+='virtualenv ' 00:35:33 + for arg in "$@" 00:35:33 + case $arg in 00:35:33 + pkg_list+='urllib3~=1.26.15 ' 00:35:33 + [[ -f /tmp/.toxenv ]] 00:35:33 ++ cat /tmp/.toxenv 00:35:33 + lf_venv=/tmp/venv-cPmU 00:35:33 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cPmU from' file:/tmp/.toxenv 00:35:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cPmU from file:/tmp/.toxenv 00:35:33 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 00:35:33 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:35:33 + local 'pip_opts=--upgrade --quiet' 00:35:33 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 00:35:33 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 00:35:33 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 00:35:33 + [[ -n '' ]] 00:35:33 + [[ -n '' ]] 00:35:33 + lf-venv-pip-install /tmp/venv-cPmU/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 00:35:33 + local venv_python=/tmp/venv-cPmU/bin/python3 00:35:33 + shift 00:35:33 + local upstream=https://pypi.org/simple 00:35:33 + /tmp/venv-cPmU/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:34 + return 0 00:35:34 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:34 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 00:35:34 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 00:35:34 + lf-venv-pip-install /tmp/venv-cPmU/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:34 + local venv_python=/tmp/venv-cPmU/bin/python3 00:35:34 + shift 00:35:34 + local upstream=https://pypi.org/simple 00:35:34 + /tmp/venv-cPmU/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:36 + return 0 00:35:36 + type python3 00:35:36 + true 00:35:36 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-cPmU/bin to PATH' 00:35:36 lf-activate-venv(): INFO: Adding /tmp/venv-cPmU/bin to PATH 00:35:36 + PATH=/tmp/venv-cPmU/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:36 + return 0 00:35:36 + [[ -d /opt/pyenv ]] 00:35:36 + echo '---> Setting up pyenv' 00:35:36 ---> Setting up pyenv 00:35:36 + export PYENV_ROOT=/opt/pyenv 00:35:36 + PYENV_ROOT=/opt/pyenv 00:35:36 + export PATH=/opt/pyenv/bin:/tmp/venv-cPmU/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:36 + PATH=/opt/pyenv/bin:/tmp/venv-cPmU/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:36 ++ pwd 00:35:36 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:36 + export PYTHONPATH 00:35:36 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:36 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:36 + tox --version 00:35:36 4.65.0 from /tmp/venv-cPmU/lib/python3.10/site-packages/tox/__init__.py 00:35:36 + PARALLEL=False 00:35:36 + TOX_OPTIONS_LIST= 00:35:36 + [[ -n code,flake8 ]] 00:35:36 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:36 + case ${PARALLEL,,} in 00:35:36 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:36 + tox -e code,flake8 00:35:37 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:14 code: freeze> python -m pip freeze --all 00:36:15 code: async-timeout==5.0.1,build==1.6.1,certifi==2026.10.23,charset-normalizer==3.5.2,cloudpickle==3.1.2,coverage==7.16.2,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.20,influxdb==5.3.2,iniconfig==2.3.1,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.6.0,mdclogpy==1.1.1,msgpack==1.2.4,numpy==1.26.4,packaging==26.3,pandas==1.5.3,pip==26.3,pluggy==1.7.0,protobuf==3.20.3,Pygments==2.21.0,pyproject_hooks==1.3.3,pytest==9.2.0,pytest-cov==7.1.0,python-dateutil==3.0.0,pytz==2026.6,redis==4.3.6,requests==2.34.2,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.3.2,scipy==1.15.3,setuptools==84.2.1,six==1.17.0,threadpoolctl==3.8.0,tomli==2.5.0,typing_extensions==4.16.0,tzdata==2026.6,urllib3==2.8.0 00:36:15 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:16 ============================= test session starts ============================== 00:36:16 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:16 cachedir: .tox/code/.pytest_cache 00:36:16 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:16 plugins: cov-7.1.0 00:36:16 collecting ... collected 4 items 00:36:17 00:36:17 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:17 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:38:10 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:38:11 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:26 00:38:26 =============================== warnings summary =============================== 00:38:26 tests/test_ad.py::test_trainModel 00:38:26 tests/test_ad.py::test_trainModel 00:38:26 tests/test_ad.py::test_trainModel 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 /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:26 See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) 00:38:26 return np.find_common_type(types, []) 00:38:26 00:38:26 tests/test_ad.py::test_predict_anomaly 00:38:26 /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:26 df.loc[:, 'RRU.PrbUsedDl'] = df['RRU.PrbUsedDl'].astype('float') 00:38:26 00:38:26 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:38:26 ================================ tests coverage ================================ 00:38:26 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 00:38:26 00:38:26 Name Stmts Miss Cover Missing 00:38:26 ------------------------------------------------- 00:38:26 src/__init__.py 0 0 100% 00:38:26 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:26 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:26 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:26 src/exceptions.py 4 4 0% 18-25 00:38:26 src/insert.py 50 50 0% 21-84 00:38:26 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:26 src/processing.py 44 0 100% 00:38:26 ------------------------------------------------- 00:38:26 TOTAL 444 173 61% 00:38:26 Coverage HTML written to dir htmlcov 00:38:26 Coverage XML written to file coverage.xml 00:38:26 Required test coverage of 50% reached. Total coverage: 61.04% 00:38:26 ================== 4 passed, 9 warnings in 130.55s (0:02:10) =================== 00:38:27 code: commands[1]> coverage xml -i 00:38:27 Wrote XML report to coverage.xml 00:38:27 code: OK ✔ in 2 minutes 50.63 seconds 00:38:27 flake8: install_deps> python -I -m pip install flake8 00:38:29 flake8: freeze> python -m pip freeze --all 00:38:29 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:29 flake8: commands[0]> flake8 setup.py src tests 00:38:30 code: OK (170.62=setup[38.56]+cmd[131.86,0.20] seconds) 00:38:30 flake8: OK (2.76=setup[2.48]+cmd[0.28] seconds) 00:38:30 congratulations :) (173.42 seconds) 00:38:30 + tox_status=0 00:38:30 + echo '---> Completed tox runs' 00:38:30 ---> Completed tox runs 00:38:30 + for i in .tox/*/log 00:38:30 ++ echo .tox/code/log 00:38:30 ++ awk -F/ '{print $2}' 00:38:30 + tox_env=code 00:38:30 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:30 + for i in .tox/*/log 00:38:30 ++ echo .tox/flake8/log 00:38:30 ++ awk -F/ '{print $2}' 00:38:30 + tox_env=flake8 00:38:30 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:30 + DOC_DIR=docs/_build/html 00:38:30 + [[ -d docs/_build/html ]] 00:38:30 + echo '---> tox-run.sh ends' 00:38:30 ---> tox-run.sh ends 00:38:30 + test 0 -eq 0 00:38:30 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-2764 00:38:31 [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:31 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:31 INFO: Project root configuration file: NONE 00:38:31 INFO: SonarScanner 4.6.2.2472 00:38:31 INFO: Java 17.0.7 Private Build (64-bit) 00:38:31 INFO: Linux 4.15.0-213-generic amd64 00:38:31 INFO: User cache: /home/jenkins/.sonar/cache 00:38:34 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:34 INFO: Project root configuration file: NONE 00:38:34 INFO: Analyzing on SonarCloud 00:38:34 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:34 INFO: ------------------------------------------------------------------------ 00:38:34 INFO: EXECUTION FAILURE 00:38:34 INFO: ------------------------------------------------------------------------ 00:38:34 INFO: Total time: 3.463s 00:38:34 INFO: Final Memory: 5M/24M 00:38:34 INFO: ------------------------------------------------------------------------ 00:38:34 ERROR: Error during SonarScanner execution 00:38:34 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:34 at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:59) 00:38:34 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:53) 00:38:34 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46) 00:38:34 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:38:34 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 00:38:34 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:38:34 at java.base/java.lang.reflect.Method.invoke(Method.java:568) 00:38:34 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) 00:38:34 at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source) 00:38:34 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189) 00:38:34 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138) 00:38:34 at org.sonarsource.scanner.cli.Main.execute(Main.java:112) 00:38:34 at org.sonarsource.scanner.cli.Main.execute(Main.java:75) 00:38:34 at org.sonarsource.scanner.cli.Main.main(Main.java:61) 00:38:34 ERROR: 00:38:34 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:35 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:35 $ ssh-agent -k 00:38:35 unset SSH_AUTH_SOCK; 00:38:35 unset SSH_AGENT_PID; 00:38:35 echo Agent pid 1666 killed; 00:38:35 [ssh-agent] Stopped. 00:38:35 ERROR: SonarQube scanner exited with non-zero code: 1 00:38:35 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3472324804114781656.sh 00:38:35 ---> sysstat.sh 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5353693862515273661.sh 00:38:35 ---> package-listing.sh 00:38:35 + '[' -f /etc/os-release ']' 00:38:35 + . /etc/os-release 00:38:35 ++ NAME=Ubuntu 00:38:35 ++ VERSION='18.04.6 LTS (Bionic Beaver)' 00:38:35 ++ ID=ubuntu 00:38:35 ++ ID_LIKE=debian 00:38:35 ++ PRETTY_NAME='Ubuntu 18.04.6 LTS' 00:38:35 ++ VERSION_ID=18.04 00:38:35 ++ HOME_URL=https://www.ubuntu.com/ 00:38:35 ++ SUPPORT_URL=https://help.ubuntu.com/ 00:38:35 ++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/ 00:38:35 ++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 00:38:35 ++ VERSION_CODENAME=bionic 00:38:35 ++ UBUNTU_CODENAME=bionic 00:38:35 + case " ${ID:-} ${ID_LIKE:-} " in 00:38:35 + OS_FAMILY=debian 00:38:35 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:35 + START_PACKAGES=/tmp/packages_start.txt 00:38:35 + END_PACKAGES=/tmp/packages_end.txt 00:38:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:35 + PACKAGES=/tmp/packages_start.txt 00:38:35 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:35 + PACKAGES=/tmp/packages_end.txt 00:38:35 + case "${OS_FAMILY}" in 00:38:35 + grep '^ii' 00:38:35 + dpkg -l 00:38:35 + '[' -f /tmp/packages_start.txt ']' 00:38:35 + '[' -f /tmp/packages_end.txt ']' 00:38:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:35 + true 00:38:35 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:35 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:35 + exit 0 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3356990761969917196.sh 00:38:35 ---> capture-instance-metadata.sh 00:38:35 INFO: Running in OpenStack, capturing instance metadata 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins15723751216423256284.sh 00:38:35 provisioning config files... 00:38:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config11861091912393090306tmp 00:38:35 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:35 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:35 [EnvInject] - Injecting environment variables from a build step. 00:38:35 [EnvInject] - Injecting as environment variables the properties content 00:38:35 SERVER_ID=logs 00:38:35 00:38:35 [EnvInject] - Variables injected successfully. 00:38:35 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4126801257547870380.sh 00:38:35 ---> create-netrc.sh 00:38:36 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16441253823258823403.sh 00:38:36 ---> python-tools-install.sh 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-w41s 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: lftools 00:38:51 lf-activate-venv(): INFO: Adding /tmp/venv-w41s/bin to PATH 00:38:51 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins8641770521559454910.sh 00:38:51 ---> uv-install.sh 00:38:51 uv 0.13.8 is already installed 00:38:51 uvx 0.13.8 (x86_64-unknown-linux-gnu) 00:38:51 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14668852450558048547.sh 00:38:51 ---> sudo-logs.sh 00:38:51 Archiving 'sudo' log.. 00:38:51 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16623254042330042570.sh 00:38:51 ---> job-cost.sh 00:38:51 INFO: Activating Python virtual environment... 00:38:51 Setup pyenv: 00:38:51 system 00:38:51 3.8.13 00:38:51 3.9.13 00:38:51 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-w41s from file:/tmp/.os_lf_venv 00:38:51 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 00:38:53 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:01 lf-activate-venv(): INFO: Adding /tmp/venv-w41s/bin to PATH 00:39:01 INFO: No stack-cost file found 00:39:01 INFO: Instance uptime: 332s 00:39:01 INFO: Fetching instance metadata (attempt 1 of 3)... 00:39:01 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 00:39:02 INFO: Successfully fetched instance metadata 00:39:02 INFO: Instance type: v3-starter-2 00:39:02 INFO: Retrieving pricing info for: v3-starter-2 00:39:02 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 00:39:02 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=332 00:39:02 INFO: Successfully fetched Vexxhost pricing API 00:39:02 INFO: Retrieved cost: 0.02 00:39:02 INFO: Retrieved resource: v3-starter-2 00:39:02 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost 00:39:02 INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv 00:39:02 INFO: Successfully archived job cost data 00:39:02 DEBUG: Cost data: ric-app-ad-tox-sonarqube,309,2026-11-15 00:39:02,v3-starter-2,332,0.02,0.00,FAILURE 00:39:02 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15312042542529960377.sh 00:39:02 ---> logs-deploy.sh 00:39:02 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/309 00:39:02 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:12 INFO: archiving logs to Nexus 00:39:13 ---> uname -a: 00:39:13 Linux prd-ubuntu1804-builder-2c-2g-2764 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:13 00:39:13 00:39:13 ---> lscpu: 00:39:13 Architecture: x86_64 00:39:13 CPU op-mode(s): 32-bit, 64-bit 00:39:13 Byte Order: Little Endian 00:39:13 CPU(s): 2 00:39:13 On-line CPU(s) list: 0,1 00:39:13 Thread(s) per core: 1 00:39:13 Core(s) per socket: 1 00:39:13 Socket(s): 2 00:39:13 NUMA node(s): 1 00:39:13 Vendor ID: AuthenticAMD 00:39:13 CPU family: 23 00:39:13 Model: 49 00:39:13 Model name: AMD EPYC-Rome Processor 00:39:13 Stepping: 0 00:39:13 CPU MHz: 2800.000 00:39:13 BogoMIPS: 5600.00 00:39:13 Virtualization: AMD-V 00:39:13 Hypervisor vendor: KVM 00:39:13 Virtualization type: full 00:39:13 L1d cache: 32K 00:39:13 L1i cache: 32K 00:39:13 L2 cache: 512K 00:39:13 L3 cache: 16384K 00:39:13 NUMA node0 CPU(s): 0,1 00:39:13 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 00:39:13 00:39:13 00:39:13 ---> nproc: 00:39:13 2 00:39:13 00:39:13 00:39:13 ---> df -h: 00:39:13 Filesystem Size Used Avail Use% Mounted on 00:39:13 udev 2.0G 0 2.0G 0% /dev 00:39:13 tmpfs 395M 668K 394M 1% /run 00:39:13 /dev/vda1 20G 8.3G 11G 44% / 00:39:13 tmpfs 2.0G 0 2.0G 0% /dev/shm 00:39:13 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:13 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 00:39:13 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:39:13 tmpfs 395M 0 395M 0% /run/user/1001 00:39:13 00:39:13 00:39:13 ---> free -m: 00:39:13 total used free shared buff/cache available 00:39:13 Mem: 3944 403 327 0 3213 3257 00:39:13 Swap: 1023 0 1023 00:39:13 00:39:13 00:39:13 ---> ip addr: 00:39:13 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:13 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:13 inet 127.0.0.1/8 scope host lo 00:39:13 valid_lft forever preferred_lft forever 00:39:13 inet6 ::1/128 scope host 00:39:13 valid_lft forever preferred_lft forever 00:39:13 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:13 link/ether fa:16:3e:09:32:53 brd ff:ff:ff:ff:ff:ff 00:39:13 inet 10.32.7.180/23 brd 10.32.7.255 scope global dynamic ens3 00:39:13 valid_lft 86069sec preferred_lft 86069sec 00:39:13 inet6 fe80::f816:3eff:fe09:3253/64 scope link 00:39:13 valid_lft forever preferred_lft forever 00:39:13 00:39:13 00:39:13 ---> sar -b -r -n DEV: 00:39:13 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2764) 11/15/26 _x86_64_ (2 CPU) 00:39:13 00:39:13 00:33:44 LINUX RESTART (2 CPU) 00:39:13 00:39:13 00:34:01 tps rtps wtps bread/s bwrtn/s 00:39:13 00:35:01 103.58 20.95 82.64 808.67 8225.16 00:39:13 00:36:01 136.02 49.42 86.60 2599.47 17947.20 00:39:13 00:37:01 40.23 1.82 38.41 93.85 16555.64 00:39:13 00:38:01 1.30 0.00 1.30 0.00 25.60 00:39:13 00:39:01 44.14 20.86 23.28 744.94 4191.30 00:39:13 Average: 65.05 18.61 46.44 849.33 9388.69 00:39:13 00:39:13 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:13 00:35:01 1715460 3406536 2323592 57.53 51880 1794032 605556 11.90 492312 1665924 210580 00:39:13 00:36:01 1073920 3338592 2965132 73.41 71736 2324292 696788 13.70 633172 2118388 215788 00:39:13 00:37:01 769640 3222956 3269412 80.95 77772 2497240 924080 18.16 721996 2313436 440 00:39:13 00:38:01 770360 3223724 3268692 80.93 77808 2497240 932012 18.32 720996 2313432 140 00:39:13 00:39:01 801032 3442576 3238020 80.17 80828 2677796 535224 10.52 563496 2437264 81280 00:39:13 Average: 1026082 3326877 3012970 74.60 72005 2358120 738732 14.52 626394 2169689 101646 00:39:13 00:39:13 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:13 00:35:01 ens3 162.66 129.13 1912.71 35.00 0.00 0.00 0.00 0.00 00:39:13 00:35:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:39:13 00:36:01 ens3 97.00 84.20 1721.25 14.00 0.00 0.00 0.00 0.00 00:39:13 00:36:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 00:39:13 00:37:01 ens3 0.73 0.48 0.77 0.10 0.00 0.00 0.00 0.00 00:39:13 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:13 00:38:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 00:39:13 00:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:39:13 00:39:01 ens3 89.55 71.29 934.18 15.76 0.00 0.00 0.00 0.00 00:39:13 00:39:01 lo 4.20 4.20 0.25 0.25 0.00 0.00 0.00 0.00 00:39:13 Average: ens3 69.99 57.03 913.76 12.97 0.00 0.00 0.00 0.00 00:39:13 Average: lo 1.49 1.49 0.11 0.11 0.00 0.00 0.00 0.00 00:39:13 00:39:13 00:39:13 ---> sar -P ALL: 00:39:13 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2764) 11/15/26 _x86_64_ (2 CPU) 00:39:13 00:39:13 00:33:44 LINUX RESTART (2 CPU) 00:39:13 00:39:13 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:13 00:35:01 all 39.53 0.00 2.75 6.13 0.10 51.49 00:39:13 00:35:01 0 56.44 0.00 3.41 1.79 0.13 38.23 00:39:13 00:35:01 1 22.62 0.00 2.10 10.47 0.07 64.73 00:39:13 00:36:01 all 34.90 0.00 3.03 7.94 0.09 54.04 00:39:13 00:36:01 0 36.66 0.00 3.31 8.31 0.10 51.62 00:39:13 00:36:01 1 33.14 0.00 2.71 7.56 0.08 56.51 00:39:13 00:37:01 all 49.32 0.00 0.95 0.94 0.09 48.69 00:39:13 00:37:01 0 59.18 0.00 0.97 0.80 0.12 38.94 00:39:13 00:37:01 1 39.47 0.00 0.95 1.09 0.08 58.41 00:39:13 00:38:01 all 50.11 0.00 0.12 0.02 0.09 49.67 00:39:13 00:38:01 0 25.16 0.00 0.10 0.03 0.05 74.65 00:39:13 00:38:01 1 75.09 0.00 0.12 0.00 0.12 24.68 00:39:13 00:39:01 all 33.45 0.00 1.86 2.01 0.07 62.61 00:39:13 00:39:01 0 19.15 0.00 1.51 2.53 0.07 76.75 00:39:13 00:39:01 1 47.79 0.00 2.20 1.50 0.10 48.41 00:39:13 Average: all 41.46 0.00 1.74 3.41 0.09 53.30 00:39:13 Average: 0 39.29 0.00 1.86 2.70 0.09 56.06 00:39:13 Average: 1 43.64 0.00 1.62 4.12 0.09 50.54 00:39:13 00:39:13 00:39:13