Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-4536 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-qp-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-cw8ErvRsfjNp/agent.1635 SSH_AGENT_PID=1636 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/ric-app-qp-tox-sonarqube@tmp/private_key_8894117674865102059.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/qp > git init /w/workspace/ric-app-qp-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp > 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/qp +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/qp # 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 47a35cafc3f90aed8b6fa711c37b131f06061ca6 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 47a35cafc3f90aed8b6fa711c37b131f06061ca6 # timeout=10 Commit message: "Merge "CI: Add GHA workflow that runs a SonarCloud scan"" > git rev-list --no-walk 47a35cafc3f90aed8b6fa711c37b131f06061ca6 # 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-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins16227564948731412410.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-UCaD lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-UCaD/bin to PATH Generating Requirements File Python 3.10.6 pip 25.1.1 from /tmp/venv-UCaD/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.6.2 aspy.yaml==1.3.0 attrs==25.3.0 autopage==0.5.2 beautifulsoup4==4.13.4 boto3==1.39.1 botocore==1.39.1 bs4==0.0.2 cachetools==5.5.2 certifi==2025.6.15 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.2 click==8.2.1 cliff==4.10.0 cmd2==2.7.0 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.2.1 defusedxml==0.7.1 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==7.1.0 dogpile.cache==1.4.0 durationpy==0.10 email_validator==2.2.0 filelock==3.18.0 future==1.0.0 gitdb==4.0.12 GitPython==3.1.44 google-auth==2.40.3 httplib2==0.22.0 identify==2.6.12 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.24.0 jsonschema-specifications==2025.4.1 keystoneauth1==5.11.1 kubernetes==33.1.0 lftools==0.37.13 lxml==6.0.0 markdown-it-py==3.0.0 MarkupSafe==3.0.2 mdurl==0.1.2 msgpack==1.1.1 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.3.1 openstacksdk==4.6.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==4.0.2 oslo.config==9.8.0 oslo.context==6.0.0 oslo.i18n==6.5.1 oslo.log==7.1.0 oslo.serialization==5.7.0 oslo.utils==9.0.0 packaging==25.0 pbr==6.1.1 platformdirs==4.3.8 prettytable==3.16.0 psutil==7.0.0 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.6.1 Pygments==2.19.2 PyJWT==2.10.1 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.7.0 python-dateutil==2.9.0.post0 python-heatclient==4.2.0 python-jenkins==1.8.2 python-keystoneclient==5.6.0 python-magnumclient==4.8.1 python-openstackclient==8.1.0 python-swiftclient==4.8.0 PyYAML==6.0.2 referencing==0.36.2 requests==2.32.4 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rich==14.0.0 rich-argparse==1.7.1 rpds-py==0.26.0 rsa==4.9.1 ruamel.yaml==0.18.14 ruamel.yaml.clib==0.2.12 s3transfer==0.13.0 simplejson==3.20.1 six==1.17.0 smmap==5.0.2 soupsieve==2.7 stevedore==5.4.1 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.3 tqdm==4.67.1 typing_extensions==4.14.0 tzdata==2025.2 urllib3==1.26.20 virtualenv==20.31.2 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.17.2 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.3 [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-qp-tox-sonarqube] $ /bin/sh /tmp/jenkins3907973469139659669.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-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7031758126047888255.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-9KoQ + 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:/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:/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-qp-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:/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:/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:/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= ++ awk '{ print $1 }' ++ 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/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-9KoQ + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9KoQ' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9KoQ + echo /tmp/venv-9KoQ + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-9KoQ/bin/python3 -m pip install --upgrade --quiet pip 'setuptools<66' virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-9KoQ/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9KoQ/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-9KoQ/bin to PATH + PATH=/tmp/venv-9KoQ/bin:/opt/pyenv/shims:/opt/pyenv/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 25.1.1 from /tmp/venv-9KoQ/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==6.1.0 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 filelock==3.18.0 packaging==25.0 platformdirs==4.3.8 pluggy==1.6.0 pyproject-api==1.9.1 tomli==2.2.1 tox==4.27.0 typing_extensions==4.14.0 urllib3==1.26.20 virtualenv==20.31.2 [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins803899221766182891.sh ---> install-deb-rmr.sh + version_file=rmr-version.yaml + '[' -f rmr-version.yaml ']' ++ xargs ++ cut -d: -f2 ++ grep '^repo:' rmr-version.yaml + repo= ++ grep '^version:' rmr-version.yaml ++ xargs ++ cut -d: -f2 + 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 2025-07-03 05:07:05 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1751520125&Signature=gEBMfy-dlo7hS-QSu1bG2CB7eGvubFLQtaGh0rbHUZP-h~h7o3moCXGxNLFbxYXAx5GmwWm9EPRGnv6-IFbc3tq8QEpbVnkUp4fU0bTTki-~omzTrb6M4hKzrLPcr~MkF6kRKv723ujP1FIUdKkF5JUQqBI~fdJRvx8woKD1dhbHS16SnsBFx4G3bxPDW7-uPI0vyFg186J6oRIfTU9Cjnmhg6DPPDF6rmfweAR64ur9ijDW0c5tGxDMmLsEIsR04BwIbCZl4BCr~2e-CM3WRSSu7m9Vv8wMkegrFM8iH9eQx6Rxo7iSDWkYKPgQrvS~JDzab0j2bdOqz1TW57Nd-A__&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 2025-07-03 05:07:07 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1751520127&Signature=vStvdSqVX8f0tKBzTd-7af~NGuaxcZjntKMJJ-Xgks7HsgKeGSYGI5~YdW8C2-kMc9RrqRsDyv7Pj6CtDf-31JTrxQQVc3zJ2SZFkhFhYkXddWaW6IdXVgxu~PqiDTbZiDZFxUB~~tJW3myCzroNYOMQC8hYw4N~nP5K-PdilHvVtI2HXO1TvQZ9N746IZkx-iYbesaJWaBtLOrjuHeIsQIblP9pNeeXdS1Yla9p8u~JaBO7Ub9oDNG8DCPKoCRiYxS3IPJytlMCkA6AADOLGJtDThR7Wo8vhsb7UbNvuDlj~Ra-vhwZHOSRXrgN6OqdvL4UIAvioFHgcxrd-k1JRw__&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-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5037893671209266942.sh ---> tox-run.sh + PATH=/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-qp-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/ric-app-qp-tox-sonarqube/archives/docs + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/tox + cd /w/workspace/ric-app-qp-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-2K0O + 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-qp-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= ++ 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 +++ tail -n 1 +++ sort -V ++ 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-9KoQ + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9KoQ from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9KoQ from file:/tmp/.toxenv + /tmp/venv-9KoQ/bin/python3 -m pip install --upgrade --quiet pip 'setuptools<66' virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-9KoQ/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9KoQ/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-9KoQ/bin to PATH + PATH=/tmp/venv-9KoQ/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 + [[ -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-9KoQ/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 + PATH=/opt/pyenv/bin:/tmp/venv-9KoQ/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 ++ pwd + PYTHONPATH=/w/workspace/ric-app-qp-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.27.0 from /tmp/venv-9KoQ/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 + tox -e code,flake8 + tee -a /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/tox.log 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-9KoQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-9KoQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-9KoQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: freeze> python -m pip freeze --all .pkg: pip==25.1.1,setuptools==80.3.1 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-9KoQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-9KoQ/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ code: install_package_deps> python -I -m pip install influxdb joblib 'joblib>=0.3.2' 'mdclogpy<=1.1.1' pandas==1.5.3 ricxappframe==3.2.2 schedule scikit-learn 'statsmodels>=0.11.1' code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-qp-tox-sonarqube/.tox/.tmp/package/1/qp-0.0.5.tar.gz code: freeze> python -m pip freeze --all code: async-timeout==5.0.1,certifi==2025.6.15,charset-normalizer==3.4.2,coverage==7.9.1,exceptiongroup==1.3.0,hiredis==2.0.0,idna==3.10,influxdb==5.3.2,iniconfig==2.1.0,inotify==0.2.10,inotify_simple==1.3.5,joblib==1.5.1,mdclogpy==1.1.1,msgpack==1.1.1,nose==1.3.7,numpy==2.2.6,packaging==25.0,pandas==1.5.3,patsy==1.0.1,pip==25.1.1,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.19.2,pytest==8.4.1,pytest-cov==6.2.1,python-dateutil==2.9.0.post0,pytz==2025.2,qp==0.0.5,redis==4.3.6,requests==2.32.4,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.0,scipy==1.15.3,setuptools==80.3.1,six==1.17.0,statsmodels==0.14.4,threadpoolctl==3.6.0,tomli==2.2.1,typing_extensions==4.14.0,urllib3==2.5.0 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.4.1, pluggy-1.6.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/ric-app-qp-tox-sonarqube plugins: cov-6.2.1 collecting ... collected 0 items / 1 error ==================================== ERRORS ==================================== ______________________ ERROR collecting tests/test_qp.py _______________________ tests/test_qp.py:20: in from src import main src/main.py:31: in from prediction import forecast src/prediction.py:19: in import pandas as pd .tox/code/lib/python3.10/site-packages/pandas/__init__.py:22: in from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401 .tox/code/lib/python3.10/site-packages/pandas/compat/__init__.py:18: in from pandas.compat.numpy import ( .tox/code/lib/python3.10/site-packages/pandas/compat/numpy/__init__.py:4: in from pandas.util.version import Version .tox/code/lib/python3.10/site-packages/pandas/util/__init__.py:2: in from pandas.util._decorators import ( # noqa:F401 .tox/code/lib/python3.10/site-packages/pandas/util/_decorators.py:14: in from pandas._libs.properties import cache_readonly .tox/code/lib/python3.10/site-packages/pandas/_libs/__init__.py:13: in from pandas._libs.interval import Interval pandas/_libs/interval.pyx:1: in init pandas._libs.interval ??? E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject =========================== short test summary info ============================ ERROR tests/test_qp.py - ValueError: numpy.dtype size changed, may indicate b... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 1.06s =============================== code: exit 2 (2.01 seconds) /w/workspace/ric-app-qp-tox-sonarqube> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 pid=2607 code: FAIL ✖ in 1 minute 18.98 seconds flake8: install_deps> python -I -m pip install flake8 flake8: freeze> python -m pip freeze --all flake8: flake8==7.3.0,mccabe==0.7.0,pip==25.1.1,pycodestyle==2.14.0,pyflakes==3.4.0,qp==0.0.5,setuptools==80.3.1 flake8: commands[0]> flake8 setup.py src tests src/main.py:160:5: F824 `global qp_xapp` is unused: name is never assigned in scope src/main.py:168:5: F824 `global qp_xapp` is unused: name is never assigned in scope flake8: exit 1 (0.40 seconds) /w/workspace/ric-app-qp-tox-sonarqube> flake8 setup.py src tests pid=2630 code: FAIL code 2 (78.98=setup[76.97]+cmd[2.01] seconds) flake8: FAIL code 1 (3.77=setup[3.37]+cmd[0.40] seconds) evaluation failed :( (83.13 seconds) + tox_status=255 + 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-qp-tox-sonarqube/archives/tox/code + for i in .tox/*/log ++ awk -F/ '{print $2}' ++ echo .tox/flake8/log + tox_env=flake8 + cp -r .tox/flake8/log /w/workspace/ric-app-qp-tox-sonarqube/archives/tox/flake8 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 255 -eq 0 + exit 255 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1636 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins15852189050161808060.sh ---> sysstat.sh [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins9809079903890579113.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/ric-app-qp-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-qp-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-qp-tox-sonarqube ']' + mkdir -p /w/workspace/ric-app-qp-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-qp-tox-sonarqube/archives/ [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins14129246796437123245.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UCaD from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-UCaD/bin to PATH INFO: Running in OpenStack, capturing instance metadata [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins7229173733366840560.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-qp-tox-sonarqube@tmp/config2153278102695009778tmp 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-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins13498542187783493584.sh ---> create-netrc.sh [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins718560317903829122.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UCaD from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-UCaD/bin to PATH [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins6322460628931719325.sh ---> sudo-logs.sh Archiving 'sudo' log.. [ric-app-qp-tox-sonarqube] $ /bin/bash /tmp/jenkins12227745932657226403.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UCaD from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-UCaD/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-starter-2 INFO: Archiving Costs [ric-app-qp-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4115411296358480715.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/ric-app-qp-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-UCaD from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-UCaD/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-qp-tox-sonarqube/266 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-4536 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.8G 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 350 952 0 2642 3310 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:cf:a9:af brd ff:ff:ff:ff:ff:ff inet 10.32.6.170/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86068sec preferred_lft 86068sec inet6 fe80::f816:3eff:fecf:a9af/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-4536) 07/03/25 _x86_64_ (2 CPU) 05:04:38 LINUX RESTART (2 CPU) 05:05:01 tps rtps wtps bread/s bwrtn/s 05:06:01 80.27 18.44 61.83 727.09 5005.26 05:07:01 58.86 11.40 47.46 1019.70 8690.68 05:08:02 94.04 37.91 56.12 1568.42 11616.19 05:09:01 51.64 1.90 49.74 85.68 17858.13 05:10:01 25.23 0.40 24.83 46.66 1967.27 Average: 62.04 14.05 47.99 691.59 8998.02 05:05:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:06:01 1779712 3372752 2259340 55.94 48044 1701904 651444 12.80 577264 1523688 178076 05:07:01 1720040 3454824 2319012 57.41 59616 1823588 561028 11.03 468440 1675252 113112 05:08:02 1043720 3340164 2995332 74.16 74032 2351848 694924 13.66 701804 2078480 297172 05:09:01 1038412 3450004 3000640 74.29 82888 2449836 534512 10.51 536044 2233328 44372 05:10:01 912940 3335544 3126112 77.40 84596 2458836 656208 12.90 657516 2236252 17524 Average: 1298965 3390658 2740087 67.84 69835 2157202 619623 12.18 588214 1949400 130051 05:05:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:06:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 05:06:01 ens3 104.97 70.31 858.21 25.29 0.00 0.00 0.00 0.00 05:07:01 lo 1.53 1.53 0.14 0.14 0.00 0.00 0.00 0.00 05:07:01 ens3 28.21 23.46 265.60 8.16 0.00 0.00 0.00 0.00 05:08:02 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 05:08:02 ens3 67.08 43.99 1569.81 5.62 0.00 0.00 0.00 0.00 05:09:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:09:01 ens3 8.41 8.22 8.31 3.52 0.00 0.00 0.00 0.00 05:10:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 05:10:01 ens3 11.46 12.13 9.15 6.02 0.00 0.00 0.00 0.00 Average: lo 0.90 0.90 0.08 0.08 0.00 0.00 0.00 0.00 Average: ens3 44.15 31.70 544.08 9.74 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-4536) 07/03/25 _x86_64_ (2 CPU) 05:04:38 LINUX RESTART (2 CPU) 05:05:01 CPU %user %nice %system %iowait %steal %idle 05:06:01 all 37.45 0.00 2.70 5.47 4.70 49.68 05:06:01 0 39.82 0.00 2.70 6.93 4.93 45.61 05:06:01 1 35.06 0.00 2.72 3.98 4.48 53.75 05:07:01 all 40.37 0.00 2.54 3.02 4.06 50.01 05:07:01 0 51.51 0.00 2.92 5.08 5.08 35.41 05:07:01 1 29.22 0.00 2.15 0.95 3.05 64.64 05:08:02 all 34.18 0.00 3.37 4.73 4.42 53.30 05:08:02 0 42.07 0.00 3.77 7.74 4.90 41.51 05:08:02 1 26.28 0.00 2.97 1.72 3.95 65.08 05:09:01 all 42.90 0.00 2.32 2.05 3.80 48.93 05:09:01 0 30.98 0.00 2.11 2.40 3.03 61.48 05:09:01 1 54.82 0.00 2.52 1.71 4.58 36.38 05:10:01 all 39.43 0.00 1.99 1.43 3.28 53.87 05:10:01 0 40.80 0.00 2.05 2.06 3.23 51.86 05:10:01 1 38.07 0.00 1.94 0.81 3.32 55.86 Average: all 38.85 0.00 2.58 3.35 4.06 51.17 Average: 0 41.08 0.00 2.72 4.86 4.24 47.11 Average: 1 36.62 0.00 2.46 1.83 3.87 55.21