00:33:51 Started by timer 00:33:51 Running as SYSTEM 00:33:51 [EnvInject] - Loading node environment variables. 00:33:52 Building remotely on prd-ubuntu1804-builder-2c-2g-2820 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-app-ad-tox-sonarqube 00:33:52 [ssh-agent] Looking for ssh-agent implementation... 00:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:52 $ ssh-agent 00:33:52 SSH_AUTH_SOCK=/tmp/ssh-7pk5D1mJWayt/agent.1777 00:33:52 SSH_AGENT_PID=1779 00:33:52 [ssh-agent] Started. 00:33:52 Running ssh-add (command line suppressed) 00:33:52 Identity added: /w/workspace/ric-app-ad-tox-sonarqube@tmp/private_key_8116425790428540481.key (jenkins-ssh) 00:33:52 [ssh-agent] Using credentials jenkins (jenkins) 00:33:52 The recommended git tool is: NONE 00:33:53 using credential jenkins 00:33:53 Wiping out workspace first. 00:33:53 Cloning the remote Git repository 00:33:53 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:53 > git init /w/workspace/ric-app-ad-tox-sonarqube # timeout=10 00:33:53 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad 00:33:53 > git --version # timeout=10 00:33:53 > git --version # 'git version 2.17.1' 00:33:53 using GIT_SSH to set credentials jenkins 00:33:54 > 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:55 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-app/ad # timeout=10 00:33:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:33:55 Avoid second fetch 00:33:55 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 00:33:55 Checking out Revision b49adee363dcd4deb41bad12323e6ec2683aec4f (refs/remotes/origin/master) 00:33:55 > git config core.sparsecheckout # timeout=10 00:33:55 > git checkout -f b49adee363dcd4deb41bad12323e6ec2683aec4f # timeout=10 00:33:56 Commit message: "Release 1.0.2" 00:33:56 > git rev-list --no-walk b49adee363dcd4deb41bad12323e6ec2683aec4f # timeout=10 00:33:56 provisioning config files... 00:33:56 copy managed file [npmrc] to file:/home/jenkins/.npmrc 00:33:56 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 00:33:56 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6262521991720801829.sh 00:33:56 ---> python-tools-install.sh 00:33:56 Setup pyenv: 00:33:56 * system (set by /opt/pyenv/version) 00:33:56 * 3.8.13 (set by /opt/pyenv/version) 00:33:56 * 3.9.13 (set by /opt/pyenv/version) 00:33:56 * 3.10.6 (set by /opt/pyenv/version) 00:34:00 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cuGZ 00:34:00 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 00:34:04 lf-activate-venv(): INFO: Installing: lftools 00:34:37 lf-activate-venv(): INFO: Adding /tmp/venv-cuGZ/bin to PATH 00:34:37 Generating Requirements File 00:35:07 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:35:07 lftools 0.37.9 requires openstacksdk>=2.1.0, but you have openstacksdk 0.62.0 which is incompatible. 00:35:07 Python 3.10.6 00:35:08 pip 24.0 from /tmp/venv-cuGZ/lib/python3.10/site-packages/pip (python 3.10) 00:35:08 appdirs==1.4.4 00:35:08 argcomplete==3.2.2 00:35:08 aspy.yaml==1.3.0 00:35:08 attrs==23.2.0 00:35:08 autopage==0.5.2 00:35:08 beautifulsoup4==4.12.3 00:35:08 boto3==1.34.49 00:35:08 botocore==1.34.49 00:35:08 bs4==0.0.2 00:35:08 cachetools==5.3.2 00:35:08 certifi==2024.2.2 00:35:08 cffi==1.16.0 00:35:08 cfgv==3.4.0 00:35:08 chardet==5.2.0 00:35:08 charset-normalizer==3.3.2 00:35:08 click==8.1.7 00:35:08 cliff==4.6.0 00:35:08 cmd2==2.4.3 00:35:08 cryptography==3.3.2 00:35:08 debtcollector==3.0.0 00:35:08 decorator==5.1.1 00:35:08 defusedxml==0.7.1 00:35:08 Deprecated==1.2.14 00:35:08 distlib==0.3.8 00:35:08 dnspython==2.6.1 00:35:08 docker==4.2.2 00:35:08 dogpile.cache==1.3.2 00:35:08 email-validator==2.1.0.post1 00:35:08 filelock==3.13.1 00:35:08 future==1.0.0 00:35:08 gitdb==4.0.11 00:35:08 GitPython==3.1.42 00:35:08 google-auth==2.28.1 00:35:08 httplib2==0.22.0 00:35:08 identify==2.5.35 00:35:08 idna==3.6 00:35:08 importlib-resources==1.5.0 00:35:08 iso8601==2.1.0 00:35:08 Jinja2==3.1.3 00:35:08 jmespath==1.0.1 00:35:08 jsonpatch==1.33 00:35:08 jsonpointer==2.4 00:35:08 jsonschema==4.21.1 00:35:08 jsonschema-specifications==2023.12.1 00:35:08 keystoneauth1==5.6.0 00:35:08 kubernetes==29.0.0 00:35:08 lftools==0.37.9 00:35:08 lxml==5.1.0 00:35:08 MarkupSafe==2.1.5 00:35:08 msgpack==1.0.7 00:35:08 multi_key_dict==2.0.3 00:35:08 munch==4.0.0 00:35:08 netaddr==1.2.1 00:35:08 netifaces==0.11.0 00:35:08 niet==1.4.2 00:35:08 nodeenv==1.8.0 00:35:08 oauth2client==4.1.3 00:35:08 oauthlib==3.2.2 00:35:08 openstacksdk==0.62.0 00:35:08 os-client-config==2.1.0 00:35:08 os-service-types==1.7.0 00:35:08 osc-lib==3.0.1 00:35:08 oslo.config==9.4.0 00:35:08 oslo.context==5.4.0 00:35:08 oslo.i18n==6.3.0 00:35:08 oslo.log==5.5.0 00:35:08 oslo.serialization==5.4.0 00:35:08 oslo.utils==7.1.0 00:35:08 packaging==23.2 00:35:08 pbr==6.0.0 00:35:08 platformdirs==4.2.0 00:35:08 prettytable==3.10.0 00:35:08 pyasn1==0.5.1 00:35:08 pyasn1-modules==0.3.0 00:35:08 pycparser==2.21 00:35:08 pygerrit2==2.0.15 00:35:08 PyGithub==2.2.0 00:35:08 pyinotify==0.9.6 00:35:08 PyJWT==2.8.0 00:35:08 PyNaCl==1.5.0 00:35:08 pyparsing==2.4.7 00:35:08 pyperclip==1.8.2 00:35:08 pyrsistent==0.20.0 00:35:08 python-cinderclient==9.4.0 00:35:08 python-dateutil==2.8.2 00:35:08 python-heatclient==3.4.0 00:35:08 python-jenkins==1.8.2 00:35:08 python-keystoneclient==5.3.0 00:35:08 python-magnumclient==4.3.0 00:35:08 python-novaclient==18.4.0 00:35:08 python-openstackclient==6.0.1 00:35:08 python-swiftclient==4.4.0 00:35:08 PyYAML==6.0.1 00:35:08 referencing==0.33.0 00:35:08 requests==2.31.0 00:35:08 requests-oauthlib==1.3.1 00:35:08 requestsexceptions==1.4.0 00:35:08 rfc3986==2.0.0 00:35:08 rpds-py==0.18.0 00:35:08 rsa==4.9 00:35:08 ruamel.yaml==0.18.6 00:35:08 ruamel.yaml.clib==0.2.8 00:35:08 s3transfer==0.10.0 00:35:08 simplejson==3.19.2 00:35:08 six==1.16.0 00:35:08 smmap==5.0.1 00:35:08 soupsieve==2.5 00:35:08 stevedore==5.2.0 00:35:08 tabulate==0.9.0 00:35:08 toml==0.10.2 00:35:08 tomlkit==0.12.3 00:35:08 tqdm==4.66.2 00:35:08 typing_extensions==4.9.0 00:35:08 tzdata==2024.1 00:35:08 urllib3==1.26.18 00:35:08 virtualenv==20.25.1 00:35:08 wcwidth==0.2.13 00:35:08 websocket-client==1.7.0 00:35:08 wrapt==1.16.0 00:35:08 xdg==6.0.0 00:35:08 xmltodict==0.13.0 00:35:08 yq==3.2.3 00:35:08 [EnvInject] - Injecting environment variables from a build step. 00:35:08 [EnvInject] - Injecting as environment variables the properties content 00:35:08 SET_JDK_VERSION=openjdk17 00:35:08 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 00:35:08 00:35:08 [EnvInject] - Variables injected successfully. 00:35:08 [ric-app-ad-tox-sonarqube] $ /bin/sh /tmp/jenkins11607330078187170394.sh 00:35:08 ---> update-java-alternatives.sh 00:35:08 ---> Updating Java version 00:35:09 ---> Ubuntu/Debian system detected 00:35:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 00:35:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 00:35:09 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 00:35:10 openjdk version "17.0.7" 2023-04-18 00:35:10 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 00:35:10 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 00:35:10 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 00:35:10 [EnvInject] - Injecting environment variables from a build step. 00:35:10 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 00:35:10 [EnvInject] - Variables injected successfully. 00:35:10 [EnvInject] - Injecting environment variables from a build step. 00:35:10 [EnvInject] - Injecting as environment variables the properties content 00:35:10 PYTHON=python3 00:35:10 00:35:10 [EnvInject] - Variables injected successfully. 00:35:10 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16657218190176391059.sh 00:35:10 ---> tox-install.sh 00:35:10 + source /home/jenkins/lf-env.sh 00:35:10 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:10 ++ mktemp -d /tmp/venv-XXXX 00:35:10 + lf_venv=/tmp/venv-7yY4 00:35:10 + local venv_file=/tmp/.os_lf_venv 00:35:10 + local python=python3 00:35:10 + local options 00:35:10 + local set_path=true 00:35:10 + local install_args= 00:35:10 ++ 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:10 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:10 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:10 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:10 + true 00:35:10 + case $1 in 00:35:10 + venv_file=/tmp/.toxenv 00:35:10 + shift 2 00:35:10 + true 00:35:10 + case $1 in 00:35:10 + shift 00:35:10 + break 00:35:10 + case $python in 00:35:10 + local pkg_list= 00:35:10 + [[ -d /opt/pyenv ]] 00:35:10 + echo 'Setup pyenv:' 00:35:10 Setup pyenv: 00:35:10 + export PYENV_ROOT=/opt/pyenv 00:35:10 + PYENV_ROOT=/opt/pyenv 00:35:10 + 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:10 + 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:10 + pyenv versions 00:35:10 system 00:35:10 3.8.13 00:35:10 3.9.13 00:35:10 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:10 + command -v pyenv 00:35:10 ++ pyenv init - --no-rehash 00:35:10 + 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:10 export PATH="/opt/pyenv/shims:${PATH}" 00:35:10 export PYENV_SHELL=bash 00:35:10 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:10 pyenv() { 00:35:10 local command 00:35:10 command="${1:-}" 00:35:10 if [ "$#" -gt 0 ]; then 00:35:10 shift 00:35:10 fi 00:35:10 00:35:10 case "$command" in 00:35:10 rehash|shell) 00:35:10 eval "$(pyenv "sh-$command" "$@")" 00:35:10 ;; 00:35:10 *) 00:35:10 command pyenv "$command" "$@" 00:35:10 ;; 00:35:10 esac 00:35:10 }' 00:35:10 +++ 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:10 ++ 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:10 ++ 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:10 ++ 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:10 ++ export PYENV_SHELL=bash 00:35:10 ++ PYENV_SHELL=bash 00:35:10 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:10 +++ complete -F _pyenv pyenv 00:35:10 ++ lf-pyver python3 00:35:10 ++ local py_version_xy=python3 00:35:10 ++ local py_version_xyz= 00:35:10 ++ pyenv versions 00:35:10 ++ local command 00:35:10 ++ command=versions 00:35:10 ++ '[' 1 -gt 0 ']' 00:35:10 ++ shift 00:35:10 ++ case "$command" in 00:35:10 ++ command pyenv versions 00:35:10 ++ pyenv versions 00:35:10 ++ grep -E '^[0-9.]*[0-9]$' 00:35:10 ++ awk '{ print $1 }' 00:35:10 ++ sed 's/^[ *]* //' 00:35:10 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:10 +++ grep '^3' /tmp/.pyenv_versions 00:35:10 +++ tail -n 1 00:35:10 +++ sort -V 00:35:10 ++ py_version_xyz=3.10.6 00:35:10 ++ [[ -z 3.10.6 ]] 00:35:10 ++ echo 3.10.6 00:35:10 ++ return 0 00:35:10 + pyenv local 3.10.6 00:35:10 + local command 00:35:10 + command=local 00:35:10 + '[' 2 -gt 0 ']' 00:35:10 + shift 00:35:10 + case "$command" in 00:35:10 + command pyenv local 3.10.6 00:35:10 + pyenv local 3.10.6 00:35:10 + for arg in "$@" 00:35:10 + case $arg in 00:35:10 + pkg_list+='tox ' 00:35:10 + for arg in "$@" 00:35:10 + case $arg in 00:35:10 + pkg_list+='virtualenv ' 00:35:10 + for arg in "$@" 00:35:10 + case $arg in 00:35:10 + pkg_list+='urllib3~=1.26.15 ' 00:35:10 + [[ -f /tmp/.toxenv ]] 00:35:10 + [[ ! -f /tmp/.toxenv ]] 00:35:10 + [[ -n '' ]] 00:35:10 + python3 -m venv /tmp/venv-7yY4 00:35:14 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7yY4' 00:35:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7yY4 00:35:14 + echo /tmp/venv-7yY4 00:35:14 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 00:35:14 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 00:35:14 + /tmp/venv-7yY4/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:17 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:17 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:17 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:17 + /tmp/venv-7yY4/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:19 + type python3 00:35:19 + true 00:35:19 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7yY4/bin to PATH' 00:35:19 lf-activate-venv(): INFO: Adding /tmp/venv-7yY4/bin to PATH 00:35:19 + PATH=/tmp/venv-7yY4/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:19 + return 0 00:35:19 + python3 --version 00:35:19 Python 3.10.6 00:35:19 + python3 -m pip --version 00:35:19 pip 24.0 from /tmp/venv-7yY4/lib/python3.10/site-packages/pip (python 3.10) 00:35:19 + python3 -m pip freeze 00:35:20 cachetools==5.3.2 00:35:20 chardet==5.2.0 00:35:20 colorama==0.4.6 00:35:20 distlib==0.3.8 00:35:20 filelock==3.13.1 00:35:20 packaging==23.2 00:35:20 platformdirs==4.2.0 00:35:20 pluggy==1.4.0 00:35:20 pyproject-api==1.6.1 00:35:20 tomli==2.0.1 00:35:20 tox==4.13.0 00:35:20 urllib3==1.26.18 00:35:20 virtualenv==20.25.1 00:35:20 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins14424751088243468135.sh 00:35:20 ---> install-deb-rmr.sh 00:35:20 + version_file=rmr-version.yaml 00:35:20 + [[ -f rmr-version.yaml ]] 00:35:20 ++ cut -d: -f2 00:35:20 ++ grep '^repo:' rmr-version.yaml 00:35:20 ++ xargs 00:35:20 + repo= 00:35:20 ++ grep '^version:' rmr-version.yaml 00:35:20 ++ cut -d: -f2 00:35:20 ++ xargs 00:35:20 + ver=4.9.0 00:35:20 + [[ -z 4.9.0 ]] 00:35:20 + repo=release 00:35:20 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:20 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.0_amd64.deb/download.deb 00:35:20 2024-02-25 00:35:20 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069581.deb?Expires=1708821620&Signature=wRvlYUc0u7yw1JcdzB06gEcLePhwdGmxdQK2YiecW1hmPjCGekrtwqoMxHjfK99punhHANM1Ccey5f8EIh1CuhTXUYB~ehwQt6qSCt0Lq1-yUdvHmeLOkL6UnpmyJLK0QbcDBTiBY2KvhGDKKJIc0EyRsRvO0QJGgctIcN536E5kJA2k8UE6tcw1r5j5UUSnqQnn5BKG-KMOeJYbop5PIKQAkryT3vV1YelJTWpPN5c-EbDmNyjRtTHacaA4V2pzsxWK~tTt-6EdArL3J99f5H9OObF1JMMvkK0YCkYN0~CstTr~4JbirIc7P3BOnPO43Rp4RsyvMUru~GsyPD~c8Q__&Key-Pair-Id=K1ZMSF1EKC3AZL [242746/242746] -> "rmr_4.9.0_amd64.deb" [1] 00:35:20 + sudo dpkg -i rmr_4.9.0_amd64.deb 00:35:20 Selecting previously unselected package rmr. 00:35:22 (Reading database ... 188029 files and directories currently installed.) 00:35:22 Preparing to unpack rmr_4.9.0_amd64.deb ... 00:35:22 Unpacking rmr (4.9.0) ... 00:35:22 Setting up rmr (4.9.0) ... 00:35:22 + rm -f rmr_4.9.0_amd64.deb 00:35:22 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 00:35:22 + 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:22 2024-02-25 00:35:22 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4069580.deb?Expires=1708821622&Signature=PHoPrWMM-tlBN9YVpgPWFadG7SvlCwrsj7965KRoGlwMVpHz81zN3JCetauBSmb6aQjsJ4YoaIlKE2hMDb3FLdPMSDspgnOHlrOEU53rt83r-OQLapgjoO9ZvX03GkLT7ERfJiGVWPaq4vVOmU6LiP7VPSTsSfRauU~RnH6X~nwKyNwsqFypMt4xBmgfDYg0VM-SrGKU~5c5KVrdJ31pafc2qHjHxpIa3ohpR21H1C0DpdEVZ5V~zaaGEJI8MkYlpcWqSRcZ7yHV2PXygm7h6lDHK~aUa6TV674RIdB0oZvmERHIM6dntXLTIY4VMEkwGH8izgEfGaqCfT37gY7AbA__&Key-Pair-Id=K1ZMSF1EKC3AZL [126094/126094] -> "rmr-dev_4.9.0_amd64.deb" [1] 00:35:22 + sudo dpkg -i rmr-dev_4.9.0_amd64.deb 00:35:22 Selecting previously unselected package rmr-dev. 00:35:22 (Reading database ... 188037 files and directories currently installed.) 00:35:22 Preparing to unpack rmr-dev_4.9.0_amd64.deb ... 00:35:22 Unpacking rmr-dev (4.9.0) ... 00:35:22 Setting up rmr-dev (4.9.0) ... 00:35:22 + rm -f rmr-dev_4.9.0_amd64.deb 00:35:22 + echo '---> install-deb-rmr.sh ends' 00:35:22 ---> install-deb-rmr.sh ends 00:35:22 [EnvInject] - Injecting environment variables from a build step. 00:35:22 [EnvInject] - Injecting as environment variables the properties content 00:35:22 PARALLEL=False 00:35:22 00:35:22 [EnvInject] - Variables injected successfully. 00:35:23 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins1948493896305767413.sh 00:35:23 ---> tox-run.sh 00:35:23 + 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:23 + ARCHIVE_TOX_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:23 + ARCHIVE_DOC_DIR=/w/workspace/ric-app-ad-tox-sonarqube/archives/docs 00:35:23 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/tox 00:35:23 + cd /w/workspace/ric-app-ad-tox-sonarqube/. 00:35:23 + source /home/jenkins/lf-env.sh 00:35:23 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 00:35:23 ++ mktemp -d /tmp/venv-XXXX 00:35:23 + lf_venv=/tmp/venv-NOwk 00:35:23 + local venv_file=/tmp/.os_lf_venv 00:35:23 + local python=python3 00:35:23 + local options 00:35:23 + local set_path=true 00:35:23 + local install_args= 00:35:23 ++ 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:23 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:23 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 00:35:23 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 00:35:23 + true 00:35:23 + case $1 in 00:35:23 + venv_file=/tmp/.toxenv 00:35:23 + shift 2 00:35:23 + true 00:35:23 + case $1 in 00:35:23 + shift 00:35:23 + break 00:35:23 + case $python in 00:35:23 + local pkg_list= 00:35:23 + [[ -d /opt/pyenv ]] 00:35:23 + echo 'Setup pyenv:' 00:35:23 Setup pyenv: 00:35:23 + export PYENV_ROOT=/opt/pyenv 00:35:23 + PYENV_ROOT=/opt/pyenv 00:35:23 + 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:23 + 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:23 + pyenv versions 00:35:23 system 00:35:23 3.8.13 00:35:23 3.9.13 00:35:23 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:35:23 + command -v pyenv 00:35:23 ++ pyenv init - --no-rehash 00:35:23 + 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:23 export PATH="/opt/pyenv/shims:${PATH}" 00:35:23 export PYENV_SHELL=bash 00:35:23 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 00:35:23 pyenv() { 00:35:23 local command 00:35:23 command="${1:-}" 00:35:23 if [ "$#" -gt 0 ]; then 00:35:23 shift 00:35:23 fi 00:35:23 00:35:23 case "$command" in 00:35:23 rehash|shell) 00:35:23 eval "$(pyenv "sh-$command" "$@")" 00:35:23 ;; 00:35:23 *) 00:35:23 command pyenv "$command" "$@" 00:35:23 ;; 00:35:23 esac 00:35:23 }' 00:35:23 +++ 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:23 ++ 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:23 ++ 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:23 ++ 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:23 ++ export PYENV_SHELL=bash 00:35:23 ++ PYENV_SHELL=bash 00:35:23 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 00:35:23 +++ complete -F _pyenv pyenv 00:35:23 ++ lf-pyver python3 00:35:23 ++ local py_version_xy=python3 00:35:23 ++ local py_version_xyz= 00:35:23 ++ pyenv versions 00:35:23 ++ local command 00:35:23 ++ command=versions 00:35:23 ++ '[' 1 -gt 0 ']' 00:35:23 ++ shift 00:35:23 ++ case "$command" in 00:35:23 ++ command pyenv versions 00:35:23 ++ pyenv versions 00:35:23 ++ grep -E '^[0-9.]*[0-9]$' 00:35:23 ++ awk '{ print $1 }' 00:35:23 ++ sed 's/^[ *]* //' 00:35:23 ++ [[ ! -s /tmp/.pyenv_versions ]] 00:35:23 +++ grep '^3' /tmp/.pyenv_versions 00:35:23 +++ tail -n 1 00:35:23 +++ sort -V 00:35:23 ++ py_version_xyz=3.10.6 00:35:23 ++ [[ -z 3.10.6 ]] 00:35:23 ++ echo 3.10.6 00:35:23 ++ return 0 00:35:23 + pyenv local 3.10.6 00:35:23 + local command 00:35:23 + command=local 00:35:23 + '[' 2 -gt 0 ']' 00:35:23 + shift 00:35:23 + case "$command" in 00:35:23 + command pyenv local 3.10.6 00:35:23 + pyenv local 3.10.6 00:35:23 + for arg in "$@" 00:35:23 + case $arg in 00:35:23 + pkg_list+='tox ' 00:35:23 + for arg in "$@" 00:35:23 + case $arg in 00:35:23 + pkg_list+='virtualenv ' 00:35:23 + for arg in "$@" 00:35:23 + case $arg in 00:35:23 + pkg_list+='urllib3~=1.26.15 ' 00:35:23 + [[ -f /tmp/.toxenv ]] 00:35:23 ++ cat /tmp/.toxenv 00:35:23 + lf_venv=/tmp/venv-7yY4 00:35:23 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7yY4 from' file:/tmp/.toxenv 00:35:23 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-7yY4 from file:/tmp/.toxenv 00:35:23 + /tmp/venv-7yY4/bin/python3 -m pip install --upgrade --quiet pip virtualenv 00:35:24 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 00:35:24 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 00:35:24 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 00:35:24 + /tmp/venv-7yY4/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 00:35:25 + type python3 00:35:25 + true 00:35:25 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-7yY4/bin to PATH' 00:35:25 lf-activate-venv(): INFO: Adding /tmp/venv-7yY4/bin to PATH 00:35:25 + PATH=/tmp/venv-7yY4/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:25 + return 0 00:35:25 + [[ -d /opt/pyenv ]] 00:35:25 + echo '---> Setting up pyenv' 00:35:25 ---> Setting up pyenv 00:35:25 + export PYENV_ROOT=/opt/pyenv 00:35:25 + PYENV_ROOT=/opt/pyenv 00:35:25 + export PATH=/opt/pyenv/bin:/tmp/venv-7yY4/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:25 + PATH=/opt/pyenv/bin:/tmp/venv-7yY4/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:25 ++ pwd 00:35:25 + PYTHONPATH=/w/workspace/ric-app-ad-tox-sonarqube 00:35:25 + export PYTHONPATH 00:35:25 + export TOX_TESTENV_PASSENV=PYTHONPATH 00:35:25 + TOX_TESTENV_PASSENV=PYTHONPATH 00:35:25 + tox --version 00:35:25 4.13.0 from /tmp/venv-7yY4/lib/python3.10/site-packages/tox/__init__.py 00:35:25 + PARALLEL=False 00:35:25 + TOX_OPTIONS_LIST= 00:35:25 + [[ -n code,flake8 ]] 00:35:25 + TOX_OPTIONS_LIST=' -e code,flake8' 00:35:25 + case ${PARALLEL,,} in 00:35:25 + tee -a /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/tox.log 00:35:25 + tox -e code,flake8 00:35:26 code: install_deps> python -I -m pip install coverage pytest pytest-cov 00:35:30 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 00:35:31 .pkg: _optional_hooks> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:31 .pkg: get_requires_for_build_sdist> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:31 .pkg: get_requires_for_build_wheel> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:31 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 00:35:32 .pkg: freeze> python -m pip freeze --all 00:35:32 .pkg: pip==24.0,setuptools==69.1.0,wheel==0.42.0 00:35:32 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:32 .pkg: build_sdist> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:35:32 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:00 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:02 code: freeze> python -m pip freeze --all 00:36:03 code: ad==1.0.1,async-timeout==4.0.3,certifi==2024.2.2,charset-normalizer==3.3.2,coverage==7.4.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.4,packaging==23.2,pandas==2.2.1,pip==24.0,pluggy==1.4.0,protobuf==3.20.3,pytest==8.0.2,pytest-cov==4.1.0,python-dateutil==2.8.2,pytz==2024.1,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.1,scikit-learn==1.4.1.post1,scipy==1.12.0,setuptools==69.1.0,six==1.16.0,threadpoolctl==3.3.0,tomli==2.0.1,tzdata==2024.1,urllib3==2.2.1,wheel==0.42.0 00:36:03 code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=50 00:36:04 ============================= test session starts ============================== 00:36:04 platform linux -- Python 3.10.6, pytest-8.0.2, pluggy-1.4.0 -- /w/workspace/ric-app-ad-tox-sonarqube/.tox/code/bin/python 00:36:04 cachedir: .tox/code/.pytest_cache 00:36:04 rootdir: /w/workspace/ric-app-ad-tox-sonarqube 00:36:04 plugins: cov-4.1.0 00:36:04 collecting ... collected 4 items 00:36:06 00:36:06 tests/test_ad.py::test_database_connection PASSED [ 25%] 00:36:06 tests/test_ad.py::test_trainModel PASSED [ 50%] 00:37:36 tests/test_ad.py::test_predict_anomaly PASSED [ 75%] 00:37:37 tests/test_ad.py::test_msg_to_ts PASSED [100%] 00:37:52 00:37:52 =============================== warnings summary =============================== 00:37:52 tests/test_ad.py::test_trainModel 00:37:52 tests/test_ad.py::test_trainModel 00:37:52 /w/workspace/ric-app-ad-tox-sonarqube/src/processing.py:52: FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! 00:37:52 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:52 A typical example is when you are setting values in a column of a DataFrame, like: 00:37:52 00:37:52 df["col"][row_indexer] = value 00:37:52 00:37:52 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:52 00:37:52 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:52 00:37:52 self.data.iloc[:]['DRB.UEThpDl'] = self.data['DRB.UEThpDl'].apply(lambda x: x*1024) 00:37:52 00:37:52 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 00:37:52 00:37:52 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 00:37:52 Name Stmts Miss Cover Missing 00:37:52 ------------------------------------------------- 00:37:52 src/__init__.py 0 0 100% 00:37:52 src/ad_model.py 67 14 79% 42-43, 50-51, 57-58, 108-112, 121, 123, 125, 129 00:37:52 src/ad_train.py 69 6 91% 56-58, 66-68 00:37:52 src/database.py 94 34 64% 64-75, 85-97, 106-110, 113-118 00:37:52 src/exceptions.py 4 4 0% 18-25 00:37:52 src/insert.py 51 51 0% 17-84 00:37:52 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:52 src/processing.py 44 0 100% 00:37:52 ------------------------------------------------- 00:37:52 TOTAL 445 174 61% 00:37:52 Coverage HTML written to dir htmlcov 00:37:52 Coverage XML written to file coverage.xml 00:37:52 00:37:52 Required test coverage of 50% reached. Total coverage: 60.90% 00:37:52 ================== 4 passed, 2 warnings in 107.96s (0:01:47) =================== 00:37:52 code: commands[1]> coverage xml -i 00:37:52 Wrote XML report to coverage.xml 00:37:52 .pkg: _exit> python /tmp/venv-7yY4/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 00:37:54 code: OK ✔ in 2 minutes 26.69 seconds 00:37:54 flake8: install_deps> python -I -m pip install flake8 00:37:56 flake8: freeze> python -m pip freeze --all 00:37:56 flake8: ad==1.0.1,flake8==7.0.0,mccabe==0.7.0,pip==24.0,pycodestyle==2.11.1,pyflakes==3.2.0,setuptools==69.1.0,wheel==0.42.0 00:37:56 flake8: commands[0]> flake8 setup.py src tests 00:37:56 code: OK (146.68=setup[37.16]+cmd[109.26,0.26] seconds) 00:37:56 flake8: OK (4.09=setup[3.83]+cmd[0.27] seconds) 00:37:56 congratulations :) (150.94 seconds) 00:37:56 + tox_status=0 00:37:56 + echo '---> Completed tox runs' 00:37:56 ---> Completed tox runs 00:37:56 + for i in .tox/*/log 00:37:56 ++ echo .tox/code/log 00:37:56 ++ awk -F/ '{print $2}' 00:37:56 + tox_env=code 00:37:56 + cp -r .tox/code/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/code 00:37:56 + for i in .tox/*/log 00:37:56 ++ echo .tox/flake8/log 00:37:56 ++ awk -F/ '{print $2}' 00:37:56 + tox_env=flake8 00:37:56 + cp -r .tox/flake8/log /w/workspace/ric-app-ad-tox-sonarqube/archives/tox/flake8 00:37:56 + DOC_DIR=docs/_build/html 00:37:56 + [[ -d docs/_build/html ]] 00:37:56 + echo '---> tox-run.sh ends' 00:37:56 ---> tox-run.sh ends 00:37:56 + test 0 -eq 0 00:37:57 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-2820 00:37:57 [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:58 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:37:58 INFO: Project root configuration file: NONE 00:37:58 INFO: SonarScanner 4.6.2.2472 00:37:58 INFO: Java 17.0.7 Private Build (64-bit) 00:37:58 INFO: Linux 4.15.0-213-generic amd64 00:37:58 INFO: User cache: /home/jenkins/.sonar/cache 00:38:01 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 00:38:01 INFO: Project root configuration file: NONE 00:38:01 INFO: Analyzing on SonarCloud 00:38:01 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 00:38:01 INFO: Load global settings 00:38:02 INFO: Load global settings (done) | time=612ms 00:38:02 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 00:38:02 INFO: User cache: /home/jenkins/.sonar/cache 00:38:02 INFO: Loading required plugins 00:38:02 INFO: Load plugins index 00:38:02 INFO: Load plugins index (done) | time=559ms 00:38:02 INFO: Load/download plugins 00:38:04 INFO: Load/download plugins (done) | time=1340ms 00:38:04 INFO: Found an active CI vendor: 'Jenkins' 00:38:05 INFO: Load project settings for component key: 'o-ran-sc_ric-app-ad' 00:38:05 INFO: Process project properties 00:38:05 ERROR: Invalid value of sonar.sources for o-ran-sc_ric-app-ad 00:38:05 INFO: ------------------------------------------------------------------------ 00:38:05 INFO: EXECUTION FAILURE 00:38:05 INFO: ------------------------------------------------------------------------ 00:38:05 INFO: Total time: 7.335s 00:38:05 INFO: Final Memory: 8M/34M 00:38:05 INFO: ------------------------------------------------------------------------ 00:38:05 ERROR: Error during SonarScanner execution 00:38:05 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:05 ERROR: 00:38:05 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 00:38:06 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 00:38:06 $ ssh-agent -k 00:38:06 unset SSH_AUTH_SOCK; 00:38:06 unset SSH_AGENT_PID; 00:38:06 echo Agent pid 1779 killed; 00:38:06 [ssh-agent] Stopped. 00:38:06 ERROR: SonarQube scanner exited with non-zero code: 2 00:38:06 [PostBuildScript] - [INFO] Executing post build scripts. 00:38:06 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins155000103886713784.sh 00:38:06 ---> sysstat.sh 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins4741429103752035462.sh 00:38:07 ---> package-listing.sh 00:38:07 ++ facter osfamily 00:38:07 ++ tr '[:upper:]' '[:lower:]' 00:38:07 + OS_FAMILY=debian 00:38:07 + workspace=/w/workspace/ric-app-ad-tox-sonarqube 00:38:07 + START_PACKAGES=/tmp/packages_start.txt 00:38:07 + END_PACKAGES=/tmp/packages_end.txt 00:38:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:07 + PACKAGES=/tmp/packages_start.txt 00:38:07 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:07 + PACKAGES=/tmp/packages_end.txt 00:38:07 + case "${OS_FAMILY}" in 00:38:07 + dpkg -l 00:38:07 + grep '^ii' 00:38:07 + '[' -f /tmp/packages_start.txt ']' 00:38:07 + '[' -f /tmp/packages_end.txt ']' 00:38:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:07 + true 00:38:07 + '[' /w/workspace/ric-app-ad-tox-sonarqube ']' 00:38:07 + mkdir -p /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-app-ad-tox-sonarqube/archives/ 00:38:07 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12604128982852075125.sh 00:38:07 ---> capture-instance-metadata.sh 00:38:07 Setup pyenv: 00:38:07 system 00:38:07 3.8.13 00:38:07 3.9.13 00:38:07 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cuGZ from file:/tmp/.os_lf_venv 00:38:09 lf-activate-venv(): INFO: Installing: lftools 00:38:22 lf-activate-venv(): INFO: Adding /tmp/venv-cuGZ/bin to PATH 00:38:22 INFO: Running in OpenStack, capturing instance metadata 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins6395845459819488256.sh 00:38:23 provisioning config files... 00:38:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-app-ad-tox-sonarqube@tmp/config9914476412242348254tmp 00:38:23 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 00:38:23 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 00:38:23 [EnvInject] - Injecting environment variables from a build step. 00:38:23 [EnvInject] - Injecting as environment variables the properties content 00:38:23 SERVER_ID=logs 00:38:23 00:38:23 [EnvInject] - Variables injected successfully. 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins10774279919651267477.sh 00:38:23 ---> create-netrc.sh 00:38:23 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins12900160713844623760.sh 00:38:23 ---> python-tools-install.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-cuGZ from file:/tmp/.os_lf_venv 00:38:24 lf-activate-venv(): INFO: Installing: lftools 00:38:34 lf-activate-venv(): INFO: Adding /tmp/venv-cuGZ/bin to PATH 00:38:34 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins2048170777810904782.sh 00:38:34 ---> sudo-logs.sh 00:38:34 Archiving 'sudo' log.. 00:38:34 [ric-app-ad-tox-sonarqube] $ /bin/bash /tmp/jenkins9564917151532231751.sh 00:38:34 ---> job-cost.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-cuGZ from file:/tmp/.os_lf_venv 00:38:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 00:38:42 lf-activate-venv(): INFO: Adding /tmp/venv-cuGZ/bin to PATH 00:38:42 INFO: No Stack... 00:38:43 INFO: Retrieving Pricing Info for: v2-highcpu-2 00:38:43 INFO: Archiving Costs 00:38:43 [ric-app-ad-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5353224918485304195.sh 00:38:43 ---> logs-deploy.sh 00:38:43 Setup pyenv: 00:38:43 system 00:38:43 3.8.13 00:38:43 3.9.13 00:38:43 * 3.10.6 (set by /w/workspace/ric-app-ad-tox-sonarqube/.python-version) 00:38:43 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-cuGZ from file:/tmp/.os_lf_venv 00:38:44 lf-activate-venv(): INFO: Installing: lftools 00:38:54 lf-activate-venv(): INFO: Adding /tmp/venv-cuGZ/bin to PATH 00:38:54 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-app-ad-tox-sonarqube/167 00:38:54 INFO: archiving workspace using pattern(s): -p **/*.log 00:38:57 Archives upload complete. 00:38:57 INFO: archiving logs to Nexus 00:38:58 ---> uname -a: 00:38:58 Linux prd-ubuntu1804-builder-2c-2g-2820 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:58 00:38:58 00:38:58 ---> lscpu: 00:38:58 Architecture: x86_64 00:38:58 CPU op-mode(s): 32-bit, 64-bit 00:38:58 Byte Order: Little Endian 00:38:58 CPU(s): 2 00:38:58 On-line CPU(s) list: 0,1 00:38:58 Thread(s) per core: 1 00:38:58 Core(s) per socket: 1 00:38:58 Socket(s): 2 00:38:58 NUMA node(s): 1 00:38:58 Vendor ID: AuthenticAMD 00:38:58 CPU family: 23 00:38:58 Model: 49 00:38:58 Model name: AMD EPYC-Rome Processor 00:38:58 Stepping: 0 00:38:58 CPU MHz: 2799.998 00:38:58 BogoMIPS: 5599.99 00:38:58 Virtualization: AMD-V 00:38:58 Hypervisor vendor: KVM 00:38:58 Virtualization type: full 00:38:58 L1d cache: 32K 00:38:58 L1i cache: 32K 00:38:58 L2 cache: 512K 00:38:58 L3 cache: 16384K 00:38:58 NUMA node0 CPU(s): 0,1 00:38:58 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:58 00:38:58 00:38:58 ---> nproc: 00:38:58 2 00:38:58 00:38:58 00:38:58 ---> df -h: 00:38:58 Filesystem Size Used Avail Use% Mounted on 00:38:58 udev 984M 0 984M 0% /dev 00:38:58 tmpfs 200M 668K 199M 1% /run 00:38:58 /dev/vda1 20G 7.9G 12G 41% / 00:38:58 tmpfs 997M 0 997M 0% /dev/shm 00:38:58 tmpfs 5.0M 0 5.0M 0% /run/lock 00:38:58 tmpfs 997M 0 997M 0% /sys/fs/cgroup 00:38:58 /dev/vda15 105M 5.3M 100M 5% /boot/efi 00:38:58 tmpfs 200M 0 200M 0% /run/user/1001 00:38:58 00:38:58 00:38:58 ---> free -m: 00:38:58 total used free shared buff/cache available 00:38:58 Mem: 1992 336 87 0 1568 1479 00:38:58 Swap: 1023 0 1023 00:38:58 00:38:58 00:38:58 ---> ip addr: 00:38:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 00:38:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:38:58 inet 127.0.0.1/8 scope host lo 00:38:58 valid_lft forever preferred_lft forever 00:38:58 inet6 ::1/128 scope host 00:38:58 valid_lft forever preferred_lft forever 00:38:58 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 00:38:58 link/ether fa:16:3e:73:d7:0e brd ff:ff:ff:ff:ff:ff 00:38:58 inet 10.32.6.165/23 brd 10.32.7.255 scope global dynamic ens3 00:38:58 valid_lft 86077sec preferred_lft 86077sec 00:38:58 inet6 fe80::f816:3eff:fe73:d70e/64 scope link 00:38:58 valid_lft forever preferred_lft forever 00:38:58 00:38:58 00:38:58 ---> sar -b -r -n DEV: 00:38:58 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2820) 02/25/24 _x86_64_ (2 CPU) 00:38:58 00:38:58 00:33:37 LINUX RESTART (2 CPU) 00:38:58 00:38:58 00:34:01 tps rtps wtps bread/s bwrtn/s 00:38:58 00:35:01 103.70 36.93 66.77 1721.39 10264.76 00:38:58 00:36:01 175.06 78.02 97.04 5101.25 27331.94 00:38:58 00:37:01 40.58 30.64 9.93 2462.92 2206.03 00:38:58 00:38:01 49.54 45.93 3.62 2308.55 1459.89 00:38:58 Average: 92.27 47.90 44.37 2899.66 10325.57 00:38:58 00:38:58 00:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:38:58 00:35:01 94104 1511012 1946528 95.39 50720 1454624 573576 18.57 426312 1376444 138932 00:38:58 00:36:01 142928 1521396 1897704 93.00 70336 1401236 623888 20.20 389132 1373856 59392 00:38:58 00:37:01 82068 1356176 1958564 95.98 71040 1296648 890192 28.82 537892 1286100 156 00:38:58 00:38:01 85904 1514036 1954728 95.79 72572 1449908 633488 20.51 402920 1419976 71948 00:38:58 Average: 101251 1475655 1939381 95.04 66167 1400604 680286 22.02 439064 1364094 67607 00:38:58 00:38:58 00:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:38:58 00:35:01 ens3 81.40 75.85 1070.99 8.86 0.00 0.00 0.00 0.00 00:38:58 00:35:01 lo 1.17 1.17 0.10 0.10 0.00 0.00 0.00 0.00 00:38:58 00:36:01 ens3 68.05 62.54 1426.32 8.31 0.00 0.00 0.00 0.00 00:38:58 00:36:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 00:38:58 00:37:01 ens3 2.70 4.33 0.45 6.57 0.00 0.00 0.00 0.00 00:38:58 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:38:58 00:38:01 ens3 166.41 60.91 881.82 6.19 0.00 0.00 0.00 0.00 00:38:58 00:38:01 lo 3.87 3.87 0.21 0.21 0.00 0.00 0.00 0.00 00:38:58 Average: ens3 79.63 50.92 845.26 7.48 0.00 0.00 0.00 0.00 00:38:58 Average: lo 1.76 1.76 0.13 0.13 0.00 0.00 0.00 0.00 00:38:58 00:38:58 00:38:58 ---> sar -P ALL: 00:38:58 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2820) 02/25/24 _x86_64_ (2 CPU) 00:38:58 00:38:58 00:33:37 LINUX RESTART (2 CPU) 00:38:58 00:38:58 00:34:01 CPU %user %nice %system %iowait %steal %idle 00:38:58 00:35:01 all 39.82 0.00 2.64 6.03 0.08 51.42 00:38:58 00:35:01 0 53.69 0.00 3.15 5.11 0.10 37.95 00:38:58 00:35:01 1 26.00 0.00 2.13 6.93 0.07 64.87 00:38:58 00:36:01 all 36.65 0.00 3.41 8.57 0.08 51.28 00:38:58 00:36:01 0 29.78 0.00 3.08 9.73 0.08 57.33 00:38:58 00:36:01 1 43.53 0.00 3.74 7.43 0.10 45.21 00:38:58 00:37:01 all 48.96 0.00 0.67 1.19 0.09 49.08 00:38:58 00:37:01 0 23.81 0.00 0.62 1.17 0.08 74.32 00:38:58 00:37:01 1 74.00 0.00 0.72 1.20 0.10 23.98 00:38:58 00:38:01 all 35.56 0.00 0.89 2.63 0.08 60.85 00:38:58 00:38:01 0 16.61 0.00 0.70 1.69 0.07 80.93 00:38:58 00:38:01 1 54.48 0.00 1.07 3.58 0.08 40.79 00:38:58 Average: all 40.24 0.00 1.90 4.62 0.08 53.15 00:38:58 Average: 0 31.00 0.00 1.89 4.44 0.08 62.59 00:38:58 Average: 1 49.48 0.00 1.92 4.79 0.09 43.73 00:38:58 00:38:58 00:38:58