05:27:22 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-plt/xapp-frame-py/+/12317 05:27:22 Running as SYSTEM 05:27:22 [EnvInject] - Loading node environment variables. 05:27:22 Building remotely on prd-ubuntu1804-builder-2c-2g-2671 (ubuntu1804-builder-2c-2g ubuntu2004-builder-2c-2g) in workspace /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 05:27:22 [ssh-agent] Looking for ssh-agent implementation... 05:27:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:27:22 $ ssh-agent 05:27:22 SSH_AUTH_SOCK=/tmp/ssh-ewRd1UbOhQuV/agent.5588 05:27:22 SSH_AGENT_PID=5590 05:27:22 [ssh-agent] Started. 05:27:22 Running ssh-add (command line suppressed) 05:27:22 Identity added: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master@tmp/private_key_8521198369346369462.key (jenkins-ssh) 05:27:22 [ssh-agent] Using credentials jenkins (jenkins) 05:27:22 The recommended git tool is: NONE 05:27:24 using credential jenkins 05:27:24 Wiping out workspace first. 05:27:24 Cloning the remote Git repository 05:27:24 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 05:27:24 > git init /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master # timeout=10 05:27:24 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 05:27:24 > git --version # timeout=10 05:27:24 > git --version # 'git version 2.25.1' 05:27:24 using GIT_SSH to set credentials jenkins 05:27:25 > 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 05:27:25 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 05:27:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:27:26 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py # timeout=10 05:27:26 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py 05:27:26 using GIT_SSH to set credentials jenkins 05:27:26 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/xapp-frame-py refs/changes/17/12317/16 # timeout=10 05:27:26 > git rev-parse c07bf6bc2488cd44fe68348ec0445af192b5e568^{commit} # timeout=10 05:27:26 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 05:27:26 Checking out Revision c07bf6bc2488cd44fe68348ec0445af192b5e568 (refs/changes/17/12317/16) 05:27:26 > git config core.sparsecheckout # timeout=10 05:27:26 > git checkout -f c07bf6bc2488cd44fe68348ec0445af192b5e568 # timeout=10 05:27:29 Commit message: "RIC-1032: xapp-frame-py block xApp to register when communicating with Rtmgr" 05:27:29 > git rev-parse FETCH_HEAD^{commit} # timeout=10 05:27:29 > git rev-list --no-walk e0de19a1c51e607b7e7a4a71a326a09486583539 # timeout=10 05:27:30 > git remote # timeout=10 05:27:30 > git submodule init # timeout=10 05:27:30 > git submodule sync # timeout=10 05:27:30 > git config --get remote.origin.url # timeout=10 05:27:30 > git submodule init # timeout=10 05:27:30 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 05:27:30 > git config --get submodule.nodeb-rnib.url # timeout=10 05:27:30 > git config -f .gitmodules --get submodule.nodeb-rnib.path # timeout=10 05:27:30 > git submodule update --init --recursive nodeb-rnib # timeout=10 05:27:30 provisioning config files... 05:27:30 copy managed file [npmrc] to file:/home/jenkins/.npmrc 05:27:30 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 05:27:30 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins9121924853349891596.sh 05:27:30 ---> python-tools-install.sh 05:27:30 Setup pyenv: 05:27:30 * system (set by /opt/pyenv/version) 05:27:30 * 3.8.13 (set by /opt/pyenv/version) 05:27:30 * 3.9.13 (set by /opt/pyenv/version) 05:27:30 * 3.10.6 (set by /opt/pyenv/version) 05:27:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kDAe 05:27:36 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 05:27:39 lf-activate-venv(): INFO: Installing: lftools 05:28:18 lf-activate-venv(): INFO: Adding /tmp/venv-kDAe/bin to PATH 05:28:18 Generating Requirements File 05:28:54 Python 3.10.6 05:28:55 pip 23.3.2 from /tmp/venv-kDAe/lib/python3.10/site-packages/pip (python 3.10) 05:28:55 appdirs==1.4.4 05:28:55 argcomplete==3.2.1 05:28:55 aspy.yaml==1.3.0 05:28:55 attrs==23.2.0 05:28:55 autopage==0.5.2 05:28:55 Babel==2.14.0 05:28:55 beautifulsoup4==4.12.2 05:28:55 boto3==1.34.11 05:28:55 botocore==1.34.11 05:28:55 bs4==0.0.1 05:28:55 cachetools==5.3.2 05:28:55 certifi==2023.11.17 05:28:55 cffi==1.16.0 05:28:55 cfgv==3.4.0 05:28:55 chardet==5.2.0 05:28:55 charset-normalizer==3.3.2 05:28:55 click==8.1.7 05:28:55 cliff==4.4.0 05:28:55 cmd2==2.4.3 05:28:55 cryptography==3.3.2 05:28:55 debtcollector==2.5.0 05:28:55 decorator==5.1.1 05:28:55 defusedxml==0.7.1 05:28:55 Deprecated==1.2.14 05:28:55 distlib==0.3.8 05:28:55 dnspython==2.4.2 05:28:55 docker==4.2.2 05:28:55 dogpile.cache==1.3.0 05:28:55 email-validator==2.1.0.post1 05:28:55 filelock==3.13.1 05:28:55 future==0.18.3 05:28:55 gitdb==4.0.11 05:28:55 GitPython==3.1.40 05:28:55 google-auth==2.25.2 05:28:55 httplib2==0.22.0 05:28:55 identify==2.5.33 05:28:55 idna==3.6 05:28:55 importlib-metadata==7.0.1 05:28:55 importlib-resources==1.5.0 05:28:55 iso8601==2.1.0 05:28:55 Jinja2==3.1.2 05:28:55 jmespath==1.0.1 05:28:55 jsonpatch==1.33 05:28:55 jsonpointer==2.4 05:28:55 jsonschema==4.20.0 05:28:55 jsonschema-specifications==2023.12.1 05:28:55 keystoneauth1==5.4.0 05:28:55 kubernetes==28.1.0 05:28:55 lftools==0.37.8 05:28:55 lxml==5.0.0 05:28:55 MarkupSafe==2.1.3 05:28:55 msgpack==1.0.7 05:28:55 multi_key_dict==2.0.3 05:28:55 munch==4.0.0 05:28:55 netaddr==0.10.1 05:28:55 netifaces==0.11.0 05:28:55 niet==1.4.2 05:28:55 nodeenv==1.8.0 05:28:55 oauth2client==4.1.3 05:28:55 oauthlib==3.2.2 05:28:55 openstacksdk==0.62.0 05:28:55 os-client-config==2.1.0 05:28:55 os-service-types==1.7.0 05:28:55 osc-lib==2.9.0 05:28:55 oslo.config==9.2.0 05:28:55 oslo.context==5.3.0 05:28:55 oslo.i18n==6.2.0 05:28:55 oslo.log==5.4.0 05:28:55 oslo.serialization==5.2.0 05:28:55 oslo.utils==6.3.0 05:28:55 packaging==23.2 05:28:55 pbr==6.0.0 05:28:55 platformdirs==4.1.0 05:28:55 prettytable==3.9.0 05:28:55 pyasn1==0.5.1 05:28:55 pyasn1-modules==0.3.0 05:28:55 pycparser==2.21 05:28:55 pygerrit2==2.0.15 05:28:55 PyGithub==2.1.1 05:28:55 pyinotify==0.9.6 05:28:55 PyJWT==2.8.0 05:28:55 PyNaCl==1.5.0 05:28:55 pyparsing==2.4.7 05:28:55 pyperclip==1.8.2 05:28:55 pyrsistent==0.20.0 05:28:55 python-cinderclient==9.4.0 05:28:55 python-dateutil==2.8.2 05:28:55 python-heatclient==3.3.0 05:28:55 python-jenkins==1.8.2 05:28:55 python-keystoneclient==5.2.0 05:28:55 python-magnumclient==4.3.0 05:28:55 python-novaclient==18.4.0 05:28:55 python-openstackclient==6.0.0 05:28:55 python-swiftclient==4.4.0 05:28:55 pytz==2023.3.post1 05:28:55 PyYAML==6.0.1 05:28:55 referencing==0.32.0 05:28:55 requests==2.31.0 05:28:55 requests-oauthlib==1.3.1 05:28:55 requestsexceptions==1.4.0 05:28:55 rfc3986==2.0.0 05:28:55 rpds-py==0.16.2 05:28:55 rsa==4.9 05:28:55 ruamel.yaml==0.18.5 05:28:55 ruamel.yaml.clib==0.2.8 05:28:55 s3transfer==0.10.0 05:28:55 simplejson==3.19.2 05:28:55 six==1.16.0 05:28:55 smmap==5.0.1 05:28:55 soupsieve==2.5 05:28:55 stevedore==5.1.0 05:28:55 tabulate==0.9.0 05:28:55 toml==0.10.2 05:28:55 tomlkit==0.12.3 05:28:55 tqdm==4.66.1 05:28:55 typing_extensions==4.9.0 05:28:55 tzdata==2023.4 05:28:55 urllib3==1.26.18 05:28:55 virtualenv==20.25.0 05:28:55 wcwidth==0.2.12 05:28:55 websocket-client==1.7.0 05:28:55 wrapt==1.16.0 05:28:55 xdg==6.0.0 05:28:55 xmltodict==0.13.0 05:28:55 yq==3.2.3 05:28:55 zipp==3.17.0 05:28:55 [EnvInject] - Injecting environment variables from a build step. 05:28:55 [EnvInject] - Injecting as environment variables the properties content 05:28:55 PYTHON=python3 05:28:55 05:28:55 [EnvInject] - Variables injected successfully. 05:28:55 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins12008727366296660110.sh 05:28:55 ---> tox-install.sh 05:28:55 + source /home/jenkins/lf-env.sh 05:28:55 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:28:55 ++ mktemp -d /tmp/venv-XXXX 05:28:55 + lf_venv=/tmp/venv-9PSc 05:28:55 + local venv_file=/tmp/.os_lf_venv 05:28:55 + local python=python3 05:28:55 + local options 05:28:55 + local set_path=true 05:28:55 + local install_args= 05:28:55 ++ 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 05:28:55 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:28:55 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:28:55 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:28:55 + true 05:28:55 + case $1 in 05:28:55 + venv_file=/tmp/.toxenv 05:28:55 + shift 2 05:28:55 + true 05:28:55 + case $1 in 05:28:55 + shift 05:28:55 + break 05:28:55 + case $python in 05:28:55 + local pkg_list= 05:28:55 + [[ -d /opt/pyenv ]] 05:28:55 + echo 'Setup pyenv:' 05:28:55 Setup pyenv: 05:28:55 + export PYENV_ROOT=/opt/pyenv 05:28:55 + PYENV_ROOT=/opt/pyenv 05:28:55 + 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 05:28:55 + 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 05:28:55 + pyenv versions 05:28:55 system 05:28:55 3.8.13 05:28:55 3.9.13 05:28:55 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:28:55 + command -v pyenv 05:28:55 ++ pyenv init - --no-rehash 05:28:55 + 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[*]}"'\'')" 05:28:55 export PATH="/opt/pyenv/shims:${PATH}" 05:28:55 export PYENV_SHELL=bash 05:28:55 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:28:55 pyenv() { 05:28:55 local command 05:28:55 command="${1:-}" 05:28:55 if [ "$#" -gt 0 ]; then 05:28:55 shift 05:28:55 fi 05:28:55 05:28:55 case "$command" in 05:28:55 rehash|shell) 05:28:55 eval "$(pyenv "sh-$command" "$@")" 05:28:55 ;; 05:28:55 *) 05:28:55 command pyenv "$command" "$@" 05:28:55 ;; 05:28:55 esac 05:28:55 }' 05:28:55 +++ 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[*]}"' 05:28:55 ++ 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 05:28:55 ++ 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 05:28:55 ++ 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 05:28:55 ++ export PYENV_SHELL=bash 05:28:55 ++ PYENV_SHELL=bash 05:28:55 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:28:55 +++ complete -F _pyenv pyenv 05:28:55 ++ lf-pyver python3 05:28:55 ++ local py_version_xy=python3 05:28:55 ++ local py_version_xyz= 05:28:55 ++ grep -E '^[0-9.]*[0-9]$' 05:28:55 ++ awk '{ print $1 }' 05:28:55 ++ sed 's/^[ *]* //' 05:28:55 ++ pyenv versions 05:28:55 ++ local command 05:28:55 ++ command=versions 05:28:55 ++ '[' 1 -gt 0 ']' 05:28:55 ++ shift 05:28:55 ++ case "$command" in 05:28:55 ++ command pyenv versions 05:28:55 ++ pyenv versions 05:28:55 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:28:55 +++ grep '^3' /tmp/.pyenv_versions 05:28:55 +++ sort -V 05:28:55 +++ tail -n 1 05:28:55 ++ py_version_xyz=3.10.6 05:28:55 ++ [[ -z 3.10.6 ]] 05:28:55 ++ echo 3.10.6 05:28:55 ++ return 0 05:28:55 + pyenv local 3.10.6 05:28:55 + local command 05:28:55 + command=local 05:28:55 + '[' 2 -gt 0 ']' 05:28:55 + shift 05:28:55 + case "$command" in 05:28:55 + command pyenv local 3.10.6 05:28:55 + pyenv local 3.10.6 05:28:55 + for arg in "$@" 05:28:55 + case $arg in 05:28:55 + pkg_list+='tox ' 05:28:55 + for arg in "$@" 05:28:55 + case $arg in 05:28:55 + pkg_list+='virtualenv ' 05:28:55 + for arg in "$@" 05:28:55 + case $arg in 05:28:55 + pkg_list+='urllib3~=1.26.15 ' 05:28:55 + [[ -f /tmp/.toxenv ]] 05:28:55 + [[ ! -f /tmp/.toxenv ]] 05:28:55 + [[ -n '' ]] 05:28:55 + python3 -m venv /tmp/venv-9PSc 05:28:59 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9PSc' 05:28:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9PSc 05:28:59 + echo /tmp/venv-9PSc 05:28:59 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 05:28:59 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 05:28:59 + /tmp/venv-9PSc/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:29:02 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:29:02 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:29:02 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:29:02 + /tmp/venv-9PSc/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:29:05 + type python3 05:29:05 + true 05:29:05 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9PSc/bin to PATH' 05:29:05 lf-activate-venv(): INFO: Adding /tmp/venv-9PSc/bin to PATH 05:29:05 + PATH=/tmp/venv-9PSc/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 05:29:05 + return 0 05:29:05 + python3 --version 05:29:05 Python 3.10.6 05:29:05 + python3 -m pip --version 05:29:05 pip 23.3.2 from /tmp/venv-9PSc/lib/python3.10/site-packages/pip (python 3.10) 05:29:05 + python3 -m pip freeze 05:29:06 cachetools==5.3.2 05:29:06 chardet==5.2.0 05:29:06 colorama==0.4.6 05:29:06 distlib==0.3.8 05:29:06 filelock==3.13.1 05:29:06 packaging==23.2 05:29:06 platformdirs==4.1.0 05:29:06 pluggy==1.3.0 05:29:06 pyproject-api==1.6.1 05:29:06 tomli==2.0.1 05:29:06 tox==4.11.4 05:29:06 urllib3==1.26.18 05:29:06 virtualenv==20.25.0 05:29:06 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins7876146984014386141.sh 05:29:06 ---> install-deb-rmr.sh 05:29:06 + version_file=rmr-version.yaml 05:29:06 + [[ -f rmr-version.yaml ]] 05:29:06 ++ grep '^repo:' rmr-version.yaml 05:29:06 ++ xargs 05:29:06 ++ cut -d: -f2 05:29:06 + repo= 05:29:06 ++ xargs 05:29:06 ++ grep '^version:' rmr-version.yaml 05:29:06 ++ cut -d: -f2 05:29:06 + ver=4.9.1 05:29:06 + [[ -z 4.9.1 ]] 05:29:06 + repo=release 05:29:06 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:29:06 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_4.9.1_amd64.deb/download.deb 05:29:06 2024-01-03 05:29:06 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4252893.deb?Expires=1704260046&Signature=sOcAB1nOzNaRmhb05M~pk9iiey-BK6f4tkXA4UgHjhN3f8emZE02BWdUQDi18wk3DhVinfpE2B3SBq0AAJKHX2K5zG8eEmRoRdS5rpjOqvuf0wcdOb7whT0r05FNcmSjBHI~XGbQEhWf6i9scTVLDDnpZhb94BvwmtySNe4RkLWJzcc9SYEvRHYpFkTBSVrReoVIJN4y8-TevkL8u7KaJjpTh5w0Y9kuhVda88yBTecGAi5zyERLE3qRmSy1lJ2mp9lf-GlZqIKfJyvfr5~AqBblQZT6HRzYpEU2dfdhapjObvgeVvPK-kLGcS7-mCdddL9BHq1uhgD9bK-KPZEgJA__&Key-Pair-Id=K1ZMSF1EKC3AZL [243050/243050] -> "rmr_4.9.1_amd64.deb" [1] 05:29:06 + sudo dpkg -i rmr_4.9.1_amd64.deb 05:29:06 Selecting previously unselected package rmr. 05:29:08 (Reading database ... 198606 files and directories currently installed.) 05:29:08 Preparing to unpack rmr_4.9.1_amd64.deb ... 05:29:08 Unpacking rmr (4.9.1) ... 05:29:08 Setting up rmr (4.9.1) ... 05:29:08 + rm -f rmr_4.9.1_amd64.deb 05:29:08 + for deb in "rmr_${ver}_amd64.deb" "rmr-dev_${ver}_amd64.deb" 05:29:08 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_4.9.1_amd64.deb/download.deb 05:29:08 2024-01-03 05:29:08 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/4252891.deb?Expires=1704260048&Signature=Ueyipbd-0izAa2v7FL2BwGDVKc3UG-JRcS-QH1GTOzfMHEgJ2uU9drTGwW3BerZGbo2gC2Vm5oky~H~fugTJn9YzDXGHxrC97MzXtKsg8K4Hgj-Qu3sHmGjCot62E06rYOse24ws~c2pxMr0WtGR11pcuhOJqGIfTTQBk9q4OHpMuIg~Ni9t~OWntXZjDp24ILZd3qEq4UbDpHPQhOAaiKRYtX2j6g9jWLObix5XBoqqd2RBXMRm6GOf9wNJexjQNSMHJczugGf5CfAzENjItS-ri2doQM-agASCkaZeONXC-DEfKwd1oybG47ZGjSyp6chmVfA6qDOaCm~F7zILZg__&Key-Pair-Id=K1ZMSF1EKC3AZL [126164/126164] -> "rmr-dev_4.9.1_amd64.deb" [1] 05:29:08 + sudo dpkg -i rmr-dev_4.9.1_amd64.deb 05:29:08 Selecting previously unselected package rmr-dev. 05:29:08 (Reading database ... 198614 files and directories currently installed.) 05:29:08 Preparing to unpack rmr-dev_4.9.1_amd64.deb ... 05:29:08 Unpacking rmr-dev (4.9.1) ... 05:29:08 Setting up rmr-dev (4.9.1) ... 05:29:08 + rm -f rmr-dev_4.9.1_amd64.deb 05:29:08 + echo '---> install-deb-rmr.sh ends' 05:29:08 ---> install-deb-rmr.sh ends 05:29:08 + echo '---> install-deb-e2ap.sh' 05:29:08 ---> install-deb-e2ap.sh 05:29:08 + set -eux 05:29:08 + version_file=e2ap-version.yaml 05:29:08 + [[ -f e2ap-version.yaml ]] 05:29:08 ++ grep '^repo:' e2ap-version.yaml 05:29:08 ++ xargs 05:29:08 ++ cut -d: -f2 05:29:08 + repo= 05:29:08 ++ grep '^version:' e2ap-version.yaml 05:29:08 ++ xargs 05:29:08 ++ cut -d: -f2 05:29:08 + ver=1.1.0 05:29:08 + [[ -z 1.1.0 ]] 05:29:08 + repo=release 05:29:08 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 05:29:08 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_1.1.0_amd64.deb/download.deb 05:29:09 2024-01-03 05:29:09 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517358.deb?Expires=1704260048&Signature=QupHS1NpE-YAmFxEGJzhnTCeaJByVYmYgqyhNCfp2WuU9LoIR9k1pEA-Mz4xAsetD6-RbgB-XUaoAcdkA4hH8dpYH0uVE2ozbUgvdET72TYJuWfYSLherUU3~DiI64FBsiuy3a7ad3bRx-tizcHUWaa43uW4K0yoZ~pWg2fyQJdUQLNqoRnsEA5mNBnsOxymapKKrsbqF4AskHtuoRlHsvoBH8lsr99kYekZNk5u4MVxNVN3D~CbNcPIoEh~tmAjm35r1fSj3Fd~JFBSCqLNZLGzrHLYxi~O-6e6~bmuUVDw~uTOxHDWT0Ktv3HFUFzqS7BXiGecWnBW-yOStPyhog__&Key-Pair-Id=K1ZMSF1EKC3AZL [341294/341294] -> "riclibe2ap_1.1.0_amd64.deb" [1] 05:29:09 + sudo dpkg -i riclibe2ap_1.1.0_amd64.deb 05:29:09 Selecting previously unselected package riclibe2ap. 05:29:09 (Reading database ... 198621 files and directories currently installed.) 05:29:09 Preparing to unpack riclibe2ap_1.1.0_amd64.deb ... 05:29:09 Unpacking riclibe2ap (1.1.0) ... 05:29:09 Setting up riclibe2ap (1.1.0) ... 05:29:09 + rm -f riclibe2ap_1.1.0_amd64.deb 05:29:09 + for deb in "riclibe2ap_${ver}_amd64.deb" "riclibe2ap-dev_${ver}_amd64.deb" 05:29:09 + wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_1.1.0_amd64.deb/download.deb 05:29:09 2024-01-03 05:29:09 URL:https://d3fo0g5hm7lbuv.cloudfront.net/20756/10598/debian/package_files/2517359.deb?Expires=1704260049&Signature=gGq~m7aVG1kzimuEl2o7eR6uQNg6aX2vppVscBQg2W3c5bPPIqqtLA05lIPb1RRIYBrzWZjJBtpETxp8x7xZiwFXmcDaMrwVUv28JHysPKsr5Nig574y7-1xLuapu2DP2mX1lx-D0jZugucxt~u~w6KEVY~moHigrvTVsDhhXyGc5LC33vc2PBTNH~cjRV44RB-uW21owiQRkqWxtu23T7XBNnx0qJZC1U9kl0ojV43wbO8iXw0i6igaAP5I9Ym7r2eydfP-VYgMaNj5Lco6GTxTn9eh3mU44tzzbyUxzu1RB6wbQbUfmM9Zz919ytcVdmDpK2g~kOC~CflK1QSc0g__&Key-Pair-Id=K1ZMSF1EKC3AZL [823070/823070] -> "riclibe2ap-dev_1.1.0_amd64.deb" [1] 05:29:09 + sudo dpkg -i riclibe2ap-dev_1.1.0_amd64.deb 05:29:09 Selecting previously unselected package riclibe2ap-dev. 05:29:09 (Reading database ... 198624 files and directories currently installed.) 05:29:09 Preparing to unpack riclibe2ap-dev_1.1.0_amd64.deb ... 05:29:09 Unpacking riclibe2ap-dev (1.1.0) ... 05:29:09 Setting up riclibe2ap-dev (1.1.0) ... 05:29:09 + rm -f riclibe2ap-dev_1.1.0_amd64.deb 05:29:09 + echo '---> install-deb-e2ap.sh ends' 05:29:09 ---> install-deb-e2ap.sh ends 05:29:09 [EnvInject] - Injecting environment variables from a build step. 05:29:09 [EnvInject] - Injecting as environment variables the properties content 05:29:09 PARALLEL=False 05:29:09 05:29:09 [EnvInject] - Variables injected successfully. 05:29:09 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins13672366767364587421.sh 05:29:09 ---> tox-run.sh 05:29: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 05:29:09 + ARCHIVE_TOX_DIR=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox 05:29:09 + ARCHIVE_DOC_DIR=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/docs 05:29:09 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox 05:29:09 + cd /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/. 05:29:09 + source /home/jenkins/lf-env.sh 05:29:09 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 05:29:09 ++ mktemp -d /tmp/venv-XXXX 05:29:09 + lf_venv=/tmp/venv-N5Yd 05:29:09 + local venv_file=/tmp/.os_lf_venv 05:29:09 + local python=python3 05:29:09 + local options 05:29:09 + local set_path=true 05:29:09 + local install_args= 05:29: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 05:29:09 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:29:09 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 05:29:09 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 05:29:09 + true 05:29:09 + case $1 in 05:29:09 + venv_file=/tmp/.toxenv 05:29:09 + shift 2 05:29:09 + true 05:29:09 + case $1 in 05:29:09 + shift 05:29:09 + break 05:29:09 + case $python in 05:29:09 + local pkg_list= 05:29:09 + [[ -d /opt/pyenv ]] 05:29:09 + echo 'Setup pyenv:' 05:29:09 Setup pyenv: 05:29:09 + export PYENV_ROOT=/opt/pyenv 05:29:09 + PYENV_ROOT=/opt/pyenv 05:29: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 05:29: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 05:29:09 + pyenv versions 05:29:09 system 05:29:09 3.8.13 05:29:09 3.9.13 05:29:09 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:29:09 + command -v pyenv 05:29:09 ++ pyenv init - --no-rehash 05:29: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[*]}"'\'')" 05:29:09 export PATH="/opt/pyenv/shims:${PATH}" 05:29:09 export PYENV_SHELL=bash 05:29:09 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 05:29:09 pyenv() { 05:29:09 local command 05:29:09 command="${1:-}" 05:29:09 if [ "$#" -gt 0 ]; then 05:29:09 shift 05:29:09 fi 05:29:09 05:29:09 case "$command" in 05:29:09 rehash|shell) 05:29:09 eval "$(pyenv "sh-$command" "$@")" 05:29:09 ;; 05:29:09 *) 05:29:09 command pyenv "$command" "$@" 05:29:09 ;; 05:29:09 esac 05:29:09 }' 05:29: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[*]}"' 05:29: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 05:29: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 05:29: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 05:29:09 ++ export PYENV_SHELL=bash 05:29:09 ++ PYENV_SHELL=bash 05:29:09 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 05:29:09 +++ complete -F _pyenv pyenv 05:29:09 ++ lf-pyver python3 05:29:09 ++ local py_version_xy=python3 05:29:09 ++ local py_version_xyz= 05:29:09 ++ pyenv versions 05:29:09 ++ local command 05:29:09 ++ command=versions 05:29:09 ++ '[' 1 -gt 0 ']' 05:29:09 ++ shift 05:29:09 ++ case "$command" in 05:29:09 ++ command pyenv versions 05:29:09 ++ pyenv versions 05:29:09 ++ awk '{ print $1 }' 05:29:09 ++ sed 's/^[ *]* //' 05:29:09 ++ grep -E '^[0-9.]*[0-9]$' 05:29:09 ++ [[ ! -s /tmp/.pyenv_versions ]] 05:29:09 +++ tail -n 1 05:29:09 +++ grep '^3' /tmp/.pyenv_versions 05:29:09 +++ sort -V 05:29:09 ++ py_version_xyz=3.10.6 05:29:09 ++ [[ -z 3.10.6 ]] 05:29:09 ++ echo 3.10.6 05:29:09 ++ return 0 05:29:09 + pyenv local 3.10.6 05:29:09 + local command 05:29:09 + command=local 05:29:09 + '[' 2 -gt 0 ']' 05:29:09 + shift 05:29:09 + case "$command" in 05:29:09 + command pyenv local 3.10.6 05:29:09 + pyenv local 3.10.6 05:29:09 + for arg in "$@" 05:29:09 + case $arg in 05:29:09 + pkg_list+='tox ' 05:29:09 + for arg in "$@" 05:29:09 + case $arg in 05:29:09 + pkg_list+='virtualenv ' 05:29:09 + for arg in "$@" 05:29:09 + case $arg in 05:29:09 + pkg_list+='urllib3~=1.26.15 ' 05:29:09 + [[ -f /tmp/.toxenv ]] 05:29:09 ++ cat /tmp/.toxenv 05:29:09 + lf_venv=/tmp/venv-9PSc 05:29:09 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9PSc from' file:/tmp/.toxenv 05:29:09 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-9PSc from file:/tmp/.toxenv 05:29:09 + /tmp/venv-9PSc/bin/python3 -m pip install --upgrade --quiet pip virtualenv 05:29:10 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 05:29:10 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 05:29:10 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 05:29:10 + /tmp/venv-9PSc/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 05:29:12 + type python3 05:29:12 + true 05:29:12 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-9PSc/bin to PATH' 05:29:12 lf-activate-venv(): INFO: Adding /tmp/venv-9PSc/bin to PATH 05:29:12 + PATH=/tmp/venv-9PSc/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 05:29:12 + return 0 05:29:12 + [[ -d /opt/pyenv ]] 05:29:12 + echo '---> Setting up pyenv' 05:29:12 ---> Setting up pyenv 05:29:12 + export PYENV_ROOT=/opt/pyenv 05:29:12 + PYENV_ROOT=/opt/pyenv 05:29:12 + export PATH=/opt/pyenv/bin:/tmp/venv-9PSc/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 05:29:12 + PATH=/opt/pyenv/bin:/tmp/venv-9PSc/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 05:29:12 ++ pwd 05:29:12 + PYTHONPATH=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 05:29:12 + export PYTHONPATH 05:29:12 + export TOX_TESTENV_PASSENV=PYTHONPATH 05:29:12 + TOX_TESTENV_PASSENV=PYTHONPATH 05:29:12 + tox --version 05:29:12 4.11.4 from /tmp/venv-9PSc/lib/python3.10/site-packages/tox/__init__.py 05:29:12 + PARALLEL=False 05:29:12 + TOX_OPTIONS_LIST= 05:29:12 + [[ -n code,flake8 ]] 05:29:12 + TOX_OPTIONS_LIST=' -e code,flake8' 05:29:12 + case ${PARALLEL,,} in 05:29:12 + tee -a /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/tox/tox.log 05:29:12 + tox -e code,flake8 05:29:13 code: install_deps> python -I -m pip install coverage pytest pytest-cov six 05:29:17 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel 05:29:18 .pkg: _optional_hooks> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:29:19 .pkg: get_requires_for_build_sdist> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:29:19 .pkg: get_requires_for_build_wheel> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:29:19 .pkg: install_requires_for_build_wheel> python -I -m pip install wheel 05:29:19 .pkg: freeze> python -m pip freeze --all 05:29:20 .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 05:29:20 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:29:20 .pkg: build_sdist> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:29: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' 05:29: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 05:29:28 code: freeze> python -m pip freeze --all 05:29:29 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=05901393b9598ee7ad1e81f131b6e395652f522f63ceec1062a54f5581463f06,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,urllib3==2.1.0,wheel==0.42.0 05:29:29 code: commands[0]> pytest --cov ricxappframe --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml 05:29:30 ============================= test session starts ============================== 05:29:30 platform linux -- Python 3.10.6, pytest-7.4.4, pluggy-1.3.0 05:29:30 cachedir: .tox/code/.pytest_cache 05:29:30 rootdir: /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 05:29:30 plugins: cov-4.1.0 05:29:30 collected 75 items 05:29:30 05:29:30 tests/test_Logger.py .............. [ 18%] 05:29:30 tests/test_alarm.py 1704259772680 28105/RMR [INFO] sends: ts=1704259772 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:32 1704259772680 28105/RMR [INFO] sends: ts=1704259772 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:32 1704259772680 28105/RMR [INFO] sends: ts=1704259772 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:32 1704259772680 28105/RMR [INFO] sends: ts=1704259772 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:32 .. [ 21%] 05:29:35 tests/test_config.py FFF [ 25%] 05:29:44 tests/test_e2ap.py ........ [ 36%] 05:29:44 tests/test_init.py .F1704259786625 28105/RMR [INFO] sends: ts=1704259786 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:46 1704259786625 28105/RMR [INFO] sends: ts=1704259786 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:46 1704259786625 28105/RMR [INFO] sends: ts=1704259786 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:46 1704259786625 28105/RMR [INFO] sends: ts=1704259786 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:46 F [ 40%] 05:29:46 tests/test_metric.py .. [ 42%] 05:29:51 tests/test_rest.py . [ 44%] 05:29:51 tests/test_rmr.py 1704259794232 28105/RMR [INFO] sends: ts=1704259794 src=prd-ubuntu1804-builder-2c-2g-2671:3564 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:54 1704259794232 28105/RMR [INFO] sends: ts=1704259794 src=prd-ubuntu1804-builder-2c-2g-2671:3564 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:54 1704259794232 28105/RMR [INFO] sends: ts=1704259794 src=prd-ubuntu1804-builder-2c-2g-2671:3564 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:54 1704259794232 28105/RMR [INFO] sends: ts=1704259794 src=prd-ubuntu1804-builder-2c-2g-2671:3564 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:29:54 ............. [ 61%] 05:30:00 tests/test_rmr_mocks.py ... [ 65%] 05:30:00 tests/test_rmrclib.py .. [ 68%] 05:30:01 tests/test_sdl.py ..... [ 74%] 05:30:02 tests/test_subscribe.py .... [ 80%] 05:30:02 tests/test_symptomdata.py .... [ 85%] 05:30:02 tests/test_xapps.py ..FFFFFFFFF [100%] 05:30:07 05:30:07 =================================== FAILURES =================================== 05:30:07 ______________________________ test_config_no_env ______________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f56654f0970> 05:30:07 05:30:07 def test_config_no_env(monkeypatch): 05:30:07 init_config_file() 05:30:07 monkeypatch.delenv(Constants.CONFIG_FILE_ENV, raising=False) 05:30:07 05:30:07 config_event_seen = False 05:30:07 05:30:07 def config_handler(self, json): 05:30:07 nonlocal config_event_seen 05:30:07 config_event_seen = True 05:30:07 05:30:07 global rmr_xapp_noconfig 05:30:07 rmr_xapp_noconfig = RMRXapp(default_rmr_handler, config_handler=config_handler, rmr_port=4652, use_fake_sdl=True) 05:30:07 # in unit tests we need to thread here or else execution is not returned! 05:30:07 rmr_xapp_noconfig.run(thread=True, rmr_timeout=1) 05:30:07 05:30:07 write_config_file() 05:30:07 # give the work loop a chance to timeout on RMR and process the config event 05:30:07 time.sleep(3) 05:30:07 assert not config_event_seen 05:30:07 > rmr_xapp_noconfig.stop() 05:30:07 05:30:07 tests/test_config.py:67: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:975: in stop 05:30:07 super().stop() 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259775256, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ----------------------------- Captured stderr call ----------------------------- 05:30:07 1704259776255 28105/RMR [INFO] sends: ts=1704259776 src=prd-ubuntu1804-builder-2c-2g-2671:4652 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259776255 28105/RMR [INFO] sends: ts=1704259776 src=prd-ubuntu1804-builder-2c-2g-2671:4652 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259776255 28105/RMR [INFO] sends: ts=1704259776 src=prd-ubuntu1804-builder-2c-2g-2671:4652 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259776255 28105/RMR [INFO] sends: ts=1704259776 src=prd-ubuntu1804-builder-2c-2g-2671:4652 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 _________________________ test_default_config_handler __________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 def test_default_config_handler(): 05:30:07 """Just for coverage""" 05:30:07 init_config_file() 05:30:07 05:30:07 # listen port is irrelevant, no messages arrive 05:30:07 global rmr_xapp_defconfig 05:30:07 rmr_xapp_defconfig = RMRXapp(default_rmr_handler, rmr_port=4567, use_fake_sdl=True) 05:30:07 # in unit tests we need to thread here or else execution is not returned! 05:30:07 rmr_xapp_defconfig.run(thread=True, rmr_timeout=1) 05:30:07 write_config_file() 05:30:07 # give the work loop a chance to timeout on RMR and process the config event 05:30:07 time.sleep(3) 05:30:07 > rmr_xapp_defconfig.stop() 05:30:07 05:30:07 tests/test_config.py:83: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:975: in stop 05:30:07 super().stop() 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ----------------------------- Captured stderr call ----------------------------- 05:30:07 1704259779373 28105/RMR [INFO] sends: ts=1704259779 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259779373 28105/RMR [INFO] sends: ts=1704259779 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259779373 28105/RMR [INFO] sends: ts=1704259779 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259779373 28105/RMR [INFO] sends: ts=1704259779 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 __________________________ test_custom_config_handler __________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 def test_custom_config_handler(): 05:30:07 # point watcher at the file 05:30:07 init_config_file() 05:30:07 05:30:07 startup_config_event = False 05:30:07 change_config_event = False 05:30:07 05:30:07 def config_handler(self, json): 05:30:07 mdc_logger.info("config_handler: json {}".format(json)) 05:30:07 nonlocal startup_config_event 05:30:07 nonlocal change_config_event 05:30:07 if "start" in json: 05:30:07 startup_config_event = True 05:30:07 if "change" in json: 05:30:07 change_config_event = True 05:30:07 05:30:07 # listen port is irrelevant, no messages arrive 05:30:07 global rmr_xapp_config 05:30:07 rmr_xapp_config = RMRXapp(default_rmr_handler, config_handler=config_handler, rmr_port=4567, use_fake_sdl=True) 05:30:07 assert startup_config_event 05:30:07 rmr_xapp_config.run(thread=True, rmr_timeout=1) # in unit tests we need to thread here or else execution is not returned! 05:30:07 write_config_file() 05:30:07 # give the work loop a chance to timeout on RMR and process the config event 05:30:07 time.sleep(3) 05:30:07 assert change_config_event 05:30:07 > rmr_xapp_config.stop() 05:30:07 05:30:07 tests/test_config.py:112: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:975: in stop 05:30:07 super().stop() 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ----------------------------- Captured stderr call ----------------------------- 05:30:07 1704259782453 28105/RMR [INFO] sends: ts=1704259782 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259782453 28105/RMR [INFO] sends: ts=1704259782 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259782453 28105/RMR [INFO] sends: ts=1704259782 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259782453 28105/RMR [INFO] sends: ts=1704259782 src=prd-ubuntu1804-builder-2c-2g-2671:4567 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 ____________________________ test_init_general_xapp ____________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 def test_init_general_xapp(): 05:30:07 def entry(self): 05:30:07 # normally we would have some kind of loop here 05:30:07 print("bye") 05:30:07 05:30:07 gen_xapp = Xapp(xapp_ready_cb=entry, use_fake_sdl=True) 05:30:07 gen_xapp.run() 05:30:07 time.sleep(1) 05:30:07 > gen_xapp.stop() # pytest will never return without this. 05:30:07 05:30:07 tests/test_init.py:49: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259784545, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 bye 05:30:07 ----------------------------- Captured stderr call ----------------------------- 05:30:07 1704259785545 28105/RMR [INFO] sends: ts=1704259785 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:4569 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259785545 28105/RMR [INFO] sends: ts=1704259785 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:4564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259785545 28105/RMR [INFO] sends: ts=1704259785 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:3564 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 1704259785545 28105/RMR [INFO] sends: ts=1704259785 src=prd-ubuntu1804-builder-2c-2g-2671:4562 target=127.0.0.1:3563 open=0 succ=0 fail=0 (hard=0 soft=0) 05:30:07 ______________________________ test_init_rmr_xapp ______________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 def test_init_rmr_xapp(): 05:30:07 def post_init(self): 05:30:07 print("hey") 05:30:07 05:30:07 def foo(self, _summary, _sbuf): 05:30:07 pass 05:30:07 05:30:07 rmr_xapp = RMRXapp(foo, post_init=post_init, use_fake_sdl=True) 05:30:07 # pytest will never return without thread and stop 05:30:07 rmr_xapp.run(thread=True) 05:30:07 time.sleep(1) 05:30:07 > rmr_xapp.stop() 05:30:07 05:30:07 tests/test_init.py:63: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:975: in stop 05:30:07 super().stop() 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259785613, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 hey 05:30:07 ___________________________ test_rnib_get_list_nodeb ___________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_information = [b'\n\nnodeb_5678\x12\x14\n\tplmn_5678\x12\x07nb_5678\x18\x06', b''] 05:30:07 05:30:07 def test_rnib_get_list_nodeb(rnib_information): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 05:30:07 # Test there is no rnib information. 05:30:07 gnb_list = rnib_xapp.get_list_gnb_ids() 05:30:07 enb_list = rnib_xapp.get_list_enb_ids() 05:30:07 assert len(gnb_list) == 0 05:30:07 assert len(enb_list) == 0 05:30:07 05:30:07 # Add rnib information directly. 05:30:07 for rnib in rnib_information: 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "ENB", rnib, usemsgpack=False) 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "GNB", rnib, usemsgpack=False) 05:30:07 05:30:07 gnb_list = rnib_xapp.get_list_gnb_ids() 05:30:07 assert len(gnb_list) == len(rnib_information) 05:30:07 for gnb in gnb_list: 05:30:07 assert gnb.SerializeToString() in rnib_information 05:30:07 05:30:07 enb_list = rnib_xapp.get_list_enb_ids() 05:30:07 assert len(enb_list) == len(rnib_information) 05:30:07 for enb in enb_list: 05:30:07 assert enb.SerializeToString() in rnib_information 05:30:07 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:138: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806206, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 _________________________ test_rnib_get_list_all_nodeb _________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_information = [b'\n\nnodeb_5678\x12\x14\n\tplmn_5678\x12\x07nb_5678\x18\x06', b''] 05:30:07 05:30:07 def test_rnib_get_list_all_nodeb(rnib_information): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 05:30:07 # Add rnib information directly. 05:30:07 for rnib in rnib_information: 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "GNB", rnib, usemsgpack=False) 05:30:07 05:30:07 nb_list = rnib_xapp.GetListNodebIds() 05:30:07 assert len(nb_list) == 2 05:30:07 05:30:07 for rnib in rnib_information: 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "ENB", rnib, usemsgpack=False) 05:30:07 05:30:07 nb_list = rnib_xapp.GetListNodebIds() 05:30:07 assert len(nb_list) == 4 05:30:07 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:158: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806275, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ___________________________ test_rnib_get_list_cells ___________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_cellinformation = [b'\x08\x01', b'\x08\x01'] 05:30:07 05:30:07 def test_rnib_get_list_cells(rnib_cellinformation): 05:30:07 global rnib_xapp 05:30:07 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 05:30:07 mynb = pb_nb.NbIdentity() 05:30:07 mynb.inventory_name = "nodeb_1234" 05:30:07 mynb.global_nb_id.plmn_id = "plmn_1234" 05:30:07 mynb.global_nb_id.nb_id = "nb_1234" 05:30:07 mynb.connection_status = 1 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "ENB", mynb.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 # Add rnib information directly. 05:30:07 for rnib in rnib_cellinformation: 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "ENBCELL1", rnib, usemsgpack=False) 05:30:07 rnib_xapp.sdl.add_member(sdl_namespaces.E2_MANAGER, "ENBCELL2", rnib, usemsgpack=False) 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:177: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ---------------------------- Captured stdout setup ----------------------------- 05:30:07 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806339, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 _____________________________ test_rnib_get_nodeb ______________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_nodeb(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 nb1 = rnib_helpers.createNodebInfo('nodeb_1234', 'GNB', '192.168.1.1', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1234', nb1.SerializeToString(), usemsgpack=False) 05:30:07 nb2 = rnib_helpers.createNodebInfo('nodeb_1234', 'ENB', '192.168.1.2', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1235', nb2.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 gnb = rnib_xapp.GetNodeb('nodeb_1235') 05:30:07 assert gnb == nb2 05:30:07 gnb = rnib_xapp.GetNodeb('nodeb_1234') 05:30:07 assert gnb == nb1 05:30:07 gnb = rnib_xapp.GetNodeb('nodeb_1230') 05:30:07 assert gnb is None 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:194: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806404, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ______________________________ test_rnib_get_cell ______________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_cell(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 c1 = rnib_helpers.createCell('c1234', 8) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "PCI:c1234:08", c1.SerializeToString(), usemsgpack=False) 05:30:07 c2 = rnib_helpers.createCell('c1235', 11) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "PCI:c1235:0b", c2.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 cell = rnib_xapp.GetCell('c1235', 11) 05:30:07 assert cell == c2 05:30:07 cell = rnib_xapp.GetCell('c1234', 8) 05:30:07 assert cell == c1 05:30:07 cell = rnib_xapp.GetCell('c1236', 11) 05:30:07 assert cell is None 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:211: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806468, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 ___________________________ test_rnib_get_cell_by_id ___________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_cell_by_id(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 c1 = rnib_helpers.createCell('c1234', 8) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "CELL:c1234", c1.SerializeToString(), usemsgpack=False) 05:30:07 c2 = rnib_helpers.createCell('c1235', 11) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "CELL:c1235", c2.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 cell = rnib_xapp.GetCellById('LTE_CELL', 'c1235') 05:30:07 assert cell == c2 05:30:07 cell = rnib_xapp.GetCellById('LTE_CELL', 'c1234') 05:30:07 assert cell == c1 05:30:07 cell = rnib_xapp.GetCellById('LTE_CELL', 'c1236') 05:30:07 assert cell is None 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:228: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806529, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 _____________________________ test_rnib_get_cells ______________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_cells(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 nb1 = rnib_helpers.createNodebInfo('nodeb_1234', 'GNB', '192.168.1.1', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1234', nb1.SerializeToString(), usemsgpack=False) 05:30:07 nb2 = rnib_helpers.createNodebInfo('nodeb_1234', 'ENB', '192.168.1.2', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1235', nb2.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 sc = rnib_xapp.GetCellList('nodeb_1235') 05:30:07 assert sc == nb2.enb.served_cells 05:30:07 sc = rnib_xapp.GetCellList('nodeb_1234') 05:30:07 assert sc == nb1.gnb.served_nr_cells 05:30:07 sc = rnib_xapp.GetCellList('nodeb_1230') 05:30:07 assert sc is None 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:245: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806591, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 __________________________ test_rnib_get_global_nodeb __________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_global_nodeb(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 nb1 = rnib_helpers.createNodeb('nodeb_1234', '358', 'nb_1234') 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "GNB:" + '358:' + 'nodeb_1234', nb1.SerializeToString(), usemsgpack=False) 05:30:07 nb2 = rnib_helpers.createNodeb('nodeb_1235', '356', 'nb_1235') 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "GNB:" + '356:' + 'nodeb_1235', nb2.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 gnb = rnib_xapp.GetNodebByGlobalNbId('GNB', '356', 'nodeb_1235') 05:30:07 assert gnb == nb2 05:30:07 gnb = rnib_xapp.GetNodebByGlobalNbId('GNB', '358', 'nodeb_1234') 05:30:07 assert gnb == nb1 05:30:07 gnb = rnib_xapp.GetNodebByGlobalNbId('GNB', '356', 'nodeb_1230') 05:30:07 assert gnb is None 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:262: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806674, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 __________________________ test_rnib_get_ranfunction ___________________________ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 > raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 E ricxappframe.xapp_frame.XappError: Response with status code: 200, message: Mocked response 05:30:07 05:30:07 ricxappframe/xapp_frame.py:254: XappError 05:30:07 05:30:07 The above exception was the direct cause of the following exception: 05:30:07 05:30:07 rnib_helpers = 05:30:07 05:30:07 def test_rnib_get_ranfunction(rnib_helpers): 05:30:07 global rnib_xapp 05:30:07 rnib_xapp = _BaseXapp(rmr_port=4777, use_fake_sdl=True) 05:30:07 nb1 = rnib_helpers.createNodebInfo('nodeb_1234', 'GNB', '192.168.1.1', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1234', nb1.SerializeToString(), usemsgpack=False) 05:30:07 nb2 = rnib_helpers.createNodebInfo('nodeb_1235', 'GNB', '192.168.1.2', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1235', nb2.SerializeToString(), usemsgpack=False) 05:30:07 nb3 = rnib_helpers.createNodebInfo('nodeb_1236', 'GNB', '192.168.1.2', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1236', nb3.SerializeToString(), usemsgpack=False) 05:30:07 nb4 = rnib_helpers.createNodebInfo('nodeb_1237', 'GNB', '192.168.1.2', 8088) 05:30:07 rnib_xapp.sdl.set(sdl_namespaces.E2_MANAGER, "RAN:" + 'nodeb_1237', nb4.SerializeToString(), usemsgpack=False) 05:30:07 05:30:07 sc = rnib_xapp.GetRanFunctionDefinition('nodeb_1235', "1.3.6.1.4.1.1.2.2.2") 05:30:07 assert sc == ['te524367153'] 05:30:07 sc = rnib_xapp.GetRanFunctionDefinition('nodeb_1235', "1.3.6.1.4.1.1.2.2.5") 05:30:07 assert sc == [] 05:30:07 > rnib_xapp.stop() 05:30:07 05:30:07 tests/test_xapps.py:281: 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 ricxappframe/xapp_frame.py:802: in stop 05:30:07 self.xapp_shutdown() 05:30:07 ricxappframe/xapp_frame.py:274: in xapp_shutdown 05:30:07 self.deregister() 05:30:07 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 05:30:07 05:30:07 self = 05:30:07 05:30:07 def deregister(self): 05:30:07 """ 05:30:07 Function to deregister the xapp 05:30:07 05:30:07 Raises: 05:30:07 XappError: De-registration failed 05:30:07 """ 05:30:07 xappname = self._config_data.get("name") 05:30:07 pltnamespace = os.environ.get("PLT_NAMESPACE", Constants.DEFAULT_PLT_NS) 05:30:07 05:30:07 request_string = { 05:30:07 "appName": xappname, 05:30:07 "appInstanceName": xappname, 05:30:07 } 05:30:07 05:30:07 dereg_url = Constants.DEREGISTER_PATH.format(pltnamespace, pltnamespace) 05:30:07 05:30:07 try: 05:30:07 self.logger.debug(f'De-registration endpoint: {dereg_url}, request: {request_string}') 05:30:07 05:30:07 resp = self._do_post(dereg_url, request_string) 05:30:07 05:30:07 if resp.status_code == 204: 05:30:07 self.logger.info('Xapp de-registered') 05:30:07 self._is_registered = False 05:30:07 return 05:30:07 05:30:07 raise XappError(f"Response with status code: {resp.status_code}, message: {resp.text}") 05:30:07 except Exception as e: 05:30:07 > raise XappError("De-registration failed") from e 05:30:07 E ricxappframe.xapp_frame.XappError: De-registration failed 05:30:07 05:30:07 ricxappframe/xapp_frame.py:256: XappError 05:30:07 ----------------------------- Captured stdout call ----------------------------- 05:30:07 {"ts": 1704259806736, "crit": "ERROR", "id": "ricxappframe.xapp_frame", "mdc": {}, "msg": "__init__: Cannot Read config file for xapp Registration"} 05:30:07 Service urlkey : tcp://127.0.0.1:8080 05:30:07 Service urlkey : tcp://127.0.0.1:4560 05:30:07 =============================== warnings summary =============================== 05:30:07 tests/test_init.py::test_init_general_xapp 05:30:07 /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) 05:30:07 05:30:07 Traceback (most recent call last): 05:30:07 File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 958, in loop 05:30:07 with open(self._config_path) as json_file: 05:30:07 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/file.json' 05:30:07 05:30:07 During handling of the above exception, another exception occurred: 05:30:07 05:30:07 Traceback (most recent call last): 05:30:07 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 05:30:07 self.run() 05:30:07 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 05:30:07 self._target(*self._args, **self._kwargs) 05:30:07 File "/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/ricxappframe/xapp_frame.py", line 964, in loop 05:30:07 raise XappError(f"Error occurred during polling configuration handler: {error}") 05:30:07 ricxappframe.xapp_frame.XappError: Error occurred during polling configuration handler: [Errno 2] No such file or directory: '/tmp/file.json' 05:30:07 05:30:07 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 05:30:07 05:30:07 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 05:30:07 ---------------------- generated xml file: /tmp/tests.xml ---------------------- 05:30:07 05:30:07 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 05:30:07 Name Stmts Miss Cover Missing 05:30:07 ----------------------------------------------------------------------- 05:30:07 ricxappframe/__init__.py 0 0 100% 05:30:07 ricxappframe/alarm/__init__.py 0 0 100% 05:30:07 ricxappframe/alarm/alarm.py 94 2 98% 250-251 05:30:07 ricxappframe/alarm/exceptions.py 2 0 100% 05:30:07 ricxappframe/constants.py 5 0 100% 05:30:07 ricxappframe/e2ap/__init__.py 0 0 100% 05:30:07 ricxappframe/e2ap/asn1.py 224 0 100% 05:30:07 ricxappframe/e2ap/asn1clib/__init__.py 0 0 100% 05:30:07 ricxappframe/e2ap/asn1clib/asn1clib.py 2 0 100% 05:30:07 ricxappframe/e2ap/asn1clib/types.py 16 0 100% 05:30:07 ricxappframe/logger/__init__.py 0 0 100% 05:30:07 ricxappframe/logger/mdclogger.py 133 22 83% 83-87, 95, 188-189, 196, 198, 200, 202, 220-224, 227-234 05:30:07 ricxappframe/metric/__init__.py 0 0 100% 05:30:07 ricxappframe/metric/exceptions.py 2 0 100% 05:30:07 ricxappframe/metric/metric.py 58 3 95% 122, 201-202 05:30:07 ricxappframe/rmr/__init__.py 0 0 100% 05:30:07 ricxappframe/rmr/exceptions.py 4 0 100% 05:30:07 ricxappframe/rmr/helpers.py 28 0 100% 05:30:07 ricxappframe/rmr/rmr.py 156 3 98% 257, 454, 544 05:30:07 ricxappframe/rmr/rmr_mocks/__init__.py 0 0 100% 05:30:07 ricxappframe/rmr/rmr_mocks/rmr_mocks.py 78 6 92% 39, 59, 79, 115, 133, 148 05:30:07 ricxappframe/rmr/rmrclib/__init__.py 0 0 100% 05:30:07 ricxappframe/rmr/rmrclib/rmrclib.py 38 1 97% 53 05:30:07 ricxappframe/util/__init__.py 0 0 100% 05:30:07 ricxappframe/util/constants.py 12 0 100% 05:30:07 ricxappframe/xapp_frame.py 282 24 91% 156, 222-224, 250-252, 268, 275, 287-289, 318-319, 349-350, 663-664, 752, 800, 804, 969, 976-977 05:30:07 ricxappframe/xapp_rest.py 91 12 87% 66, 72-74, 131-132, 142-143, 155-156, 191-193 05:30:07 ricxappframe/xapp_rmr.py 42 9 79% 95-96, 109-115 05:30:07 ricxappframe/xapp_sdl.py 94 1 99% 53 05:30:07 ricxappframe/xapp_subscribe.py 54 3 94% 64, 103, 171 05:30:07 ricxappframe/xapp_symptomdata.py 119 20 83% 43, 111-116, 152, 154-156, 160-161, 200-201, 221-224, 228 05:30:07 ----------------------------------------------------------------------- 05:30:07 TOTAL 1534 106 93% 05:30:07 Coverage HTML written to dir htmlcov 05:30:07 Coverage XML written to file coverage.xml 05:30:07 05:30:07 Required test coverage of 70% reached. Total coverage: 93.09% 05:30:07 =========================== short test summary info ============================ 05:30:07 FAILED tests/test_config.py::test_config_no_env - ricxappframe.xapp_frame.Xap... 05:30:07 FAILED tests/test_config.py::test_default_config_handler - ricxappframe.xapp_... 05:30:07 FAILED tests/test_config.py::test_custom_config_handler - ricxappframe.xapp_f... 05:30:07 FAILED tests/test_init.py::test_init_general_xapp - ricxappframe.xapp_frame.X... 05:30:07 FAILED tests/test_init.py::test_init_rmr_xapp - ricxappframe.xapp_frame.XappE... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_list_nodeb - ricxappframe.xapp_fram... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_list_all_nodeb - ricxappframe.xapp_... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_list_cells - ricxappframe.xapp_fram... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_nodeb - ricxappframe.xapp_frame.Xap... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_cell - ricxappframe.xapp_frame.Xapp... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_cell_by_id - ricxappframe.xapp_fram... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_cells - ricxappframe.xapp_frame.Xap... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_global_nodeb - ricxappframe.xapp_fr... 05:30:07 FAILED tests/test_xapps.py::test_rnib_get_ranfunction - ricxappframe.xapp_fra... 05:30:07 ================== 14 failed, 61 passed, 1 warning in 37.78s =================== 05:42:30 Build timed out (after 15 minutes). Marking the build as failed. 05:42:30 $ ssh-agent -k 05:42:30 unset SSH_AUTH_SOCK; 05:42:30 unset SSH_AGENT_PID; 05:42:30 echo Agent pid 5590 killed; 05:42:30 [ssh-agent] Stopped. 05:42:30 Build was aborted 05:42:30 [PostBuildScript] - [INFO] Executing post build scripts. 05:42:30 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins18258724934858203072.sh 05:42:30 ---> sysstat.sh 05:42:31 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins11832358597639413390.sh 05:42:31 ---> package-listing.sh 05:42:31 ++ facter osfamily 05:42:31 ++ tr '[:upper:]' '[:lower:]' 05:42:32 + OS_FAMILY=debian 05:42:32 + workspace=/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master 05:42:32 + START_PACKAGES=/tmp/packages_start.txt 05:42:32 + END_PACKAGES=/tmp/packages_end.txt 05:42:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:42:32 + PACKAGES=/tmp/packages_start.txt 05:42:32 + '[' /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master ']' 05:42:32 + PACKAGES=/tmp/packages_end.txt 05:42:32 + case "${OS_FAMILY}" in 05:42:32 + dpkg -l 05:42:32 + grep '^ii' 05:42:32 + '[' -f /tmp/packages_start.txt ']' 05:42:32 + '[' -f /tmp/packages_end.txt ']' 05:42:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:42:32 + true 05:42:32 + '[' /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master ']' 05:42:32 + mkdir -p /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/archives/ 05:42: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/ 05:42:32 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins5331052325583805148.sh 05:42:32 ---> capture-instance-metadata.sh 05:42:32 Setup pyenv: 05:42:32 system 05:42:32 3.8.13 05:42:32 3.9.13 05:42:32 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:42:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kDAe from file:/tmp/.os_lf_venv 05:42:35 lf-activate-venv(): INFO: Installing: lftools 05:42:36 code: exit -15 (786.87 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=28105 05:42:36 .pkg: _exit> python /tmp/venv-9PSc/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 05:42:36 .pkg: error while trying to close <_io.BufferedWriter name=6> with BrokenPipeError(32, 'Broken pipe') 05:42:36 + tox_status=143 05:42:36 + echo '---> Completed tox runs' 05:42:36 ---> Completed tox runs 05:42:36 + for i in .tox/*/log 05:42:36 ++ echo .tox/code/log 05:42:36 ++ awk -F/ '{print $2}' 05:42:50 lf-activate-venv(): INFO: Adding /tmp/venv-kDAe/bin to PATH 05:42:50 INFO: Running in OpenStack, capturing instance metadata 05:42:51 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins8408527184494044414.sh 05:42:51 provisioning config files... 05:42:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-xapp-frame-py-pypi-verify-master@tmp/config37817511510229088tmp 05:42:51 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 05:42:51 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 05:42:51 [EnvInject] - Injecting environment variables from a build step. 05:42:51 [EnvInject] - Injecting as environment variables the properties content 05:42:51 SERVER_ID=logs 05:42:51 05:42:51 [EnvInject] - Variables injected successfully. 05:42:51 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins3141823322421921804.sh 05:42:51 ---> create-netrc.sh 05:42:51 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins6846078673417350395.sh 05:42:51 ---> python-tools-install.sh 05:42:51 Setup pyenv: 05:42:51 system 05:42:51 3.8.13 05:42:51 3.9.13 05:42:51 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:42:51 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kDAe from file:/tmp/.os_lf_venv 05:42:52 lf-activate-venv(): INFO: Installing: lftools 05:43:04 lf-activate-venv(): INFO: Adding /tmp/venv-kDAe/bin to PATH 05:43:04 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins10674910675050466026.sh 05:43:04 ---> sudo-logs.sh 05:43:04 Archiving 'sudo' log.. 05:43:04 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash /tmp/jenkins15974068681648539636.sh 05:43:04 ---> job-cost.sh 05:43:04 Setup pyenv: 05:43:04 system 05:43:04 3.8.13 05:43:04 3.9.13 05:43:04 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:43:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kDAe from file:/tmp/.os_lf_venv 05:43:06 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:43:16 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. 05:43:16 lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. 05:43:16 lf-activate-venv(): INFO: Adding /tmp/venv-kDAe/bin to PATH 05:43:16 INFO: No Stack... 05:43:16 INFO: Retrieving Pricing Info for: v2-highcpu-2 05:43:17 INFO: Archiving Costs 05:43:17 [ric-plt-xapp-frame-py-pypi-verify-master] $ /bin/bash -l /tmp/jenkins16967619322230611101.sh 05:43:17 ---> logs-deploy.sh 05:43:17 Setup pyenv: 05:43:17 system 05:43:17 3.8.13 05:43:17 3.9.13 05:43:17 * 3.10.6 (set by /w/workspace/ric-plt-xapp-frame-py-pypi-verify-master/.python-version) 05:43:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-kDAe from file:/tmp/.os_lf_venv 05:43:18 lf-activate-venv(): INFO: Installing: lftools 05:43:31 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. 05:43:31 python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. 05:43:32 lf-activate-venv(): INFO: Adding /tmp/venv-kDAe/bin to PATH 05:43:32 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/266 05:43:32 INFO: archiving workspace using pattern(s): 05:43:34 Archives upload complete. 05:43:34 INFO: archiving logs to Nexus 05:43:35 ---> uname -a: 05:43:35 Linux prd-ubuntu1804-builder-2c-2g-2671 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 05:43:35 05:43:35 05:43:35 ---> lscpu: 05:43:35 Architecture: x86_64 05:43:35 CPU op-mode(s): 32-bit, 64-bit 05:43:35 Byte Order: Little Endian 05:43:35 Address sizes: 40 bits physical, 48 bits virtual 05:43:35 CPU(s): 2 05:43:35 On-line CPU(s) list: 0,1 05:43:35 Thread(s) per core: 1 05:43:35 Core(s) per socket: 1 05:43:35 Socket(s): 2 05:43:35 NUMA node(s): 1 05:43:35 Vendor ID: AuthenticAMD 05:43:35 CPU family: 23 05:43:35 Model: 49 05:43:35 Model name: AMD EPYC-Rome Processor 05:43:35 Stepping: 0 05:43:35 CPU MHz: 2800.000 05:43:35 BogoMIPS: 5600.00 05:43:35 Virtualization: AMD-V 05:43:35 Hypervisor vendor: KVM 05:43:35 Virtualization type: full 05:43:35 L1d cache: 64 KiB 05:43:35 L1i cache: 64 KiB 05:43:35 L2 cache: 1 MiB 05:43:35 L3 cache: 32 MiB 05:43:35 NUMA node0 CPU(s): 0,1 05:43:35 Vulnerability Itlb multihit: Not affected 05:43:35 Vulnerability L1tf: Not affected 05:43:35 Vulnerability Mds: Not affected 05:43:35 Vulnerability Meltdown: Not affected 05:43:35 Vulnerability Mmio stale data: Not affected 05:43:35 Vulnerability Retbleed: Vulnerable 05:43:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:43:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:43:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 05:43:35 Vulnerability Srbds: Not affected 05:43:35 Vulnerability Tsx async abort: Not affected 05:43:35 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 05:43:35 05:43:35 05:43:35 ---> nproc: 05:43:35 2 05:43:35 05:43:35 05:43:35 ---> df -h: 05:43:35 Filesystem Size Used Avail Use% Mounted on 05:43:35 udev 975M 0 975M 0% /dev 05:43:35 tmpfs 199M 1012K 198M 1% /run 05:43:35 /dev/vda1 20G 8.5G 11G 45% / 05:43:35 tmpfs 992M 0 992M 0% /dev/shm 05:43:35 tmpfs 5.0M 0 5.0M 0% /run/lock 05:43:35 tmpfs 992M 0 992M 0% /sys/fs/cgroup 05:43:35 /dev/vda15 105M 6.1M 99M 6% /boot/efi 05:43:35 /dev/loop1 62M 62M 0 100% /snap/core20/1405 05:43:35 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 05:43:35 tmpfs 199M 0 199M 0% /run/user/1001 05:43:35 /dev/loop3 41M 41M 0 100% /snap/snapd/20290 05:43:35 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 05:43:35 05:43:35 05:43:35 ---> free -m: 05:43:35 total used free shared buff/cache available 05:43:35 Mem: 1983 407 138 2 1436 1381 05:43:35 Swap: 1023 0 1023 05:43:35 05:43:35 05:43:35 ---> ip addr: 05:43:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:43:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:43:35 inet 127.0.0.1/8 scope host lo 05:43:35 valid_lft forever preferred_lft forever 05:43:35 inet6 ::1/128 scope host 05:43:35 valid_lft forever preferred_lft forever 05:43:35 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 05:43:35 link/ether fa:16:3e:80:a3:c0 brd ff:ff:ff:ff:ff:ff 05:43:35 inet 10.32.7.175/23 brd 10.32.7.255 scope global dynamic ens3 05:43:35 valid_lft 85407sec preferred_lft 85407sec 05:43:35 inet6 fe80::f816:3eff:fe80:a3c0/64 scope link 05:43:35 valid_lft forever preferred_lft forever 05:43:35 05:43:35 05:43:35 ---> sar -b -r -n DEV: 05:43:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2671) 01/03/24 _x86_64_ (2 CPU) 05:43:35 05:43:35 05:27:04 LINUX RESTART (2 CPU) 05:43:35 05:43:35 05:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:43:35 05:29:01 128.91 40.83 88.09 0.00 1428.16 15336.64 0.00 05:43:35 05:30:02 73.65 28.25 45.41 0.00 911.18 5930.88 0.00 05:43:35 05:31:01 2.08 0.14 1.95 0.00 18.30 193.56 0.00 05:43:35 05:32:01 1.35 0.00 1.35 0.00 0.00 17.33 0.00 05:43:35 05:33:01 61.31 24.66 36.64 0.00 4910.25 8649.63 0.00 05:43:35 05:34:01 25.20 19.68 5.52 0.00 1353.51 561.51 0.00 05:43:35 05:35:01 1.85 0.00 1.85 0.00 0.00 21.06 0.00 05:43:35 05:36:01 6.30 4.75 1.55 0.00 131.71 18.80 0.00 05:43:35 05:37:01 0.92 0.00 0.92 0.00 0.00 10.66 0.00 05:43:35 05:38:01 1.47 0.00 1.47 0.00 0.00 18.13 0.00 05:43:35 05:39:01 0.85 0.00 0.85 0.00 0.00 8.80 0.00 05:43:35 05:40:01 1.45 0.00 1.45 0.00 0.00 17.33 0.00 05:43:35 05:41:01 0.88 0.00 0.88 0.00 0.00 9.33 0.00 05:43:35 05:42:01 1.38 0.00 1.38 0.00 0.00 16.66 0.00 05:43:35 05:43:01 16.38 6.67 9.72 0.00 502.72 536.71 0.00 05:43:35 Average: 21.62 8.34 13.28 0.00 617.71 2091.89 0.00 05:43:35 05:43:35 05:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:43:35 05:29:01 101880 1426728 369424 18.19 62616 1332732 837088 27.18 456840 1265260 62860 05:43:35 05:30:02 93740 1398112 396808 19.54 67744 1297464 1305592 42.40 511660 1205724 2700 05:43:35 05:31:01 77748 1384524 409896 20.19 67824 1299828 1657684 53.83 524244 1208092 220 05:43:35 05:32:01 77708 1384996 409940 20.19 67860 1299824 1666036 54.11 523532 1208580 20 05:43:35 05:33:01 175712 1373980 399120 19.65 91536 1184652 1618376 52.56 682288 946108 1040 05:43:35 05:34:01 135932 1374804 398688 19.63 91476 1224044 1618360 52.56 701224 966100 460 05:43:35 05:35:01 135932 1374824 398616 19.63 91492 1224048 1618360 52.56 701324 966104 92 05:43:35 05:36:01 126836 1370212 403012 19.85 91532 1227960 1620164 52.62 708440 969192 176 05:43:35 05:37:01 128844 1372248 400984 19.75 91560 1227952 1620164 52.62 707388 967424 16 05:43:35 05:38:01 128892 1372324 400892 19.74 91584 1227968 1624212 52.75 707392 967432 92 05:43:35 05:39:01 128948 1372332 400852 19.74 91608 1227968 1624212 52.75 707424 967432 172 05:43:35 05:40:01 128624 1372048 401096 19.75 91644 1227972 1624212 52.75 707544 967436 88 05:43:35 05:41:01 128388 1371852 401308 19.76 91668 1227972 1624212 52.75 707584 967436 88 05:43:35 05:42:01 128632 1372112 401040 19.75 91700 1227964 1624212 52.75 707468 967372 8 05:43:35 05:43:01 116532 1392268 381984 18.81 94728 1258176 817612 26.55 702072 990104 43376 05:43:35 Average: 120957 1380891 398244 19.61 85105 1247768 1500033 48.71 650428 1035320 7427 05:43:35 05:43:35 05:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:43:35 05:29:01 ens3 42.44 40.19 572.52 5.78 0.00 0.00 0.00 0.00 05:43:35 05:29:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 05:43:35 05:30:02 ens3 27.73 26.96 81.71 4.70 0.00 0.00 0.00 0.00 05:43:35 05:30:02 lo 4.67 4.67 0.67 0.67 0.00 0.00 0.00 0.00 05:43:35 05:31:01 ens3 6.46 4.88 5.58 1.74 0.00 0.00 0.00 0.00 05:43:35 05:31:01 lo 0.61 0.61 0.07 0.07 0.00 0.00 0.00 0.00 05:43:35 05:32:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:33:01 ens3 314.78 169.34 2087.96 11.43 0.00 0.00 0.00 0.00 05:43:35 05:33:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:43:35 05:34:01 ens3 0.17 0.15 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:35:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:36:01 ens3 8.63 6.23 5.99 7.87 0.00 0.00 0.00 0.00 05:43:35 05:36:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 05:43:35 05:37:01 ens3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:38:01 ens3 0.22 0.18 0.08 0.07 0.00 0.00 0.00 0.00 05:43:35 05:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:39:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:40:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:41:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:43:35 05:42:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:43:35 05:43:01 ens3 12.20 12.71 8.90 10.95 0.00 0.00 0.00 0.00 05:43:35 05:43:01 lo 0.67 0.67 0.04 0.04 0.00 0.00 0.00 0.00 05:43:35 Average: ens3 27.55 17.41 184.38 2.84 0.00 0.00 0.00 0.00 05:43:35 Average: lo 0.55 0.55 0.06 0.06 0.00 0.00 0.00 0.00 05:43:35 05:43:35 05:43:35 ---> sar -P ALL: 05:43:35 Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2671) 01/03/24 _x86_64_ (2 CPU) 05:43:35 05:43:35 05:27:04 LINUX RESTART (2 CPU) 05:43:35 05:43:35 05:28:01 CPU %user %nice %system %iowait %steal %idle 05:43:35 05:29:01 all 39.27 7.13 7.29 6.89 0.11 39.31 05:43:35 05:29:01 0 44.40 6.43 7.08 8.94 0.12 33.04 05:43:35 05:29:01 1 34.12 7.84 7.50 4.84 0.10 45.59 05:43:35 05:30:02 all 17.73 0.00 2.02 4.41 0.08 75.76 05:43:35 05:30:02 0 19.23 0.00 2.16 6.84 0.07 71.70 05:43:35 05:30:02 1 16.23 0.00 1.88 1.97 0.08 79.83 05:43:35 05:31:01 all 1.65 0.00 0.39 0.09 0.05 97.82 05:43:35 05:31:01 0 0.34 0.00 0.45 0.15 0.05 99.01 05:43:35 05:31:01 1 2.94 0.00 0.34 0.02 0.05 96.65 05:43:35 05:32:01 all 0.78 0.00 0.31 0.04 0.07 98.80 05:43:35 05:32:01 0 0.55 0.00 0.32 0.08 0.07 98.98 05:43:35 05:32:01 1 1.00 0.00 0.30 0.00 0.07 98.63 05:43:35 05:33:01 all 7.39 0.00 4.80 3.01 0.08 84.72 05:43:35 05:33:01 0 8.32 0.00 5.02 4.50 0.08 82.07 05:43:35 05:33:01 1 6.46 0.00 4.57 1.53 0.08 87.36 05:43:35 05:34:01 all 1.26 0.00 0.65 1.07 0.07 96.96 05:43:35 05:34:01 0 1.43 0.00 0.64 0.82 0.05 97.06 05:43:35 05:34:01 1 1.09 0.00 0.65 1.31 0.08 96.86 05:43:35 05:35:01 all 0.43 0.00 0.28 0.01 0.05 99.24 05:43:35 05:35:01 0 0.32 0.00 0.22 0.02 0.05 99.40 05:43:35 05:35:01 1 0.54 0.00 0.33 0.00 0.05 99.08 05:43:35 05:36:01 all 1.23 0.00 0.45 0.13 0.05 98.14 05:43:35 05:36:01 0 1.31 0.00 0.49 0.10 0.05 98.05 05:43:35 05:36:01 1 1.14 0.00 0.42 0.17 0.05 98.22 05:43:35 05:37:01 all 0.33 0.00 0.28 0.01 0.06 99.33 05:43:35 05:37:01 0 0.32 0.00 0.29 0.02 0.07 99.31 05:43:35 05:37:01 1 0.34 0.00 0.27 0.00 0.05 99.35 05:43:35 05:38:01 all 0.95 0.00 0.35 0.02 0.05 98.63 05:43:35 05:38:01 0 0.38 0.00 0.35 0.03 0.03 99.20 05:43:35 05:38:01 1 1.51 0.00 0.35 0.00 0.07 98.07 05:43:35 05:39:01 all 1.35 0.00 0.28 0.02 0.05 98.30 05:43:35 05:39:01 0 1.64 0.00 0.33 0.03 0.07 97.93 05:43:35 05:39:01 1 1.07 0.00 0.23 0.00 0.03 98.67 05:43:35 05:43:35 05:39:01 CPU %user %nice %system %iowait %steal %idle 05:43:35 05:40:01 all 0.79 0.00 0.32 0.02 0.06 98.82 05:43:35 05:40:01 0 1.13 0.00 0.27 0.03 0.05 98.51 05:43:35 05:40:01 1 0.44 0.00 0.37 0.00 0.07 99.13 05:43:35 05:41:01 all 0.27 0.00 0.26 0.04 0.06 99.37 05:43:35 05:41:01 0 0.35 0.00 0.27 0.05 0.07 99.26 05:43:35 05:41:01 1 0.18 0.00 0.25 0.03 0.05 99.48 05:43:35 05:42:01 all 0.39 0.00 0.33 0.01 0.05 99.23 05:43:35 05:42:01 0 0.44 0.00 0.35 0.02 0.05 99.14 05:43:35 05:42:01 1 0.34 0.00 0.30 0.00 0.05 99.31 05:43:35 05:43:01 all 20.95 0.00 3.56 0.83 0.08 74.59 05:43:35 05:43:01 0 8.03 0.00 3.61 1.24 0.05 87.07 05:43:35 05:43:01 1 33.90 0.00 3.50 0.42 0.10 62.08 05:43:35 Average: all 6.32 0.48 1.44 1.11 0.06 90.59 05:43:35 Average: 0 5.90 0.43 1.46 1.53 0.06 90.62 05:43:35 Average: 1 6.75 0.52 1.42 0.68 0.07 90.56 05:43:35 05:43:35 05:43:35