03:18:24 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-plt/xapp-frame-py/+/12317 03:18:24 Running as SYSTEM 03:18:24 [EnvInject] - Loading node environment variables. 03:18:24 Building remotely on prd-ubuntu1804-builder-2c-2g-2585 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 03:18:24 [ssh-agent] Looking for ssh-agent implementation... 03:18:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:24 $ ssh-agent 03:18:24 SSH_AUTH_SOCK=/tmp/ssh-3Cn0cZx2iqpe/agent.6039 03:18:24 SSH_AGENT_PID=6041 03:18:24 [ssh-agent] Started. 03:18:24 Running ssh-add (command line suppressed) 03:18:24 Identity added: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master@tmp/private_key_15031411954242363766.key (jenkins-ssh) 03:18:24 [ssh-agent] Using credentials jenkins (jenkins) 03:18:24 The recommended git tool is: NONE 03:18:26 using credential jenkins 03:18:26 Wiping out workspace first. 03:18:26 Cloning the remote Git repository 03:18:26 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:18:26 > git init /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master # timeout=10 03:18:26 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:18:26 > git --version # timeout=10 03:18:26 > git --version # 'git version 2.25.1' 03:18:26 using GIT_SSH to set credentials jenkins 03:18:26 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:27 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:18:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:27 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 03:18:27 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 03:18:27 using GIT_SSH to set credentials jenkins 03:18:27 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py refs/changes/17/12317/15 # timeout=10 03:18:28 > git rev-parse be062f2e383879a7e250bb2978b5bb07ef58c37b^{commit} # timeout=10 03:18:28 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 03:18:28 Checking out Revision be062f2e383879a7e250bb2978b5bb07ef58c37b (refs/changes/17/12317/15) 03:18:28 > git config core.sparsecheckout # timeout=10 03:18:28 > git checkout -f be062f2e383879a7e250bb2978b5bb07ef58c37b # timeout=10 03:18:31 Commit message: "RIC-1032: xapp-frame-py block xApp to register when communicating with Rtmgr" 03:18:31 > git rev-parse FETCH_HEAD^{commit} # timeout=10 03:18:31 > git rev-list --no-walk e0de19a1c51e607b7e7a4a71a326a09486583539 # timeout=10 03:18:31 > git remote # timeout=10 03:18:31 > git submodule init # timeout=10 03:18:31 > git submodule sync # timeout=10 03:18:31 > git config --get remote.origin.url # timeout=10 03:18:31 > git submodule init # timeout=10 03:18:31 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 03:18:32 > git config --get submodule.nodeb-rnib.url # timeout=10 03:18:32 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 03:18:32 > git submodule update --init --recursive nodeb-rnib # timeout=10 03:18:32 provisioning config files... 03:18:32 copy managed file [npmrc] to file:/home/jenkins/.npmrc 03:18:32 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 03:18:32 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins1063447894785573378.sh 03:18:32 ---> python-tools-install.sh 03:18:32 Setup pyenv: 03:18:32 * system (set by /opt/pyenv/version) 03:18:32 * 3.8.13 (set by /opt/pyenv/version) 03:18:32 * 3.9.13 (set by /opt/pyenv/version) 03:18:32 * 3.10.6 (set by /opt/pyenv/version) 03:18:38 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ah33 03:18:38 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 03:18:41 lf-activate-venv(): INFO: Installing: lftools 03:19:19 lf-activate-venv(): INFO: Adding /tmp/venv-Ah33/bin to PATH 03:19:19 Generating Requirements File 03:19:55 Python 3.10.6 03:19:55 pip 23.3.2 from /tmp/venv-Ah33/lib/python3.10/site-packages/pip (python 3.10) 03:19:55 appdirs==1.4.4 03:19:55 argcomplete==3.2.1 03:19:55 aspy.yaml==1.3.0 03:19:55 attrs==23.2.0 03:19:55 autopage==0.5.2 03:19:55 Babel==2.14.0 03:19:55 beautifulsoup4==4.12.2 03:19:55 boto3==1.34.11 03:19:55 botocore==1.34.11 03:19:55 bs4==0.0.1 03:19:55 cachetools==5.3.2 03:19:55 certifi==2023.11.17 03:19:55 cffi==1.16.0 03:19:55 cfgv==3.4.0 03:19:55 chardet==5.2.0 03:19:55 charset-normalizer==3.3.2 03:19:55 click==8.1.7 03:19:55 cliff==4.4.0 03:19:55 cmd2==2.4.3 03:19:55 cryptography==3.3.2 03:19:55 debtcollector==2.5.0 03:19:55 decorator==5.1.1 03:19:55 defusedxml==0.7.1 03:19:55 Deprecated==1.2.14 03:19:55 distlib==0.3.8 03:19:55 dnspython==2.4.2 03:19:55 docker==4.2.2 03:19:55 dogpile.cache==1.3.0 03:19:55 email-validator==2.1.0.post1 03:19:55 filelock==3.13.1 03:19:55 future==0.18.3 03:19:55 gitdb==4.0.11 03:19:55 GitPython==3.1.40 03:19:55 google-auth==2.25.2 03:19:55 httplib2==0.22.0 03:19:55 identify==2.5.33 03:19:55 idna==3.6 03:19:55 importlib-metadata==7.0.1 03:19:55 importlib-resources==1.5.0 03:19:55 iso8601==2.1.0 03:19:55 Jinja2==3.1.2 03:19:55 jmespath==1.0.1 03:19:55 jsonpatch==1.33 03:19:55 jsonpointer==2.4 03:19:55 jsonschema==4.20.0 03:19:55 jsonschema-specifications==2023.12.1 03:19:55 keystoneauth1==5.4.0 03:19:55 kubernetes==28.1.0 03:19:55 lftools==0.37.8 03:19:55 lxml==5.0.0 03:19:55 MarkupSafe==2.1.3 03:19:55 msgpack==1.0.7 03:19:55 multi_key_dict==2.0.3 03:19:55 munch==4.0.0 03:19:55 netaddr==0.10.0 03:19:55 netifaces==0.11.0 03:19:55 niet==1.4.2 03:19:55 nodeenv==1.8.0 03:19:55 oauth2client==4.1.3 03:19:55 oauthlib==3.2.2 03:19:55 openstacksdk==0.62.0 03:19:55 os-client-config==2.1.0 03:19:55 os-service-types==1.7.0 03:19:55 osc-lib==2.9.0 03:19:55 oslo.config==9.2.0 03:19:55 oslo.context==5.3.0 03:19:55 oslo.i18n==6.2.0 03:19:55 oslo.log==5.4.0 03:19:55 oslo.serialization==5.2.0 03:19:55 oslo.utils==6.3.0 03:19:55 packaging==23.2 03:19:55 pbr==6.0.0 03:19:55 platformdirs==4.1.0 03:19:55 prettytable==3.9.0 03:19:55 pyasn1==0.5.1 03:19:55 pyasn1-modules==0.3.0 03:19:55 pycparser==2.21 03:19:55 pygerrit2==2.0.15 03:19:55 PyGithub==2.1.1 03:19:55 pyinotify==0.9.6 03:19:55 PyJWT==2.8.0 03:19:55 PyNaCl==1.5.0 03:19:55 pyparsing==2.4.7 03:19:55 pyperclip==1.8.2 03:19:55 pyrsistent==0.20.0 03:19:55 python-cinderclient==9.4.0 03:19:55 python-dateutil==2.8.2 03:19:55 python-heatclient==3.3.0 03:19:55 python-jenkins==1.8.2 03:19:55 python-keystoneclient==5.2.0 03:19:55 python-magnumclient==4.3.0 03:19:55 python-novaclient==18.4.0 03:19:55 python-openstackclient==6.0.0 03:19:55 python-swiftclient==4.4.0 03:19:55 pytz==2023.3.post1 03:19:55 PyYAML==6.0.1 03:19:55 referencing==0.32.0 03:19:55 requests==2.31.0 03:19:55 requests-oauthlib==1.3.1 03:19:55 requestsexceptions==1.4.0 03:19:55 rfc3986==2.0.0 03:19:55 rpds-py==0.16.2 03:19:55 rsa==4.9 03:19:55 ruamel.yaml==0.18.5 03:19:55 ruamel.yaml.clib==0.2.8 03:19:55 s3transfer==0.10.0 03:19:55 simplejson==3.19.2 03:19:55 six==1.16.0 03:19:55 smmap==5.0.1 03:19:55 soupsieve==2.5 03:19:55 stevedore==5.1.0 03:19:55 tabulate==0.9.0 03:19:55 toml==0.10.2 03:19:55 tomlkit==0.12.3 03:19:55 tqdm==4.66.1 03:19:55 typing_extensions==4.9.0 03:19:55 tzdata==2023.4 03:19:55 urllib3==1.26.18 03:19:55 virtualenv==20.25.0 03:19:55 wcwidth==0.2.12 03:19:55 websocket-client==1.7.0 03:19:55 wrapt==1.16.0 03:19:55 xdg==6.0.0 03:19:55 xmltodict==0.13.0 03:19:55 yq==3.2.3 03:19:55 zipp==3.17.0 03:19:55 [EnvInject] - Injecting environment variables from a build step. 03:19:55 [EnvInject] - Injecting as environment variables the properties content 03:19:55 PYTHON=python3 03:19:55 03:19:55 [EnvInject] - Variables injected successfully. 03:19:55 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins17138164125276266495.sh 03:19:56 ---> tox-install.sh 03:19:56 + source /home/jenkins/lf-env.sh 03:19:56 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:19:56 ++ mktemp -d /tmp/venv-XXXX 03:19:56 + lf_venv=/tmp/venv-Dl5K 03:19:56 + local venv_file=/tmp/.os_lf_venv 03:19:56 + local python=python3 03:19:56 + local options 03:19:56 + local set_path=true 03:19:56 + local install_args= 03:19:56 ++ 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 03:19:56 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:19:56 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:19:56 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:19:56 + true 03:19:56 + case $1 in 03:19:56 + venv_file=/tmp/.toxenv 03:19:56 + shift 2 03:19:56 + true 03:19:56 + case $1 in 03:19:56 + shift 03:19:56 + break 03:19:56 + case $python in 03:19:56 + local pkg_list= 03:19:56 + [[ -d /opt/pyenv ]] 03:19:56 + echo 'Setup pyenv:' 03:19:56 Setup pyenv: 03:19:56 + export PYENV_ROOT=/opt/pyenv 03:19:56 + PYENV_ROOT=/opt/pyenv 03:19:56 + 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 03:19:56 + 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 03:19:56 + pyenv versions 03:19:56 system 03:19:56 3.8.13 03:19:56 3.9.13 03:19:56 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:19:56 + command -v pyenv 03:19:56 ++ pyenv init - --no-rehash 03:19:56 + 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[*]}"'\'')" 03:19:56 export PATH="/opt/pyenv/shims:${PATH}" 03:19:56 export PYENV_SHELL=bash 03:19:56 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:19:56 pyenv() { 03:19:56 local command 03:19:56 command="${1:-}" 03:19:56 if [ "$#" -gt 0 ]; then 03:19:56 shift 03:19:56 fi 03:19:56 03:19:56 case "$command" in 03:19:56 rehash|shell) 03:19:56 eval "$(pyenv "sh-$command" "$@")" 03:19:56 ;; 03:19:56 *) 03:19:56 command pyenv "$command" "$@" 03:19:56 ;; 03:19:56 esac 03:19:56 }' 03:19:56 +++ 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[*]}"' 03:19:56 ++ 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 03:19:56 ++ 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 03:19:56 ++ 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 03:19:56 ++ export PYENV_SHELL=bash 03:19:56 ++ PYENV_SHELL=bash 03:19:56 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:19:56 +++ complete -F _pyenv pyenv 03:19:56 ++ lf-pyver python3 03:19:56 ++ local py_version_xy=python3 03:19:56 ++ local py_version_xyz= 03:19:56 ++ grep -E '^[0-9.]*[0-9]$' 03:19:56 ++ awk '{ print $1 }' 03:19:56 ++ sed 's/^[ *]* //' 03:19:56 ++ pyenv versions 03:19:56 ++ local command 03:19:56 ++ command=versions 03:19:56 ++ '[' 1 -gt 0 ']' 03:19:56 ++ shift 03:19:56 ++ case "$command" in 03:19:56 ++ command pyenv versions 03:19:56 ++ pyenv versions 03:19:56 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:19:56 +++ tail -n 1 03:19:56 +++ grep '^3' /tmp/.pyenv_versions 03:19:56 +++ sort -V 03:19:56 ++ py_version_xyz=3.10.6 03:19:56 ++ [[ -z 3.10.6 ]] 03:19:56 ++ echo 3.10.6 03:19:56 ++ return 0 03:19:56 + pyenv local 3.10.6 03:19:56 + local command 03:19:56 + command=local 03:19:56 + '[' 2 -gt 0 ']' 03:19:56 + shift 03:19:56 + case "$command" in 03:19:56 + command pyenv local 3.10.6 03:19:56 + pyenv local 3.10.6 03:19:56 + for arg in "$@" 03:19:56 + case $arg in 03:19:56 + pkg_list+='tox ' 03:19:56 + for arg in "$@" 03:19:56 + case $arg in 03:19:56 + pkg_list+='virtualenv ' 03:19:56 + for arg in "$@" 03:19:56 + case $arg in 03:19:56 + pkg_list+='urllib3~=1.26.15 ' 03:19:56 + [[ -f /tmp/.toxenv ]] 03:19:56 + [[ ! -f /tmp/.toxenv ]] 03:19:56 + [[ -n '' ]] 03:19:56 + python3 -m venv /tmp/venv-Dl5K 03:19:59 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dl5K' 03:19:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dl5K 03:19:59 + echo /tmp/venv-Dl5K 03:19:59 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 03:19:59 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 03:19:59 + /tmp/venv-Dl5K/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:20:02 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:20:02 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:20:02 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:20:02 + /tmp/venv-Dl5K/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:20:05 + type python3 03:20:05 + true 03:20:05 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dl5K/bin to PATH' 03:20:05 lf-activate-venv(): INFO: Adding /tmp/venv-Dl5K/bin to PATH 03:20:05 + PATH=/tmp/venv-Dl5K/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 03:20:05 + return 0 03:20:05 + python3 --version 03:20:05 Python 3.10.6 03:20:05 + python3 -m pip --version 03:20:05 pip 23.3.2 from /tmp/venv-Dl5K/lib/python3.10/site-packages/pip (python 3.10) 03:20:05 + python3 -m pip freeze 03:20:06 cachetools==5.3.2 03:20:06 chardet==5.2.0 03:20:06 colorama==0.4.6 03:20:06 distlib==0.3.8 03:20:06 filelock==3.13.1 03:20:06 packaging==23.2 03:20:06 platformdirs==4.1.0 03:20:06 pluggy==1.3.0 03:20:06 pyproject-api==1.6.1 03:20:06 tomli==2.0.1 03:20:06 tox==4.11.4 03:20:06 urllib3==1.26.18 03:20:06 virtualenv==20.25.0 03:20:06 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins5535749290668701227.sh 03:20:06 ---> install-deb-rmr.sh 03:20:06 + version_file=rmr-version.yaml 03:20:06 + [[ -f rmr-version.yaml ]] 03:20:06 ++ cut -d: -f2 03:20:06 ++ grep '^repo:' rmr-version.yaml 03:20:06 ++ xargs 03:20:06 + repo= 03:20:06 ++ grep '^version:' rmr-version.yaml 03:20:06 ++ cut -d: -f2 03:20:06 ++ xargs 03:20:06 + ver=4.9.1 03:20:06 + [[ -z 4.9.1 ]] 03:20:06 + repo=release 03:20:06 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:20:06 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.1_amd64.deb/download.deb 03:20:06 2024-01-02 03:20:06 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4252893.deb?Expires=1704165906&Signature=An8eO2CmDJIhwO7AQnArvtsYZU3M4dMI-RDfu2ZMjF~oqtyRknrOwXZ57Kjg3MjW2dwDeZfElv0wm-KfTpOLRcl9MQPgOfEoq3rx95A4eHCxAxq3q0eMQMn9jffV4lvuEbBDgfjosUz4Agf~gaYll7MXopPtbi9TySuaCCG0bRECRJ5IduqduPyokjoQogZWJEwadg4dKOR7LWlWoXagwqJAWX6UmblkoWRVI1EC73q~WywYVKaaX9BN2158JVk8KACcck3tyj~8bXyTAEoEB7NqEmnd9bCCsAlrVtMlLvccWXRVrwF-sKBSWE9S0mPXhfLK8glTfzPW6tOC0mw~nw__&Key-Pair-Id=K1ZMSF1EKC3AZL [243050/243050] -> "rmr_4.9.1_amd64.deb" [1] 03:20:06 + sudo dpkg -i rmr_4.9.1_amd64.deb 03:20:06 Selecting previously unselected package rmr. 03:20:08 (Reading database ... 198606 files and directories currently installed.) 03:20:08 Preparing to unpack rmr_4.9.1_amd64.deb ... 03:20:08 Unpacking rmr (4.9.1) ... 03:20:08 Setting up rmr (4.9.1) ... 03:20:08 + rm -f rmr_4.9.1_amd64.deb 03:20:08 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 03:20:08 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.1_amd64.deb/download.deb 03:20:08 2024-01-02 03:20:08 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4252891.deb?Expires=1704165908&Signature=XDhoJ2XMcVZF0BmfzEpGRRPoJ5H27Ymyx0o3pH6GOWEtSmdvbfJqD9KxZVLO4r7f9TTE9y~NROGR3SD1LRdEmNwLTlGNyfmqLRpZ707m9Z01o0hY5h8qG85scGqsRXO~bWU9UQXIvGMpRVBe0TBmigTN97hT~BqJhhQg7jUOthXy5AapwfNY3JXINA02fiTj83aQJUJOQMiyrBO5o1ek7jGdhy~PDFiDjLpQ-twh6vQ0hl9chRssD8LhsifOyyIDxo8iPxRcKl7w3pCCHyDI5xcSHHjakcnRiwYAX5uhzOy9wArva-nh6lxVxMGoXyLf1U9k2B7yUjWu~BbnngliFg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126164/126164] -> "rmr-dev_4.9.1_amd64.deb" [1] 03:20:08 + sudo dpkg -i rmr-dev_4.9.1_amd64.deb 03:20:08 Selecting previously unselected package rmr-dev. 03:20:08 (Reading database ... 198614 files and directories currently installed.) 03:20:08 Preparing to unpack rmr-dev_4.9.1_amd64.deb ... 03:20:08 Unpacking rmr-dev (4.9.1) ... 03:20:08 Setting up rmr-dev (4.9.1) ... 03:20:08 + rm -f rmr-dev_4.9.1_amd64.deb 03:20:08 + echo '---> install-deb-rmr.sh ends' 03:20:08 ---> install-deb-rmr.sh ends 03:20:08 + echo '---> install-deb-e2ap.sh' 03:20:08 ---> install-deb-e2ap.sh 03:20:08 + set -eux 03:20:08 + version_file=e2ap-version.yaml 03:20:08 + [[ -f e2ap-version.yaml ]] 03:20:08 ++ grep '^repo:' e2ap-version.yaml 03:20:08 ++ cut -d: -f2 03:20:08 ++ xargs 03:20:08 + repo= 03:20:08 ++ grep '^version:' e2ap-version.yaml 03:20:08 ++ xargs 03:20:08 ++ cut -d: -f2 03:20:08 + ver=1.1.0 03:20:08 + [[ -z 1.1.0 ]] 03:20:08 + repo=release 03:20:08 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:20:08 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 03:20:08 2024-01-02 03:20:08 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1704165908&Signature=h1tH8VXWBWTNMJ-u8VWnjSomxEZb1-5mubVOIovz8anMzqmjhPMRkQuMyG5gM2r~Ja5szpOF8Tlrh4zkp6slXGM9IXWqPQ077em3gcbe0dC5q7exUsV-K30S~OjiZNzTVpCAVxp~23XLpO1A1BKWkcNxqu4DbWf3fqg2uMrC5avkX77a7eezKKvcwL5klIxUa~Zp28kPD5RcaHqkTRQw0GAOcpzCySHAqzEq7d~h1XPeWD61W96IqsH9mMNyN3lMPfBi0ZCta1BqoHASANkaRPju64kV98k0AYZiuFPpfH1WPRVXxKAOESft2ja38MxcuRn3asqSgpycv39D-RCOSA__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 03:20:08 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 03:20:08 Selecting previously unselected package riclibe2ap. 03:20:08 (Reading database ... 198621 files and directories currently installed.) 03:20:08 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 03:20:08 Unpacking riclibe2ap (1.1.0) ... 03:20:09 Setting up riclibe2ap (1.1.0) ... 03:20:09 + rm -f riclibe2ap_1.1.0_amd64.deb 03:20:09 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 03:20:09 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_1.1.0_amd64.deb/download.deb 03:20:09 2024-01-02 03:20:09 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1704165909&Signature=AE~9dbZA4m~WemB9vIUbxeVt5fC4hRitVtKFiv5fVMdExeS-OonQ-ZWBOkFS5ci~cEf7qY40fdwdHZUlmtBkLJDJjZZVmJnWpD53dhffOjI3QhmELV5DHooGQBYeoqfHoG0VyWIi~qXJtWUYDAL7D13Ujvdb8fHZU3LgIRI4cz7TqEPahwyBYcOZ3pu-2sGP-aKsKZ4XB23YpMNoQvSyt7vFQO8d6fiRO~dmuZqHOg0JRPeG-QoNI-Yji0jcCUZ9V3yQGK45meQpwg1wGdFW58b9RjQgryqkpJHiM6z70RiF4GhggyzukIShv3EM0Hm853yTviyEuRH-76~CqdTIRg__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] 03:20:09 + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb 03:20:09 Selecting previously unselected package riclibe2ap-dev. 03:20:09 (Reading database ... 198624 files and directories currently installed.) 03:20:09 Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... 03:20:09 Unpacking riclibe2ap-dev (1.1.0) ... 03:20:09 Setting up riclibe2ap-dev (1.1.0) ... 03:20:09 + rm -f riclibe2ap-dev_1.1.0_amd64.deb 03:20:09 + echo '---> install-deb-e2ap.sh ends' 03:20:09 ---> install-deb-e2ap.sh ends 03:20:09 [EnvInject] - Injecting environment variables from a build step. 03:20:09 [EnvInject] - Injecting as environment variables the properties content 03:20:09 PARALLEL=False 03:20:09 03:20:09 [EnvInject] - Variables injected successfully. 03:20:09 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins7184727402447738032.sh 03:20:09 ---> tox-run.sh 03:20:09 + 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 03:20:09 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox 03:20:09 + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/docs 03:20:09 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox 03:20:09 + cd /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/. 03:20:09 + source /home/jenkins/lf-env.sh 03:20:09 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 03:20:09 ++ mktemp -d /tmp/venv-XXXX 03:20:09 + lf_venv=/tmp/venv-Houz 03:20:09 + local venv_file=/tmp/.os_lf_venv 03:20:09 + local python=python3 03:20:09 + local options 03:20:09 + local set_path=true 03:20:09 + local install_args= 03:20:09 ++ 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 03:20:09 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:20:09 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 03:20:09 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 03:20:09 + true 03:20:09 + case $1 in 03:20:09 + venv_file=/tmp/.toxenv 03:20:09 + shift 2 03:20:09 + true 03:20:09 + case $1 in 03:20:09 + shift 03:20:09 + break 03:20:09 + case $python in 03:20:09 + local pkg_list= 03:20:09 + [[ -d /opt/pyenv ]] 03:20:09 + echo 'Setup pyenv:' 03:20:09 Setup pyenv: 03:20:09 + export PYENV_ROOT=/opt/pyenv 03:20:09 + PYENV_ROOT=/opt/pyenv 03:20:09 + 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 03:20:09 + 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 03:20:09 + pyenv versions 03:20:09 system 03:20:09 3.8.13 03:20:09 3.9.13 03:20:09 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:20:09 + command -v pyenv 03:20:09 ++ pyenv init - --no-rehash 03:20:09 + 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[*]}"'\'')" 03:20:09 export PATH="/opt/pyenv/shims:${PATH}" 03:20:09 export PYENV_SHELL=bash 03:20:09 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 03:20:09 pyenv() { 03:20:09 local command 03:20:09 command="${1:-}" 03:20:09 if [ "$#" -gt 0 ]; then 03:20:09 shift 03:20:09 fi 03:20:09 03:20:09 case "$command" in 03:20:09 rehash|shell) 03:20:09 eval "$(pyenv "sh-$command" "$@")" 03:20:09 ;; 03:20:09 *) 03:20:09 command pyenv "$command" "$@" 03:20:09 ;; 03:20:09 esac 03:20:09 }' 03:20:09 +++ 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[*]}"' 03:20:09 ++ 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 03:20:09 ++ 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 03:20:09 ++ 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 03:20:09 ++ export PYENV_SHELL=bash 03:20:09 ++ PYENV_SHELL=bash 03:20:09 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 03:20:09 +++ complete -F _pyenv pyenv 03:20:09 ++ lf-pyver python3 03:20:09 ++ local py_version_xy=python3 03:20:09 ++ local py_version_xyz= 03:20:09 ++ pyenv versions 03:20:09 ++ local command 03:20:09 ++ command=versions 03:20:09 ++ '[' 1 -gt 0 ']' 03:20:09 ++ shift 03:20:09 ++ case "$command" in 03:20:09 ++ command pyenv versions 03:20:09 ++ pyenv versions 03:20:09 ++ sed 's/^[ *]* //' 03:20:09 ++ grep -E '^[0-9.]*[0-9]$' 03:20:09 ++ awk '{ print $1 }' 03:20:09 ++ [[ ! -s /tmp/.pyenv_versions ]] 03:20:09 +++ grep '^3' /tmp/.pyenv_versions 03:20:09 +++ sort -V 03:20:09 +++ tail -n 1 03:20:09 ++ py_version_xyz=3.10.6 03:20:09 ++ [[ -z 3.10.6 ]] 03:20:09 ++ echo 3.10.6 03:20:09 ++ return 0 03:20:09 + pyenv local 3.10.6 03:20:09 + local command 03:20:09 + command=local 03:20:09 + '[' 2 -gt 0 ']' 03:20:09 + shift 03:20:09 + case "$command" in 03:20:09 + command pyenv local 3.10.6 03:20:09 + pyenv local 3.10.6 03:20:09 + for arg in "$@" 03:20:09 + case $arg in 03:20:09 + pkg_list+='tox ' 03:20:09 + for arg in "$@" 03:20:09 + case $arg in 03:20:09 + pkg_list+='virtualenv ' 03:20:09 + for arg in "$@" 03:20:09 + case $arg in 03:20:09 + pkg_list+='urllib3~=1.26.15 ' 03:20:09 + [[ -f /tmp/.toxenv ]] 03:20:09 ++ cat /tmp/.toxenv 03:20:09 + lf_venv=/tmp/venv-Dl5K 03:20:09 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dl5K from' file:/tmp/.toxenv 03:20:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dl5K from file:/tmp/.toxenv 03:20:09 + /tmp/venv-Dl5K/bin/python3 -m pip install --upgrade --quiet pip virtualenv 03:20:10 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 03:20:10 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 03:20:10 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 03:20:10 + /tmp/venv-Dl5K/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 03:20:12 + type python3 03:20:12 + true 03:20:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dl5K/bin to PATH' 03:20:12 lf-activate-venv(): INFO: Adding /tmp/venv-Dl5K/bin to PATH 03:20:12 + PATH=/tmp/venv-Dl5K/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 03:20:12 + return 0 03:20:12 + [[ -d /opt/pyenv ]] 03:20:12 + echo '---> Setting up pyenv' 03:20:12 ---> Setting up pyenv 03:20:12 + export PYENV_ROOT=/opt/pyenv 03:20:12 + PYENV_ROOT=/opt/pyenv 03:20:12 + export PATH=/opt/pyenv/bin:/tmp/venv-Dl5K/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 03:20:12 + PATH=/opt/pyenv/bin:/tmp/venv-Dl5K/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 03:20:12 ++ pwd 03:20:12 + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 03:20:12 + export PYTHONPATH 03:20:12 + export TOX_TESTENV_PASSENV=PYTHONPATH 03:20:12 + TOX_TESTENV_PASSENV=PYTHONPATH 03:20:12 + tox --version 03:20:12 4.11.4 from /tmp/venv-Dl5K/lib/python3.10/site-packages/tox/__init__.py 03:20:12 + PARALLEL=False 03:20:12 + TOX_OPTIONS_LIST= 03:20:12 + [[ -n code,flake8 ]] 03:20:12 + TOX_OPTIONS_LIST=' -e code,flake8' 03:20:12 + case ${PARALLEL,,} in 03:20:12 + tox -e code,flake8 03:20:12 + tee -a /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox/tox.log 03:20:13 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 03:20:17 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 03:20:18 .pkg: _optional_hooks> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:20:19 .pkg: get_requires_for_build_sdist> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:20:19 .pkg: get_requires_for_build_wheel> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:20:19 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 03:20:19 .pkg: freeze> python -m pip freeze --all 03:20:19 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 03:20:19 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:20:20 .pkg: build_sdist> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:20:20 code: install_package_deps> python -I -m pip install inotify inotify-simple mdclogpy msgpack 'protobuf<3.21.0' requests 'ricsdl<4.0.0,>=3.0.0' 03:20:27 code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/.tmp/package/1/ricxappframe-3.2.2.tar.gz 03:20:28 code: freeze> python -m pip freeze --all 03:20:28 code: async-timeout==4.0.3,certifi==2023.11.17,charset-normalizer==3.3.2,coverage==7.4.0,exceptiongroup==1.2.0,hiredis==2.0.0,idna==3.6,iniconfig==2.0.0,inotify==0.2.10,inotify-simple==1.3.5,mdclogpy==1.1.4,msgpack==1.0.7,nose==1.3.7,packaging==23.2,pip==23.3.1,pluggy==1.3.0,protobuf==3.20.3,pytest==7.4.4,pytest-cov==4.1.0,redis==4.3.6,requests==2.31.0,ricsdl==3.1.3,ricxappframe @ file:///w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/.tmp/package/1/ricxappframe-3.2.2.tar.gz#sha256=126f412a768bf5ae52fb00395b0ef1be76dd54d3c6d87ac6e265e75dd8670f81,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 03:20:28 code: commands[0]> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml 03:20:29 ============================= test session starts ============================== 03:20:29 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 03:20:29 cachedir: .tox/code/.pytest_cache 03:20:29 rootdir: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 03:20:29 plugins: cov-4.1.0 03:20:29 collected 75 items 03:20:29 03:20:29 tests/test_Logger.py .............. [ 18%] 03:20:30 tests/test_alarm.py .. [ 21%] 03:20:34 tests/test_config.py ... [ 25%] 03:20:49 tests/test_e2ap.py ........ [ 36%] 03:20:49 tests/test_init.py ... [ 40%] 03:20:59 tests/test_metric.py .. [ 42%] 03:21:04 tests/test_rest.py . [ 44%] 03:21:04 tests/test_rmr.py ............. [ 61%] 03:21:13 tests/test_rmr_mocks.py ... [ 65%] 03:21:13 tests/test_rmrclib.py .. [ 68%] 03:21:13 tests/test_sdl.py ..... [ 74%] 03:21:15 tests/test_subscribe.py .... [ 80%] 03:21:15 tests/test_symptomdata.py .... [ 85%] 03:21:15 tests/test_xapps.py .F......... [100%] 03:21:24 03:21:24 =================================== FAILURES =================================== 03:21:24 _____________________________ test_rmr_healthcheck _____________________________ 03:21:24 03:21:24 def test_rmr_healthcheck(): 03:21:24 # thanos uses the rmr xapp to healthcheck the rmr xapp 03:21:24 03:21:24 # test variables 03:21:24 health_pay = None 03:21:24 03:21:24 def post_init(self): 03:21:24 self.rmr_send(b"", Constants.RIC_HEALTH_CHECK_REQ) 03:21:24 03:21:24 def default_handler(self, summary, sbuf): 03:21:24 pass 03:21:24 03:21:24 global rmr_xapp_health 03:21:24 rmr_xapp_health = RMRXapp(default_handler, post_init=post_init, rmr_port=4666, use_fake_sdl=True) 03:21:24 03:21:24 def health_handler(self, summary, sbuf): 03:21:24 nonlocal health_pay 03:21:24 health_pay = summary["payload"] 03:21:24 self.rmr_free(sbuf) 03:21:24 03:21:24 rmr_xapp_health.register_callback(health_handler, Constants.RIC_HEALTH_CHECK_RESP) 03:21:24 rmr_xapp_health.run(thread=True) # in unit tests we need to thread here or else execution is not returned! 03:21:24 03:21:24 time.sleep(1) 03:21:24 03:21:24 > assert health_pay == b"OK\n" 03:21:24 E AssertionError: assert None == b'OK\n' 03:21:24 03:21:24 tests/test_xapps.py:110: AssertionError 03:21:24 ----------------------------- Captured stdout call ----------------------------- 03:21:24 {"ts": 1704165678136, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 03:21:24 Service urlkey : tcp://127.0.0.1:8080 03:21:24 Service urlkey : tcp://127.0.0.1:4560 03:21:24 =============================== warnings summary =============================== 03:21:24 tests/test_init.py::test_init_general_xapp 03:21:24 /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.tox/code/lib/python3.10/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-11 (loop) 03:21:24 03:21:24 Traceback (most recent call last): 03:21:24 File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 950, in loop 03:21:24 with open(self._config_path) as json_file: 03:21:24 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/file.json' 03:21:24 03:21:24 During handling of the above exception, another exception occurred: 03:21:24 03:21:24 Traceback (most recent call last): 03:21:24 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 03:21:24 self.run() 03:21:24 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 03:21:24 self._target(*self._args, **self._kwargs) 03:21:24 File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 956, in loop 03:21:24 raise XappError(f"Error occurred during polling configuration handler: {error}") 03:21:24 ricxappframe.xapp_frame.XappError: Error occurred during polling configuration handler: [Errno 2] No such file or directory: '/tmp/file.json' 03:21:24 03:21:24 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 03:21:24 03:21:24 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 03:21:24 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 03:21:24 03:21:24 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 03:21:24 Name Stmts Miss Cover Missing 03:21:24 ----------------------------------------------------------------------- 03:21:24 ricxappframe/__init__.py 0 0 100% 03:21:24 ricxappframe/alarm/__init__.py 0 0 100% 03:21:24 ricxappframe/alarm/alarm.py 94 2 98% 250-251 03:21:24 ricxappframe/alarm/exceptions.py 2 0 100% 03:21:24 ricxappframe/constants.py 5 0 100% 03:21:24 ricxappframe/e2ap/__init__.py 0 0 100% 03:21:24 ricxappframe/e2ap/asn1.py 224 0 100% 03:21:24 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 03:21:24 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 03:21:24 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 03:21:24 ricxappframe/logger/__init__.py 0 0 100% 03:21:24 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 03:21:24 ricxappframe/metric/__init__.py 0 0 100% 03:21:24 ricxappframe/metric/exceptions.py 2 0 100% 03:21:24 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 03:21:24 ricxappframe/rmr/__init__.py 0 0 100% 03:21:24 ricxappframe/rmr/exceptions.py 4 0 100% 03:21:24 ricxappframe/rmr/helpers.py 28 0 100% 03:21:24 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 03:21:24 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 03:21:24 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 03:21:24 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 03:21:24 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 03:21:24 ricxappframe/util/__init__.py 0 0 100% 03:21:24 ricxappframe/util/constants.py 12 0 100% 03:21:24 ricxappframe/xapp_frame.py 278 27 90% 156, 187, 218-220, 244-246, 260, 279-281, 336-342, 655-656, 744, 792, 867-870, 961 03:21:24 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 03:21:24 ricxappframe/xapp_rmr.py 42 1 98% 134 03:21:24 ricxappframe/xapp_sdl.py 94 1 99% 53 03:21:24 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 03:21:24 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 03:21:24 ----------------------------------------------------------------------- 03:21:24 TOTAL 1530 101 93% 03:21:24 Coverage HTML written to dir htmlcov 03:21:24 Coverage XML written to file coverage.xml 03:21:24 03:21:24 Required test coverage of 70% reached. Total coverage: 93.40% 03:21:24 =========================== short test summary info ============================ 03:21:24 FAILED tests/test_xapps.py::test_rmr_healthcheck - AssertionError: assert Non... 03:21:24 =================== 1 failed, 74 passed, 1 warning in 54.90s =================== 03:21:28 code: exit 1 (59.57 seconds) /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml pid=28070 03:21:28 .pkg: _exit> python /tmp/venv-Dl5K/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 03:21:28 code: FAIL ✖ in 1 minute 15.34 seconds 03:21:28 flake8: install_deps> python -I -m pip install flake8 03:21:30 flake8: freeze> python -m pip freeze --all 03:21:30 flake8: 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 03:21:30 flake8: commands[0]> flake8 setup.py ricxappframe tests 03:21:31 code: FAIL code 1 (75.34=setup[15.76]+cmd[59.57] seconds) 03:21:31 flake8: OK (2.97=setup[2.16]+cmd[0.81] seconds) 03:21:31 evaluation failed :( (78.47 seconds) 03:21:31 + tox_status=255 03:21:31 + echo '---> Completed tox runs' 03:21:31 ---> Completed tox runs 03:21:31 + for i in .tox/*/log 03:21:31 ++ echo .tox/code/log 03:21:31 ++ awk -F/ '{print $2}' 03:21:31 + tox_env=code 03:21:31 + cp -r .tox/code/log /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox/code 03:21:31 + for i in .tox/*/log 03:21:31 ++ echo .tox/flake8/log 03:21:31 ++ awk -F/ '{print $2}' 03:21:31 + tox_env=flake8 03:21:31 + cp -r .tox/flake8/log /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox/flake8 03:21:31 + DOC_DIR=docs/_build/html 03:21:31 + [[ -d docs/_build/html ]] 03:21:31 + echo '---> tox-run.sh ends' 03:21:31 ---> tox-run.sh ends 03:21:31 + test 255 -eq 0 03:21:31 + exit 255 03:21:31 ++ '[' 1 = 1 ']' 03:21:31 ++ '[' -x /usr/bin/clear_console ']' 03:21:31 ++ /usr/bin/clear_console -q 03:21:31 Build step 'Execute shell' marked build as failure 03:21:31 $ ssh-agent -k 03:21:31 unset SSH_AUTH_SOCK; 03:21:31 unset SSH_AGENT_PID; 03:21:31 echo Agent pid 6041 killed; 03:21:31 [ssh-agent] Stopped. 03:21:31 [PostBuildScript] - [INFO] Executing post build scripts. 03:21:31 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins7989745587557770543.sh 03:21:31 ---> sysstat.sh 03:21:31 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins15700237353767192099.sh 03:21:32 ---> package-listing.sh 03:21:32 ++ facter osfamily 03:21:32 ++ tr '[:upper:]' '[:lower:]' 03:21:32 + OS_FAMILY=debian 03:21:32 + workspace=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 03:21:32 + START_PACKAGES=/tmp/packages_start.txt 03:21:32 + END_PACKAGES=/tmp/packages_end.txt 03:21:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:21:32 + PACKAGES=/tmp/packages_start.txt 03:21:32 + '[' /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master ']' 03:21:32 + PACKAGES=/tmp/packages_end.txt 03:21:32 + case "${OS_FAMILY}" in 03:21:32 + grep '^ii' 03:21:32 + dpkg -l 03:21:32 + '[' -f /tmp/packages_start.txt ']' 03:21:32 + '[' -f /tmp/packages_end.txt ']' 03:21:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:21:32 + true 03:21:32 + '[' /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master ']' 03:21:32 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/ 03:21:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/ 03:21:32 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins6399186105921082334.sh 03:21:32 ---> capture-instance-metadata.sh 03:21:32 Setup pyenv: 03:21:32 system 03:21:32 3.8.13 03:21:32 3.9.13 03:21:32 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:21:32 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ah33 from file:/tmp/.os_lf_venv 03:21:33 lf-activate-venv(): INFO: Installing: lftools 03:21:48 lf-activate-venv(): INFO: Adding /tmp/venv-Ah33/bin to PATH 03:21:48 INFO: Running in OpenStack, capturing instance metadata 03:21:48 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins4115229235680272915.sh 03:21:48 provisioning config files... 03:21:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master@tmp/config2629678350946054603tmp 03:21:48 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 03:21:48 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 03:21:48 [EnvInject] - Injecting environment variables from a build step. 03:21:48 [EnvInject] - Injecting as environment variables the properties content 03:21:48 SERVER_ID=logs 03:21:48 03:21:48 [EnvInject] - Variables injected successfully. 03:21:48 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins9024919600099094832.sh 03:21:48 ---> create-netrc.sh 03:21:48 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins10154942936873563221.sh 03:21:48 ---> python-tools-install.sh 03:21:48 Setup pyenv: 03:21:48 system 03:21:48 3.8.13 03:21:48 3.9.13 03:21:48 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:21:48 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ah33 from file:/tmp/.os_lf_venv 03:21:50 lf-activate-venv(): INFO: Installing: lftools 03:22:01 lf-activate-venv(): INFO: Adding /tmp/venv-Ah33/bin to PATH 03:22:01 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins14090474404852139081.sh 03:22:01 ---> sudo-logs.sh 03:22:01 Archiving 'sudo' log.. 03:22:02 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins9552707071471200434.sh 03:22:02 ---> job-cost.sh 03:22:02 Setup pyenv: 03:22:02 system 03:22:02 3.8.13 03:22:02 3.9.13 03:22:02 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:22:02 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ah33 from file:/tmp/.os_lf_venv 03:22:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 03:22:12 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. 03:22:12 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 03:22:12 lf-activate-venv(): INFO: Adding /tmp/venv-Ah33/bin to PATH 03:22:12 INFO: No Stack... 03:22:13 INFO: Retrieving Pricing Info for: v2-highcpu-2 03:22:13 INFO: Archiving Costs 03:22:13 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins6175363139439565116.sh 03:22:13 ---> logs-deploy.sh 03:22:13 Setup pyenv: 03:22:13 system 03:22:13 3.8.13 03:22:13 3.9.13 03:22:13 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 03:22:13 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ah33 from file:/tmp/.os_lf_venv 03:22:15 lf-activate-venv(): INFO: Installing: lftools 03:22:27 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. 03:22:27 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 03:22:27 lf-activate-venv(): INFO: Adding /tmp/venv-Ah33/bin to PATH 03:22:27 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-xapp-frame-py-pypi-verify-master/265 03:22:27 INFO: archiving workspace using pattern(s): 03:22:28 Archives upload complete. 03:22:28 INFO: archiving logs to Nexus 03:22:29 ---> uname -a: 03:22:29 Linux prd-ubuntu1804-builder-2c-2g-2585 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 03:22:29 03:22:29 03:22:29 ---> lscpu: 03:22:29 Architecture: x86_64 03:22:29 CPU op-mode(s): 32-bit, 64-bit 03:22:29 Byte Order: Little Endian 03:22:29 Address sizes: 40 bits physical, 48 bits virtual 03:22:29 CPU(s): 2 03:22:29 On-line CPU(s) list: 0,1 03:22:29 Thread(s) per core: 1 03:22:29 Core(s) per socket: 1 03:22:29 Socket(s): 2 03:22:29 NUMA node(s): 1 03:22:29 Vendor ID: AuthenticAMD 03:22:29 CPU family: 23 03:22:29 Model: 49 03:22:29 Model name: AMD EPYC-Rome Processor 03:22:29 Stepping: 0 03:22:29 CPU MHz: 2800.000 03:22:29 BogoMIPS: 5600.00 03:22:29 Virtualization: AMD-V 03:22:29 Hypervisor vendor: KVM 03:22:29 Virtualization type: full 03:22:29 L1d cache: 64 KiB 03:22:29 L1i cache: 64 KiB 03:22:29 L2 cache: 1 MiB 03:22:29 L3 cache: 32 MiB 03:22:29 NUMA node0 CPU(s): 0,1 03:22:29 Vulnerability Itlb multihit: Not affected 03:22:29 Vulnerability L1tf: Not affected 03:22:29 Vulnerability Mds: Not affected 03:22:29 Vulnerability Meltdown: Not affected 03:22:29 Vulnerability Mmio stale data: Not affected 03:22:29 Vulnerability Retbleed: Vulnerable 03:22:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:22:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:22:29 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 03:22:29 Vulnerability Srbds: Not affected 03:22:29 Vulnerability Tsx async abort: Not affected 03:22:29 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 03:22:29 03:22:29 03:22:29 ---> nproc: 03:22:29 2 03:22:29 03:22:29 03:22:29 ---> df -h: 03:22:29 Filesystem Size Used Avail Use% Mounted on 03:22:29 udev 975M 0 975M 0% /dev 03:22:29 tmpfs 199M 1012K 198M 1% /run 03:22:29 /dev/vda1 20G 8.4G 11G 44% / 03:22:29 tmpfs 992M 0 992M 0% /dev/shm 03:22:29 tmpfs 5.0M 0 5.0M 0% /run/lock 03:22:29 tmpfs 992M 0 992M 0% /sys/fs/cgroup 03:22:29 /dev/loop0 44M 44M 0 100% /snap/snapd/15177 03:22:29 /dev/loop1 62M 62M 0 100% /snap/core20/1405 03:22:29 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 03:22:29 /dev/vda15 105M 6.1M 99M 6% /boot/efi 03:22:29 tmpfs 199M 0 199M 0% /run/user/1001 03:22:29 03:22:29 03:22:29 ---> free -m: 03:22:29 total used free shared buff/cache available 03:22:29 Mem: 1983 394 130 2 1458 1405 03:22:29 Swap: 1023 0 1023 03:22:29 03:22:29 03:22:29 ---> ip addr: 03:22:29 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 03:22:29 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:22:29 inet 127.0.0.1/8 scope host lo 03:22:29 valid_lft forever preferred_lft forever 03:22:29 inet6 ::1/128 scope host 03:22:29 valid_lft forever preferred_lft forever 03:22:29 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 03:22:29 link/ether fa:16:3e:3d:bd:3e brd ff:ff:ff:ff:ff:ff 03:22:29 inet 10.32.6.29/23 brd 10.32.7.255 scope global dynamic ens3 03:22:29 valid_lft 86135sec preferred_lft 86135sec 03:22:29 inet6 fe80::f816:3eff:fe3d:bd3e/64 scope link 03:22:29 valid_lft forever preferred_lft forever 03:22:29 03:22:29 03:22:29 ---> sar -b -r -n DEV: 03:22:29 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2585) 01/02/24 _x86_64_ (2 CPU) 03:22:29 03:22:29 03:18:06 LINUX RESTART (2 CPU) 03:22:29 03:22:29 03:19:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:22:29 03:20:01 126.32 40.76 85.56 0.00 1501.44 13670.63 0.00 03:22:29 03:21:01 78.74 28.08 50.66 0.00 893.58 8411.53 0.00 03:22:29 03:22:01 24.43 5.75 18.68 0.00 504.45 1605.47 0.00 03:22:29 Average: 76.22 24.77 51.44 0.00 963.50 7863.62 0.00 03:22:29 03:22:29 03:19:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:22:29 03:20:01 122276 1457160 336960 16.59 64780 1341080 807940 26.24 424172 1276256 133248 03:22:29 03:21:01 97840 1412672 380292 18.73 70500 1305716 1147588 37.27 500260 1212648 1816 03:22:29 03:22:01 178572 1477344 315856 15.55 74240 1282032 800064 25.98 438236 1189452 38572 03:22:29 Average: 132896 1449059 344369 16.96 69840 1309609 918531 29.83 454223 1226119 57879 03:22:29 03:22:29 03:19:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:22:29 03:20:01 lo 0.54 0.54 0.05 0.05 0.00 0.00 0.00 0.00 03:22:29 03:20:01 ens3 44.76 41.13 587.27 6.15 0.00 0.00 0.00 0.00 03:22:29 03:21:01 lo 1.87 1.87 0.22 0.22 0.00 0.00 0.00 0.00 03:22:29 03:21:01 ens3 28.46 26.58 81.57 7.06 0.00 0.00 0.00 0.00 03:22:29 03:22:01 lo 3.70 3.70 0.53 0.53 0.00 0.00 0.00 0.00 03:22:29 03:22:01 ens3 13.76 13.25 12.28 5.89 0.00 0.00 0.00 0.00 03:22:29 Average: lo 2.04 2.04 0.27 0.27 0.00 0.00 0.00 0.00 03:22:29 Average: ens3 28.91 26.91 225.03 6.37 0.00 0.00 0.00 0.00 03:22:29 03:22:29 03:22:29 ---> sar -P ALL: 03:22:29 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2585) 01/02/24 _x86_64_ (2 CPU) 03:22:29 03:22:29 03:18:06 LINUX RESTART (2 CPU) 03:22:29 03:22:29 03:19:02 CPU %user %nice %system %iowait %steal %idle 03:22:29 03:20:01 all 39.09 6.81 7.19 6.85 0.10 39.96 03:22:29 03:20:01 0 18.35 8.20 7.24 8.92 0.08 57.20 03:22:29 03:20:01 1 60.07 5.40 7.14 4.75 0.12 22.52 03:22:29 03:21:01 all 17.05 0.00 2.00 5.55 0.08 75.32 03:22:29 03:21:01 0 16.64 0.00 1.66 5.18 0.07 76.45 03:22:29 03:21:01 1 17.46 0.00 2.34 5.91 0.08 74.20 03:22:29 03:22:01 all 22.44 0.00 1.50 1.25 0.07 74.75 03:22:29 03:22:01 0 15.70 0.00 1.40 1.55 0.05 81.30 03:22:29 03:22:01 1 29.20 0.00 1.59 0.95 0.08 68.17 03:22:29 Average: all 26.14 2.25 3.55 4.54 0.08 63.44 03:22:29 Average: 0 16.89 2.72 3.42 5.21 0.07 71.69 03:22:29 Average: 1 35.44 1.78 3.67 3.87 0.10 55.15 03:22:29 03:22:29 03:22:29