00:34:07 Started by timer 00:34:07 Running as SYSTEM 00:34:07 [EnvInject] - Loading node environment variables. 00:34:07 Building remotely on prd-ubuntu1804-builder-2c-2g-1078 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:34:07 [ssh-agent] Looking for ssh-agent implementation... 00:34:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:08 $ ssh-agent 00:34:08 SSH_AUTH_SOCK=/tmp/ssh-nLsuzai85XL9/agent.5614 00:34:08 SSH_AGENT_PID=5616 00:34:08 [ssh-agent] Started. 00:34:08 Running ssh-add (command line suppressed) 00:34:08 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_191148173996021821.key (jenkins-ssh) 00:34:08 [ssh-agent] Using credentials jenkins (jenkins) 00:34:08 The recommended git tool is: NONE 00:34:10 using credential jenkins 00:34:10 Wiping out workspace first. 00:34:10 Cloning the remote Git repository 00:34:10 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:10 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:34:10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:34:10 > git --version # timeout=10 00:34:10 > git --version # 'git version 2.25.1' 00:34:10 using GIT_SSH to set credentials jenkins 00:34:10 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:11 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:34:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:12 Avoid second fetch 00:34:12 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:34:12 Checking out Revision b49adee363dcd4deb41bad12323e6ec2683aec4f (refs/remotes/origin/master) 00:34:12 > git config core.sparsecheckout # timeout=10 00:34:12 > git checkout -f b49adee363dcd4deb41bad12323e6ec2683aec4f # timeout=10 00:34:12 Commit message: "Release 1.0.2" 00:34:12 > git rev-list --no-walk 4cfece2770950e9d9b5a728b7f41f44851e2f1c1 # timeout=10 00:34:12 provisioning config files... 00:34:12 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:34:12 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:34:12 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins18337588889197920538.sh 00:34:12 ---> python-tools-install.sh 00:34:12 Setup pyenv: 00:34:12 * system (set by /opt/pyenv/version) 00:34:12 * 3.8.13 (set by /opt/pyenv/version) 00:34:12 * 3.9.13 (set by /opt/pyenv/version) 00:34:12 * 3.10.6 (set by /opt/pyenv/version) 00:34:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Tqy3 00:34:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:21 lf-activate-venv(): INFO: Installing: lftools 00:34:59 lf-activate-venv(): INFO: Adding /tmp/venv-Tqy3/bin to PATH 00:34:59 Generating Requirements File 00:35:33 Python 3.10.6 00:35:33 pip 23.3.1 from /tmp/venv-Tqy3/lib/python3.10/site-packages/pip (python 3.10) 00:35:34 appdirs==1.4.4 00:35:34 argcomplete==3.2.1 00:35:34 aspy.yaml==1.3.0 00:35:34 attrs==23.1.0 00:35:34 autopage==0.5.2 00:35:34 Babel==2.14.0 00:35:34 beautifulsoup4==4.12.2 00:35:34 boto3==1.34.2 00:35:34 botocore==1.34.2 00:35:34 bs4==0.0.1 00:35:34 cachetools==5.3.2 00:35:34 certifi==2023.11.17 00:35:34 cffi==1.16.0 00:35:34 cfgv==3.4.0 00:35:34 chardet==5.2.0 00:35:34 charset-normalizer==3.3.2 00:35:34 click==8.1.7 00:35:34 cliff==4.4.0 00:35:34 cmd2==2.4.3 00:35:34 cryptography==3.3.2 00:35:34 debtcollector==2.5.0 00:35:34 decorator==5.1.1 00:35:34 defusedxml==0.7.1 00:35:34 Deprecated==1.2.14 00:35:34 distlib==0.3.8 00:35:34 dnspython==2.4.2 00:35:34 docker==4.2.2 00:35:34 dogpile.cache==1.2.2 00:35:34 email-validator==2.1.0.post1 00:35:34 filelock==3.13.1 00:35:34 future==0.18.3 00:35:34 gitdb==4.0.11 00:35:34 GitPython==3.1.40 00:35:34 google-auth==2.25.2 00:35:34 httplib2==0.22.0 00:35:34 identify==2.5.33 00:35:34 idna==3.6 00:35:34 importlib-metadata==7.0.0 00:35:34 importlib-resources==1.5.0 00:35:34 iso8601==2.1.0 00:35:34 Jinja2==3.1.2 00:35:34 jmespath==1.0.1 00:35:34 jsonpatch==1.33 00:35:34 jsonpointer==2.4 00:35:34 jsonschema==4.20.0 00:35:34 jsonschema-specifications==2023.11.2 00:35:34 keystoneauth1==5.4.0 00:35:34 kubernetes==28.1.0 00:35:34 lftools==0.37.8 00:35:34 lxml==4.9.3 00:35:34 MarkupSafe==2.1.3 00:35:34 msgpack==1.0.7 00:35:34 multi-key-dict==2.0.3 00:35:34 munch==4.0.0 00:35:34 netaddr==0.9.0 00:35:34 netifaces==0.11.0 00:35:34 niet==1.4.2 00:35:34 nodeenv==1.8.0 00:35:34 oauth2client==4.1.3 00:35:34 oauthlib==3.2.2 00:35:34 openstacksdk==0.62.0 00:35:34 os-client-config==2.1.0 00:35:34 os-service-types==1.7.0 00:35:34 osc-lib==2.9.0 00:35:34 oslo.config==9.2.0 00:35:34 oslo.context==5.3.0 00:35:34 oslo.i18n==6.2.0 00:35:34 oslo.log==5.4.0 00:35:34 oslo.serialization==5.2.0 00:35:34 oslo.utils==6.3.0 00:35:34 packaging==23.2 00:35:34 pbr==6.0.0 00:35:34 platformdirs==4.1.0 00:35:34 prettytable==3.9.0 00:35:34 pyasn1==0.5.1 00:35:34 pyasn1-modules==0.3.0 00:35:34 pycparser==2.21 00:35:34 pygerrit2==2.0.15 00:35:34 PyGithub==2.1.1 00:35:34 pyinotify==0.9.6 00:35:34 PyJWT==2.8.0 00:35:34 PyNaCl==1.5.0 00:35:34 pyparsing==2.4.7 00:35:34 pyperclip==1.8.2 00:35:34 pyrsistent==0.20.0 00:35:34 python-cinderclient==9.4.0 00:35:34 python-dateutil==2.8.2 00:35:34 python-heatclient==3.3.0 00:35:34 python-jenkins==1.8.2 00:35:34 python-keystoneclient==5.2.0 00:35:34 python-magnumclient==4.3.0 00:35:34 python-novaclient==18.4.0 00:35:34 python-openstackclient==6.0.0 00:35:34 python-swiftclient==4.4.0 00:35:34 pytz==2023.3.post1 00:35:34 PyYAML==6.0.1 00:35:34 referencing==0.32.0 00:35:34 requests==2.31.0 00:35:34 requests-oauthlib==1.3.1 00:35:34 requestsexceptions==1.4.0 00:35:34 rfc3986==2.0.0 00:35:34 rpds-py==0.13.2 00:35:34 rsa==4.9 00:35:34 ruamel.yaml==0.18.5 00:35:34 ruamel.yaml.clib==0.2.8 00:35:34 s3transfer==0.9.0 00:35:34 simplejson==3.19.2 00:35:34 six==1.16.0 00:35:34 smmap==5.0.1 00:35:34 soupsieve==2.5 00:35:34 stevedore==5.1.0 00:35:34 tabulate==0.9.0 00:35:34 toml==0.10.2 00:35:34 tomlkit==0.12.3 00:35:34 tqdm==4.66.1 00:35:34 typing_extensions==4.9.0 00:35:34 tzdata==2023.3 00:35:34 urllib3==1.26.18 00:35:34 virtualenv==20.25.0 00:35:34 wcwidth==0.2.12 00:35:34 websocket-client==1.7.0 00:35:34 wrapt==1.16.0 00:35:34 xdg==6.0.0 00:35:34 xmltodict==0.13.0 00:35:34 yq==3.2.3 00:35:34 zipp==3.17.0 00:35:34 [EnvInject] - Injecting environment variables from a build step. 00:35:34 [EnvInject] - Injecting as environment variables the properties content 00:35:34 PYTHON=python3 00:35:34 00:35:34 [EnvInject] - Variables injected successfully. 00:35:34 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15256420285312061114.sh 00:35:34 ---> tox-install.sh 00:35:34 + source /home/jenkins/lf-env.sh 00:35:34 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:34 ++ mktemp -d /tmp/venv-XXXX 00:35:34 + lf_venv=/tmp/venv-Ea5j 00:35:34 + local venv_file=/tmp/.os_lf_venv 00:35:34 + local python=python3 00:35:34 + local options 00:35:34 + local set_path=true 00:35:34 + local install_args= 00:35:34 ++ 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:34 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:34 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:34 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:34 + true 00:35:34 + case $1 in 00:35:34 + venv_file=/tmp/.toxenv 00:35:34 + shift 2 00:35:34 + true 00:35:34 + case $1 in 00:35:34 + shift 00:35:34 + break 00:35:34 + case $python in 00:35:34 + local pkg_list= 00:35:34 + [[ -d /opt/pyenv ]] 00:35:34 + echo 'Setup pyenv:' 00:35:34 Setup pyenv: 00:35:34 + export PYENV_ROOT=/opt/pyenv 00:35:34 + PYENV_ROOT=/opt/pyenv 00:35:34 + export PATH=/opt/pyenv/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:34 + PATH=/opt/pyenv/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:34 + pyenv versions 00:35:34 system 00:35:34 3.8.13 00:35:34 3.9.13 00:35:34 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:34 + command -v pyenv 00:35:34 ++ pyenv init - --no-rehash 00:35:34 + 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:34 export PATH="/opt/pyenv/shims:${PATH}" 00:35:34 export PYENV_SHELL=bash 00:35:34 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:34 pyenv() { 00:35:34 local command 00:35:34 command="${1:-}" 00:35:34 if [ "$#" -gt 0 ]; then 00:35:34 shift 00:35:34 fi 00:35:34 00:35:34 case "$command" in 00:35:34 rehash|shell) 00:35:34 eval "$(pyenv "sh-$command" "$@")" 00:35:34 ;; 00:35:34 *) 00:35:34 command pyenv "$command" "$@" 00:35:34 ;; 00:35:34 esac 00:35:34 }' 00:35:34 +++ 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:34 ++ PATH=/opt/pyenv/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:34 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/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:34 ++ PATH=/opt/pyenv/shims:/opt/pyenv/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:34 ++ export PYENV_SHELL=bash 00:35:34 ++ PYENV_SHELL=bash 00:35:34 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:34 +++ complete -F _pyenv pyenv 00:35:34 ++ lf-pyver python3 00:35:34 ++ local py_version_xy=python3 00:35:34 ++ local py_version_xyz= 00:35:34 ++ pyenv versions 00:35:34 ++ local command 00:35:34 ++ command=versions 00:35:34 ++ '[' 1 -gt 0 ']' 00:35:34 ++ shift 00:35:34 ++ case "$command" in 00:35:34 ++ command pyenv versions 00:35:34 ++ pyenv versions 00:35:34 ++ grep -E '^[0-9.]*[0-9]$' 00:35:34 ++ sed 's/^[ *]* //' 00:35:34 ++ awk '{ print $1 }' 00:35:34 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:34 +++ grep '^3' /tmp/.pyenv_versions 00:35:34 +++ tail -n 1 00:35:34 +++ sort -V 00:35:34 ++ py_version_xyz=3.10.6 00:35:34 ++ [[ -z 3.10.6 ]] 00:35:34 ++ echo 3.10.6 00:35:34 ++ return 0 00:35:34 + pyenv local 3.10.6 00:35:34 + local command 00:35:34 + command=local 00:35:34 + '[' 2 -gt 0 ']' 00:35:34 + shift 00:35:34 + case "$command" in 00:35:34 + command pyenv local 3.10.6 00:35:34 + pyenv local 3.10.6 00:35:34 + for arg in "$@" 00:35:34 + case $arg in 00:35:34 + pkg_list+='tox ' 00:35:34 + for arg in "$@" 00:35:34 + case $arg in 00:35:34 + pkg_list+='virtualenv ' 00:35:34 + for arg in "$@" 00:35:34 + case $arg in 00:35:34 + pkg_list+='urllib3~=1.26.15 ' 00:35:34 + [[ -f /tmp/.toxenv ]] 00:35:34 + [[ ! -f /tmp/.toxenv ]] 00:35:34 + [[ -n '' ]] 00:35:34 + python3 -m venv /tmp/venv-Ea5j 00:35:38 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ea5j' 00:35:38 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ea5j 00:35:38 + echo /tmp/venv-Ea5j 00:35:38 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:38 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:38 + /tmp/venv-Ea5j/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:42 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:42 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:42 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:42 + /tmp/venv-Ea5j/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:44 + type python3 00:35:44 + true 00:35:44 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Ea5j/bin to PATH' 00:35:44 lf-activate-venv(): INFO: Adding /tmp/venv-Ea5j/bin to PATH 00:35:44 + PATH=/tmp/venv-Ea5j/bin:/opt/pyenv/shims:/opt/pyenv/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:44 + return 0 00:35:44 + python3 --version 00:35:44 Python 3.10.6 00:35:44 + python3 -m pip --version 00:35:44 pip 23.3.1 from /tmp/venv-Ea5j/lib/python3.10/site-packages/pip (python 3.10) 00:35:44 + python3 -m pip freeze 00:35:45 cachetools==5.3.2 00:35:45 chardet==5.2.0 00:35:45 colorama==0.4.6 00:35:45 distlib==0.3.8 00:35:45 filelock==3.13.1 00:35:45 packaging==23.2 00:35:45 platformdirs==4.1.0 00:35:45 pluggy==1.3.0 00:35:45 pyproject-api==1.6.1 00:35:45 tomli==2.0.1 00:35:45 tox==4.11.4 00:35:45 urllib3==1.26.18 00:35:45 virtualenv==20.25.0 00:35:45 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7106252298995331559.sh 00:35:45 ---> install-deb-rmr.sh 00:35:45 + version_file=rmr-version.yaml 00:35:45 + [[ -f rmr-version.yaml ]] 00:35:45 ++ xargs 00:35:45 ++ cut -d: -f2 00:35:45 ++ grep '^repo:' rmr-version.yaml 00:35:45 + repo= 00:35:45 ++ grep '^version:' rmr-version.yaml 00:35:45 ++ cut -d: -f2 00:35:45 ++ xargs 00:35:45 + ver=4.9.0 00:35:45 + [[ -z 4.9.0 ]] 00:35:45 + repo=release 00:35:45 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:45 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:45 2023-12-17 00:35:45 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1702773645&Signature=cIg3LBOVVglNzFCJI40ScJ0zoHAZzzTxQ4Yk9lG9GEYtDTXEVbpVcQPNOl8uMxACymsP-LySrqIA7274Odr368kRQfrdu-6oaMh0oVMKe7fWbT0f4UZHVsLoVexYtaqD3wni9EdQxZG3EWTnlRinfmiXkbIw8~y-HRgHe0XUhkMJZweyuoNXDVjtEGo5eFvEXbx29FVwMLWzqbdI-bIrUocs2VaqPgahlls4SMvV4iaFsinPjqJSxe1tbtK785-rDZuEKCZCRDkRm9Mv1UuIKcOH3NF2eYopxB~srMLwnEj15MyMoyoY5VWUwiNNOYSRgXXBwEknMG3gFfpVj-xPDg__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:45 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:45 Selecting previously unselected package rmr. 00:35:47 (Reading database ... 198606 files and directories currently installed.) 00:35:47 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:47 Unpacking rmr (4.9.0) ... 00:35:47 Setting up rmr (4.9.0) ... 00:35:47 + rm -f rmr_4.9.0_amd64.deb 00:35:47 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:47 + 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:47 2023-12-17 00:35:47 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1702773647&Signature=DoGQOBENUKAimKT97yEiKOGASu8cVJ2EHB0~da~Jv4a9PfmzjtwE6V-y9cVQ89tBiAhPqaUi3BXuaLcp3uASgzk1YRwQHznvZDt9NTCn4EU5qgvfqgkf72b8sH8XPrpUvyqRd6l6fssm0dlg0MA-EyFCr-ULUyF-l2KGgi0K0EIfRpQUXleWOM3wO05TR9oT9AP08uNLyvnfE99x-sSX3Rejnkuu-D0RUfuGXf-1I0-lMg9fj4URkXVMk3eelsx-al7r0gP6KyubKLeEbh9KcT4duHof0l~zi~USXn2ROHDlW7YMha1-CrXT8-ce8zP7AfndfaFGkVkzJx02OLQoyg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:47 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:47 Selecting previously unselected package rmr-dev. 00:35:47 (Reading database ... 198614 files and directories currently installed.) 00:35:47 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:47 Unpacking rmr-dev (4.9.0) ... 00:35:48 Setting up rmr-dev (4.9.0) ... 00:35:48 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:48 + echo '---> install-deb-rmr.sh ends' 00:35:48 ---> install-deb-rmr.sh ends 00:35:48 [EnvInject] - Injecting environment variables from a build step. 00:35:48 [EnvInject] - Injecting as environment variables the properties content 00:35:48 PARALLEL=False 00:35:48 00:35:48 [EnvInject] - Variables injected successfully. 00:35:48 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11652716577730654775.sh 00:35:48 ---> tox-run.sh 00:35:48 + PATH=/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:48 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:48 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:48 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:48 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:48 + source /home/jenkins/lf-env.sh 00:35:48 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:48 ++ mktemp -d /tmp/venv-XXXX 00:35:48 + lf_venv=/tmp/venv-TX2R 00:35:48 + local venv_file=/tmp/.os_lf_venv 00:35:48 + local python=python3 00:35:48 + local options 00:35:48 + local set_path=true 00:35:48 + local install_args= 00:35:48 ++ 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:48 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:48 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:48 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:48 + true 00:35:48 + case $1 in 00:35:48 + venv_file=/tmp/.toxenv 00:35:48 + shift 2 00:35:48 + true 00:35:48 + case $1 in 00:35:48 + shift 00:35:48 + break 00:35:48 + case $python in 00:35:48 + local pkg_list= 00:35:48 + [[ -d /opt/pyenv ]] 00:35:48 + echo 'Setup pyenv:' 00:35:48 Setup pyenv: 00:35:48 + export PYENV_ROOT=/opt/pyenv 00:35:48 + PYENV_ROOT=/opt/pyenv 00:35:48 + 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:35:48 + 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:35:48 + pyenv versions 00:35:48 system 00:35:48 3.8.13 00:35:48 3.9.13 00:35:48 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:48 + command -v pyenv 00:35:48 ++ pyenv init - --no-rehash 00:35:48 + 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:48 export PATH="/opt/pyenv/shims:${PATH}" 00:35:48 export PYENV_SHELL=bash 00:35:48 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:48 pyenv() { 00:35:48 local command 00:35:48 command="${1:-}" 00:35:48 if [ "$#" -gt 0 ]; then 00:35:48 shift 00:35:48 fi 00:35:48 00:35:48 case "$command" in 00:35:48 rehash|shell) 00:35:48 eval "$(pyenv "sh-$command" "$@")" 00:35:48 ;; 00:35:48 *) 00:35:48 command pyenv "$command" "$@" 00:35:48 ;; 00:35:48 esac 00:35:48 }' 00:35:48 +++ 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:48 ++ 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:35:48 ++ 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:35:48 ++ 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:35:48 ++ export PYENV_SHELL=bash 00:35:48 ++ PYENV_SHELL=bash 00:35:48 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:48 +++ complete -F _pyenv pyenv 00:35:48 ++ lf-pyver python3 00:35:48 ++ local py_version_xy=python3 00:35:48 ++ local py_version_xyz= 00:35:48 ++ grep -E '^[0-9.]*[0-9]$' 00:35:48 ++ awk '{ print $1 }' 00:35:48 ++ sed 's/^[ *]* //' 00:35:48 ++ pyenv versions 00:35:48 ++ local command 00:35:48 ++ command=versions 00:35:48 ++ '[' 1 -gt 0 ']' 00:35:48 ++ shift 00:35:48 ++ case "$command" in 00:35:48 ++ command pyenv versions 00:35:48 ++ pyenv versions 00:35:48 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:48 +++ grep '^3' /tmp/.pyenv_versions 00:35:48 +++ sort -V 00:35:48 +++ tail -n 1 00:35:48 ++ py_version_xyz=3.10.6 00:35:48 ++ [[ -z 3.10.6 ]] 00:35:48 ++ echo 3.10.6 00:35:48 ++ return 0 00:35:48 + pyenv local 3.10.6 00:35:48 + local command 00:35:48 + command=local 00:35:48 + '[' 2 -gt 0 ']' 00:35:48 + shift 00:35:48 + case "$command" in 00:35:48 + command pyenv local 3.10.6 00:35:48 + pyenv local 3.10.6 00:35:48 + for arg in "$@" 00:35:48 + case $arg in 00:35:48 + pkg_list+='tox ' 00:35:48 + for arg in "$@" 00:35:48 + case $arg in 00:35:48 + pkg_list+='virtualenv ' 00:35:48 + for arg in "$@" 00:35:48 + case $arg in 00:35:48 + pkg_list+='urllib3~=1.26.15 ' 00:35:48 + [[ -f /tmp/.toxenv ]] 00:35:48 ++ cat /tmp/.toxenv 00:35:48 + lf_venv=/tmp/venv-Ea5j 00:35:48 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ea5j from' file:/tmp/.toxenv 00:35:48 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ea5j from file:/tmp/.toxenv 00:35:48 + /tmp/venv-Ea5j/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:49 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:49 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:49 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:49 + /tmp/venv-Ea5j/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:50 + type python3 00:35:50 + true 00:35:50 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Ea5j/bin to PATH' 00:35:50 lf-activate-venv(): INFO: Adding /tmp/venv-Ea5j/bin to PATH 00:35:50 + PATH=/tmp/venv-Ea5j/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:50 + return 0 00:35:50 + [[ -d /opt/pyenv ]] 00:35:50 + echo '---> Setting up pyenv' 00:35:50 ---> Setting up pyenv 00:35:50 + export PYENV_ROOT=/opt/pyenv 00:35:50 + PYENV_ROOT=/opt/pyenv 00:35:50 + export PATH=/opt/pyenv/bin:/tmp/venv-Ea5j/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:50 + PATH=/opt/pyenv/bin:/tmp/venv-Ea5j/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:50 ++ pwd 00:35:50 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:50 + export PYTHONPATH 00:35:50 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:50 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:50 + tox --version 00:35:51 4.11.4 from /tmp/venv-Ea5j/lib/python3.10/site-packages/tox/__init__.py 00:35:51 + PARALLEL=False 00:35:51 + TOX_OPTIONS_LIST= 00:35:51 + [[ -n code,flake8 ]] 00:35:51 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:51 + case ${PARALLEL,,} in 00:35:51 + tox -e code,flake8 00:35:51 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:52 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:55 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:56 .pkg: _optional_hooks> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:57 .pkg: get_requires_for_build_sdist> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:57 .pkg: get_requires_for_build_wheel> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:57 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 00:35:57 .pkg: freeze> python -m pip freeze --all 00:35:58 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 00:35:58 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:58 .pkg: build_sdist> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:58 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:36:25 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:36:26 code: freeze> python -m pip freeze --all 00:36:26 code: ad==1.0.1,async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.3.3,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,influxdb==5.3.1,iniconfig==2.0.0,inotify==0.2.10,inotify-simple==1.3.5,joblib==1.3.2,mdclogpy==1.1.1,msgpack==1.0.7,nose==1.3.7,numpy==1.26.2,packaging==23.2,pandas==2.1.4,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.3,pytest-cov==4.1.0,python-dateutil==2.8.2,pytz==2023.3.post1,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.1,scikit-learn==1.3.2,scipy==1.11.4,setuptools==69.0.2,six==1.16.0,threadpoolctl==3.2.0,tomli==2.0.1,tzdata==2023.3,urllib3==2.1.0,wheel==0.42.0 00:36:26 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:27 ============================= test session starts ============================== 00:36:27 platform linux -- Python 3.10.6, pytest-7.4.3, pluggy-1.3.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:36:27 cachedir: .tox/code/.pytest_cache 00:36:27 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:27 plugins: cov-4.1.0 00:36:27 collecting ... collected 4 items 00:36:27 00:36:28 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:28 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:59 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:38:00 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:38:16 00:38:16 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:38:16 Name Stmts Miss Cover Missing 00:38:16 ------------------------------------------------- 00:38:16 src/__init__.py 0 0 100% 00:38:16 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:38:16 src/ad_train.py 69 6 91% 56-58, 66-68 00:38:16 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:38:16 src/exceptions.py 4 4 0% 18-25 00:38:16 src/insert.py 51 51 0% 17-84 00:38:16 src/main.py 116 65 44% 41-46, 70-83, 106-110, 119-130, 139, 146-163, 167-170, 174-177, 181-185, 190-192 00:38:16 src/processing.py 44 0 100% 00:38:16 ------------------------------------------------- 00:38:16 TOTAL 445 174 61% 00:38:16 Coverage HTML written to dir htmlcov 00:38:16 Coverage XML written to file coverage.xml 00:38:16 00:38:16 Required test coverage of 50% reached. Total coverage: 60.90% 00:38:16 00:38:16 ======================== 4 passed in 108.85s (0:01:48) ========================= 00:38:16 code: commands[1]> coverage xml -i 00:38:16 Wrote XML report to coverage.xml 00:38:16 .pkg: _exit> python /tmp/venv-Ea5j/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:38:16 code: OK ✔ in 2 minutes 25.09 seconds 00:38:16 flake8: install_deps> python -I -m pip install flake8 00:38:18 flake8: freeze> python -m pip freeze --all 00:38:18 flake8: ad==1.0.1,flake8==6.1.0,mccabe==0.7.0,pip==23.3.1,pycodestyle==2.11.1,pyflakes==3.1.0,setuptools==69.0.2,wheel==0.42.0 00:38:18 flake8: commands[0]> flake8 setup.py src tests 00:38:19 code: OK (145.08=setup[35.10]+cmd[109.77,0.21] seconds) 00:38:19 flake8: OK (2.66=setup[2.42]+cmd[0.25] seconds) 00:38:19 congratulations :) (147.90 seconds) 00:38:19 + tox_status=0 00:38:19 + echo '---> Completed tox runs' 00:38:19 ---> Completed tox runs 00:38:19 + for i in .tox/*/log 00:38:19 ++ echo .tox/code/log 00:38:19 ++ awk -F/ '{print $2}' 00:38:19 + tox_env=code 00:38:19 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:38:19 + for i in .tox/*/log 00:38:19 ++ echo .tox/flake8/log 00:38:19 ++ awk -F/ '{print $2}' 00:38:19 + tox_env=flake8 00:38:19 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:38:19 + DOC_DIR=docs/_build/html 00:38:19 + [[ -d docs/_build/html ]] 00:38:19 + echo '---> tox-run.sh ends' 00:38:19 ---> tox-run.sh ends 00:38:19 + test 0 -eq 0 00:38:19 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-1078 00:38:20 [ric-app-ad-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_ric-app-ad -Dsonar.projectName=ric-app-ad -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=ad -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/ric-app-ad-tox-sonarqube 00:38:20 WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' 00:38:20 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:20 INFO: Project root configuration file: NONE 00:38:20 INFO: SonarScanner 4.6.2.2472 00:38:20 INFO: Java 11.0.18 Ubuntu (64-bit) 00:38:20 INFO: Linux 5.4.0-146-generic amd64 00:38:21 INFO: User cache: /home/jenkins/.sonar/cache 00:38:23 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:23 INFO: Project root configuration file: NONE 00:38:23 INFO: Analyzing on SonarCloud 00:38:23 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:23 INFO: Load global settings 00:38:24 INFO: Load global settings (done) | time=598ms 00:38:24 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:24 INFO: User cache: /home/jenkins/.sonar/cache 00:38:24 INFO: Loading required plugins 00:38:24 INFO: Load plugins index 00:38:24 INFO: Load plugins index (done) | time=593ms 00:38:24 INFO: Load/download plugins 00:38:26 INFO: Load/download plugins (done) | time=1747ms 00:38:27 INFO: Found an active CI vendor: 'Jenkins' 00:38:27 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:27 INFO: Process project properties 00:38:27 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 INFO: EXECUTION FAILURE 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 INFO: Total time: 6.753s 00:38:27 INFO: Final Memory: 7M/27M 00:38:27 INFO: ------------------------------------------------------------------------ 00:38:27 ERROR: Error during SonarScanner execution 00:38:27 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:27 ERROR: 00:38:27 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:28 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:28 $ ssh-agent -k 00:38:28 unset SSH_AUTH_SOCK; 00:38:28 unset SSH_AGENT_PID; 00:38:28 echo Agent pid 5616 killed; 00:38:28 [ssh-agent] Stopped. 00:38:28 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:28 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:28 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins13969018018065674345.sh 00:38:28 ---> sysstat.sh 00:38:29 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins8895978138794434766.sh 00:38:29 ---> package-listing.sh 00:38:29 ++ facter osfamily 00:38:29 ++ tr '[:upper:]' '[:lower:]' 00:38:29 + OS_FAMILY=debian 00:38:29 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:29 + START_PACKAGES=/tmp/packages_start.txt 00:38:29 + END_PACKAGES=/tmp/packages_end.txt 00:38:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:29 + PACKAGES=/tmp/packages_start.txt 00:38:29 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:29 + PACKAGES=/tmp/packages_end.txt 00:38:29 + case "${OS_FAMILY}" in 00:38:29 + grep '^ii' 00:38:29 + dpkg -l 00:38:29 + '[' -f /tmp/packages_start.txt ']' 00:38:29 + '[' -f /tmp/packages_end.txt ']' 00:38:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:29 + true 00:38:29 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:29 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:29 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins7667577391387105589.sh 00:38:29 ---> capture-instance-metadata.sh 00:38:29 Setup pyenv: 00:38:29 system 00:38:29 3.8.13 00:38:29 3.9.13 00:38:29 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:29 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Tqy3 from file:/tmp/.os_lf_venv 00:38:31 lf-activate-venv(): INFO: Installing: lftools 00:38:45 lf-activate-venv(): INFO: Adding /tmp/venv-Tqy3/bin to PATH 00:38:45 INFO: Running in OpenStack, capturing instance metadata 00:38:46 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins5520756739783745808.sh 00:38:46 provisioning config files... 00:38:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config4155149235552704665tmp 00:38:46 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:46 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:46 [EnvInject] - Injecting environment variables from a build step. 00:38:46 [EnvInject] - Injecting as environment variables the properties content 00:38:46 SERVER_ID=logs 00:38:46 00:38:46 [EnvInject] - Variables injected successfully. 00:38:46 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6127057383712547091.sh 00:38:46 ---> create-netrc.sh 00:38:46 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4856602981379260466.sh 00:38:46 ---> python-tools-install.sh 00:38:46 Setup pyenv: 00:38:46 system 00:38:46 3.8.13 00:38:46 3.9.13 00:38:46 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Tqy3 from file:/tmp/.os_lf_venv 00:38:47 lf-activate-venv(): INFO: Installing: lftools 00:38:59 lf-activate-venv(): INFO: Adding /tmp/venv-Tqy3/bin to PATH 00:38:59 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6980952312150262849.sh 00:38:59 ---> sudo-logs.sh 00:38:59 Archiving 'sudo' log.. 00:38:59 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14850655710722378212.sh 00:38:59 ---> job-cost.sh 00:38:59 Setup pyenv: 00:38:59 system 00:38:59 3.8.13 00:38:59 3.9.13 00:38:59 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:59 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Tqy3 from file:/tmp/.os_lf_venv 00:39:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:39:11 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 00:39:11 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 00:39:12 lf-activate-venv(): INFO: Adding /tmp/venv-Tqy3/bin to PATH 00:39:12 INFO: No Stack... 00:39:12 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:39:12 INFO: Archiving Costs 00:39:12 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1630490454501874849.sh 00:39:12 ---> logs-deploy.sh 00:39:12 Setup pyenv: 00:39:12 system 00:39:12 3.8.13 00:39:12 3.9.13 00:39:12 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:39:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Tqy3 from file:/tmp/.os_lf_venv 00:39:14 lf-activate-venv(): INFO: Installing: lftools 00:39:28 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 00:39:28 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 00:39:28 lf-activate-venv(): INFO: Adding /tmp/venv-Tqy3/bin to PATH 00:39:28 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/157 00:39:28 INFO: archiving workspace using pattern(s): -p **/*.log 00:39:30 Archives upload complete. 00:39:30 INFO: archiving logs to Nexus 00:39:31 ---> uname -a: 00:39:31 Linux prd-ubuntu1804-builder-2c-2g-1078 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 00:39:31 00:39:31 00:39:31 ---> lscpu: 00:39:31 Architecture: x86_64 00:39:31 CPU op-mode(s): 32-bit, 64-bit 00:39:31 Byte Order: Little Endian 00:39:31 Address sizes: 40 bits physical, 48 bits virtual 00:39:31 CPU(s): 2 00:39:31 On-line CPU(s) list: 0,1 00:39:31 Thread(s) per core: 1 00:39:31 Core(s) per socket: 1 00:39:31 Socket(s): 2 00:39:31 NUMA node(s): 1 00:39:31 Vendor ID: AuthenticAMD 00:39:31 CPU family: 23 00:39:31 Model: 49 00:39:31 Model name: AMD EPYC-Rome Processor 00:39:31 Stepping: 0 00:39:31 CPU MHz: 2800.022 00:39:31 BogoMIPS: 5600.04 00:39:31 Virtualization: AMD-V 00:39:31 Hypervisor vendor: KVM 00:39:31 Virtualization type: full 00:39:31 L1d cache: 64 KiB 00:39:31 L1i cache: 64 KiB 00:39:31 L2 cache: 1 MiB 00:39:31 L3 cache: 32 MiB 00:39:31 NUMA node0 CPU(s): 0,1 00:39:31 Vulnerability Itlb multihit: Not affected 00:39:31 Vulnerability L1tf: Not affected 00:39:31 Vulnerability Mds: Not affected 00:39:31 Vulnerability Meltdown: Not affected 00:39:31 Vulnerability Mmio stale data: Not affected 00:39:31 Vulnerability Retbleed: Vulnerable 00:39:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:39:31 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:39:31 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 00:39:31 Vulnerability Srbds: Not affected 00:39:31 Vulnerability Tsx async abort: Not affected 00:39:31 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 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 wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:39:31 00:39:31 00:39:31 ---> nproc: 00:39:31 2 00:39:31 00:39:31 00:39:31 ---> df -h: 00:39:31 Filesystem Size Used Avail Use% Mounted on 00:39:31 udev 975M 0 975M 0% /dev 00:39:31 tmpfs 199M 1016K 198M 1% /run 00:39:31 /dev/vda1 20G 9.1G 11G 48% / 00:39:31 tmpfs 992M 0 992M 0% /dev/shm 00:39:31 tmpfs 5.0M 0 5.0M 0% /run/lock 00:39:31 tmpfs 992M 0 992M 0% /sys/fs/cgroup 00:39:31 /dev/loop0 68M 68M 0 100% /snap/lxd/22753 00:39:31 /dev/loop2 62M 62M 0 100% /snap/core20/1405 00:39:31 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 00:39:31 /dev/vda15 105M 6.1M 99M 6% /boot/efi 00:39:31 tmpfs 199M 0 199M 0% /run/user/1001 00:39:31 /dev/loop3 41M 41M 0 100% /snap/snapd/20290 00:39:31 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 00:39:31 00:39:31 00:39:31 ---> free -m: 00:39:31 total used free shared buff/cache available 00:39:31 Mem: 1983 405 188 2 1389 1383 00:39:31 Swap: 1023 2 1021 00:39:31 00:39:31 00:39:31 ---> ip addr: 00:39:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:39:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:39:31 inet 127.0.0.1/8 scope host lo 00:39:31 valid_lft forever preferred_lft forever 00:39:31 inet6 ::1/128 scope host 00:39:31 valid_lft forever preferred_lft forever 00:39:31 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:39:31 link/ether fa:16:3e:d7:74:31 brd ff:ff:ff:ff:ff:ff 00:39:31 inet 10.32.6.149/23 brd 10.32.7.255 scope global dynamic ens3 00:39:31 valid_lft 86056sec preferred_lft 86056sec 00:39:31 inet6 fe80::f816:3eff:fed7:7431/64 scope link 00:39:31 valid_lft forever preferred_lft forever 00:39:31 00:39:31 00:39:31 ---> sar -b -r -n DEV: 00:39:31 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1078) 12/17/23 _x86_64_ (2 CPU) 00:39:31 00:39:31 00:33:50 LINUX RESTART (2 CPU) 00:39:31 00:39:31 00:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:39:31 00:35:02 258.14 150.79 107.35 0.00 5776.05 15584.62 0.00 00:39:31 00:36:01 108.61 28.00 80.61 0.00 959.02 11553.02 0.00 00:39:31 00:37:01 48.49 7.78 40.71 0.00 531.64 19757.24 0.00 00:39:31 00:38:01 1.47 0.33 1.13 0.00 21.46 61.46 0.00 00:39:31 00:39:01 57.81 32.56 25.25 0.00 1765.31 9095.15 0.00 00:39:31 Average: 94.87 43.95 50.91 0.00 1813.81 11209.45 0.00 00:39:31 00:39:31 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:31 00:35:02 177784 1439452 361220 17.79 52968 1290244 837548 27.20 446536 1213012 20072 00:39:31 00:36:01 94252 1407288 385804 19.00 65908 1309388 911860 29.61 484260 1232532 109976 00:39:31 00:37:01 111404 1249368 542100 26.70 73928 1118016 1159904 37.67 584360 1105844 1524 00:39:31 00:38:01 98044 1149728 637816 31.41 70864 1048660 1319888 42.86 654372 1056808 97116 00:39:31 00:39:01 134864 1445060 343196 16.90 76456 1295072 826568 26.84 416940 1254948 52044 00:39:31 Average: 123270 1338179 454027 22.36 68025 1212276 1011154 32.84 517294 1172629 56146 00:39:31 00:39:31 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:31 00:35:02 ens3 317.56 194.92 1546.02 58.34 0.00 0.00 0.00 0.00 00:39:31 00:35:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 00:39:31 00:36:01 ens3 73.48 66.40 931.08 9.35 0.00 0.00 0.00 0.00 00:39:31 00:36:01 lo 1.56 1.56 0.15 0.15 0.00 0.00 0.00 0.00 00:39:31 00:37:01 ens3 43.48 37.48 933.67 2.99 0.00 0.00 0.00 0.00 00:39:31 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:31 00:38:01 ens3 0.38 0.48 0.06 0.06 0.00 0.00 0.00 0.00 00:39:31 00:38:01 lo 3.67 3.67 0.19 0.19 0.00 0.00 0.00 0.00 00:39:31 00:39:01 ens3 316.05 236.96 2207.59 28.61 0.00 0.00 0.00 0.00 00:39:31 00:39:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 00:39:31 Average: ens3 150.46 107.39 1124.36 19.91 0.00 0.00 0.00 0.00 00:39:31 Average: lo 1.43 1.43 0.10 0.10 0.00 0.00 0.00 0.00 00:39:31 00:39:31 00:39:31 ---> sar -P ALL: 00:39:31 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-1078) 12/17/23 _x86_64_ (2 CPU) 00:39:31 00:39:31 00:33:50 LINUX RESTART (2 CPU) 00:39:31 00:39:31 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:39:31 00:35:02 all 37.20 27.10 19.33 7.67 0.09 8.61 00:39:31 00:35:02 0 37.47 26.32 18.96 7.44 0.08 9.72 00:39:31 00:35:02 1 36.93 27.88 19.70 7.91 0.10 7.49 00:39:31 00:36:01 all 36.97 0.00 3.46 8.07 0.08 51.43 00:39:31 00:36:01 0 25.54 0.00 3.05 4.35 0.07 67.00 00:39:31 00:36:01 1 48.57 0.00 3.87 11.85 0.08 35.62 00:39:31 00:37:01 all 45.07 0.00 2.04 2.02 0.08 50.79 00:39:31 00:37:01 0 78.69 0.00 2.12 1.05 0.08 18.06 00:39:31 00:37:01 1 11.21 0.00 1.96 2.99 0.08 83.75 00:39:31 00:38:01 all 49.61 0.00 0.36 0.03 0.07 49.94 00:39:31 00:38:01 0 98.45 0.00 0.28 0.00 0.07 1.20 00:39:31 00:38:01 1 0.35 0.00 0.44 0.05 0.07 99.09 00:39:31 00:39:01 all 29.44 0.00 2.63 2.35 0.07 65.51 00:39:31 00:39:01 0 37.14 0.00 2.52 1.39 0.07 58.89 00:39:31 00:39:01 1 21.71 0.00 2.75 3.31 0.07 72.16 00:39:31 Average: all 39.66 5.40 5.55 4.02 0.08 45.29 00:39:31 Average: 0 55.52 5.24 5.37 2.84 0.07 30.97 00:39:31 Average: 1 23.69 5.57 5.73 5.20 0.08 59.73 00:39:31 00:39:31 00:39:31