Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-9530 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-R0ogy19Hv1pn/agent.1677 SSH_AGENT_PID=1679 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_4576558794978100208.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins11944175185708102356.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2i4p lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2i4p/bin to PATH Generating Requirements File 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. httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. Python 3.10.6 pip 26.2.1 from /tmp/venv-2i4p/lib/python3.10/site-packages/pip (python 3.10) aiohappyeyeballs==2.7.1 aiohttp==3.14.3 aiosignal==1.4.0 appdirs==1.4.4 argcomplete==3.7.2 aspy.yaml==1.3.0 async-timeout==5.0.1 attrs==26.1.0 autopage==0.6.0 backports.strenum==1.3.1 beautifulsoup4==4.15.0 boto3==1.43.83 botocore==1.43.83 bs4==0.0.2 certifi==2026.7.22 cffi==2.1.1 cfgv==3.5.0 chardet==7.6.0 charset-normalizer==3.5.1 click==8.5.0 cliff==4.14.0 cmd2==3.5.1 cryptography==3.3.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.3 dnspython==2.8.0 docker==7.2.0 dogpile.cache==1.5.0 durationpy==0.11 email-validator==2.3.0 filelock==3.32.4 frozenlist==1.8.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.61 httplib2==0.30.2 identify==2.6.19 idna==3.19 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.1.0 jsonpatch==1.33 jsonpointer==3.1.1 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 keystoneauth1==5.14.0 kubernetes==36.0.3 lftools==0.37.23 lxml==6.1.2 markdown-it-py==4.2.0 MarkupSafe==3.0.3 mdurl==0.1.2 msgpack==1.2.2 multi_key_dict==2.0.3 multidict==6.7.1 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.10.0 oauth2client==4.1.3 oauthlib==3.3.1 openstacksdk==4.13.0 os-service-types==1.8.2 osc-lib==4.6.0 oslo.config==10.4.0 oslo.context==6.4.0 oslo.i18n==6.8.0 oslo.log==8.2.0 oslo.serialization==5.10.0 oslo.utils==10.1.1 packaging==26.3 pbr==7.0.3 platformdirs==4.11.5 prettytable==3.18.0 propcache==0.5.2 psutil==7.2.2 pyasn1==0.6.4 pyasn1_modules==0.4.2 pycparser==3.0 pygerrit2==2.0.15 PyGithub==2.10.0 Pygments==2.21.0 PyJWT==2.13.0 PyNaCl==1.6.2 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.9.0 python-dateutil==2.9.0.post0 python-discovery==1.6.0 python-heatclient==5.2.0 python-jenkins==1.8.3 python-keystoneclient==6.0.0 python-magnumclient==4.11.0 python-openstackclient==10.0.0 python-swiftclient==4.11.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.34.2 requests-oauthlib==2.0.0 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.19.1 ruamel.yaml.clib==0.2.15 s3transfer==0.19.2 simplejson==4.1.2 six==1.17.0 smmap==5.0.3 soupsieve==2.9.2 stevedore==5.8.0 tabulate==0.10.0 toml==0.10.2 tomlkit==0.15.1 tqdm==4.70.0 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.7.7 wcwidth==0.8.3 websocket-client==1.9.1 wrapt==2.3.0 xdg==6.0.0 xmltodict==1.0.4 yarl==1.24.5 yq==4.1.2 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins3702953907308140426.sh ---> uv-install.sh Installing uv/uvx (latest) using shell installer 2026-08-30 00:35:51 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71225/71225] -> "/tmp/uv-install-D5gw5T.sh" [1] downloading uv 0.12.7 x86_64-unknown-linux-gnu installing to /home/jenkins/.local/bin uv uvx everything's installed! To add $HOME/.local/bin to your PATH, either restart your shell or run: source $HOME/.local/bin/env (sh, bash, zsh) source $HOME/.local/bin/env.fish (fish) Adding install location to PATH ---> Validating uv/uvx install uvx 0.12.7 (x86_64-unknown-linux-gnu) [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins2824119830093977418.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1777769887946112587.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-Y74Q + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + 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 + 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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ 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 ++ 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 ++ 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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ tail -n 1 +++ sort -V +++ grep '^3' /tmp/.pyenv_versions ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-Y74Q + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y74Q' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y74Q + echo /tmp/venv-Y74Q + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-Y74Q/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-Y74Q/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-Y74Q/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 + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-Y74Q/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 + local venv_python=/tmp/venv-Y74Q/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-Y74Q/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Y74Q/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Y74Q/bin to PATH + PATH=/tmp/venv-Y74Q/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 + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 26.2.1 from /tmp/venv-Y74Q/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==7.1.7 colorama==0.4.6 distlib==0.4.3 filelock==3.32.4 packaging==26.3 platformdirs==4.11.5 pluggy==1.6.0 pyproject-api==1.11.0 python-discovery==1.6.0 tomli==2.4.1 tomli_w==1.2.0 tox==4.61.1 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.7.7 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1218694209361611074.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + '[' -f rmr-version.yaml ']' ++ cut -d: -f2 ++ grep '^repo:' rmr-version.yaml ++ xargs + repo= ++ xargs ++ cut -d: -f2 ++ grep '^version:' rmr-version.yaml + ver=4.9.0 + '[' -z 4.9.0 ']' + repo=release + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 2026-08-30 00:36:15 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1788051075&Signature=RlJAm52AbCPdmbmEGNcq713Nb2bQVVlUREKBWtprLRGGbjxfD3E39SBzyEZp1Ew008JzuRqvJC-9szwkeIJz4V-DcjR1fAd7nq-jKJxTEYiKQzPasbS5JGruarWDTEAfFXEThQZTjEJT7jjM5k8Pj4NPguFRGDa7XPNtJSGIERwOSfqAkeTfa78eNVDqzOmRSZ9LJ9WgID1VXbKdojlVCONa8U~uxPtz3a1TlmZxBqFSzA5alDzdN5yhreYuRpLDiFSLjYCKIxbMNoOZrIP~e90JEy7m1zSw0Lv070YHLmY1s6AIyBJrHwryiYDSURM2gLt44Fh61uWtoKN4gTsDrw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] + sudo dpkg -i rmr_4.9.0_amd64.deb Selecting previously unselected package rmr. (Reading database ... 188029 files and directories currently installed.) Preparing to unpack rmr_4.9.0_amd64.deb ... Unpacking rmr (4.9.0) ... Setting up rmr (4.9.0) ... + rm -f rmr_4.9.0_amd64.deb + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.0_amd64.deb/download.deb 2026-08-30 00:36:17 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1788051077&Signature=OSYUZQgq4CTbuaP2A-fZMpf2QMbRJt9RYvPMVbunXihuhi7VeZ7qREchyvgo~lC6sIPLZLnrZkw5H1DgJFFPbEC2sORGOJcDzRfW9UcWPv0uy8DAXnmL2vKckAVooWS3P1mKQoXstaT0F2d185mseDkeFbaRtbk-BASUyiVT90gfvz~oAxS2MFc52TL~EbK~hssgWy7-x4oUH2-UQ2vc-ykQuFamIvPAYF9kLg51AsE4pI~lRiYYE8YYj3wNjNbfuz9pcQuY4wPACmo5LxZ6XQfqckp1EDXp97wd7Jil9PeoMXlBPAoM8VuBQhvKU8MXEGRVurK8jFajVWExHMs44g__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] + sudo dpkg -i rmr-dev_4.9.0_amd64.deb Selecting previously unselected package rmr-dev. (Reading database ... 188037 files and directories currently installed.) Preparing to unpack rmr-dev_4.9.0_amd64.deb ... Unpacking rmr-dev (4.9.0) ... Setting up rmr-dev (4.9.0) ... + rm -f rmr-dev_4.9.0_amd64.deb + echo '---> install-deb-rmr.sh ends' ---> install-deb-rmr.sh ends [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8618094193134124938.sh ---> tox-run.sh + 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 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox + cd /w/workspace/ric-app-ad-tox-sonarqube/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-SgkA + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + 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 + 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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ 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 ++ 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 ++ 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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-Y74Q + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Y74Q from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Y74Q from file:/tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-Y74Q/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-Y74Q/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-Y74Q/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 + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-Y74Q/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 + local venv_python=/tmp/venv-Y74Q/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-Y74Q/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 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Y74Q/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Y74Q/bin to PATH + PATH=/tmp/venv-Y74Q/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 + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-Y74Q/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 + PATH=/opt/pyenv/bin:/tmp/venv-Y74Q/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 ++ pwd + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.61.1 from /tmp/venv-Y74Q/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n code,flake8 ]] + TOX_OPTIONS_LIST=' -e code,flake8' + case ${PARALLEL,,} in + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log + tox -e code,flake8 code: install_deps> python -I -m pip install coverage pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' .pkg: _optional_hooks> python /tmp/venv-Y74Q/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-Y74Q/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-Y74Q/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==26.2.1,setuptools==84.0.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Y74Q/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-Y74Q/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install 'Scikit-learn>=0.18' influxdb 'joblib>=0.3.2' 'mdclogpy<=1.1.1' 'pandas>=1.1.3' ricxappframe==3.2.2 'schedule>=0.0.0' code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-ad-tox-sonarqube/.tox/.tmp/package/1/ad-1.0.1.tar.gz code: freeze> python -m pip freeze --all code: ad==1.0.1,async-timeout==5.0.1,build==1.6.0,certifi==2026.7.22,charset-normalizer==3.5.1,coverage==7.16.0,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.19,influxdb==5.3.2,iniconfig==2.3.0,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.5.3,mdclogpy==1.1.1,msgpack==1.2.2,numpy==2.2.6,packaging==26.3,pandas==2.3.3,pip==26.2.1,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.21.0,pyproject_hooks==1.2.0,pytest==9.1.1,pytest-cov==7.1.0,python-dateutil==2.9.0.post0,pytz==2026.3.post1,redis==4.3.6,requests==2.34.2,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.2,scipy==1.15.3,setuptools==84.0.0,six==1.17.0,threadpoolctl==3.6.0,tomli==2.4.1,typing_extensions==4.16.0,tzdata==2026.3,urllib3==2.7.0 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-app-ad-tox-sonarqube plugins: cov-7.1.0 collecting ... collected 4 items tests/test_ad.py::test_database_connection PASSED [ 25%] tests/test_ad.py::test_trainModel FAILED [ 50%] tests/test_ad.py::test_predict_anomaly FAILED [ 75%] tests/test_ad.py::test_msg_to_ts PASSED [100%] =================================== FAILURES =================================== _______________________________ test_trainModel ________________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1a019cae60> def test_trainModel(monkeypatch): > main.train_model() tests/test_ad.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/main.py:62: in train_model mt.train() src/ad_train.py:122: in train f1, model = self.isoforest() src/ad_train.py:89: in isoforest md = model.fit(self.train_data.values) .tox/code/lib/python3.10/site-packages/sklearn/base.py:1365: in wrapper return fit_method(estimator, *args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1051: in fit self._run_search(evaluate_candidates) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:1992: in _run_search evaluate_candidates( .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_search.py:997: in evaluate_candidates out = parallel( .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:82: in __call__ return super().__call__(iterable_with_config_and_warning_filters) .tox/code/lib/python3.10/site-packages/joblib/parallel.py:1986: in __call__ return output if self.return_generator else list(output) .tox/code/lib/python3.10/site-packages/joblib/parallel.py:1914: in _get_sequential_output res = func(*args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/utils/parallel.py:147: in __call__ return self.function(*args, **kwargs) .tox/code/lib/python3.10/site-packages/sklearn/model_selection/_validation.py:851: in _fit_and_score X_train, y_train = _safe_split(estimator, X, y, train) .tox/code/lib/python3.10/site-packages/sklearn/utils/metaestimators.py:156: in _safe_split X_subset = _safe_indexing(X, indices) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ X = array([[ 3.77292128e-01, 2.86786711e-02, 1.11735082e-04, ..., -3.75802327e-01, -4.02027834e-03, 1.21858569e...0016081e-02, 7.00032162e-05, ..., -5.88727048e-01, -2.85562268e-02, 1.17085036e-02]], shape=(10000, 7)) indices = array(slice(None, None, None), dtype=object), axis = 0 def _safe_indexing(X, indices, *, axis=0): """Return rows, items or columns of X using indices. .. warning:: This utility is documented, but **private**. This means that backward compatibility might be broken without any deprecation cycle. Parameters ---------- X : array-like, sparse-matrix, list, pandas.DataFrame, pandas.Series Data from which to sample rows, items or columns. `list` are only supported when `axis=0`. indices : bool, int, str, slice, array-like - If `axis=0`, boolean and integer array-like, integer slice, and scalar integer are supported. - If `axis=1`: - to select a single column, `indices` can be of `int` type for all `X` types and `str` only for dataframe. The selected subset will be 1D, unless `X` is a sparse matrix in which case it will be 2D. - to select multiples columns, `indices` can be one of the following: `list`, `array`, `slice`. The type used in these containers can be one of the following: `int`, 'bool' and `str`. However, `str` is only supported when `X` is a dataframe. The selected subset will be 2D. axis : int, default=0 The axis along which `X` will be subsampled. `axis=0` will select rows while `axis=1` will select columns. Returns ------- subset Subset of X on axis 0 or 1. Notes ----- CSR, CSC, and LIL sparse matrices are supported. COO sparse matrices are not supported. Examples -------- >>> import numpy as np >>> from sklearn.utils import _safe_indexing >>> data = np.array([[1, 2], [3, 4], [5, 6]]) >>> _safe_indexing(data, 0, axis=0) # select the first row array([1, 2]) >>> _safe_indexing(data, 0, axis=1) # select the first column array([1, 3, 5]) """ if indices is None: return X if axis not in (0, 1): raise ValueError( "'axis' should be either 0 (to index rows) or 1 (to index " " column). Got {} instead.".format(axis) ) indices_dtype = _determine_key_type(indices) if axis == 0 and indices_dtype == "str": > raise ValueError("String indexing is not supported with 'axis=0'") E ValueError: String indexing is not supported with 'axis=0' .tox/code/lib/python3.10/site-packages/sklearn/utils/_indexing.py:305: ValueError ----------------------------- Captured stdout call ----------------------------- {"ts": 1788050253726, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training on 10000 Samples"} {"ts": 1788050253741, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Validation on 10000 Samples"} {"ts": 1788050253742, "crit": "DEBUG", "id": "ad_train", "mdc": {}, "msg": "Training Starts"} {"ts": 1788050253811, "crit": "INFO", "id": "ad_train", "mdc": {}, "msg": "Training Isolation Forest"} _____________________________ test_predict_anomaly _____________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f19f2c59cc0> ad_ue = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 [1 rows x 12 columns] def test_predict_anomaly(monkeypatch, ad_ue): main.load_model() > main.predict_anomaly(monkeypatch, ad_ue) tests/test_ad.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/main.py:99: in predict_anomaly df['Anomaly'] = md.predict(df) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = df = du-id ServingCellId RRU.PrbUsedDl ... x y measTimeStampRf 0 1002 c2/B13 8 ... -882 -959 2021-05-12 07:43:51.652 [1 rows x 12 columns] def predict(self, df): """ Load the saved model and return predicted result. Parameters ......... name:str name of model Return ...... pred:int predict label on a given sample """ self.data = df.loc[:, self.num] self.transformation() > pred = self.model.predict(self.data) E AttributeError: 'modelling' object has no attribute 'model' src/ad_model.py:78: AttributeError ----------------------------- Captured stdout call ----------------------------- {"ts": 1788050254483, "crit": "ERROR", "id": "ad_model", "mdc": {}, "msg": "Model Does not exsist"} {"ts": 1788050254484, "crit": "INFO", "id": "src.main", "mdc": {}, "msg": "throughput threshold parameter is set as 70% (default)"} =============================== warnings summary =============================== tests/test_ad.py::test_trainModel tests/test_ad.py::test_trainModel /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy. A typical example is when you are setting values in a column of a DataFrame, like: df["col"][row_indexer] = value Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing ------------------------------------------------- src/__init__.py 0 0 100% src/ad_model.py 67 34 49% 41, 50-51, 57-58, 79-80, 98-115, 119-130 src/ad_train.py 69 22 68% 56-58, 66-68, 90-91, 94-101, 123-129 src/database.py 94 36 62% 64-75, 85-97, 106-110, 113-118, 161, 164 src/exceptions.py 4 4 0% 18-25 src/insert.py 50 50 0% 21-84 src/main.py 116 75 35% 41-46, 70-83, 100-114, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192 src/processing.py 44 0 100% ------------------------------------------------- TOTAL 444 221 50% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 50% reached. Total coverage: 50.23% =========================== short test summary info ============================ FAILED tests/test_ad.py::test_trainModel - ValueError: String indexing is not... FAILED tests/test_ad.py::test_predict_anomaly - AttributeError: 'modelling' o... =================== 2 failed, 2 passed, 2 warnings in 19.42s =================== code: exit 1 (21.85 seconds) /w/workspace/ric-app-ad-tox-sonarqube> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 pid=2742 code: FAIL ✖ in 1 minute 27.92 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: ad==1.0.1,flake8==7.3.0,mccabe==0.7.0,pip==26.2.1,pycodestyle==2.14.0,pyflakes==3.4.0,setuptools==84.0.0 flake8: commands[0]> flake8 setup.py src tests code: FAIL code 1 (87.92=setup[66.07]+cmd[21.85] seconds) flake8: OK (4.78=setup[4.32]+cmd[0.47] seconds) evaluation failed :( (92.77 seconds) + tox_status=1 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code + for i in .tox/*/log ++ echo .tox/flake8/log ++ awk -F/ '{print $2}' + tox_env=flake8 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 1 -eq 0 + exit 1 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1679 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16999682933674421944.sh ---> sysstat.sh [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins365911297189384427.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-ad-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + true + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16441621690203690953.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2i4p from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2i4p/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5500337266925575644.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config11618780831675525164tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10820686901598974383.sh ---> create-netrc.sh [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17197538105240755349.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2i4p from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-2i4p/bin to PATH [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins9984524839734762307.sh ---> uv-install.sh uv 0.12.7 is already installed uvx 0.12.7 (x86_64-unknown-linux-gnu) [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins11136448523398493976.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14888995166066283738.sh ---> job-cost.sh INFO: Activating Python virtual environment... Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2i4p from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-2i4p/bin to PATH INFO: No stack-cost file found INFO: Instance uptime: 331s INFO: Fetching instance metadata (attempt 1 of 3)... DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type INFO: Successfully fetched instance metadata INFO: Instance type: v3-starter-2 INFO: Retrieving pricing info for: v3-starter-2 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=331 INFO: Successfully fetched Vexxhost pricing API INFO: Retrieved cost: 0.02 INFO: Retrieved resource: v3-starter-2 INFO: Creating archive directory: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost INFO: Archiving costs to: /w/workspace/ric-app-ad-tox-sonarqube/archives/cost.csv INFO: Successfully archived job cost data DEBUG: Cost data: ric-app-ad-tox-sonarqube,298,2026-08-30 00:38:56,v3-starter-2,331,0.02,0.00,FAILURE [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins12311592989187553552.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-2i4p from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-2i4p/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/298 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-9530 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 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 ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 668K 394M 1% /run /dev/vda1 20G 7.9G 12G 41% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 395M 0 395M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3944 373 861 0 2709 3287 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:b3:d5:1a brd ff:ff:ff:ff:ff:ff inet 10.32.6.78/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86057sec preferred_lft 86057sec inet6 fe80::f816:3eff:feb3:d51a/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-9530) 08/30/26 _x86_64_ (2 CPU) 00:33:40 LINUX RESTART (2 CPU) 00:34:01 tps rtps wtps bread/s bwrtn/s 00:35:02 89.72 18.58 71.14 736.69 5747.68 00:36:01 59.17 11.83 47.34 1064.45 8962.66 00:37:01 99.17 37.74 61.42 1540.68 12632.69 00:38:01 43.53 2.22 41.31 125.31 16544.58 00:39:01 27.63 0.58 27.05 67.59 2088.85 Average: 63.86 14.20 49.66 705.76 9195.95 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:35:02 1740500 3358432 2298552 56.91 48144 1726856 638356 12.55 594700 1545588 182940 00:36:01 1529892 3400820 2509160 62.12 59760 1956464 587252 11.54 522580 1804364 206288 00:37:01 1078672 3329108 2960380 73.29 72596 2309344 683560 13.44 672036 2077444 195560 00:38:01 909548 3386996 3129504 77.48 80588 2516772 580240 11.40 597408 2298836 28300 00:39:01 917696 3402888 3121356 77.28 82472 2522960 565264 11.11 595660 2293064 9364 Average: 1235262 3375649 2803790 69.42 68712 2206479 610934 12.01 596477 2003859 124490 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:35:02 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 00:35:02 ens3 114.98 90.62 1126.69 28.90 0.00 0.00 0.00 0.00 00:36:01 lo 1.49 1.49 0.14 0.14 0.00 0.00 0.00 0.00 00:36:01 ens3 55.52 51.86 692.02 7.20 0.00 0.00 0.00 0.00 00:37:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 00:37:01 ens3 62.21 50.57 1357.85 6.41 0.00 0.00 0.00 0.00 00:38:01 lo 3.87 3.87 0.21 0.21 0.00 0.00 0.00 0.00 00:38:01 ens3 6.52 5.30 6.76 2.29 0.00 0.00 0.00 0.00 00:39:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 00:39:01 ens3 13.18 13.76 8.71 6.47 0.00 0.00 0.00 0.00 Average: lo 1.58 1.58 0.12 0.12 0.00 0.00 0.00 0.00 Average: ens3 50.47 42.39 638.24 10.26 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-9530) 08/30/26 _x86_64_ (2 CPU) 00:33:40 LINUX RESTART (2 CPU) 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:35:02 all 40.45 0.00 2.93 5.45 1.33 49.85 00:35:02 0 49.07 0.00 3.53 10.00 1.52 35.89 00:35:02 1 31.82 0.00 2.32 0.89 1.15 63.82 00:36:01 all 41.29 0.00 2.92 2.45 1.46 51.88 00:36:01 0 47.70 0.00 3.48 4.15 1.44 43.23 00:36:01 1 34.87 0.00 2.39 0.73 1.46 60.55 00:37:01 all 33.37 0.00 3.20 5.83 1.34 56.25 00:37:01 0 33.16 0.00 3.29 7.71 1.33 54.51 00:37:01 1 33.58 0.00 3.11 3.97 1.35 57.99 00:38:01 all 33.86 0.00 2.59 1.42 1.43 60.70 00:38:01 0 47.05 0.00 3.23 0.77 1.53 47.42 00:38:01 1 20.72 0.00 1.93 2.08 1.33 73.95 00:39:01 all 41.28 0.00 1.78 1.81 1.32 53.81 00:39:01 0 67.43 0.00 2.25 1.70 1.87 26.76 00:39:01 1 15.25 0.00 1.33 1.91 0.78 80.74 Average: all 38.04 0.00 2.68 3.39 1.38 54.51 Average: 0 48.89 0.00 3.15 4.87 1.54 41.55 Average: 1 27.20 0.00 2.21 1.92 1.21 67.46