Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu2004-builder-2c-2g-53 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-uz9ZyajmCUXy/agent.4929 SSH_AGENT_PID=4934 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_9020377061225530959.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials jenkins > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 9060c6157ff651c92858bceca30ffe4618483338 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9060c6157ff651c92858bceca30ffe4618483338 # timeout=10 Commit message: "Chore(rtd): modernise docs build infra" > git rev-list --no-walk be2943f57211f62095dc5434099e331df237aafb # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14842241277274252282.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QfKF lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QfKF/bin to PATH Generating Requirements File 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. httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. Python 3.10.6 pip 26.2.1 from /tmp/venv-QfKF/lib/python3.10/site-packages/pip (python 3.10) aiohappyeyeballs==2.7.1 aiohttp==3.14.5 aiosignal==1.4.0 appdirs==1.4.4 argcomplete==3.7.2 aspy.yaml==1.3.0 async-timeout==5.0.1 attrs==26.1.0 autopage==0.6.0 backports.strenum==1.3.1 beautifulsoup4==4.15.0 boto3==1.43.113 botocore==1.43.113 bs4==0.0.2 certifi==2026.7.22 cffi==2.1.1 cfgv==3.5.0 chardet==7.6.0 charset-normalizer==3.5.2 click==8.5.0 cliff==4.14.0 cmd2==3.5.1 cryptography==3.3.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==1.3.1 distlib==0.4.3 dnspython==2.8.0 docker==7.2.0 dogpile.cache==1.5.0 durationpy==0.11 email-validator==2.3.0 filelock==4.1.0 frozenlist==1.8.0 future==1.0.0 gitdb==4.0.12 GitPython==3.2.1 httplib2==0.30.2 identify==2.6.20 idna==3.20 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.6 jmespath==1.1.0 jsonpatch==1.35 jsonpointer==3.2.1 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 keystoneauth1==5.14.0 kubernetes==36.0.3 lftools==0.37.24 lxml==6.1.3 markdown-it-py==4.2.0 MarkupSafe==3.0.4 mdurl==0.1.2 msgpack==1.2.3 multi_key_dict==2.0.3 multidict==7.1.0 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.11.0 oauth2client==4.1.3 oauthlib==4.0.0 openstacksdk==4.13.0 os-service-types==1.8.2 osc-lib==4.6.0 oslo.config==10.4.0 oslo.context==6.4.0 oslo.i18n==6.8.0 oslo.log==8.2.0 oslo.serialization==5.10.0 oslo.utils==10.1.1 packaging==26.3 pbr==7.1.3 platformdirs==4.12.4 prettytable==3.18.0 propcache==0.5.4 psutil==7.2.2 pyasn1==0.6.4 pyasn1_modules==0.4.2 pycparser==3.11 pygerrit2==2.0.15 PyGithub==2.10.0 Pygments==2.21.0 PyJWT==2.15.1 PyNaCl==1.6.2 pyparsing==2.4.7 pyperclip==1.11.0 pyrsistent==0.20.0 python-cinderclient==9.9.0 python-dateutil==2.9.0.post0 python-discovery==1.6.2 python-heatclient==5.2.0 python-jenkins==1.8.3 python-keystoneclient==6.0.0 python-magnumclient==4.11.0 python-openstackclient==10.0.0 python-swiftclient==4.11.0 PyYAML==6.0.3 referencing==0.37.0 requests==2.34.2 requests-oauthlib==2.0.0 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 rpds-py==0.30.0 rsa==4.9.1 ruamel.yaml==0.19.1 ruamel.yaml.clib==0.2.15 s3transfer==0.19.2 simplejson==4.2.0 six==1.17.0 smmap==5.0.3 soupsieve==2.10 stevedore==5.8.0 tabulate==0.10.0 toml==0.10.2 tomlkit==0.15.1 tqdm==4.70.1 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.14.7 wcwidth==0.9.2 websocket-client==1.9.2 wrapt==2.5.1 xdg==6.0.0 xmltodict==1.0.4 yarl==1.25.1 yq==4.4.5 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins8506572164974054598.sh ---> uv-install.sh Installing uv/uvx (latest) using shell installer 2026-10-14 19:18:12 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71300/71300] -> "/tmp/uv-install-wyZTjK.sh" [1] downloading uv 0.13.1 x86_64-unknown-linux-gnu installing to /home/jenkins/.local/bin uv uvx everything's installed! To add $HOME/.local/bin to your PATH, either restart your shell or run: source $HOME/.local/bin/env (sh, bash, zsh) source $HOME/.local/bin/env.fish (fish) Adding install location to PATH ---> Validating uv/uvx install uvx 0.13.1 (x86_64-unknown-linux-gnu) [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins287966696304663308.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13536938739537534421.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-QEoA + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + 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 + 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 + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ 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 ++ 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 ++ 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 ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-QEoA + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QEoA' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QEoA + echo /tmp/venv-QEoA + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-QEoA/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-QEoA/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-QEoA/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-QEoA/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + local venv_python=/tmp/venv-QEoA/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-QEoA/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-QEoA/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-QEoA/bin to PATH + PATH=/tmp/venv-QEoA/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 + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 26.2.1 from /tmp/venv-QEoA/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==7.2.1 colorama==0.4.6 distlib==0.4.3 filelock==4.1.0 packaging==26.3 platformdirs==4.12.4 pluggy==1.6.0 pyproject-api==1.11.4 python-discovery==1.6.2 tomli==2.5.0 tomli_w==1.2.0 tox==4.65.0 typing_extensions==4.16.0 urllib3==1.26.20 virtualenv==21.14.7 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins2241754773697298567.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins10901563076291470321.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox + cd /w/workspace/sim-a1-interface-tox-sonarqube/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-fDfn + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ 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 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + 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[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ 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[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ awk '{ print $1 }' ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-QEoA + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QEoA from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QEoA from file:/tmp/.toxenv + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) + local 'pip_opts=--upgrade --quiet' + pip_opts='--upgrade --quiet --trusted-host pypi.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' + [[ -n '' ]] + [[ -n '' ]] + lf-venv-pip-install /tmp/venv-QEoA/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + local venv_python=/tmp/venv-QEoA/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-QEoA/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv + return 0 + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 + lf-venv-pip-install /tmp/venv-QEoA/bin/python3 --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + local venv_python=/tmp/venv-QEoA/bin/python3 + shift + local upstream=https://pypi.org/simple + /tmp/venv-QEoA/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + return 0 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-QEoA/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-QEoA/bin to PATH + PATH=/tmp/venv-QEoA/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-QEoA/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-QEoA/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.65.0 from /tmp/venv-QEoA/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tox + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov code: freeze> python -m pip freeze --all code: attrs==26.1.0,certifi==2026.7.22,charset-normalizer==3.5.2,click==8.5.0,clickclick==20.10.2,connexion==2.14.2,coverage==7.16.2,exceptiongroup==1.3.1,Flask==2.2.5,idna==3.20,inflection==0.5.1,iniconfig==2.3.1,itsdangerous==2.2.0,Jinja2==3.1.6,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,MarkupSafe==3.0.4,packaging==26.3,pip==26.2.1,pluggy==1.6.0,Pygments==2.21.0,pytest==9.1.1,pytest-cov==7.1.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.34.2,rpds-py==0.30.0,setuptools==84.0.0,tomli==2.5.0,typing_extensions==4.16.0,urllib3==2.8.0,Werkzeug==2.2.3 code: commands[0]> pytest -o log_cli=true --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_osc_2_1_0.py ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/sim-a1-interface-tox-sonarqube plugins: cov-7.1.0 collected 4 items near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason -------------------------------- live log setup -------------------------------- WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= PASSED [ 25%] near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus -------------------------------- live log call --------------------------------- INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:8086 INFO werkzeug:_internal.py:224 Press CTRL+C to quit INFO werkzeug:_internal.py:224 127.0.0.1 - - [14/Oct/2026 19:19:02] "POST /statustest HTTP/1.1" 201 - PASSED [100%] =============================== warnings summary =============================== near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. from jsonschema import Draft4Validator, ValidationError, draft4_format_checker near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema import Draft4Validator, RefResolver near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. from jsonschema.exceptions import RefResolutionError, ValidationError # noqa near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. app.json_encoder = FlaskJSONEncoder near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------- near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 near-rt-ric-simulator/src/common/payload_logging.py 32 6 81% 32-39 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 --------------------------------------------------------------------------------------------------------- TOTAL 977 113 88% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 88.43% ======================= 4 passed, 118 warnings in 21.64s ======================= code: commands[1]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_1_1_3.py ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/sim-a1-interface-tox-sonarqube plugins: cov-7.1.0 collected 1 item near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis -------------------------------- live log setup -------------------------------- WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= PASSED [100%] =============================== warnings summary =============================== near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. from jsonschema import Draft4Validator, ValidationError, draft4_format_checker near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema import Draft4Validator, RefResolver near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. from jsonschema.exceptions import RefResolutionError, ValidationError # noqa near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. app.json_encoder = FlaskJSONEncoder near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. for error in instance_validator.iter_errors(instance['default'], instance): near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:188: DeprecationWarning: Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3. Customize 'app.json' instead. warnings.warn( near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/flask/json/provider.py:230: DeprecationWarning: 'JSONEncoder' is deprecated and will be removed in Flask 2.3. Use 'Flask.json' to provide an alternate JSON implementation instead. return json.dumps(obj, **kwargs) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------- near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 near-rt-ric-simulator/src/common/payload_logging.py 32 6 81% 32-39 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 --------------------------------------------------------------------------------------------------------- TOTAL 1444 152 89% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 89.47% ======================= 1 passed, 65 warnings in 11.53s ======================== code: commands[2]> pytest -o log_cli=true --cov-append --cov /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 /w/workspace/sim-a1-interface-tox-sonarqube/near-rt-ric-simulator/tests/test_std_2_0_0.py ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/sim-a1-interface-tox-sonarqube plugins: cov-7.1.0 collected 4 items near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason -------------------------------- live log setup -------------------------------- WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. Please install connexion with extra install: pip install connexion[swagger-ui] or provide the path to your local installation by passing swagger_path= PASSED [ 25%] near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus -------------------------------- live log call --------------------------------- INFO werkzeug:_internal.py:224 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on http://127.0.0.1:8086 INFO werkzeug:_internal.py:224 Press CTRL+C to quit INFO werkzeug:_internal.py:224 127.0.0.1 - - [14/Oct/2026 19:19:36] "POST /statustest HTTP/1.1" 200 - PASSED [100%] =============================== warnings summary =============================== near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator. from jsonschema import Draft4Validator, ValidationError, draft4_format_checker near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. from jsonschema import Draft4Validator, RefResolver near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable. from jsonschema.exceptions import RefResolutionError, ValidationError # noqa near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead. app.json_encoder = FlaskJSONEncoder near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/spec.py:50: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. for error in instance_validator.iter_errors(instance['default'], instance): near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings /w/workspace/sim-a1-interface-tox-sonarqube/.tox/code/lib/python3.10/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context. setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.10.6-final-0 ________________ Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------- near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/controllers/a1_mediator_controller.py 206 26 87% 107, 111-112, 124-126, 129-130, 163, 168-169, 172-173, 196, 225-227, 238, 248, 253-256, 298, 330-331 near-rt-ric-simulator/src/OSC_2.1.0/main.py 182 38 79% 48-51, 62, 94-95, 99-100, 103, 121, 124-125, 129, 135, 150-151, 173, 175, 179, 193-194, 223, 244-253, 259-265, 270 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 near-rt-ric-simulator/src/STD_1.1.3/main.py 113 28 75% 78-79, 89-90, 122-139, 145-151, 170, 177, 182 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% near-rt-ric-simulator/src/STD_2.0.0/a1.py 244 99 59% 48, 59, 64-65, 92, 98-99, 104-106, 110-111, 118, 123-124, 127, 132-135, 139-142, 147-150, 179, 185-186, 189-190, 200, 206-207, 210-211, 215-218, 223-226, 229, 245, 251-252, 255-256, 260-263, 271-294, 301-313, 332-333, 346, 361, 363, 365, 368-377 near-rt-ric-simulator/src/STD_2.0.0/main.py 165 31 81% 59, 88, 93-94, 97, 103, 115, 119, 125, 132, 142-143, 153-154, 165, 167, 170, 197-198, 200, 208-214, 224-225, 248, 253, 258 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 near-rt-ric-simulator/src/common/payload_logging.py 32 6 81% 32-39 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 --------------------------------------------------------------------------------------------------------- TOTAL 2223 282 87% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 87.31% ======================= 4 passed, 65 warnings in 22.02s ======================== code: commands[3]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 1 minute 8.25 seconds docs: failed with could not find python interpreter matching any of the specs python3.13 docs: FAIL ✖ in 0.6 seconds docs-linkcheck: failed with could not find python interpreter matching any of the specs python3.13 code: OK (68.24=setup[11.38]+cmd[22.10,11.99,22.41,0.36] seconds) docs: FAIL code 1 (0.60 seconds) docs-linkcheck: IGNORED FAIL code 1 (0.02 seconds) evaluation failed :( (68.89 seconds) + tox_status=1 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code + for i in .tox/*/log ++ echo .tox/docs-linkcheck/log ++ awk -F/ '{print $2}' + tox_env=docs-linkcheck + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck + for i in .tox/*/log ++ echo .tox/docs/log ++ awk -F/ '{print $2}' + tox_env=docs + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 1 -eq 0 + exit 1 ++ '[' 1 = 1 ']' ++ '[' -x /usr/bin/clear_console ']' ++ /usr/bin/clear_console -q Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 4934 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6312770694235251202.sh ---> sysstat.sh [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins9579051681557894014.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/sim-a1-interface-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins12429954465931509560.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QfKF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QfKF/bin to PATH INFO: Running in OpenStack, capturing instance metadata [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1305951294257158403.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config14336089185270201875tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins6963272613906292428.sh ---> create-netrc.sh [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17942870064230534136.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QfKF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools lf-activate-venv(): INFO: Adding /tmp/venv-QfKF/bin to PATH [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins14191543659236366898.sh ---> uv-install.sh uv 0.13.1 is already installed uvx 0.13.1 (x86_64-unknown-linux-gnu) [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins4164158138179906822.sh ---> sudo-logs.sh Archiving 'sudo' log.. [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins17101892924467720851.sh ---> job-cost.sh INFO: Activating Python virtual environment... Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QfKF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-QfKF/bin to PATH INFO: No stack-cost file found INFO: Instance uptime: 228s INFO: Fetching instance metadata (attempt 1 of 3)... DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type INFO: Successfully fetched instance metadata INFO: Instance type: v3-starter-2 INFO: Retrieving pricing info for: v3-starter-2 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=228 INFO: Successfully fetched Vexxhost pricing API INFO: Retrieved cost: 0.02 INFO: Retrieved resource: v3-starter-2 INFO: Creating archive directory: /w/workspace/sim-a1-interface-tox-sonarqube/archives/cost INFO: Archiving costs to: /w/workspace/sim-a1-interface-tox-sonarqube/archives/cost.csv INFO: Successfully archived job cost data DEBUG: Cost data: sim-a1-interface-tox-sonarqube,378,2026-10-14 19:20:17,v3-starter-2,228,0.02,0.00,FAILURE [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins58469370961512202.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QfKF from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-QfKF/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/378 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu2004-builder-2c-2g-53 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 40 bits physical, 48 bits virtual CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 64 KiB L1i cache: 64 KiB L2 cache: 1 MiB L3 cache: 32 MiB NUMA node0 CPU(s): 0,1 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Vulnerable Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected 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 ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 392M 1020K 391M 1% /run /dev/vda1 20G 7.9G 12G 41% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/loop0 44M 44M 0 100% /snap/snapd/15177 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 /dev/loop2 62M 62M 0 100% /snap/core20/1405 /dev/vda15 105M 6.1M 99M 6% /boot/efi tmpfs 392M 0 392M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 3919 413 1226 2 2280 3226 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:5a:51:3d brd ff:ff:ff:ff:ff:ff inet 10.32.6.88/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86168sec preferred_lft 86168sec inet6 fe80::f816:3eff:fe5a:513d/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-53) 10/14/26 _x86_64_ (2 CPU) 19:16:43 LINUX RESTART (2 CPU) 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:18:02 211.45 101.12 110.33 0.00 1652.25 8062.91 0.00 19:19:01 79.22 12.91 66.31 0.00 1338.21 15370.01 0.00 19:20:01 13.56 1.28 12.28 0.00 108.90 1713.56 0.00 Average: 101.54 38.58 62.95 0.00 1031.40 8342.74 0.00 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:18:02 1543616 3291540 404580 10.08 60356 1837332 891092 17.60 594376 1662988 202756 19:19:01 1256744 3288184 390368 9.73 74936 2089732 965908 19.08 617936 1891364 33152 19:20:01 1250424 3298600 379216 9.45 76448 2104376 868568 17.16 629612 1886484 29316 Average: 1350261 3292775 391388 9.75 70580 2010480 908523 17.95 613975 1813612 88408 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:18:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 19:18:02 ens3 125.61 93.40 1537.07 23.46 0.00 0.00 0.00 0.00 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:19:01 ens3 42.55 40.15 335.59 7.36 0.00 0.00 0.00 0.00 19:20:01 lo 0.73 0.73 0.06 0.06 0.00 0.00 0.00 0.00 19:20:01 ens3 11.78 11.45 7.64 5.59 0.00 0.00 0.00 0.00 Average: lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 Average: ens3 60.08 48.38 628.41 12.16 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-53) 10/14/26 _x86_64_ (2 CPU) 19:16:43 LINUX RESTART (2 CPU) 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:18:02 all 37.67 24.46 17.24 7.35 0.13 13.15 19:18:02 0 37.98 26.33 18.25 7.76 0.14 9.54 19:18:02 1 37.37 22.61 16.24 6.94 0.12 16.73 19:19:01 all 27.27 0.00 2.47 4.68 0.07 65.51 19:19:01 0 48.83 0.00 3.31 5.53 0.08 42.25 19:19:01 1 6.04 0.00 1.65 3.84 0.05 88.41 19:20:01 all 21.60 0.00 1.26 0.60 0.06 76.48 19:20:01 0 35.97 0.00 1.50 0.42 0.07 62.05 19:20:01 1 7.43 0.00 1.02 0.79 0.05 90.71 Average: all 28.79 8.08 6.94 4.18 0.08 51.91 Average: 0 40.90 8.72 7.64 4.54 0.10 38.10 Average: 1 16.84 7.45 6.25 3.83 0.07 65.56