00:33:47 Started by timer 00:33:47 Running as SYSTEM 00:33:47 [EnvInject] - Loading node environment variables. 00:33:47 Building remotely on prd-ubuntu1804-builder-2c-2g-5692 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:47 [ssh-agent] Looking for ssh-agent implementation... 00:33:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:47 $ ssh-agent 00:33:47 SSH_AUTH_SOCK=/tmp/ssh-3sTzzMOHbxag/agent.1759 00:33:47 SSH_AGENT_PID=1761 00:33:47 [ssh-agent] Started. 00:33:47 Running ssh-add (command line suppressed) 00:33:47 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_294353026704890711.key (jenkins-ssh) 00:33:47 [ssh-agent] Using credentials jenkins (jenkins) 00:33:47 The recommended git tool is: NONE 00:33:49 using credential jenkins 00:33:49 Wiping out workspace first. 00:33:49 Cloning the remote Git repository 00:33:49 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:49 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:49 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:49 > git --version # timeout=10 00:33:49 > git --version # 'git version 2.17.1' 00:33:49 using GIT_SSH to set credentials jenkins 00:33:49 > 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:50 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:51 Avoid second fetch 00:33:51 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:33:51 Checking out Revision f9f97b8c682d890395e3de5a56450ebb04a5630b (refs/remotes/origin/master) 00:33:51 > git config core.sparsecheckout # timeout=10 00:33:51 > git checkout -f f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:51 Commit message: "Merge "CI: Add merge workflow that runs SonarCloud scan"" 00:33:51 > git rev-list --no-walk f9f97b8c682d890395e3de5a56450ebb04a5630b # timeout=10 00:33:54 provisioning config files... 00:33:54 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:33:54 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:33:55 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5821800036052718566.sh 00:33:55 ---> python-tools-install.sh 00:33:55 Setup pyenv: 00:33:55 * system (set by /opt/pyenv/version) 00:33:55 * 3.8.13 (set by /opt/pyenv/version) 00:33:55 * 3.9.13 (set by /opt/pyenv/version) 00:33:55 * 3.10.6 (set by /opt/pyenv/version) 00:33:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XQgt 00:33:59 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:02 lf-activate-venv(): INFO: Installing: lftools 00:34:32 lf-activate-venv(): INFO: Adding /tmp/venv-XQgt/bin to PATH 00:34:32 Generating Requirements File 00:34:55 Python 3.10.6 00:34:56 pip 24.2 from /tmp/venv-XQgt/lib/python3.10/site-packages/pip (python 3.10) 00:34:56 appdirs==1.4.4 00:34:56 argcomplete==3.5.0 00:34:56 aspy.yaml==1.3.0 00:34:56 attrs==24.2.0 00:34:56 autopage==0.5.2 00:34:56 beautifulsoup4==4.12.3 00:34:56 boto3==1.35.24 00:34:56 botocore==1.35.24 00:34:56 bs4==0.0.2 00:34:56 cachetools==5.5.0 00:34:56 certifi==2024.8.30 00:34:56 cffi==1.17.1 00:34:56 cfgv==3.4.0 00:34:56 chardet==5.2.0 00:34:56 charset-normalizer==3.3.2 00:34:56 click==8.1.7 00:34:56 cliff==4.7.0 00:34:56 cmd2==2.4.3 00:34:56 cryptography==3.3.2 00:34:56 debtcollector==3.0.0 00:34:56 decorator==5.1.1 00:34:56 defusedxml==0.7.1 00:34:56 Deprecated==1.2.14 00:34:56 distlib==0.3.8 00:34:56 dnspython==2.6.1 00:34:56 docker==4.2.2 00:34:56 dogpile.cache==1.3.3 00:34:56 durationpy==0.7 00:34:56 email_validator==2.2.0 00:34:56 filelock==3.16.1 00:34:56 future==1.0.0 00:34:56 gitdb==4.0.11 00:34:56 GitPython==3.1.43 00:34:56 google-auth==2.35.0 00:34:56 httplib2==0.22.0 00:34:56 identify==2.6.1 00:34:56 idna==3.10 00:34:56 importlib-resources==1.5.0 00:34:56 iso8601==2.1.0 00:34:56 Jinja2==3.1.4 00:34:56 jmespath==1.0.1 00:34:56 jsonpatch==1.33 00:34:56 jsonpointer==3.0.0 00:34:56 jsonschema==4.23.0 00:34:56 jsonschema-specifications==2023.12.1 00:34:56 keystoneauth1==5.8.0 00:34:56 kubernetes==31.0.0 00:34:56 lftools==0.37.10 00:34:56 lxml==5.3.0 00:34:56 MarkupSafe==2.1.5 00:34:56 msgpack==1.1.0 00:34:56 multi_key_dict==2.0.3 00:34:56 munch==4.0.0 00:34:56 netaddr==1.3.0 00:34:56 netifaces==0.11.0 00:34:56 niet==1.4.2 00:34:56 nodeenv==1.9.1 00:34:56 oauth2client==4.1.3 00:34:56 oauthlib==3.2.2 00:34:56 openstacksdk==4.0.0 00:34:56 os-client-config==2.1.0 00:34:56 os-service-types==1.7.0 00:34:56 osc-lib==3.1.0 00:34:56 oslo.config==9.6.0 00:34:56 oslo.context==5.6.0 00:34:56 oslo.i18n==6.4.0 00:34:56 oslo.log==6.1.2 00:34:56 oslo.serialization==5.5.0 00:34:56 oslo.utils==7.3.0 00:34:56 packaging==24.1 00:34:56 pbr==6.1.0 00:34:56 platformdirs==4.3.6 00:34:56 prettytable==3.11.0 00:34:56 pyasn1==0.6.1 00:34:56 pyasn1_modules==0.4.1 00:34:56 pycparser==2.22 00:34:56 pygerrit2==2.0.15 00:34:56 PyGithub==2.4.0 00:34:56 PyJWT==2.9.0 00:34:56 PyNaCl==1.5.0 00:34:56 pyparsing==2.4.7 00:34:56 pyperclip==1.9.0 00:34:56 pyrsistent==0.20.0 00:34:56 python-cinderclient==9.6.0 00:34:56 python-dateutil==2.9.0.post0 00:34:56 python-heatclient==4.0.0 00:34:56 python-jenkins==1.8.2 00:34:56 python-keystoneclient==5.5.0 00:34:56 python-magnumclient==4.7.0 00:34:56 python-openstackclient==7.1.2 00:34:56 python-swiftclient==4.6.0 00:34:56 PyYAML==6.0.2 00:34:56 referencing==0.35.1 00:34:56 requests==2.32.3 00:34:56 requests-oauthlib==2.0.0 00:34:56 requestsexceptions==1.4.0 00:34:56 rfc3986==2.0.0 00:34:56 rpds-py==0.20.0 00:34:56 rsa==4.9 00:34:56 ruamel.yaml==0.18.6 00:34:56 ruamel.yaml.clib==0.2.8 00:34:56 s3transfer==0.10.2 00:34:56 simplejson==3.19.3 00:34:56 six==1.16.0 00:34:56 smmap==5.0.1 00:34:56 soupsieve==2.6 00:34:56 stevedore==5.3.0 00:34:56 tabulate==0.9.0 00:34:56 toml==0.10.2 00:34:56 tomlkit==0.13.2 00:34:56 tqdm==4.66.5 00:34:56 typing_extensions==4.12.2 00:34:56 tzdata==2024.1 00:34:56 urllib3==1.26.20 00:34:56 virtualenv==20.26.5 00:34:56 wcwidth==0.2.13 00:34:56 websocket-client==1.8.0 00:34:56 wrapt==1.16.0 00:34:56 xdg==6.0.0 00:34:56 xmltodict==0.13.0 00:34:56 yq==3.4.3 00:34:56 [EnvInject] - Injecting environment variables from a build step. 00:34:56 [EnvInject] - Injecting as environment variables the properties content 00:34:56 SET_JDK_VERSION=openjdk17 00:34:56 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:34:56 00:34:56 [EnvInject] - Variables injected successfully. 00:34:56 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins1679977945764493325.sh 00:34:56 ---> update-java-alternatives.sh 00:34:56 ---> Updating Java version 00:34:56 ---> Ubuntu/Debian system detected 00:34:57 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:34:57 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:34:57 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:57 openjdk version "17.0.7" 2023-04-18 00:34:57 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:34:57 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:34:57 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:34:57 [EnvInject] - Injecting environment variables from a build step. 00:34:57 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:34:57 [EnvInject] - Variables injected successfully. 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 PYTHON=python3 00:34:57 00:34:57 [EnvInject] - Variables injected successfully. 00:34:57 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins14504958580503305744.sh 00:34:57 ---> tox-install.sh 00:34:57 + source /home/jenkins/lf-env.sh 00:34:57 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:34:57 ++ mktemp -d /tmp/venv-XXXX 00:34:57 + lf_venv=/tmp/venv-Dxjp 00:34:57 + local venv_file=/tmp/.os_lf_venv 00:34:57 + local python=python3 00:34:57 + local options 00:34:57 + local set_path=true 00:34:57 + local install_args= 00:34:57 ++ 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:57 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:34:57 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:34:57 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:34:57 + true 00:34:57 + case $1 in 00:34:57 + venv_file=/tmp/.toxenv 00:34:57 + shift 2 00:34:57 + true 00:34:57 + case $1 in 00:34:57 + shift 00:34:57 + break 00:34:57 + case $python in 00:34:57 + local pkg_list= 00:34:57 + [[ -d /opt/pyenv ]] 00:34:57 + echo 'Setup pyenv:' 00:34:57 Setup pyenv: 00:34:57 + export PYENV_ROOT=/opt/pyenv 00:34:57 + PYENV_ROOT=/opt/pyenv 00:34:57 + 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:57 + 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:57 + pyenv versions 00:34:57 system 00:34:57 3.8.13 00:34:57 3.9.13 00:34:57 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:34:57 + command -v pyenv 00:34:57 ++ pyenv init - --no-rehash 00:34:57 + 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:57 export PATH="/opt/pyenv/shims:${PATH}" 00:34:57 export PYENV_SHELL=bash 00:34:57 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:34:57 pyenv() { 00:34:57 local command 00:34:57 command="${1:-}" 00:34:57 if [ "$#" -gt 0 ]; then 00:34:57 shift 00:34:57 fi 00:34:57 00:34:57 case "$command" in 00:34:57 rehash|shell) 00:34:57 eval "$(pyenv "sh-$command" "$@")" 00:34:57 ;; 00:34:57 *) 00:34:57 command pyenv "$command" "$@" 00:34:57 ;; 00:34:57 esac 00:34:57 }' 00:34:57 +++ 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:57 ++ 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:57 ++ 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:57 ++ 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:57 ++ export PYENV_SHELL=bash 00:34:57 ++ PYENV_SHELL=bash 00:34:57 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:34:57 +++ complete -F _pyenv pyenv 00:34:57 ++ lf-pyver python3 00:34:57 ++ local py_version_xy=python3 00:34:57 ++ local py_version_xyz= 00:34:57 ++ grep -E '^[0-9.]*[0-9]$' 00:34:57 ++ awk '{ print $1 }' 00:34:57 ++ sed 's/^[ *]* //' 00:34:57 ++ pyenv versions 00:34:57 ++ local command 00:34:57 ++ command=versions 00:34:57 ++ '[' 1 -gt 0 ']' 00:34:57 ++ shift 00:34:57 ++ case "$command" in 00:34:57 ++ command pyenv versions 00:34:57 ++ pyenv versions 00:34:57 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:34:57 +++ grep '^3' /tmp/.pyenv_versions 00:34:57 +++ tail -n 1 00:34:57 +++ sort -V 00:34:57 ++ py_version_xyz=3.10.6 00:34:57 ++ [[ -z 3.10.6 ]] 00:34:57 ++ echo 3.10.6 00:34:57 ++ return 0 00:34:57 + pyenv local 3.10.6 00:34:57 + local command 00:34:57 + command=local 00:34:57 + '[' 2 -gt 0 ']' 00:34:57 + shift 00:34:57 + case "$command" in 00:34:57 + command pyenv local 3.10.6 00:34:57 + pyenv local 3.10.6 00:34:57 + for arg in "$@" 00:34:57 + case $arg in 00:34:57 + pkg_list+='tox ' 00:34:57 + for arg in "$@" 00:34:57 + case $arg in 00:34:57 + pkg_list+='virtualenv ' 00:34:57 + for arg in "$@" 00:34:57 + case $arg in 00:34:57 + pkg_list+='urllib3~=1.26.15 ' 00:34:57 + [[ -f /tmp/.toxenv ]] 00:34:57 + [[ ! -f /tmp/.toxenv ]] 00:34:57 + [[ -n '' ]] 00:34:57 + python3 -m venv /tmp/venv-Dxjp 00:35:01 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dxjp' 00:35:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dxjp 00:35:01 + echo /tmp/venv-Dxjp 00:35:01 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:01 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:01 + /tmp/venv-Dxjp/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:05 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:05 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:05 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:05 + /tmp/venv-Dxjp/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:08 + type python3 00:35:08 + true 00:35:08 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dxjp/bin to PATH' 00:35:08 lf-activate-venv(): INFO: Adding /tmp/venv-Dxjp/bin to PATH 00:35:08 + PATH=/tmp/venv-Dxjp/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:08 + return 0 00:35:08 + python3 --version 00:35:08 Python 3.10.6 00:35:08 + python3 -m pip --version 00:35:08 pip 24.2 from /tmp/venv-Dxjp/lib/python3.10/site-packages/pip (python 3.10) 00:35:08 + python3 -m pip freeze 00:35:08 cachetools==5.5.0 00:35:08 chardet==5.2.0 00:35:08 colorama==0.4.6 00:35:08 distlib==0.3.8 00:35:08 filelock==3.16.1 00:35:08 packaging==24.1 00:35:08 platformdirs==4.3.6 00:35:08 pluggy==1.5.0 00:35:08 pyproject-api==1.8.0 00:35:08 tomli==2.0.1 00:35:08 tox==4.20.0 00:35:08 urllib3==1.26.20 00:35:08 virtualenv==20.26.5 00:35:08 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10296983648594414698.sh 00:35:08 ---> install-deb-rmr.sh 00:35:08 + version_file=rmr-version.yaml 00:35:08 + '[' -f rmr-version.yaml ']' 00:35:08 ++ grep '^repo:' rmr-version.yaml 00:35:08 ++ cut -d: -f2 00:35:08 ++ xargs 00:35:08 + repo= 00:35:08 ++ grep '^version:' rmr-version.yaml 00:35:08 ++ xargs 00:35:08 ++ cut -d: -f2 00:35:08 + ver=4.9.0 00:35:08 + '[' -z 4.9.0 ']' 00:35:08 + repo=release 00:35:08 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:08 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:08 2024-09-22 00:35:08 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1726965608&Signature=i0HCB1VWr95SnK57aVqKQft5699bNbBNXscRIRLEgKhb8ksQHxdI4JLzE9-eD1qS2r~vPceuUm5AzBa8kIAFq-TsoN-sHfkm7bkmrYMiIU27da3lSPDeANTHwcWBHGkVD9hHps98DMaPonOC7T1bD8KB1Ptepv5Suu3LFcYz1tCFi4hk8d8Ob2cxn0M8LAf4qWLOWx4-rXVpejPMKC793XGpTAaoIIboOEPOQGA0mXuWq-0brpr5plzk16WjbMy9xOHEEmChmYinhNOx4iPtMOcXw~nA-lzJOxJEvnUQFcVeACfXRiet0DRn1Gsjmd3BNeJMb34jgPi-gYNgEtTOWw__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:08 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:08 Selecting previously unselected package rmr. 00:35:10 (Reading database ... 188029 files and directories currently installed.) 00:35:10 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:10 Unpacking rmr (4.9.0) ... 00:35:10 Setting up rmr (4.9.0) ... 00:35:10 + rm -f rmr_4.9.0_amd64.deb 00:35:10 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:10 + 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:10 2024-09-22 00:35:10 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1726965610&Signature=CgJckavqXECkNFlGdSLirlAEA1D~AG9D1CU33gad7j52E6GsLSbCYRT-bK~Ni-QxrEeopKM8J62-~jGcRsiG21Qu5e7Wf3Lu1MwejrXN3sHEKyEP5bui1jJUsmdeHp4-4jFEipcrlQ0S6Fr7245ixO64xa5jGTbbBlrAsPrKKo3pQykn04AyI4-atJnOprBAT9zXn4xEjMNdsttdpehX0TdXUJ3P98U0920JrKJgjNW3~XZzeqqp2q5moCZZ0jJ2lchefLNe-G7Mct7nyWfQRXdXKrwT0rmYEvkijbnuu0QYq9oyBw5LbVHlK7WGbZ6xzCfs~vv4h4HJQfPU1FkQ4Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:10 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:10 Selecting previously unselected package rmr-dev. 00:35:10 (Reading database ... 188037 files and directories currently installed.) 00:35:10 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:10 Unpacking rmr-dev (4.9.0) ... 00:35:11 Setting up rmr-dev (4.9.0) ... 00:35:11 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:11 + echo '---> install-deb-rmr.sh ends' 00:35:11 ---> install-deb-rmr.sh ends 00:35:11 [EnvInject] - Injecting environment variables from a build step. 00:35:11 [EnvInject] - Injecting as environment variables the properties content 00:35:11 PARALLEL=False 00:35:11 00:35:11 [EnvInject] - Variables injected successfully. 00:35:11 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins3163407876701560320.sh 00:35:11 ---> tox-run.sh 00:35:11 + 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:11 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:11 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:11 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:11 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:11 + source /home/jenkins/lf-env.sh 00:35:11 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:11 ++ mktemp -d /tmp/venv-XXXX 00:35:11 + lf_venv=/tmp/venv-OGRo 00:35:11 + local venv_file=/tmp/.os_lf_venv 00:35:11 + local python=python3 00:35:11 + local options 00:35:11 + local set_path=true 00:35:11 + local install_args= 00:35:11 ++ 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:11 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:11 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:11 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:11 + true 00:35:11 + case $1 in 00:35:11 + venv_file=/tmp/.toxenv 00:35:11 + shift 2 00:35:11 + true 00:35:11 + case $1 in 00:35:11 + shift 00:35:11 + break 00:35:11 + case $python in 00:35:11 + local pkg_list= 00:35:11 + [[ -d /opt/pyenv ]] 00:35:11 + echo 'Setup pyenv:' 00:35:11 Setup pyenv: 00:35:11 + export PYENV_ROOT=/opt/pyenv 00:35:11 + PYENV_ROOT=/opt/pyenv 00:35:11 + 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:11 + 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:11 + pyenv versions 00:35:11 system 00:35:11 3.8.13 00:35:11 3.9.13 00:35:11 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:11 + command -v pyenv 00:35:11 ++ pyenv init - --no-rehash 00:35:11 + 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:11 export PATH="/opt/pyenv/shims:${PATH}" 00:35:11 export PYENV_SHELL=bash 00:35:11 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:11 pyenv() { 00:35:11 local command 00:35:11 command="${1:-}" 00:35:11 if [ "$#" -gt 0 ]; then 00:35:11 shift 00:35:11 fi 00:35:11 00:35:11 case "$command" in 00:35:11 rehash|shell) 00:35:11 eval "$(pyenv "sh-$command" "$@")" 00:35:11 ;; 00:35:11 *) 00:35:11 command pyenv "$command" "$@" 00:35:11 ;; 00:35:11 esac 00:35:11 }' 00:35:11 +++ 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:11 ++ 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:11 ++ 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:11 ++ 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:11 ++ export PYENV_SHELL=bash 00:35:11 ++ PYENV_SHELL=bash 00:35:11 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:11 +++ complete -F _pyenv pyenv 00:35:11 ++ lf-pyver python3 00:35:11 ++ local py_version_xy=python3 00:35:11 ++ local py_version_xyz= 00:35:11 ++ pyenv versions 00:35:11 ++ local command 00:35:11 ++ command=versions 00:35:11 ++ '[' 1 -gt 0 ']' 00:35:11 ++ shift 00:35:11 ++ grep -E '^[0-9.]*[0-9]$' 00:35:11 ++ case "$command" in 00:35:11 ++ command pyenv versions 00:35:11 ++ pyenv versions 00:35:11 ++ awk '{ print $1 }' 00:35:11 ++ sed 's/^[ *]* //' 00:35:11 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:11 +++ grep '^3' /tmp/.pyenv_versions 00:35:11 +++ tail -n 1 00:35:11 +++ sort -V 00:35:11 ++ py_version_xyz=3.10.6 00:35:11 ++ [[ -z 3.10.6 ]] 00:35:11 ++ echo 3.10.6 00:35:11 ++ return 0 00:35:11 + pyenv local 3.10.6 00:35:11 + local command 00:35:11 + command=local 00:35:11 + '[' 2 -gt 0 ']' 00:35:11 + shift 00:35:11 + case "$command" in 00:35:11 + command pyenv local 3.10.6 00:35:11 + pyenv local 3.10.6 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='tox ' 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='virtualenv ' 00:35:11 + for arg in "$@" 00:35:11 + case $arg in 00:35:11 + pkg_list+='urllib3~=1.26.15 ' 00:35:11 + [[ -f /tmp/.toxenv ]] 00:35:11 ++ cat /tmp/.toxenv 00:35:11 + lf_venv=/tmp/venv-Dxjp 00:35:11 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dxjp from' file:/tmp/.toxenv 00:35:11 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dxjp from file:/tmp/.toxenv 00:35:11 + /tmp/venv-Dxjp/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:12 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:12 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:12 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:12 + /tmp/venv-Dxjp/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:13 + type python3 00:35:13 + true 00:35:13 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dxjp/bin to PATH' 00:35:13 lf-activate-venv(): INFO: Adding /tmp/venv-Dxjp/bin to PATH 00:35:13 + PATH=/tmp/venv-Dxjp/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:13 + return 0 00:35:13 + [[ -d /opt/pyenv ]] 00:35:13 + echo '---> Setting up pyenv' 00:35:13 ---> Setting up pyenv 00:35:13 + export PYENV_ROOT=/opt/pyenv 00:35:13 + PYENV_ROOT=/opt/pyenv 00:35:13 + export PATH=/opt/pyenv/bin:/tmp/venv-Dxjp/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:13 + PATH=/opt/pyenv/bin:/tmp/venv-Dxjp/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:13 ++ pwd 00:35:13 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:13 + export PYTHONPATH 00:35:13 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:13 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:13 + tox --version 00:35:13 4.20.0 from /tmp/venv-Dxjp/lib/python3.10/site-packages/tox/__init__.py 00:35:13 + PARALLEL=False 00:35:13 + TOX_OPTIONS_LIST= 00:35:13 + [[ -n code,flake8 ]] 00:35:13 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:13 + case ${PARALLEL,,} in 00:35:13 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:13 + tox -e code,flake8 00:35:14 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:18 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:19 .pkg: _optional_hooks> python /tmp/venv-Dxjp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:19 .pkg: get_requires_for_build_sdist> python /tmp/venv-Dxjp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:19 .pkg: get_requires_for_build_wheel> python /tmp/venv-Dxjp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:19 .pkg: freeze> python -m pip freeze --all 00:35:20 .pkg: pip==24.2,setuptools==75.1.0,wheel==0.44.0 00:35:20 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Dxjp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:20 .pkg: build_sdist> python /tmp/venv-Dxjp/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:20 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:48 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==4.0.3,certifi==2024.8.30,charset-normalizer==3.3.2,coverage==7.6.1,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.1,packaging==24.1,pandas==2.2.3,pip==24.2,pluggy==1.5.0,protobuf==3.20.3,pytest==8.3.3,pytest-cov==5.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.1.0,six==1.16.0,threadpoolctl==3.5.0,tomli==2.0.1,tzdata==2024.1,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-5.0.0 00:35:52 collecting ... collected 4 items 00:35:53 00:35:53 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:35:53 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:34 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:35 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:51 00:37:51 =============================== warnings summary =============================== 00:37:51 tests/test_ad.py::test_trainModel 00:37:51 tests/test_ad.py::test_trainModel 00:37:51 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:51 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:51 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:51 00:37:51 df["col"][row_indexer] = value 00:37:51 00:37:51 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:51 00:37:51 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:51 00:37:51 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:51 00:37:51 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:51 00:37:51 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:51 Name Stmts Miss Cover Missing 00:37:51 ------------------------------------------------- 00:37:51 src/__init__.py 0 0 100% 00:37:51 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:51 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:51 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:51 src/exceptions.py 4 4 0% 18-25 00:37:51 src/insert.py 50 50 0% 21-84 00:37:51 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:51 src/processing.py 44 0 100% 00:37:51 ------------------------------------------------- 00:37:51 TOTAL 444 173 61% 00:37:51 Coverage HTML written to dir htmlcov 00:37:51 Coverage XML written to file coverage.xml 00:37:51 00:37:51 Required test coverage of 50% reached. Total coverage: 61.04% 00:37:51 ================== 4 passed, 2 warnings in 118.79s (0:01:58) =================== 00:37:51 code: commands[1]> coverage xml -i 00:37:51 Wrote XML report to coverage.xml 00:37:53 code: OK ✔ in 2 minutes 37.55 seconds 00:37:53 flake8: install_deps> python -I -m pip install flake8 00:37:55 flake8: freeze> python -m pip freeze --all 00:37:55 flake8: ad==1.0.1,flake8==7.1.1,mccabe==0.7.0,pip==24.2,pycodestyle==2.12.1,pyflakes==3.2.0,setuptools==75.1.0,wheel==0.44.0 00:37:55 flake8: commands[0]> flake8 setup.py src tests 00:37:55 code: OK (157.55=setup[37.04]+cmd[120.15,0.35] seconds) 00:37:55 flake8: OK (3.90=setup[3.62]+cmd[0.28] seconds) 00:37:55 congratulations :) (161.62 seconds) 00:37:55 + tox_status=0 00:37:55 + echo '---> Completed tox runs' 00:37:55 ---> Completed tox runs 00:37:55 + for i in .tox/*/log 00:37:55 ++ awk -F/ '{print $2}' 00:37:55 ++ echo .tox/code/log 00:37:55 + tox_env=code 00:37:55 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:55 + for i in .tox/*/log 00:37:55 ++ echo .tox/flake8/log 00:37:55 ++ awk -F/ '{print $2}' 00:37:55 + tox_env=flake8 00:37:55 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:55 + DOC_DIR=docs/_build/html 00:37:55 + [[ -d docs/_build/html ]] 00:37:55 + echo '---> tox-run.sh ends' 00:37:55 ---> tox-run.sh ends 00:37:55 + test 0 -eq 0 00:37:55 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-5692 00:37:56 [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:57 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:57 INFO: Project root configuration file: NONE 00:37:57 INFO: SonarScanner 4.6.2.2472 00:37:57 INFO: Java 17.0.7 Private Build (64-bit) 00:37:57 INFO: Linux 4.15.0-213-generic amd64 00:37:57 INFO: User cache: /home/jenkins/.sonar/cache 00:37:59 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:59 INFO: Project root configuration file: NONE 00:37:59 INFO: Analyzing on SonarCloud 00:37:59 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:00 INFO: Load global settings 00:38:01 INFO: Load global settings (done) | time=602ms 00:38:01 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:01 INFO: Loading required plugins 00:38:01 INFO: Load plugins index 00:38:02 INFO: Load plugins index (done) | time=531ms 00:38:02 INFO: Load/download plugins 00:38:02 INFO: Load/download plugins (done) | time=791ms 00:38:03 INFO: Found an active CI vendor: 'Jenkins' 00:38:03 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:04 INFO: Process project properties 00:38:04 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:04 INFO: ------------------------------------------------------------------------ 00:38:04 INFO: EXECUTION FAILURE 00:38:04 INFO: ------------------------------------------------------------------------ 00:38:04 INFO: Total time: 6.993s 00:38:04 INFO: Final Memory: 10M/40M 00:38:04 INFO: ------------------------------------------------------------------------ 00:38:04 ERROR: Error during SonarScanner execution 00:38:04 ERROR: The folder 'ad' does not exist for 'o-ran-sc_ric-app-ad' (base directory = /w/workspace/ric-app-ad-tox-sonarqube) 00:38:04 ERROR: 00:38:04 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:04 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:04 $ ssh-agent -k 00:38:04 unset SSH_AUTH_SOCK; 00:38:04 unset SSH_AGENT_PID; 00:38:04 echo Agent pid 1761 killed; 00:38:04 [ssh-agent] Stopped. 00:38:04 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:04 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:04 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12859908840312349019.sh 00:38:04 ---> sysstat.sh 00:38:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7598468794652643407.sh 00:38:05 ---> package-listing.sh 00:38:05 ++ facter osfamily 00:38:05 ++ tr '[:upper:]' '[:lower:]' 00:38:05 + OS_FAMILY=debian 00:38:05 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:05 + START_PACKAGES=/tmp/packages_start.txt 00:38:05 + END_PACKAGES=/tmp/packages_end.txt 00:38:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:05 + PACKAGES=/tmp/packages_start.txt 00:38:05 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:05 + PACKAGES=/tmp/packages_end.txt 00:38:05 + case "${OS_FAMILY}" in 00:38:05 + dpkg -l 00:38:05 + grep '^ii' 00:38:05 + '[' -f /tmp/packages_start.txt ']' 00:38:05 + '[' -f /tmp/packages_end.txt ']' 00:38:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:05 + true 00:38:05 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:05 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:05 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins776797378814289544.sh 00:38:05 ---> capture-instance-metadata.sh 00:38:05 Setup pyenv: 00:38:05 system 00:38:05 3.8.13 00:38:05 3.9.13 00:38:05 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-XQgt 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-XQgt/bin to PATH 00:38:16 INFO: Running in OpenStack, capturing instance metadata 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3132711446220470131.sh 00:38:17 provisioning config files... 00:38:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config12412181796334172840tmp 00:38:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:17 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:17 [EnvInject] - Injecting environment variables from a build step. 00:38:17 [EnvInject] - Injecting as environment variables the properties content 00:38:17 SERVER_ID=logs 00:38:17 00:38:17 [EnvInject] - Variables injected successfully. 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6517957245831385316.sh 00:38:17 ---> create-netrc.sh 00:38:17 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins3395563643774602861.sh 00:38:17 ---> python-tools-install.sh 00:38:17 Setup pyenv: 00:38:17 system 00:38:17 3.8.13 00:38:17 3.9.13 00:38:17 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-XQgt from file:/tmp/.os_lf_venv 00:38:18 lf-activate-venv(): INFO: Installing: lftools 00:38:27 lf-activate-venv(): INFO: Adding /tmp/venv-XQgt/bin to PATH 00:38:27 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins17891711018752982407.sh 00:38:27 ---> sudo-logs.sh 00:38:27 Archiving 'sudo' log.. 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins41415698638282572.sh 00:38:28 ---> job-cost.sh 00:38:28 Setup pyenv: 00:38:28 system 00:38:28 3.8.13 00:38:28 3.9.13 00:38:28 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-XQgt from file:/tmp/.os_lf_venv 00:38:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:33 lf-activate-venv(): INFO: Adding /tmp/venv-XQgt/bin to PATH 00:38:33 INFO: No Stack... 00:38:34 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:34 INFO: Archiving Costs 00:38:34 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6347335548203683653.sh 00:38:34 ---> logs-deploy.sh 00:38:34 Setup pyenv: 00:38:34 system 00:38:34 3.8.13 00:38:34 3.9.13 00:38:34 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-XQgt from file:/tmp/.os_lf_venv 00:38:35 lf-activate-venv(): INFO: Installing: lftools 00:38:45 lf-activate-venv(): INFO: Adding /tmp/venv-XQgt/bin to PATH 00:38:45 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/198 00:38:45 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:48 Archives upload complete. 00:38:48 INFO: archiving logs to Nexus 00:38:49 ---> uname -a: 00:38:49 Linux prd-ubuntu1804-builder-2c-2g-5692 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:49 00:38:49 00:38:49 ---> lscpu: 00:38:49 Architecture: x86_64 00:38:49 CPU op-mode(s): 32-bit, 64-bit 00:38:49 Byte Order: Little Endian 00:38:49 CPU(s): 2 00:38:49 On-line CPU(s) list: 0,1 00:38:49 Thread(s) per core: 1 00:38:49 Core(s) per socket: 1 00:38:49 Socket(s): 2 00:38:49 NUMA node(s): 1 00:38:49 Vendor ID: AuthenticAMD 00:38:49 CPU family: 23 00:38:49 Model: 49 00:38:49 Model name: AMD EPYC-Rome Processor 00:38:49 Stepping: 0 00:38:49 CPU MHz: 2800.000 00:38:49 BogoMIPS: 5600.00 00:38:49 Virtualization: AMD-V 00:38:49 Hypervisor vendor: KVM 00:38:49 Virtualization type: full 00:38:49 L1d cache: 32K 00:38:49 L1i cache: 32K 00:38:49 L2 cache: 512K 00:38:49 L3 cache: 16384K 00:38:49 NUMA node0 CPU(s): 0,1 00:38:49 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:49 00:38:49 00:38:49 ---> nproc: 00:38:49 2 00:38:49 00:38:49 00:38:49 ---> df -h: 00:38:49 Filesystem Size Used Avail Use% Mounted on 00:38:49 udev 984M 0 984M 0% /dev 00:38:49 tmpfs 200M 668K 199M 1% /run 00:38:49 /dev/vda1 20G 7.9G 12G 41% / 00:38:49 tmpfs 997M 0 997M 0% /dev/shm 00:38:49 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:49 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:49 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:49 tmpfs 200M 0 200M 0% /run/user/1001 00:38:49 00:38:49 00:38:49 ---> free -m: 00:38:49 total used free shared buff/cache available 00:38:49 Mem: 1992 349 73 0 1570 1465 00:38:49 Swap: 1023 0 1023 00:38:49 00:38:49 00:38:49 ---> ip addr: 00:38:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:49 inet 127.0.0.1/8 scope host lo 00:38:49 valid_lft forever preferred_lft forever 00:38:49 inet6 ::1/128 scope host 00:38:49 valid_lft forever preferred_lft forever 00:38:49 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:49 link/ether fa:16:3e:dd:9d:21 brd ff:ff:ff:ff:ff:ff 00:38:49 inet 10.32.6.67/23 brd 10.32.7.255 scope global dynamic ens3 00:38:49 valid_lft 86079sec preferred_lft 86079sec 00:38:49 inet6 fe80::f816:3eff:fedd:9d21/64 scope link 00:38:49 valid_lft forever preferred_lft forever 00:38:49 00:38:49 00:38:49 ---> sar -b -r -n DEV: 00:38:49 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5692) 09/22/24 _x86_64_ (2 CPU) 00:38:49 00:38:49 00:33:30 LINUX RESTART (2 CPU) 00:38:49 00:38:49 00:34:02 tps rtps wtps bread/s bwrtn/s 00:38:49 00:35:01 149.69 60.94 88.75 3577.03 14274.23 00:38:49 00:36:01 150.43 75.62 74.81 4829.06 23702.37 00:38:49 00:37:01 10.68 0.23 10.45 7.06 2204.33 00:38:49 00:38:01 60.34 58.14 2.20 2706.22 157.84 00:38:49 Average: 92.55 48.68 43.87 2776.54 10067.76 00:38:49 00:38:49 00:34:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:49 00:35:01 89368 1528644 1951264 95.62 55984 1469632 554080 17.94 422184 1379612 66776 00:38:49 00:36:01 76692 1384884 1963940 96.24 72596 1328088 875296 28.33 535176 1291780 64524 00:38:49 00:37:01 76452 1352388 1964180 96.25 72584 1296240 907504 29.38 558440 1268640 88 00:38:49 00:38:01 169700 1490216 1870932 91.68 74368 1342112 647344 20.96 438604 1301576 146256 00:38:49 Average: 103053 1439033 1937579 94.95 68883 1359018 746056 24.15 488601 1310402 69411 00:38:49 00:38:49 00:34:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:49 00:35:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 00:38:49 00:35:01 ens3 74.44 68.59 820.12 9.46 0.00 0.00 0.00 0.00 00:38:49 00:36:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 00:38:49 00:36:01 ens3 90.89 68.83 1471.00 7.34 0.00 0.00 0.00 0.00 00:38:49 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:49 00:37:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:49 00:38:01 lo 3.87 3.87 0.21 0.21 0.00 0.00 0.00 0.00 00:38:49 00:38:01 ens3 97.68 39.91 503.17 7.80 0.00 0.00 0.00 0.00 00:38:49 Average: lo 1.67 1.67 0.12 0.12 0.00 0.00 0.00 0.00 00:38:49 Average: ens3 65.71 44.23 698.08 6.14 0.00 0.00 0.00 0.00 00:38:49 00:38:49 00:38:49 ---> sar -P ALL: 00:38:49 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-5692) 09/22/24 _x86_64_ (2 CPU) 00:38:49 00:38:49 00:33:30 LINUX RESTART (2 CPU) 00:38:49 00:38:49 00:34:02 CPU %user %nice %system %iowait %steal %idle 00:38:49 00:35:01 all 39.05 0.00 3.32 6.78 0.08 50.77 00:38:49 00:35:01 0 45.13 0.00 3.62 8.25 0.08 42.92 00:38:49 00:35:01 1 33.01 0.00 3.02 5.33 0.07 58.57 00:38:49 00:36:01 all 35.79 0.00 3.07 7.78 0.09 53.27 00:38:49 00:36:01 0 52.37 0.00 3.45 5.08 0.10 39.00 00:38:49 00:36:01 1 19.11 0.00 2.72 10.48 0.08 67.61 00:38:49 00:37:01 all 50.12 0.00 0.19 0.25 0.08 49.35 00:38:49 00:37:01 0 83.27 0.00 0.17 0.47 0.10 16.00 00:38:49 00:37:01 1 16.79 0.00 0.18 0.03 0.08 82.91 00:38:49 00:38:01 all 35.26 0.00 0.81 3.70 0.08 60.14 00:38:49 00:38:01 0 62.68 0.00 0.73 3.59 0.10 32.90 00:38:49 00:38:01 1 7.69 0.00 0.89 3.81 0.07 87.54 00:38:49 Average: all 40.06 0.00 1.84 4.62 0.09 53.39 00:38:49 Average: 0 60.93 0.00 1.99 4.33 0.10 32.66 00:38:49 Average: 1 19.13 0.00 1.70 4.91 0.08 74.18 00:38:49 00:38:49 00:38:49