00:33:49 Started by timer 00:33:49 Running as SYSTEM 00:33:49 [EnvInject] - Loading node environment variables. 00:33:49 Building remotely on prd-ubuntu1804-builder-2c-2g-11176 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:49 [ssh-agent] Looking for ssh-agent implementation... 00:33:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:49 $ ssh-agent 00:33:49 SSH_AUTH_SOCK=/tmp/ssh-vORazRkVH5VU/agent.1747 00:33:49 SSH_AGENT_PID=1749 00:33:49 [ssh-agent] Started. 00:33:49 Running ssh-add (command line suppressed) 00:33:49 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_13567618037527274718.key (jenkins-ssh) 00:33:49 [ssh-agent] Using credentials jenkins (jenkins) 00:33:49 The recommended git tool is: NONE 00:33:51 using credential jenkins 00:33:51 Wiping out workspace first. 00:33:51 Cloning the remote Git repository 00:33:51 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:51 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:51 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:51 > git --version # timeout=10 00:33:51 > git --version # 'git version 2.17.1' 00:33:51 using GIT_SSH to set credentials jenkins 00:33:51 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:53 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:54 Avoid second fetch 00:33:54 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:33:54 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:33:54 > git config core.sparsecheckout # timeout=10 00:33:54 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:54 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:33:54 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:57 provisioning config files... 00:33:57 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:33:57 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:33:57 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3788454017624538436.sh 00:33:57 ---> python-tools-install.sh 00:33:57 Setup pyenv: 00:33:58 * system (set by /opt/pyenv/version) 00:33:58 * 3.8.13 (set by /opt/pyenv/version) 00:33:58 * 3.9.13 (set by /opt/pyenv/version) 00:33:58 * 3.10.6 (set by /opt/pyenv/version) 00:34:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6lQD 00:34:02 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:05 lf-activate-venv(): INFO: Installing: lftools 00:34:35 lf-activate-venv(): INFO: Adding /tmp/venv-6lQD/bin to PATH 00:34:35 Generating Requirements File 00:34:57 Python 3.10.6 00:34:57 pip 24.3.1 from /tmp/venv-6lQD/lib/python3.10/site-packages/pip (python 3.10) 00:34:57 appdirs==1.4.4 00:34:57 argcomplete==3.5.1 00:34:57 aspy.yaml==1.3.0 00:34:57 attrs==24.2.0 00:34:57 autopage==0.5.2 00:34:57 beautifulsoup4==4.12.3 00:34:57 boto3==1.35.68 00:34:57 botocore==1.35.68 00:34:57 bs4==0.0.2 00:34:57 cachetools==5.5.0 00:34:57 certifi==2024.8.30 00:34:57 cffi==1.17.1 00:34:57 cfgv==3.4.0 00:34:57 chardet==5.2.0 00:34:57 charset-normalizer==3.4.0 00:34:57 click==8.1.7 00:34:57 cliff==4.8.0 00:34:57 cmd2==2.5.7 00:34:57 cryptography==3.3.2 00:34:57 debtcollector==3.0.0 00:34:57 decorator==5.1.1 00:34:57 defusedxml==0.7.1 00:34:57 Deprecated==1.2.15 00:34:57 distlib==0.3.9 00:34:57 dnspython==2.7.0 00:34:57 docker==4.2.2 00:34:57 dogpile.cache==1.3.3 00:34:57 durationpy==0.9 00:34:57 email_validator==2.2.0 00:34:57 filelock==3.16.1 00:34:57 future==1.0.0 00:34:57 gitdb==4.0.11 00:34:57 GitPython==3.1.43 00:34:57 google-auth==2.36.0 00:34:57 httplib2==0.22.0 00:34:57 identify==2.6.2 00:34:57 idna==3.10 00:34:57 importlib-resources==1.5.0 00:34:57 iso8601==2.1.0 00:34:57 Jinja2==3.1.4 00:34:57 jmespath==1.0.1 00:34:57 jsonpatch==1.33 00:34:57 jsonpointer==3.0.0 00:34:57 jsonschema==4.23.0 00:34:57 jsonschema-specifications==2024.10.1 00:34:57 keystoneauth1==5.9.0 00:34:57 kubernetes==31.0.0 00:34:57 lftools==0.37.10 00:34:57 lxml==5.3.0 00:34:57 MarkupSafe==3.0.2 00:34:57 msgpack==1.1.0 00:34:57 multi_key_dict==2.0.3 00:34:57 munch==4.0.0 00:34:57 netaddr==1.3.0 00:34:57 netifaces==0.11.0 00:34:57 niet==1.4.2 00:34:57 nodeenv==1.9.1 00:34:57 oauth2client==4.1.3 00:34:57 oauthlib==3.2.2 00:34:57 openstacksdk==4.1.0 00:34:57 os-client-config==2.1.0 00:34:57 os-service-types==1.7.0 00:34:57 osc-lib==3.2.0 00:34:57 oslo.config==9.7.0 00:34:57 oslo.context==5.7.0 00:34:57 oslo.i18n==6.5.0 00:34:57 oslo.log==6.2.0 00:34:57 oslo.serialization==5.6.0 00:34:57 oslo.utils==7.4.0 00:34:57 packaging==24.2 00:34:57 pbr==6.1.0 00:34:57 platformdirs==4.3.6 00:34:57 prettytable==3.12.0 00:34:57 psutil==6.1.0 00:34:57 pyasn1==0.6.1 00:34:57 pyasn1_modules==0.4.1 00:34:57 pycparser==2.22 00:34:57 pygerrit2==2.0.15 00:34:57 PyGithub==2.5.0 00:34:57 PyJWT==2.10.0 00:34:57 PyNaCl==1.5.0 00:34:57 pyparsing==2.4.7 00:34:57 pyperclip==1.9.0 00:34:57 pyrsistent==0.20.0 00:34:57 python-cinderclient==9.6.0 00:34:57 python-dateutil==2.9.0.post0 00:34:57 python-heatclient==4.0.0 00:34:57 python-jenkins==1.8.2 00:34:57 python-keystoneclient==5.5.0 00:34:57 python-magnumclient==4.7.0 00:34:57 python-openstackclient==7.2.1 00:34:57 python-swiftclient==4.6.0 00:34:57 PyYAML==6.0.2 00:34:57 referencing==0.35.1 00:34:57 requests==2.32.3 00:34:57 requests-oauthlib==2.0.0 00:34:57 requestsexceptions==1.4.0 00:34:57 rfc3986==2.0.0 00:34:57 rpds-py==0.21.0 00:34:57 rsa==4.9 00:34:57 ruamel.yaml==0.18.6 00:34:57 ruamel.yaml.clib==0.2.12 00:34:57 s3transfer==0.10.4 00:34:57 simplejson==3.19.3 00:34:57 six==1.16.0 00:34:57 smmap==5.0.1 00:34:57 soupsieve==2.6 00:34:57 stevedore==5.4.0 00:34:57 tabulate==0.9.0 00:34:57 toml==0.10.2 00:34:57 tomlkit==0.13.2 00:34:57 tqdm==4.67.0 00:34:57 typing_extensions==4.12.2 00:34:57 tzdata==2024.2 00:34:57 urllib3==1.26.20 00:34:57 virtualenv==20.27.1 00:34:57 wcwidth==0.2.13 00:34:57 websocket-client==1.8.0 00:34:57 wrapt==1.17.0 00:34:57 xdg==6.0.0 00:34:57 xmltodict==0.14.2 00:34:57 yq==3.4.3 00:34:57 [EnvInject] - Injecting environment variables from a build step. 00:34:57 [EnvInject] - Injecting as environment variables the properties content 00:34:57 SET_JDK_VERSION=openjdk17 00:34:57 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:34:57 00:34:57 [EnvInject] - Variables injected successfully. 00:34:57 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins15155580203774295762.sh 00:34:57 ---> update-java-alternatives.sh 00:34:57 ---> Updating Java version 00:34:58 ---> Ubuntu/Debian system detected 00:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:34:58 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:34:59 openjdk version "17.0.7" 2023-04-18 00:34:59 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:34:59 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:34:59 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:34:59 [EnvInject] - Injecting environment variables from a build step. 00:34:59 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:34:59 [EnvInject] - Variables injected successfully. 00:34:59 [EnvInject] - Injecting environment variables from a build step. 00:34:59 [EnvInject] - Injecting as environment variables the properties content 00:34:59 PYTHON=python3 00:34:59 00:34:59 [EnvInject] - Variables injected successfully. 00:34:59 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins7267675400769768270.sh 00:34:59 ---> tox-install.sh 00:34:59 + source /home/jenkins/lf-env.sh 00:34:59 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:34:59 ++ mktemp -d /tmp/venv-XXXX 00:34:59 + lf_venv=/tmp/venv-7Nun 00:34:59 + local venv_file=/tmp/.os_lf_venv 00:34:59 + local python=python3 00:34:59 + local options 00:34:59 + local set_path=true 00:34:59 + local install_args= 00:34:59 ++ 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:34:59 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:34:59 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:34:59 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:34:59 + true 00:34:59 + case $1 in 00:34:59 + venv_file=/tmp/.toxenv 00:34:59 + shift 2 00:34:59 + true 00:34:59 + case $1 in 00:34:59 + shift 00:34:59 + break 00:34:59 + case $python in 00:34:59 + local pkg_list= 00:34:59 + [[ -d /opt/pyenv ]] 00:34:59 + echo 'Setup pyenv:' 00:34:59 Setup pyenv: 00:34:59 + export PYENV_ROOT=/opt/pyenv 00:34:59 + PYENV_ROOT=/opt/pyenv 00:34:59 + 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 00:34:59 + 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 00:34:59 + pyenv versions 00:34:59 system 00:34:59 3.8.13 00:34:59 3.9.13 00:34:59 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:34:59 + command -v pyenv 00:34:59 ++ pyenv init - --no-rehash 00:34:59 + 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:34:59 export PATH="/opt/pyenv/shims:${PATH}" 00:34:59 export PYENV_SHELL=bash 00:34:59 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:34:59 pyenv() { 00:34:59 local command 00:34:59 command="${1:-}" 00:34:59 if [ "$#" -gt 0 ]; then 00:34:59 shift 00:34:59 fi 00:34:59 00:34:59 case "$command" in 00:34:59 rehash|shell) 00:34:59 eval "$(pyenv "sh-$command" "$@")" 00:34:59 ;; 00:34:59 *) 00:34:59 command pyenv "$command" "$@" 00:34:59 ;; 00:34:59 esac 00:34:59 }' 00:34:59 +++ 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:34:59 ++ 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 00:34:59 ++ 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 00:34:59 ++ 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 00:34:59 ++ export PYENV_SHELL=bash 00:34:59 ++ PYENV_SHELL=bash 00:34:59 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:34:59 +++ complete -F _pyenv pyenv 00:34:59 ++ lf-pyver python3 00:34:59 ++ local py_version_xy=python3 00:34:59 ++ local py_version_xyz= 00:34:59 ++ grep -E '^[0-9.]*[0-9]$' 00:34:59 ++ pyenv versions 00:34:59 ++ local command 00:34:59 ++ command=versions 00:34:59 ++ '[' 1 -gt 0 ']' 00:34:59 ++ shift 00:34:59 ++ case "$command" in 00:34:59 ++ command pyenv versions 00:34:59 ++ pyenv versions 00:34:59 ++ sed 's/^[ *]* //' 00:34:59 ++ awk '{ print $1 }' 00:34:59 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:34:59 +++ tail -n 1 00:34:59 +++ sort -V 00:34:59 +++ grep '^3' /tmp/.pyenv_versions 00:34:59 ++ py_version_xyz=3.10.6 00:34:59 ++ [[ -z 3.10.6 ]] 00:34:59 ++ echo 3.10.6 00:34:59 ++ return 0 00:34:59 + pyenv local 3.10.6 00:34:59 + local command 00:34:59 + command=local 00:34:59 + '[' 2 -gt 0 ']' 00:34:59 + shift 00:34:59 + case "$command" in 00:34:59 + command pyenv local 3.10.6 00:34:59 + pyenv local 3.10.6 00:34:59 + for arg in "$@" 00:34:59 + case $arg in 00:34:59 + pkg_list+='tox ' 00:34:59 + for arg in "$@" 00:34:59 + case $arg in 00:34:59 + pkg_list+='virtualenv ' 00:34:59 + for arg in "$@" 00:34:59 + case $arg in 00:34:59 + pkg_list+='urllib3~=1.26.15 ' 00:34:59 + [[ -f /tmp/.toxenv ]] 00:34:59 + [[ ! -f /tmp/.toxenv ]] 00:34:59 + [[ -n '' ]] 00:34:59 + python3 -m venv /tmp/venv-7Nun 00:35:03 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Nun' 00:35:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7Nun 00:35:03 + echo /tmp/venv-7Nun 00:35:03 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:03 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:03 + /tmp/venv-7Nun/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:06 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:06 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:06 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:06 + /tmp/venv-7Nun/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:09 + type python3 00:35:09 + true 00:35:09 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7Nun/bin to PATH' 00:35:09 lf-activate-venv(): INFO: Adding /tmp/venv-7Nun/bin to PATH 00:35:09 + PATH=/tmp/venv-7Nun/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 00:35:09 + return 0 00:35:09 + python3 --version 00:35:09 Python 3.10.6 00:35:09 + python3 -m pip --version 00:35:09 pip 24.3.1 from /tmp/venv-7Nun/lib/python3.10/site-packages/pip (python 3.10) 00:35:09 + python3 -m pip freeze 00:35:09 cachetools==5.5.0 00:35:09 chardet==5.2.0 00:35:09 colorama==0.4.6 00:35:09 distlib==0.3.9 00:35:09 filelock==3.16.1 00:35:09 packaging==24.2 00:35:09 platformdirs==4.3.6 00:35:09 pluggy==1.5.0 00:35:09 pyproject-api==1.8.0 00:35:09 tomli==2.1.0 00:35:09 tox==4.23.2 00:35:09 typing_extensions==4.12.2 00:35:09 urllib3==1.26.20 00:35:09 virtualenv==20.27.1 00:35:09 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5721707727690192819.sh 00:35:09 ---> install-deb-rmr.sh 00:35:09 + version_file=rmr-version.yaml 00:35:09 + '[' -f rmr-version.yaml ']' 00:35:09 ++ grep '^repo:' rmr-version.yaml 00:35:09 ++ cut -d: -f2 00:35:09 ++ xargs 00:35:09 + repo= 00:35:09 ++ xargs 00:35:09 ++ cut -d: -f2 00:35:09 ++ grep '^version:' rmr-version.yaml 00:35:09 + ver=4.9.0 00:35:09 + '[' -z 4.9.0 ']' 00:35:09 + repo=release 00:35:09 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:09 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:09 2024-11-24 00:35:09 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1732408809&Signature=rOLn27Jzr4qY3VtZHkddBdLk4zDIEfXMWb8eIcwM~SpYBqJgVOtVYrN5g2OQRi3pwsXAGoVxIAfbwwi4WIguAeX3BT5CQHzNy7grGHHE4IaBPFbXFxOCZbfv7R5fcj7alCiL7ii8eYtGd2NV6KZS2Z-yPZpKDb9yMYWomSc5BNa~qv1lWxOJGXB4EPdnL7yvC4CsfWz7GUoyzqoo64aTABKHUnZbEHR9F95wFgoMaLgNoAe0TgPFQ-t7G3PUH5wzZP2-M~O6i9iU2bvZG4p9h1tBgFgFSN1vwYKdStZFJQKCqR9MGqHeqcqjwscHgeRG-hG-Qkxg40YfDcyWakq~gw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:09 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:09 Selecting previously unselected package rmr. 00:35:11 (Reading database ... 188029 files and directories currently installed.) 00:35:11 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:11 Unpacking rmr (4.9.0) ... 00:35:11 Setting up rmr (4.9.0) ... 00:35:11 + rm -f rmr_4.9.0_amd64.deb 00:35:11 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:11 + 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:11 2024-11-24 00:35:11 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1732408811&Signature=F2aScpfAt34A3udP8mH7H0PNUXWh8ab87VZvFEYUQZAH4RYSqxdnq~wXDzFiSmvWesGW3Mnm0dFxERRRhVNpYtjMkXmjql5bBBVQ3Uo3FqHxWZVa44DjbILUjRKBtf2N6Y6fCJTokXTmOWyMVFVJ4ZtVfU8TFtYK29Jh~cMUaQOSV6ghwXKWH6f8sG8vyVDH4CdJPbXSAlMVA-Ms9ZtmgUFX3RoElbsAhYfBuYN1yne0pXFbAWpXPBNoB3JjMJWJClpC93DQAm2rQBsgeMvWvUzv-VL9M-L8jl1maVg3-GPhqYqy2jjGPk1G2R52A9EJRaRno8LWRZJY3wuqlseFvg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:11 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:11 Selecting previously unselected package rmr-dev. 00:35:12 (Reading database ... 188037 files and directories currently installed.) 00:35:12 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:12 Unpacking rmr-dev (4.9.0) ... 00:35:12 Setting up rmr-dev (4.9.0) ... 00:35:12 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:12 + echo '---> install-deb-rmr.sh ends' 00:35:12 ---> install-deb-rmr.sh ends 00:35:12 [EnvInject] - Injecting environment variables from a build step. 00:35:12 [EnvInject] - Injecting as environment variables the properties content 00:35:12 PARALLEL=False 00:35:12 00:35:12 [EnvInject] - Variables injected successfully. 00:35:12 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3499279635166903614.sh 00:35:12 ---> tox-run.sh 00:35:12 + 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 00:35:12 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:12 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:12 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:12 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:12 + source /home/jenkins/lf-env.sh 00:35:12 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:12 ++ mktemp -d /tmp/venv-XXXX 00:35:12 + lf_venv=/tmp/venv-WAW0 00:35:12 + local venv_file=/tmp/.os_lf_venv 00:35:12 + local python=python3 00:35:12 + local options 00:35:12 + local set_path=true 00:35:12 + local install_args= 00:35:12 ++ 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:12 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:12 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:12 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:12 + true 00:35:12 + case $1 in 00:35:12 + venv_file=/tmp/.toxenv 00:35:12 + shift 2 00:35:12 + true 00:35:12 + case $1 in 00:35:12 + shift 00:35:12 + break 00:35:12 + case $python in 00:35:12 + local pkg_list= 00:35:12 + [[ -d /opt/pyenv ]] 00:35:12 + echo 'Setup pyenv:' 00:35:12 Setup pyenv: 00:35:12 + export PYENV_ROOT=/opt/pyenv 00:35:12 + PYENV_ROOT=/opt/pyenv 00:35:12 + 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:12 + 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:12 + pyenv versions 00:35:12 system 00:35:12 3.8.13 00:35:12 3.9.13 00:35:12 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:12 + command -v pyenv 00:35:12 ++ pyenv init - --no-rehash 00:35:12 + 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:12 export PATH="/opt/pyenv/shims:${PATH}" 00:35:12 export PYENV_SHELL=bash 00:35:12 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:12 pyenv() { 00:35:12 local command 00:35:12 command="${1:-}" 00:35:12 if [ "$#" -gt 0 ]; then 00:35:12 shift 00:35:12 fi 00:35:12 00:35:12 case "$command" in 00:35:12 rehash|shell) 00:35:12 eval "$(pyenv "sh-$command" "$@")" 00:35:12 ;; 00:35:12 *) 00:35:12 command pyenv "$command" "$@" 00:35:12 ;; 00:35:12 esac 00:35:12 }' 00:35:12 +++ 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:12 ++ 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:12 ++ 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:12 ++ 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:12 ++ export PYENV_SHELL=bash 00:35:12 ++ PYENV_SHELL=bash 00:35:12 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:12 +++ complete -F _pyenv pyenv 00:35:12 ++ lf-pyver python3 00:35:12 ++ local py_version_xy=python3 00:35:12 ++ local py_version_xyz= 00:35:12 ++ pyenv versions 00:35:12 ++ local command 00:35:12 ++ command=versions 00:35:12 ++ '[' 1 -gt 0 ']' 00:35:12 ++ shift 00:35:12 ++ case "$command" in 00:35:12 ++ command pyenv versions 00:35:12 ++ pyenv versions 00:35:12 ++ sed 's/^[ *]* //' 00:35:12 ++ grep -E '^[0-9.]*[0-9]$' 00:35:12 ++ awk '{ print $1 }' 00:35:12 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:12 +++ grep '^3' /tmp/.pyenv_versions 00:35:12 +++ tail -n 1 00:35:12 +++ sort -V 00:35:12 ++ py_version_xyz=3.10.6 00:35:12 ++ [[ -z 3.10.6 ]] 00:35:12 ++ echo 3.10.6 00:35:12 ++ return 0 00:35:12 + pyenv local 3.10.6 00:35:12 + local command 00:35:12 + command=local 00:35:12 + '[' 2 -gt 0 ']' 00:35:12 + shift 00:35:12 + case "$command" in 00:35:12 + command pyenv local 3.10.6 00:35:12 + pyenv local 3.10.6 00:35:12 + for arg in "$@" 00:35:12 + case $arg in 00:35:12 + pkg_list+='tox ' 00:35:12 + for arg in "$@" 00:35:12 + case $arg in 00:35:12 + pkg_list+='virtualenv ' 00:35:12 + for arg in "$@" 00:35:12 + case $arg in 00:35:12 + pkg_list+='urllib3~=1.26.15 ' 00:35:12 + [[ -f /tmp/.toxenv ]] 00:35:12 ++ cat /tmp/.toxenv 00:35:12 + lf_venv=/tmp/venv-7Nun 00:35:12 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7Nun from' file:/tmp/.toxenv 00:35:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7Nun from file:/tmp/.toxenv 00:35:12 + /tmp/venv-7Nun/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:13 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:13 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:13 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:13 + /tmp/venv-7Nun/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:14 + type python3 00:35:14 + true 00:35:14 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7Nun/bin to PATH' 00:35:14 lf-activate-venv(): INFO: Adding /tmp/venv-7Nun/bin to PATH 00:35:14 + PATH=/tmp/venv-7Nun/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:14 + return 0 00:35:14 + [[ -d /opt/pyenv ]] 00:35:14 + echo '---> Setting up pyenv' 00:35:14 ---> Setting up pyenv 00:35:14 + export PYENV_ROOT=/opt/pyenv 00:35:14 + PYENV_ROOT=/opt/pyenv 00:35:14 + export PATH=/opt/pyenv/bin:/tmp/venv-7Nun/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:14 + PATH=/opt/pyenv/bin:/tmp/venv-7Nun/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:14 ++ pwd 00:35:14 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:14 + export PYTHONPATH 00:35:14 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:14 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:14 + tox --version 00:35:14 4.23.2 from /tmp/venv-7Nun/lib/python3.10/site-packages/tox/__init__.py 00:35:14 + PARALLEL=False 00:35:14 + TOX_OPTIONS_LIST= 00:35:14 + [[ -n code,flake8 ]] 00:35:14 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:14 + case ${PARALLEL,,} in 00:35:14 + tox -e code,flake8 00:35:14 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:15 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:19 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:20 .pkg: _optional_hooks> python /tmp/venv-7Nun/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:20 .pkg: get_requires_for_build_sdist> python /tmp/venv-7Nun/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:20 .pkg: get_requires_for_build_wheel> python /tmp/venv-7Nun/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 .pkg: freeze> python -m pip freeze --all 00:35:21 .pkg: pip==24.3.1,setuptools==75.2.0,wheel==0.44.0 00:35:21 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-7Nun/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 .pkg: build_sdist> python /tmp/venv-7Nun/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:21 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' 00:35:49 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 00:35:50 code: freeze> python -m pip freeze --all 00:35:51 code: ad==1.0.1,async-timeout==5.0.1,certifi==2024.8.30,charset-normalizer==3.4.0,coverage==7.6.8,exceptiongroup==1.2.2,hiredis==2.0.0,idna==3.10,influxdb==5.3.2,iniconfig==2.0.0,inotify==0.2.10,inotify_simple==1.3.5,joblib==1.4.2,mdclogpy==1.1.1,msgpack==1.1.0,nose==1.3.7,numpy==2.1.3,packaging==24.2,pandas==2.2.3,pip==24.3.1,pluggy==1.5.0,protobuf==3.20.3,pytest==8.3.3,pytest-cov==6.0.0,python-dateutil==2.9.0.post0,pytz==2024.2,redis==4.3.6,requests==2.32.3,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.5.2,scipy==1.14.1,setuptools==75.2.0,six==1.16.0,threadpoolctl==3.5.0,tomli==2.1.0,tzdata==2024.2,urllib3==2.2.3,wheel==0.44.0 00:35:51 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:35:52 ============================= test session starts ============================== 00:35:52 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:35:52 cachedir: .tox/code/.pytest_cache 00:35:52 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:35:52 plugins: cov-6.0.0 00:35:52 collecting ... collected 4 items 00:35:53 00:35:54 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:35:54 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:22 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:22 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:38 00:37:38 =============================== warnings summary =============================== 00:37:38 tests/test_ad.py::test_trainModel 00:37:38 tests/test_ad.py::test_trainModel 00:37:38 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:38 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. 00:37:38 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:38 00:37:38 df["col"][row_indexer] = value 00:37:38 00:37:38 Use `df.loc[row_indexer, "col"] = values` instead, to perform the assignment in a single step and ensure this keeps updating the original `df`. 00:37:38 00:37:38 See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy 00:37:38 00:37:38 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:38 00:37:38 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:38 00:37:38 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:38 Name Stmts Miss Cover Missing 00:37:38 ------------------------------------------------- 00:37:38 src/__init__.py 0 0 100% 00:37:38 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:38 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:38 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:38 src/exceptions.py 4 4 0% 18-25 00:37:38 src/insert.py 50 50 0% 21-84 00:37:38 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:37:38 src/processing.py 44 0 100% 00:37:38 ------------------------------------------------- 00:37:38 TOTAL 444 173 61% 00:37:38 Coverage HTML written to dir htmlcov 00:37:38 Coverage XML written to file coverage.xml 00:37:38 00:37:38 Required test coverage of 50% reached. Total coverage: 61.04% 00:37:38 ================== 4 passed, 2 warnings in 105.72s (0:01:45) =================== 00:37:38 code: commands[1]> coverage xml -i 00:37:38 Wrote XML report to coverage.xml 00:37:40 code: OK ✔ in 2 minutes 23.44 seconds 00:37:40 flake8: install_deps> python -I -m pip install flake8 00:37:41 flake8: freeze> python -m pip freeze --all 00:37:42 flake8: ad==1.0.1,flake8==7.1.1,mccabe==0.7.0,pip==24.3.1,pycodestyle==2.12.1,pyflakes==3.2.0,setuptools==75.2.0,wheel==0.44.0 00:37:42 flake8: commands[0]> flake8 setup.py src tests 00:37:42 code: OK (143.44=setup[35.94]+cmd[107.20,0.29] seconds) 00:37:42 flake8: OK (3.95=setup[3.68]+cmd[0.26] seconds) 00:37:42 congratulations :) (147.55 seconds) 00:37:42 + tox_status=0 00:37:42 + echo '---> Completed tox runs' 00:37:42 ---> Completed tox runs 00:37:42 + for i in .tox/*/log 00:37:42 ++ echo .tox/code/log 00:37:42 ++ awk -F/ '{print $2}' 00:37:42 + tox_env=code 00:37:42 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:42 + for i in .tox/*/log 00:37:42 ++ echo .tox/flake8/log 00:37:42 ++ awk -F/ '{print $2}' 00:37:42 + tox_env=flake8 00:37:42 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:42 + DOC_DIR=docs/_build/html 00:37:42 + [[ -d docs/_build/html ]] 00:37:42 + echo '---> tox-run.sh ends' 00:37:42 ---> tox-run.sh ends 00:37:42 + test 0 -eq 0 00:37:42 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-11176 00:37:43 [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:37:43 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:43 INFO: Project root configuration file: NONE 00:37:44 INFO: SonarScanner 4.6.2.2472 00:37:44 INFO: Java 17.0.7 Private Build (64-bit) 00:37:44 INFO: Linux 4.15.0-213-generic amd64 00:37:44 INFO: User cache: /home/jenkins/.sonar/cache 00:37:46 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:46 INFO: Project root configuration file: NONE 00:37:46 INFO: Analyzing on SonarCloud 00:37:46 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:37:47 INFO: Load global settings 00:37:48 INFO: Load global settings (done) | time=294ms 00:37:48 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:37:48 INFO: Loading required plugins 00:37:48 INFO: Load plugins index 00:37:48 INFO: Load plugins index (done) | time=508ms 00:37:48 INFO: Load/download plugins 00:37:49 INFO: Load/download plugins (done) | time=892ms 00:37:50 INFO: Found an active CI vendor: 'Jenkins' 00:37:50 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:37:51 INFO: Process project properties 00:37:51 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:37:51 INFO: ------------------------------------------------------------------------ 00:37:51 INFO: EXECUTION FAILURE 00:37:51 INFO: ------------------------------------------------------------------------ 00:37:51 INFO: Total time: 7.069s 00:37:51 INFO: Final Memory: 10M/40M 00:37:51 INFO: ------------------------------------------------------------------------ 00:37:51 ERROR: Error during SonarScanner execution 00:37:51 ERROR: The folder 'ad' does not exist for 'o-ran-sc_ric-app-ad' (base directory = /w/workspace/ric-app-ad-tox-sonarqube) 00:37:51 ERROR: 00:37:51 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:37:51 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:37:51 $ ssh-agent -k 00:37:51 unset SSH_AUTH_SOCK; 00:37:51 unset SSH_AGENT_PID; 00:37:51 echo Agent pid 1749 killed; 00:37:51 [ssh-agent] Stopped. 00:37:51 ERROR: SonarQube scanner exited with non-zero code: 2 00:37:51 [PostBuildScript] - [INFO] Executing post build scripts. 00:37:51 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3685165779669637222.sh 00:37:51 ---> sysstat.sh 00:37:52 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12336296707494595500.sh 00:37:52 ---> package-listing.sh 00:37:52 ++ tr '[:upper:]' '[:lower:]' 00:37:52 ++ facter osfamily 00:37:53 + OS_FAMILY=debian 00:37:53 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:37:53 + START_PACKAGES=/tmp/packages_start.txt 00:37:53 + END_PACKAGES=/tmp/packages_end.txt 00:37:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:37:53 + PACKAGES=/tmp/packages_start.txt 00:37:53 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:37:53 + PACKAGES=/tmp/packages_end.txt 00:37:53 + case "${OS_FAMILY}" in 00:37:53 + grep '^ii' 00:37:53 + dpkg -l 00:37:53 + '[' -f /tmp/packages_start.txt ']' 00:37:53 + '[' -f /tmp/packages_end.txt ']' 00:37:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:37:53 + true 00:37:53 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:37:53 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:37:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:37:53 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8929392597851385194.sh 00:37:53 ---> capture-instance-metadata.sh 00:37:53 Setup pyenv: 00:37:53 system 00:37:53 3.8.13 00:37:53 3.9.13 00:37:53 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:37:53 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6lQD from file:/tmp/.os_lf_venv 00:37:54 lf-activate-venv(): INFO: Installing: lftools 00:38:05 lf-activate-venv(): INFO: Adding /tmp/venv-6lQD/bin to PATH 00:38:05 INFO: Running in OpenStack, capturing instance metadata 00:38:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins16550392669397200558.sh 00:38:05 provisioning config files... 00:38:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config8904138795945100898tmp 00:38:05 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:05 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:05 [EnvInject] - Injecting environment variables from a build step. 00:38:05 [EnvInject] - Injecting as environment variables the properties content 00:38:05 SERVER_ID=logs 00:38:05 00:38:05 [EnvInject] - Variables injected successfully. 00:38:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins1724740329394838670.sh 00:38:05 ---> create-netrc.sh 00:38:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins18313506010914964176.sh 00:38:06 ---> python-tools-install.sh 00:38:06 Setup pyenv: 00:38:06 system 00:38:06 3.8.13 00:38:06 3.9.13 00:38:06 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6lQD from file:/tmp/.os_lf_venv 00:38:07 lf-activate-venv(): INFO: Installing: lftools 00:38:16 lf-activate-venv(): INFO: Adding /tmp/venv-6lQD/bin to PATH 00:38:16 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2061846945074633326.sh 00:38:16 ---> sudo-logs.sh 00:38:16 Archiving 'sudo' log.. 00:38:16 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17449807326951626285.sh 00:38:16 ---> job-cost.sh 00:38:16 Setup pyenv: 00:38:16 system 00:38:16 3.8.13 00:38:16 3.9.13 00:38:16 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6lQD from file:/tmp/.os_lf_venv 00:38:17 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:22 lf-activate-venv(): INFO: Adding /tmp/venv-6lQD/bin to PATH 00:38:22 INFO: No Stack... 00:38:22 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:22 INFO: Archiving Costs 00:38:22 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8471542163800380599.sh 00:38:23 ---> logs-deploy.sh 00:38:23 Setup pyenv: 00:38:23 system 00:38:23 3.8.13 00:38:23 3.9.13 00:38:23 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6lQD from file:/tmp/.os_lf_venv 00:38:24 lf-activate-venv(): INFO: Installing: lftools 00:38:33 lf-activate-venv(): INFO: Adding /tmp/venv-6lQD/bin to PATH 00:38:33 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/207 00:38:33 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:37 Archives upload complete. 00:38:37 INFO: archiving logs to Nexus 00:38:38 ---> uname -a: 00:38:38 Linux prd-ubuntu1804-builder-2c-2g-11176 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:38:38 00:38:38 00:38:38 ---> lscpu: 00:38:38 Architecture: x86_64 00:38:38 CPU op-mode(s): 32-bit, 64-bit 00:38:38 Byte Order: Little Endian 00:38:38 CPU(s): 2 00:38:38 On-line CPU(s) list: 0,1 00:38:38 Thread(s) per core: 1 00:38:38 Core(s) per socket: 1 00:38:38 Socket(s): 2 00:38:38 NUMA node(s): 1 00:38:38 Vendor ID: AuthenticAMD 00:38:38 CPU family: 23 00:38:38 Model: 49 00:38:38 Model name: AMD EPYC-Rome Processor 00:38:38 Stepping: 0 00:38:38 CPU MHz: 2800.000 00:38:38 BogoMIPS: 5600.00 00:38:38 Virtualization: AMD-V 00:38:38 Hypervisor vendor: KVM 00:38:38 Virtualization type: full 00:38:38 L1d cache: 32K 00:38:38 L1i cache: 32K 00:38:38 L2 cache: 512K 00:38:38 L3 cache: 16384K 00:38:38 NUMA node0 CPU(s): 0,1 00:38:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 00:38:38 00:38:38 00:38:38 ---> nproc: 00:38:38 2 00:38:38 00:38:38 00:38:38 ---> df -h: 00:38:38 Filesystem Size Used Avail Use% Mounted on 00:38:38 udev 984M 0 984M 0% /dev 00:38:38 tmpfs 200M 668K 199M 1% /run 00:38:38 /dev/vda1 20G 7.8G 12G 41% / 00:38:38 tmpfs 997M 0 997M 0% /dev/shm 00:38:38 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:38 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:38 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:38 tmpfs 200M 0 200M 0% /run/user/1001 00:38:38 00:38:38 00:38:38 ---> free -m: 00:38:38 total used free shared buff/cache available 00:38:38 Mem: 1992 351 93 0 1547 1466 00:38:38 Swap: 1023 0 1023 00:38:38 00:38:38 00:38:38 ---> ip addr: 00:38:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:38 inet 127.0.0.1/8 scope host lo 00:38:38 valid_lft forever preferred_lft forever 00:38:38 inet6 ::1/128 scope host 00:38:38 valid_lft forever preferred_lft forever 00:38:38 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:38 link/ether fa:16:3e:ce:5a:3d brd ff:ff:ff:ff:ff:ff 00:38:38 inet 10.32.6.243/23 brd 10.32.7.255 scope global dynamic ens3 00:38:38 valid_lft 86095sec preferred_lft 86095sec 00:38:38 inet6 fe80::f816:3eff:fece:5a3d/64 scope link 00:38:38 valid_lft forever preferred_lft forever 00:38:38 00:38:38 00:38:38 ---> sar -b -r -n DEV: 00:38:38 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-11176) 11/24/24 _x86_64_ (2 CPU) 00:38:38 00:38:38 00:33:35 LINUX RESTART (2 CPU) 00:38:38 00:38:38 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:38 00:35:01 126.21 53.30 72.91 3571.88 11478.31 00:38:38 00:36:01 168.47 80.28 88.19 4981.11 24766.42 00:38:38 00:37:01 12.48 0.38 12.10 10.26 2901.43 00:38:38 00:38:01 86.92 74.26 12.66 3875.80 2175.05 00:38:38 Average: 98.52 52.06 46.46 3109.87 10330.56 00:38:38 00:38:38 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:38 00:35:01 97640 1531900 1942992 95.22 54532 1465324 552944 17.90 402940 1391400 141696 00:38:38 00:36:01 79092 1418872 1961540 96.12 72140 1360816 845404 27.37 490096 1337008 85004 00:38:38 00:37:01 110716 1392284 1929916 94.57 72188 1303272 875736 28.35 505480 1291524 88 00:38:38 00:38:01 125428 1491460 1915204 93.85 74348 1378068 585276 18.95 442472 1326868 52212 00:38:38 Average: 103219 1458629 1937413 94.94 68302 1376870 714840 23.14 460247 1336700 69750 00:38:38 00:38:38 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:38 00:35:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 00:38:38 00:35:01 ens3 83.31 75.22 915.84 9.99 0.00 0.00 0.00 0.00 00:38:38 00:36:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 00:38:38 00:36:01 ens3 62.60 52.84 1462.61 6.29 0.00 0.00 0.00 0.00 00:38:38 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:38 00:37:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:38 00:38:01 lo 4.06 4.06 0.23 0.23 0.00 0.00 0.00 0.00 00:38:38 00:38:01 ens3 155.12 80.24 1028.72 14.28 0.00 0.00 0.00 0.00 00:38:38 Average: lo 1.73 1.73 0.13 0.13 0.00 0.00 0.00 0.00 00:38:38 Average: ens3 75.26 52.08 851.82 7.64 0.00 0.00 0.00 0.00 00:38:38 00:38:38 00:38:38 ---> sar -P ALL: 00:38:38 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-11176) 11/24/24 _x86_64_ (2 CPU) 00:38:38 00:38:38 00:33:35 LINUX RESTART (2 CPU) 00:38:38 00:38:38 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:38 00:35:01 all 38.98 0.00 3.01 6.85 0.09 51.06 00:38:38 00:35:01 0 50.85 0.00 3.52 3.47 0.10 42.05 00:38:38 00:35:01 1 27.17 0.00 2.48 10.24 0.08 60.04 00:38:38 00:36:01 all 37.51 0.00 3.00 7.65 0.10 51.75 00:38:38 00:36:01 0 63.92 0.00 3.72 6.31 0.12 25.93 00:38:38 00:36:01 1 11.05 0.00 2.27 9.00 0.07 77.61 00:38:38 00:37:01 all 50.10 0.00 0.23 0.24 0.08 49.35 00:38:38 00:37:01 0 99.67 0.00 0.23 0.00 0.10 0.00 00:38:38 00:37:01 1 0.17 0.00 0.23 0.49 0.07 99.04 00:38:38 00:38:01 all 32.49 0.00 1.45 4.87 0.08 61.11 00:38:38 00:38:01 0 47.04 0.00 1.19 3.89 0.08 47.80 00:38:38 00:38:01 1 17.87 0.00 1.70 5.86 0.07 74.51 00:38:38 Average: all 39.77 0.00 1.92 4.91 0.09 53.31 00:38:38 Average: 0 65.39 0.00 2.17 3.42 0.10 28.93 00:38:38 Average: 1 14.09 0.00 1.67 6.41 0.07 77.76 00:38:38 00:38:38 00:38:38