19:16:52 Started by timer 19:16:52 Running as SYSTEM 19:16:52 [EnvInject] - Loading node environment variables. 19:16:52 Building remotely on prd-ubuntu2004-builder-2c-2g-5410 (ubuntu2004-builder-2c-2g) in workspace /w/workspace/sim-a1-interface-tox-sonarqube 19:16:52 [ssh-agent] Looking for ssh-agent implementation... 19:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:16:53 $ ssh-agent 19:16:53 SSH_AUTH_SOCK=/tmp/ssh-2ZxyIg1IcNTp/agent.6148 19:16:53 SSH_AGENT_PID=6152 19:16:53 [ssh-agent] Started. 19:16:53 Running ssh-add (command line suppressed) 19:16:53 Identity added: /w/workspace/sim-a1-interface-tox-sonarqube@tmp/private_key_14884536814819436811.key (jenkins-ssh) 19:16:53 [ssh-agent] Using credentials jenkins (jenkins) 19:16:53 The recommended git tool is: NONE 19:16:55 using credential jenkins 19:16:55 Wiping out workspace first. 19:16:55 Cloning the remote Git repository 19:16:55 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:55 > git init /w/workspace/sim-a1-interface-tox-sonarqube # timeout=10 19:16:55 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface 19:16:55 > git --version # timeout=10 19:16:55 > git --version # 'git version 2.25.1' 19:16:55 using GIT_SSH to set credentials jenkins 19:16:55 > git fetch --tags --force --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:56 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/sim/a1-interface # timeout=10 19:16:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:16:56 Avoid second fetch 19:16:56 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 19:16:56 Checking out Revision be2fe296264e5f58c44f271af83a875baa747849 (refs/remotes/origin/master) 19:16:56 > git config core.sparsecheckout # timeout=10 19:16:56 > git checkout -f be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:16:56 Commit message: "Fix A1 simulator extensions" 19:16:56 > git rev-list --no-walk be2fe296264e5f58c44f271af83a875baa747849 # timeout=10 19:17:00 provisioning config files... 19:17:00 copy managed file [npmrc] to file:/home/jenkins/.npmrc 19:17:00 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 19:17:00 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15841030372515982952.sh 19:17:00 ---> python-tools-install.sh 19:17:00 Setup pyenv: 19:17:00 * system (set by /opt/pyenv/version) 19:17:00 * 3.8.13 (set by /opt/pyenv/version) 19:17:00 * 3.9.13 (set by /opt/pyenv/version) 19:17:00 * 3.10.6 (set by /opt/pyenv/version) 19:17:05 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-73aM 19:17:05 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 19:17:08 lf-activate-venv(): INFO: Installing: lftools 19:17:38 lf-activate-venv(): INFO: Adding /tmp/venv-73aM/bin to PATH 19:17:38 Generating Requirements File 19:18:03 Python 3.10.6 19:18:03 pip 24.2 from /tmp/venv-73aM/lib/python3.10/site-packages/pip (python 3.10) 19:18:03 appdirs==1.4.4 19:18:03 argcomplete==3.5.0 19:18:03 aspy.yaml==1.3.0 19:18:03 attrs==24.2.0 19:18:03 autopage==0.5.2 19:18:03 beautifulsoup4==4.12.3 19:18:03 boto3==1.35.21 19:18:03 botocore==1.35.21 19:18:03 bs4==0.0.2 19:18:03 cachetools==5.5.0 19:18:03 certifi==2024.8.30 19:18:03 cffi==1.17.1 19:18:03 cfgv==3.4.0 19:18:03 chardet==5.2.0 19:18:03 charset-normalizer==3.3.2 19:18:03 click==8.1.7 19:18:03 cliff==4.7.0 19:18:03 cmd2==2.4.3 19:18:03 cryptography==3.3.2 19:18:03 debtcollector==3.0.0 19:18:03 decorator==5.1.1 19:18:03 defusedxml==0.7.1 19:18:03 Deprecated==1.2.14 19:18:03 distlib==0.3.8 19:18:03 dnspython==2.6.1 19:18:03 docker==4.2.2 19:18:03 dogpile.cache==1.3.3 19:18:03 email_validator==2.2.0 19:18:03 filelock==3.16.1 19:18:03 future==1.0.0 19:18:03 gitdb==4.0.11 19:18:03 GitPython==3.1.43 19:18:03 google-auth==2.34.0 19:18:03 httplib2==0.22.0 19:18:03 identify==2.6.1 19:18:03 idna==3.10 19:18:03 importlib-resources==1.5.0 19:18:03 iso8601==2.1.0 19:18:03 Jinja2==3.1.4 19:18:03 jmespath==1.0.1 19:18:03 jsonpatch==1.33 19:18:03 jsonpointer==3.0.0 19:18:03 jsonschema==4.23.0 19:18:03 jsonschema-specifications==2023.12.1 19:18:03 keystoneauth1==5.8.0 19:18:03 kubernetes==30.1.0 19:18:03 lftools==0.37.10 19:18:03 lxml==5.3.0 19:18:03 MarkupSafe==2.1.5 19:18:03 msgpack==1.1.0 19:18:03 multi_key_dict==2.0.3 19:18:03 munch==4.0.0 19:18:03 netaddr==1.3.0 19:18:03 netifaces==0.11.0 19:18:03 niet==1.4.2 19:18:03 nodeenv==1.9.1 19:18:03 oauth2client==4.1.3 19:18:03 oauthlib==3.2.2 19:18:03 openstacksdk==4.0.0 19:18:03 os-client-config==2.1.0 19:18:03 os-service-types==1.7.0 19:18:03 osc-lib==3.1.0 19:18:03 oslo.config==9.6.0 19:18:03 oslo.context==5.6.0 19:18:03 oslo.i18n==6.4.0 19:18:03 oslo.log==6.1.2 19:18:03 oslo.serialization==5.5.0 19:18:03 oslo.utils==7.3.0 19:18:03 packaging==24.1 19:18:03 pbr==6.1.0 19:18:03 platformdirs==4.3.6 19:18:03 prettytable==3.11.0 19:18:03 pyasn1==0.6.1 19:18:03 pyasn1_modules==0.4.1 19:18:03 pycparser==2.22 19:18:03 pygerrit2==2.0.15 19:18:03 PyGithub==2.4.0 19:18:03 PyJWT==2.9.0 19:18:03 PyNaCl==1.5.0 19:18:03 pyparsing==2.4.7 19:18:03 pyperclip==1.9.0 19:18:03 pyrsistent==0.20.0 19:18:03 python-cinderclient==9.6.0 19:18:03 python-dateutil==2.9.0.post0 19:18:03 python-heatclient==4.0.0 19:18:03 python-jenkins==1.8.2 19:18:03 python-keystoneclient==5.5.0 19:18:03 python-magnumclient==4.7.0 19:18:03 python-openstackclient==7.1.1 19:18:03 python-swiftclient==4.6.0 19:18:03 PyYAML==6.0.2 19:18:03 referencing==0.35.1 19:18:03 requests==2.32.3 19:18:03 requests-oauthlib==2.0.0 19:18:03 requestsexceptions==1.4.0 19:18:03 rfc3986==2.0.0 19:18:03 rpds-py==0.20.0 19:18:03 rsa==4.9 19:18:03 ruamel.yaml==0.18.6 19:18:03 ruamel.yaml.clib==0.2.8 19:18:03 s3transfer==0.10.2 19:18:03 simplejson==3.19.3 19:18:03 six==1.16.0 19:18:03 smmap==5.0.1 19:18:03 soupsieve==2.6 19:18:03 stevedore==5.3.0 19:18:03 tabulate==0.9.0 19:18:03 toml==0.10.2 19:18:03 tomlkit==0.13.2 19:18:03 tqdm==4.66.5 19:18:03 typing_extensions==4.12.2 19:18:03 tzdata==2024.1 19:18:03 urllib3==1.26.20 19:18:03 virtualenv==20.26.5 19:18:03 wcwidth==0.2.13 19:18:03 websocket-client==1.8.0 19:18:03 wrapt==1.16.0 19:18:03 xdg==6.0.0 19:18:03 xmltodict==0.13.0 19:18:03 yq==3.4.3 19:18:03 [EnvInject] - Injecting environment variables from a build step. 19:18:03 [EnvInject] - Injecting as environment variables the properties content 19:18:03 SET_JDK_VERSION=openjdk17 19:18:03 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 19:18:03 19:18:03 [EnvInject] - Variables injected successfully. 19:18:03 [sim-a1-interface-tox-sonarqube] $ /bin/sh /tmp/jenkins9487233932197345243.sh 19:18:03 ---> update-java-alternatives.sh 19:18:03 ---> Updating Java version 19:18:04 ---> Ubuntu/Debian system detected 19:18:04 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 19:18:04 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 19:18:04 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 19:18:04 openjdk version "17.0.9" 2023-10-17 19:18:04 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04) 19:18:04 OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-120.04, mixed mode, sharing) 19:18:04 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 19:18:04 [EnvInject] - Injecting environment variables from a build step. 19:18:04 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 19:18:04 [EnvInject] - Variables injected successfully. 19:18:04 [EnvInject] - Injecting environment variables from a build step. 19:18:04 [EnvInject] - Injecting as environment variables the properties content 19:18:04 PYTHON=python3 19:18:04 19:18:04 [EnvInject] - Variables injected successfully. 19:18:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17986233433370884591.sh 19:18:04 ---> tox-install.sh 19:18:04 + source /home/jenkins/lf-env.sh 19:18:04 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:04 ++ mktemp -d /tmp/venv-XXXX 19:18:04 + lf_venv=/tmp/venv-tK34 19:18:04 + local venv_file=/tmp/.os_lf_venv 19:18:04 + local python=python3 19:18:04 + local options 19:18:04 + local set_path=true 19:18:04 + local install_args= 19:18:04 ++ 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 19:18:04 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:04 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:04 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:04 + true 19:18:04 + case $1 in 19:18:04 + venv_file=/tmp/.toxenv 19:18:04 + shift 2 19:18:04 + true 19:18:04 + case $1 in 19:18:04 + shift 19:18:04 + break 19:18:04 + case $python in 19:18:04 + local pkg_list= 19:18:04 + [[ -d /opt/pyenv ]] 19:18:04 + echo 'Setup pyenv:' 19:18:04 Setup pyenv: 19:18:04 + export PYENV_ROOT=/opt/pyenv 19:18:04 + PYENV_ROOT=/opt/pyenv 19:18:04 + 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 19:18:04 + 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 19:18:04 + pyenv versions 19:18:04 system 19:18:04 3.8.13 19:18:04 3.9.13 19:18:04 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:04 + command -v pyenv 19:18:04 ++ pyenv init - --no-rehash 19:18:05 + 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[*]}"'\'')" 19:18:05 export PATH="/opt/pyenv/shims:${PATH}" 19:18:05 export PYENV_SHELL=bash 19:18:05 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:05 pyenv() { 19:18:05 local command 19:18:05 command="${1:-}" 19:18:05 if [ "$#" -gt 0 ]; then 19:18:05 shift 19:18:05 fi 19:18:05 19:18:05 case "$command" in 19:18:05 rehash|shell) 19:18:05 eval "$(pyenv "sh-$command" "$@")" 19:18:05 ;; 19:18:05 *) 19:18:05 command pyenv "$command" "$@" 19:18:05 ;; 19:18:05 esac 19:18:05 }' 19:18:05 +++ 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[*]}"' 19:18:05 ++ 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 19:18:05 ++ 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 19:18:05 ++ 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 19:18:05 ++ export PYENV_SHELL=bash 19:18:05 ++ PYENV_SHELL=bash 19:18:05 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:05 +++ complete -F _pyenv pyenv 19:18:05 ++ lf-pyver python3 19:18:05 ++ local py_version_xy=python3 19:18:05 ++ local py_version_xyz= 19:18:05 ++ grep -E '^[0-9.]*[0-9]$' 19:18:05 ++ awk '{ print $1 }' 19:18:05 ++ sed 's/^[ *]* //' 19:18:05 ++ pyenv versions 19:18:05 ++ local command 19:18:05 ++ command=versions 19:18:05 ++ '[' 1 -gt 0 ']' 19:18:05 ++ shift 19:18:05 ++ case "$command" in 19:18:05 ++ command pyenv versions 19:18:05 ++ pyenv versions 19:18:05 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:05 +++ grep '^3' /tmp/.pyenv_versions 19:18:05 +++ tail -n 1 19:18:05 +++ sort -V 19:18:05 ++ py_version_xyz=3.10.6 19:18:05 ++ [[ -z 3.10.6 ]] 19:18:05 ++ echo 3.10.6 19:18:05 ++ return 0 19:18:05 + pyenv local 3.10.6 19:18:05 + local command 19:18:05 + command=local 19:18:05 + '[' 2 -gt 0 ']' 19:18:05 + shift 19:18:05 + case "$command" in 19:18:05 + command pyenv local 3.10.6 19:18:05 + pyenv local 3.10.6 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='tox ' 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='virtualenv ' 19:18:05 + for arg in "$@" 19:18:05 + case $arg in 19:18:05 + pkg_list+='urllib3~=1.26.15 ' 19:18:05 + [[ -f /tmp/.toxenv ]] 19:18:05 + [[ ! -f /tmp/.toxenv ]] 19:18:05 + [[ -n '' ]] 19:18:05 + python3 -m venv /tmp/venv-tK34 19:18:08 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tK34' 19:18:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tK34 19:18:08 + echo /tmp/venv-tK34 19:18:08 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 19:18:08 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 19:18:08 + /tmp/venv-tK34/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:11 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:11 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:11 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:11 + /tmp/venv-tK34/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:14 + type python3 19:18:14 + true 19:18:14 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tK34/bin to PATH' 19:18:14 lf-activate-venv(): INFO: Adding /tmp/venv-tK34/bin to PATH 19:18:14 + PATH=/tmp/venv-tK34/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 19:18:14 + return 0 19:18:14 + python3 --version 19:18:14 Python 3.10.6 19:18:14 + python3 -m pip --version 19:18:14 pip 24.2 from /tmp/venv-tK34/lib/python3.10/site-packages/pip (python 3.10) 19:18:14 + python3 -m pip freeze 19:18:14 cachetools==5.5.0 19:18:14 chardet==5.2.0 19:18:14 colorama==0.4.6 19:18:14 distlib==0.3.8 19:18:14 filelock==3.16.1 19:18:14 packaging==24.1 19:18:14 platformdirs==4.3.6 19:18:14 pluggy==1.5.0 19:18:14 pyproject-api==1.7.2 19:18:14 tomli==2.0.1 19:18:14 tox==4.19.0 19:18:14 urllib3==1.26.20 19:18:14 virtualenv==20.26.5 19:18:14 [sim-a1-interface-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins3223790376558837596.sh 19:18:14 [EnvInject] - Injecting environment variables from a build step. 19:18:14 [EnvInject] - Injecting as environment variables the properties content 19:18:14 PARALLEL=False 19:18:14 19:18:14 [EnvInject] - Variables injected successfully. 19:18:14 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins13166153387851038063.sh 19:18:14 ---> tox-run.sh 19:18:14 + 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 19:18:14 + ARCHIVE_TOX_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:14 + ARCHIVE_DOC_DIR=/w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:18:14 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox 19:18:14 + cd /w/workspace/sim-a1-interface-tox-sonarqube/. 19:18:14 + source /home/jenkins/lf-env.sh 19:18:14 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 19:18:14 ++ mktemp -d /tmp/venv-XXXX 19:18:14 + lf_venv=/tmp/venv-dyf4 19:18:14 + local venv_file=/tmp/.os_lf_venv 19:18:14 + local python=python3 19:18:14 + local options 19:18:14 + local set_path=true 19:18:14 + local install_args= 19:18:14 ++ 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 19:18:14 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:14 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 19:18:14 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 19:18:14 + true 19:18:14 + case $1 in 19:18:14 + venv_file=/tmp/.toxenv 19:18:14 + shift 2 19:18:14 + true 19:18:14 + case $1 in 19:18:14 + shift 19:18:14 + break 19:18:14 + case $python in 19:18:14 + local pkg_list= 19:18:14 + [[ -d /opt/pyenv ]] 19:18:14 + echo 'Setup pyenv:' 19:18:14 Setup pyenv: 19:18:14 + export PYENV_ROOT=/opt/pyenv 19:18:14 + PYENV_ROOT=/opt/pyenv 19:18:14 + 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 19:18:14 + 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 19:18:14 + pyenv versions 19:18:14 system 19:18:14 3.8.13 19:18:14 3.9.13 19:18:14 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:18:14 + command -v pyenv 19:18:14 ++ pyenv init - --no-rehash 19:18:14 + 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[*]}"'\'')" 19:18:14 export PATH="/opt/pyenv/shims:${PATH}" 19:18:14 export PYENV_SHELL=bash 19:18:14 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 19:18:14 pyenv() { 19:18:14 local command 19:18:14 command="${1:-}" 19:18:14 if [ "$#" -gt 0 ]; then 19:18:14 shift 19:18:14 fi 19:18:14 19:18:14 case "$command" in 19:18:14 rehash|shell) 19:18:14 eval "$(pyenv "sh-$command" "$@")" 19:18:14 ;; 19:18:14 *) 19:18:14 command pyenv "$command" "$@" 19:18:14 ;; 19:18:14 esac 19:18:14 }' 19:18:14 +++ 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[*]}"' 19:18:14 ++ 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 19:18:14 ++ 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 19:18:14 ++ 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 19:18:14 ++ export PYENV_SHELL=bash 19:18:14 ++ PYENV_SHELL=bash 19:18:14 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 19:18:14 +++ complete -F _pyenv pyenv 19:18:14 ++ lf-pyver python3 19:18:14 ++ local py_version_xy=python3 19:18:14 ++ local py_version_xyz= 19:18:14 ++ pyenv versions 19:18:14 ++ local command 19:18:14 ++ command=versions 19:18:14 ++ '[' 1 -gt 0 ']' 19:18:14 ++ shift 19:18:14 ++ case "$command" in 19:18:14 ++ command pyenv versions 19:18:14 ++ pyenv versions 19:18:14 ++ grep -E '^[0-9.]*[0-9]$' 19:18:14 ++ sed 's/^[ *]* //' 19:18:14 ++ awk '{ print $1 }' 19:18:14 ++ [[ ! -s /tmp/.pyenv_versions ]] 19:18:14 +++ grep '^3' /tmp/.pyenv_versions 19:18:14 +++ tail -n 1 19:18:14 +++ sort -V 19:18:14 ++ py_version_xyz=3.10.6 19:18:14 ++ [[ -z 3.10.6 ]] 19:18:14 ++ echo 3.10.6 19:18:14 ++ return 0 19:18:14 + pyenv local 3.10.6 19:18:14 + local command 19:18:14 + command=local 19:18:14 + '[' 2 -gt 0 ']' 19:18:14 + shift 19:18:14 + case "$command" in 19:18:14 + command pyenv local 3.10.6 19:18:14 + pyenv local 3.10.6 19:18:14 + for arg in "$@" 19:18:14 + case $arg in 19:18:14 + pkg_list+='tox ' 19:18:14 + for arg in "$@" 19:18:14 + case $arg in 19:18:14 + pkg_list+='virtualenv ' 19:18:14 + for arg in "$@" 19:18:14 + case $arg in 19:18:14 + pkg_list+='urllib3~=1.26.15 ' 19:18:14 + [[ -f /tmp/.toxenv ]] 19:18:14 ++ cat /tmp/.toxenv 19:18:14 + lf_venv=/tmp/venv-tK34 19:18:14 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tK34 from' file:/tmp/.toxenv 19:18:14 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-tK34 from file:/tmp/.toxenv 19:18:14 + /tmp/venv-tK34/bin/python3 -m pip install --upgrade --quiet pip virtualenv 19:18:15 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 19:18:15 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 19:18:15 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 19:18:15 + /tmp/venv-tK34/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 19:18:16 + type python3 19:18:16 + true 19:18:16 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-tK34/bin to PATH' 19:18:16 lf-activate-venv(): INFO: Adding /tmp/venv-tK34/bin to PATH 19:18:16 + PATH=/tmp/venv-tK34/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 19:18:16 + return 0 19:18:16 + [[ -d /opt/pyenv ]] 19:18:16 + echo '---> Setting up pyenv' 19:18:16 ---> Setting up pyenv 19:18:16 + export PYENV_ROOT=/opt/pyenv 19:18:16 + PYENV_ROOT=/opt/pyenv 19:18:16 + export PATH=/opt/pyenv/bin:/tmp/venv-tK34/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 19:18:16 + PATH=/opt/pyenv/bin:/tmp/venv-tK34/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 19:18:16 ++ pwd 19:18:16 + PYTHONPATH=/w/workspace/sim-a1-interface-tox-sonarqube 19:18:16 + export PYTHONPATH 19:18:16 + export TOX_TESTENV_PASSENV=PYTHONPATH 19:18:16 + TOX_TESTENV_PASSENV=PYTHONPATH 19:18:16 + tox --version 19:18:17 4.19.0 from /tmp/venv-tK34/lib/python3.10/site-packages/tox/__init__.py 19:18:17 + PARALLEL=False 19:18:17 + TOX_OPTIONS_LIST= 19:18:17 + [[ -n '' ]] 19:18:17 + case ${PARALLEL,,} in 19:18:17 + tee -a /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/tox.log 19:18:17 + tox 19:18:18 code: install_deps> python -I -m pip install connexion==2.14.2 coverage Flask==2.2.5 pytest pytest-cov 19:18:25 code: freeze> python -m pip freeze --all 19:18:25 code: attrs==24.2.0,certifi==2024.8.30,charset-normalizer==3.3.2,click==8.1.7,clickclick==20.10.2,connexion==2.14.2,coverage==7.6.1,exceptiongroup==1.2.2,Flask==2.2.5,idna==3.10,inflection==0.5.1,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.4,jsonschema==4.23.0,jsonschema-specifications==2023.12.1,MarkupSafe==2.1.5,packaging==24.1,pip==24.2,pluggy==1.5.0,pytest==8.3.3,pytest-cov==5.0.0,PyYAML==6.0.2,referencing==0.35.1,requests==2.32.3,rpds-py==0.20.0,setuptools==75.1.0,tomli==2.0.1,urllib3==2.2.3,Werkzeug==2.2.3,wheel==0.44.0 19:18:25 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 19:18:26 ============================= test session starts ============================== 19:18:26 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:26 cachedir: .tox/code/.pytest_cache 19:18:26 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:26 plugins: cov-5.0.0 19:18:26 collected 4 items 19:18:26 19:18:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:26 -------------------------------- live log setup -------------------------------- 19:18:26 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:26 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:26 or provide the path to your local installation by passing swagger_path= 19:18:26 19:18:26 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:26 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:26 or provide the path to your local installation by passing swagger_path= 19:18:26 19:18:26 PASSED [ 25%] 19:18:26 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_apis PASSED [ 50%] 19:18:36 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_notificationDestination PASSED [ 75%] 19:18:37 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_sendstatus 19:18:37 -------------------------------- live log call --------------------------------- 19:18:37 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. 19:18:37 * Running on http://127.0.0.1:8086 19:18:37 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:18:47 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Sep/2024 19:18:47] "POST /statustest HTTP/1.1" 201 - 19:18:47 PASSED [100%] 19:18:47 19:18:47 =============================== warnings summary =============================== 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 /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. 19:18:47 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:47 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 /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. 19:18:47 from jsonschema import Draft4Validator, RefResolver 19:18:47 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 /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. 19:18:47 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:47 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py::test_enforce_reason 19:18:47 /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. 19:18:47 app.json_encoder = FlaskJSONEncoder 19:18:47 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:47 /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. 19:18:47 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:47 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py: 56 warnings 19:18:47 /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. 19:18:47 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:47 19:18:47 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:47 19:18:47 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:47 Name Stmts Miss Cover Missing 19:18:47 --------------------------------------------------------------------------------------------------------- 19:18:47 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:47 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 19:18:47 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 19:18:47 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:47 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:47 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:47 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:47 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:47 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:47 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:18:47 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:47 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:47 --------------------------------------------------------------------------------------------------------- 19:18:47 TOTAL 973 113 88% 19:18:47 Coverage HTML written to dir htmlcov 19:18:47 Coverage XML written to file coverage.xml 19:18:47 19:18:47 Required test coverage of 70% reached. Total coverage: 88.39% 19:18:47 ======================= 4 passed, 118 warnings in 21.53s ======================= 19:18:47 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 19:18:48 ============================= test session starts ============================== 19:18:48 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:48 cachedir: .tox/code/.pytest_cache 19:18:48 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:48 plugins: cov-5.0.0 19:18:48 collected 1 item 19:18:48 19:18:48 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:48 -------------------------------- live log setup -------------------------------- 19:18:48 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:48 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:48 or provide the path to your local installation by passing swagger_path= 19:18:48 19:18:48 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:18:48 Please install connexion with extra install: pip install connexion[swagger-ui] 19:18:48 or provide the path to your local installation by passing swagger_path= 19:18:48 19:18:58 PASSED [100%] 19:18:59 19:18:59 =============================== warnings summary =============================== 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 from jsonschema import Draft4Validator, RefResolver 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 app.json_encoder = FlaskJSONEncoder 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 for error in instance_validator.iter_errors(instance['default'], instance): 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:59 /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. 19:18:59 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py: 28 warnings 19:18:59 /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. 19:18:59 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 warnings.warn( 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py::test_apis 19:18:59 /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. 19:18:59 return json.dumps(obj, **kwargs) 19:18:59 19:18:59 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:18:59 19:18:59 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:18:59 Name Stmts Miss Cover Missing 19:18:59 --------------------------------------------------------------------------------------------------------- 19:18:59 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:18:59 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 19:18:59 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 19:18:59 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:18:59 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:18:59 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:18:59 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:18:59 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 19:18:59 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:18:59 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:18:59 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:18:59 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:18:59 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:18:59 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:18:59 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:18:59 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:18:59 --------------------------------------------------------------------------------------------------------- 19:18:59 TOTAL 1440 152 89% 19:18:59 Coverage HTML written to dir htmlcov 19:18:59 Coverage XML written to file coverage.xml 19:18:59 19:18:59 Required test coverage of 70% reached. Total coverage: 89.44% 19:18:59 ======================= 1 passed, 65 warnings in 11.36s ======================== 19:18:59 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 19:18:59 ============================= test session starts ============================== 19:18:59 platform linux -- Python 3.10.6, pytest-8.3.3, pluggy-1.5.0 19:18:59 cachedir: .tox/code/.pytest_cache 19:18:59 rootdir: /w/workspace/sim-a1-interface-tox-sonarqube 19:18:59 plugins: cov-5.0.0 19:18:59 collected 4 items 19:18:59 19:18:59 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:00 -------------------------------- live log setup -------------------------------- 19:19:00 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:00 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:00 or provide the path to your local installation by passing swagger_path= 19:19:00 19:19:00 WARNING connexion.options:options.py:83 The swagger_ui directory could not be found. 19:19:00 Please install connexion with extra install: pip install connexion[swagger-ui] 19:19:00 or provide the path to your local installation by passing swagger_path= 19:19:00 19:19:00 PASSED [ 25%] 19:19:00 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_apis PASSED [ 50%] 19:19:10 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_notificationDestination PASSED [ 75%] 19:19:10 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_sendstatus 19:19:10 -------------------------------- live log call --------------------------------- 19:19:10 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. 19:19:10 * Running on http://127.0.0.1:8086 19:19:10 INFO werkzeug:_internal.py:224 Press CTRL+C to quit 19:19:20 INFO werkzeug:_internal.py:224 127.0.0.1 - - [18/Sep/2024 19:19:20] "POST /statustest HTTP/1.1" 200 - 19:19:20 PASSED [100%] 19:19:21 19:19:21 =============================== warnings summary =============================== 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 /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. 19:19:21 from jsonschema import Draft4Validator, ValidationError, draft4_format_checker 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 /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. 19:19:21 from jsonschema import Draft4Validator, RefResolver 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 /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. 19:19:21 from jsonschema.exceptions import RefResolutionError, ValidationError # noqa 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 /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. 19:19:21 app.json_encoder = FlaskJSONEncoder 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py::test_enforce_reason 19:19:21 /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. 19:19:21 for error in instance_validator.iter_errors(instance['default'], instance): 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:21 /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. 19:19:21 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:21 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py: 29 warnings 19:19:21 /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. 19:19:21 setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict) 19:19:21 19:19:21 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 19:19:21 19:19:21 ---------- coverage: platform linux, python 3.10.6-final-0 ----------- 19:19:21 Name Stmts Miss Cover Missing 19:19:21 --------------------------------------------------------------------------------------------------------- 19:19:21 near-rt-ric-simulator/src/OSC_2.1.0/controllers/__init__.py 0 0 100% 19:19:21 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 19:19:21 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 19:19:21 near-rt-ric-simulator/src/OSC_2.1.0/models/__init__.py 0 0 100% 19:19:21 near-rt-ric-simulator/src/OSC_2.1.0/models/enforceStatus.py 28 0 100% 19:19:21 near-rt-ric-simulator/src/OSC_2.1.0/var_declaration.py 17 0 100% 19:19:21 near-rt-ric-simulator/src/STD_1.1.3/a1.py 134 11 92% 57-59, 66, 71, 78-79, 125, 166-167, 179 19:19:21 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 19:19:21 near-rt-ric-simulator/src/STD_1.1.3/var_declaration.py 11 0 100% 19:19:21 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 19:19:21 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 19:19:21 near-rt-ric-simulator/src/STD_2.0.0/models/__init__.py 0 0 100% 19:19:21 near-rt-ric-simulator/src/STD_2.0.0/models/enforceStatus.py 28 0 100% 19:19:21 near-rt-ric-simulator/src/STD_2.0.0/var_declaration.py 13 0 100% 19:19:21 near-rt-ric-simulator/src/common/maincommon.py 39 8 79% 34-35, 53, 56, 60-63, 72 19:19:21 near-rt-ric-simulator/src/common/payload_logging.py 28 6 79% 31-38 19:19:21 near-rt-ric-simulator/src/common/utils.py 10 9 10% 20-29 19:19:21 near-rt-ric-simulator/test/common/compare_json.py 63 24 62% 46, 57, 67, 71, 74, 80, 83, 87, 103-105, 108-127 19:19:21 near-rt-ric-simulator/tests/test_osc_2_1_0.py 371 0 100% 19:19:21 near-rt-ric-simulator/tests/test_std_1_1_3.py 209 0 100% 19:19:21 near-rt-ric-simulator/tests/test_std_2_0_0.py 329 0 100% 19:19:21 near-rt-ric-simulator/tests/unittest_setup.py 29 2 93% 63-64 19:19:21 --------------------------------------------------------------------------------------------------------- 19:19:21 TOTAL 2219 282 87% 19:19:21 Coverage HTML written to dir htmlcov 19:19:21 Coverage XML written to file coverage.xml 19:19:21 19:19:21 Required test coverage of 70% reached. Total coverage: 87.29% 19:19:21 ======================= 4 passed, 65 warnings in 21.88s ======================== 19:19:21 code: commands[3]> coverage xml -i 19:19:22 Wrote XML report to coverage.xml 19:19:22 code: OK ✔ in 1 minute 4.49 seconds 19:19:22 docs: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:19:59 docs: freeze> python -m pip freeze --all 19:20:00 docs: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,cachetools==5.5.0,certifi==2024.8.30,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.16.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pbr==6.1.0,pillow==10.4.0,pip==24.2,platformdirs==4.3.6,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.4,pyproject-api==1.7.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==75.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.3.0,tomli==2.0.1,tox==4.19.0,urllib3==1.26.20,virtualenv==20.26.5,webcolors==24.8.0,wheel==0.44.0 19:20:00 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:00 Running Sphinx v5.3.0 19:20:00 making output directory... done 19:20:00 building [mo]: targets for 0 po files that are out of date 19:20:00 building [html]: targets for 6 source files that are out of date 19:20:00 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:00 reading sources... [ 16%] callout-server 19:20:00 reading sources... [ 33%] index 19:20:00 reading sources... [ 50%] kafka-message-dispatcher 19:20:00 reading sources... [ 66%] overview 19:20:00 reading sources... [ 83%] release-notes 19:20:01 reading sources... [100%] simulator-api 19:20:01 19:20:01 looking for now-outdated files... none found 19:20:01 pickling environment... done 19:20:01 checking consistency... done 19:20:01 preparing documents... done 19:20:01 writing output... [ 16%] callout-server 19:20:01 writing output... [ 33%] index 19:20:01 writing output... [ 50%] kafka-message-dispatcher 19:20:01 writing output... [ 66%] overview 19:20:01 writing output... [ 83%] release-notes 19:20:01 writing output... [100%] simulator-api 19:20:01 19:20:01 generating indices... genindex done 19:20:01 writing additional pages... search done 19:20:01 copying images... [100%] images/yaml_logo.png 19:20:01 19:20:01 copying downloadable files... [ 50%] ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml 19:20:01 copying downloadable files... [100%] ../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml 19:20:01 19:20:01 copying static files... done 19:20:01 copying extra files... done 19:20:01 dumping search index in English (code: en)... done 19:20:01 dumping object inventory... done 19:20:01 build succeeded. 19:20:01 19:20:01 The HTML pages are in docs/_build/html. 19:20:01 docs: commands[1]> echo 'Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html' 19:20:01 Generated docs available in /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/html 19:20:02 docs: OK ✔ in 39.87 seconds 19:20:02 docs-linkcheck: install_deps> python -I -m pip install -r /w/workspace/sim-a1-interface-tox-sonarqube/docs/requirements-docs.txt 19:20:22 docs-linkcheck: freeze> python -m pip freeze --all 19:20:22 docs-linkcheck: alabaster==0.7.16,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,cachetools==5.5.0,certifi==2024.8.30,chardet==5.2.0,charset-normalizer==3.3.2,colorama==0.4.6,commonmark==0.9.1,contourpy==1.3.0,cycler==0.12.1,distlib==0.3.8,doc8==0.11.2,docutils==0.16,filelock==3.16.1,fonttools==4.53.1,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==2.1.5,matplotlib==3.9.2,numpy==2.1.1,nwdiag==3.0.0,packaging==24.1,pbr==6.1.0,pillow==10.4.0,pip==24.2,platformdirs==4.3.6,pluggy==1.5.0,Pygments==2.18.0,pyparsing==3.1.4,pyproject-api==1.7.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,recommonmark==0.7.1,requests==2.32.3,requests-file==1.5.1,restructuredtext_lint==1.4.0,seqdiag==3.0.0,setuptools==75.1.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.5,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-redoc==1.6.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,stevedore==5.3.0,tomli==2.0.1,tox==4.19.0,urllib3==1.26.20,virtualenv==20.26.5,webcolors==24.8.0,wheel==0.44.0 19:20:22 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/sim-a1-interface-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/sim-a1-interface-tox-sonarqube/docs/_build/linkcheck 19:20:23 Running Sphinx v5.3.0 19:20:23 making output directory... done 19:20:23 building [mo]: targets for 0 po files that are out of date 19:20:23 building [linkcheck]: targets for 6 source files that are out of date 19:20:23 updating environment: [new config] 6 added, 0 changed, 0 removed 19:20:23 reading sources... [ 16%] callout-server 19:20:23 reading sources... [ 33%] index 19:20:23 reading sources... [ 50%] kafka-message-dispatcher 19:20:23 reading sources... [ 66%] overview 19:20:23 reading sources... [ 83%] release-notes 19:20:23 reading sources... [100%] simulator-api 19:20:23 19:20:23 looking for now-outdated files... none found 19:20:23 pickling environment... done 19:20:23 checking consistency... done 19:20:23 preparing documents... done 19:20:23 writing output... [ 16%] callout-server 19:20:23 writing output... [ 33%] index 19:20:23 writing output... [ 50%] kafka-message-dispatcher 19:20:23 writing output... [ 66%] overview 19:20:23 writing output... [ 83%] release-notes 19:20:23 writing output... [100%] simulator-api 19:20:23 19:20:23 19:20:24 ( callout-server: line 27) -ignored- ./EXT_SRV_api.html 19:20:24 (kafka-message-dispatcher: line 27) -ignored- ./KAFKA_DISPATCHER_api.html 19:20:24 ( simulator-api: line 337) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/OSC_2.1.0/openapi.yaml 19:20:24 ( simulator-api: line 550) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_1.1.3/STD_A1.yaml 19:20:24 ( simulator-api: line 639) -ignored- https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/api/STD_2.0.0/ORAN_A1-p_V2.0.0_api.yaml 19:20:24 build succeeded. 19:20:24 19:20:24 Look for any errors in the above output or in docs/_build/linkcheck/output.txt 19:20:24 code: OK (64.49=setup[8.15]+cmd[21.96,11.72,22.27,0.40] seconds) 19:20:24 docs: OK (39.87=setup[38.11]+cmd[1.75,0.00] seconds) 19:20:24 docs-linkcheck: OK (22.25=setup[21.06]+cmd[1.19] seconds) 19:20:24 congratulations :) (126.76 seconds) 19:20:24 + tox_status=0 19:20:24 + echo '---> Completed tox runs' 19:20:24 ---> Completed tox runs 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/code/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=code 19:20:24 + cp -r .tox/code/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/code 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/docs-linkcheck/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=docs-linkcheck 19:20:24 + cp -r .tox/docs-linkcheck/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs-linkcheck 19:20:24 + for i in .tox/*/log 19:20:24 ++ echo .tox/docs/log 19:20:24 ++ awk -F/ '{print $2}' 19:20:24 + tox_env=docs 19:20:24 + cp -r .tox/docs/log /w/workspace/sim-a1-interface-tox-sonarqube/archives/tox/docs 19:20:24 + DOC_DIR=docs/_build/html 19:20:24 + [[ -d docs/_build/html ]] 19:20:24 + echo '---> Archiving generated docs' 19:20:24 ---> Archiving generated docs 19:20:24 + mv docs/_build/html /w/workspace/sim-a1-interface-tox-sonarqube/archives/docs 19:20:24 + echo '---> tox-run.sh ends' 19:20:24 ---> tox-run.sh ends 19:20:24 + test 0 -eq 0 19:20:24 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu2004-builder-2c-2g-5410 19:20:25 [sim-a1-interface-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_sim-a1-interface -Dsonar.projectName=sim-a1-interface -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=near-rt-ric-simulator -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/sim-a1-interface-tox-sonarqube 19:20:25 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:25 INFO: Project root configuration file: NONE 19:20:25 INFO: SonarScanner 4.6.2.2472 19:20:25 INFO: Java 17.0.9 Private Build (64-bit) 19:20:25 INFO: Linux 5.4.0-169-generic amd64 19:20:26 INFO: User cache: /home/jenkins/.sonar/cache 19:20:28 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 19:20:28 INFO: Project root configuration file: NONE 19:20:28 INFO: Analyzing on SonarCloud 19:20:28 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 19:20:29 INFO: Load global settings 19:20:29 INFO: Load global settings (done) | time=619ms 19:20:29 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 19:20:29 INFO: Loading required plugins 19:20:29 INFO: Load plugins index 19:20:30 INFO: Load plugins index (done) | time=210ms 19:20:30 INFO: Load/download plugins 19:20:30 INFO: Load/download plugins (done) | time=628ms 19:20:31 INFO: Found an active CI vendor: 'Jenkins' 19:20:31 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' 19:20:31 INFO: Load project settings for component key: 'o-ran-sc_sim-a1-interface' (done) | time=193ms 19:20:31 INFO: Process project properties 19:20:31 INFO: Project key: o-ran-sc_sim-a1-interface 19:20:31 INFO: Base dir: /w/workspace/sim-a1-interface-tox-sonarqube 19:20:31 INFO: Working dir: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork 19:20:31 INFO: Load project branches 19:20:31 INFO: Load project branches (done) | time=435ms 19:20:31 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' 19:20:32 INFO: Detected project binding: NOT_BOUND 19:20:32 INFO: Check ALM binding of project 'o-ran-sc_sim-a1-interface' (done) | time=186ms 19:20:32 INFO: Load project pull requests 19:20:32 INFO: Load project pull requests (done) | time=479ms 19:20:32 INFO: Load branch configuration 19:20:32 INFO: Load branch configuration (done) | time=2ms 19:20:32 INFO: Load quality profiles 19:20:32 INFO: Load quality profiles (done) | time=273ms 19:20:32 INFO: Load active rules 19:20:42 INFO: Load active rules (done) | time=9842ms 19:20:42 INFO: Organization key: o-ran-sc 19:20:42 WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. 19:20:42 INFO: Preprocessing files... 19:20:43 INFO: 4 languages detected in 112 preprocessed files 19:20:43 INFO: 0 files ignored because of inclusion/exclusion patterns 19:20:43 INFO: 22 files ignored because of scm ignore settings 19:20:43 INFO: Loading plugins for detected languages 19:20:43 INFO: Load/download plugins 19:20:44 INFO: Load/download plugins (done) | time=1607ms 19:20:45 INFO: Load project repositories 19:20:45 INFO: Load project repositories (done) | time=236ms 19:20:45 INFO: Indexing files... 19:20:45 INFO: Project configuration: 19:20:45 INFO: Excluded sources: **/build-wrapper-dump.json 19:20:45 INFO: 112 files indexed 19:20:45 INFO: Quality profile for docker: Sonar way 19:20:45 INFO: Quality profile for json: SonarQube Way 19:20:45 INFO: Quality profile for py: Sonar way 19:20:45 INFO: Quality profile for yaml: Sonar way 19:20:45 INFO: ------------- Run sensors on module sim-a1-interface 19:20:45 INFO: Load metrics repository 19:20:45 INFO: Load metrics repository (done) | time=177ms 19:20:45 INFO: Sensor cache enabled 19:20:45 INFO: Load sensor cache 19:20:48 INFO: Load sensor cache (375 KB) | time=2705ms 19:20:49 INFO: Sensor Python Sensor [python] 19:20:49 WARN: Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version" 19:20:49 INFO: Starting global symbols computation 19:20:49 INFO: 37 source files to be analyzed 19:20:50 INFO: 37/37 source files have been analyzed 19:20:50 INFO: Starting rules execution 19:20:50 INFO: 37 source files to be analyzed 19:20:55 INFO: 37/37 source files have been analyzed 19:20:55 INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 37 files. These files were not parsed. 19:20:55 INFO: Sensor Python Sensor [python] (done) | time=6473ms 19:20:55 INFO: Sensor Cobertura Sensor for Python coverage [python] 19:20:56 INFO: Python test coverage 19:20:56 INFO: Parsing report '/w/workspace/sim-a1-interface-tox-sonarqube/coverage.xml' 19:20:56 INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=320ms 19:20:56 INFO: Sensor PythonXUnitSensor [python] 19:20:56 INFO: Sensor PythonXUnitSensor [python] (done) | time=227ms 19:20:56 INFO: Sensor Python HTML templates processing [securitypythonfrontend] 19:20:56 INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities 19:20:56 INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=9ms 19:20:56 INFO: Sensor JaCoCo XML Report Importer [jacoco] 19:20:56 INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml 19:20:56 INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer 19:20:56 INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms 19:20:56 INFO: Sensor IaC CloudFormation Sensor [iac] 19:20:56 INFO: 0 source files to be analyzed 19:20:56 INFO: 0/0 source files have been analyzed 19:20:56 INFO: Sensor IaC CloudFormation Sensor [iac] (done) | time=43ms 19:20:56 INFO: Sensor IaC Kubernetes Sensor [iac] 19:20:56 INFO: 0 source files to be parsed 19:20:56 INFO: 0/0 source files have been parsed 19:20:56 INFO: 0 source files to be analyzed 19:20:56 INFO: 0/0 source files have been analyzed 19:20:56 INFO: 0 source files to be checked 19:20:56 INFO: 0/0 source files have been checked 19:20:56 INFO: Sensor IaC Kubernetes Sensor [iac] (done) | time=123ms 19:20:56 INFO: Sensor IaC AzureResourceManager Sensor [iac] 19:20:56 INFO: 0 source files to be analyzed 19:20:56 INFO: 0/0 source files have been analyzed 19:20:56 INFO: Sensor IaC AzureResourceManager Sensor [iac] (done) | time=130ms 19:20:56 INFO: Sensor Java Config Sensor [iac] 19:20:56 INFO: 0 source files to be analyzed 19:20:56 INFO: 0/0 source files have been analyzed 19:20:56 INFO: Sensor Java Config Sensor [iac] (done) | time=15ms 19:20:56 INFO: Sensor JavaScript inside YAML analysis [javascript] 19:20:56 INFO: No input files found for analysis 19:20:56 INFO: Hit the cache for 0 out of 0 19:20:56 INFO: Miss the cache for 0 out of 0 19:20:56 INFO: Sensor JavaScript inside YAML analysis [javascript] (done) | time=18ms 19:20:56 INFO: Sensor CSS Rules [javascript] 19:20:56 INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. 19:20:56 INFO: Sensor CSS Rules [javascript] (done) | time=1ms 19:20:56 INFO: Sensor IaC Docker Sensor [iac] 19:20:56 INFO: 3 source files to be analyzed 19:20:56 INFO: 3/3 source files have been analyzed 19:20:56 INFO: Sensor IaC Docker Sensor [iac] (done) | time=154ms 19:20:56 INFO: Sensor Serverless configuration file sensor [security] 19:20:56 INFO: 0 Serverless function entries were found in the project 19:20:56 INFO: 0 Serverless function handlers were kept as entrypoints 19:20:56 INFO: Sensor Serverless configuration file sensor [security] (done) | time=7ms 19:20:56 INFO: Sensor AWS SAM template file sensor [security] 19:20:56 INFO: Sensor AWS SAM template file sensor [security] (done) | time=4ms 19:20:56 INFO: Sensor AWS SAM Inline template file sensor [security] 19:20:56 INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=4ms 19:20:56 INFO: Sensor javabugs [dbd] 19:20:56 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/java 19:20:56 INFO: No IR files have been included for analysis. 19:20:56 INFO: Sensor javabugs [dbd] (done) | time=2ms 19:20:56 INFO: Sensor pythonbugs [dbd] 19:20:57 INFO: Reading IR files from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ir/python 19:20:57 INFO: Analyzing 100 functions to detect bugs. 19:20:57 INFO: Sensor pythonbugs [dbd] (done) | time=534ms 19:20:57 INFO: Sensor TextAndSecretsSensor [text] 19:20:57 INFO: Available processors: 2 19:20:57 INFO: Using 2 threads for analysis. 19:20:57 INFO: The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true: 19:20:57 * The filename starts with "test" 19:20:57 * The filename contains "test." or "tests." 19:20:57 * Any directory in the file path is named: "doc", "docs", "test" or "tests" 19:20:57 * Any directory in the file path has a name ending in "test" or "tests" 19:20:57 19:20:58 INFO: Using git CLI to retrieve untracked files 19:20:58 INFO: Analyzing language associated files and files included via "sonar.text.inclusions" that are tracked by git 19:20:58 INFO: 92 source files to be analyzed 19:20:58 INFO: 92/92 source files have been analyzed 19:20:58 INFO: Sensor TextAndSecretsSensor [text] (done) | time=1015ms 19:20:58 INFO: Sensor JavaSecuritySensor [security] 19:20:58 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 19:20:58 INFO: Load type hierarchy and UCFGs: Starting 19:20:58 INFO: Load type hierarchy: Starting 19:20:58 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/java 19:20:58 INFO: Read 0 type definitions 19:20:58 INFO: Load type hierarchy: Time spent was 00:00:00.001 19:20:58 INFO: Load UCFGs: Starting 19:20:58 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:58 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 19:20:58 INFO: No UCFGs have been included for analysis. 19:20:58 INFO: java security sensor: Time spent was 00:00:00.049 19:20:58 INFO: java security sensor: Begin: 2024-09-18T19:20:58.539259939Z, End: 2024-09-18T19:20:58.588479041Z, Duration: 00:00:00.049 19:20:58 Load type hierarchy and UCFGs: Begin: 2024-09-18T19:20:58.541223407Z, End: 2024-09-18T19:20:58.543876707Z, Duration: 00:00:00.002 19:20:58 Load type hierarchy: Begin: 2024-09-18T19:20:58.541318817Z, End: 2024-09-18T19:20:58.543302425Z, Duration: 00:00:00.001 19:20:58 Load UCFGs: Begin: 2024-09-18T19:20:58.543743646Z, End: 2024-09-18T19:20:58.543800097Z, Duration: 00:00:00.000 19:20:58 INFO: java security sensor peak memory: 209 MB 19:20:58 INFO: Sensor JavaSecuritySensor [security] (done) | time=53ms 19:20:58 INFO: Sensor CSharpSecuritySensor [security] 19:20:58 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 19:20:58 INFO: Load type hierarchy and UCFGs: Starting 19:20:58 INFO: Load type hierarchy: Starting 19:20:58 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/ucfg2/cs 19:20:58 INFO: Read 0 type definitions 19:20:58 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:58 INFO: Load UCFGs: Starting 19:20:58 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:58 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:58 INFO: No UCFGs have been included for analysis. 19:20:58 INFO: csharp security sensor: Time spent was 00:00:00.001 19:20:58 INFO: csharp security sensor: Begin: 2024-09-18T19:20:58.590360508Z, End: 2024-09-18T19:20:58.591414153Z, Duration: 00:00:00.001 19:20:58 Load type hierarchy and UCFGs: Begin: 2024-09-18T19:20:58.590555349Z, End: 2024-09-18T19:20:58.590921691Z, Duration: 00:00:00.000 19:20:58 Load type hierarchy: Begin: 2024-09-18T19:20:58.590571039Z, End: 2024-09-18T19:20:58.590776770Z, Duration: 00:00:00.000 19:20:58 Load UCFGs: Begin: 2024-09-18T19:20:58.590848390Z, End: 2024-09-18T19:20:58.590871860Z, Duration: 00:00:00.000 19:20:58 INFO: csharp security sensor peak memory: 209 MB 19:20:58 INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms 19:20:58 INFO: Sensor PhpSecuritySensor [security] 19:20:58 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 19:20:58 INFO: Load type hierarchy and UCFGs: Starting 19:20:58 INFO: Load type hierarchy: Starting 19:20:58 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/php 19:20:58 INFO: Read 0 type definitions 19:20:58 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:58 INFO: Load UCFGs: Starting 19:20:58 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:58 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:58 INFO: No UCFGs have been included for analysis. 19:20:58 INFO: php security sensor: Time spent was 00:00:00.000 19:20:58 INFO: php security sensor: Begin: 2024-09-18T19:20:58.591849094Z, End: 2024-09-18T19:20:58.592460427Z, Duration: 00:00:00.000 19:20:58 Load type hierarchy and UCFGs: Begin: 2024-09-18T19:20:58.591971665Z, End: 2024-09-18T19:20:58.592171455Z, Duration: 00:00:00.000 19:20:58 Load type hierarchy: Begin: 2024-09-18T19:20:58.591987175Z, End: 2024-09-18T19:20:58.592069125Z, Duration: 00:00:00.000 19:20:58 Load UCFGs: Begin: 2024-09-18T19:20:58.592116075Z, End: 2024-09-18T19:20:58.592134565Z, Duration: 00:00:00.000 19:20:58 INFO: php security sensor peak memory: 209 MB 19:20:58 INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms 19:20:58 INFO: Sensor PythonSecuritySensor [security] 19:20:58 INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 19:20:58 INFO: Load type hierarchy and UCFGs: Starting 19:20:58 INFO: Load type hierarchy: Starting 19:20:58 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:58 INFO: Read 451 type definitions 19:20:58 INFO: Load type hierarchy: Time spent was 00:00:00.153 19:20:58 INFO: Load UCFGs: Starting 19:20:58 INFO: Reading UCFGs from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/python 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.404 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.563 19:20:59 INFO: Analyzing 2437 UCFGs to detect vulnerabilities. 19:20:59 INFO: Check cache: Starting 19:20:59 INFO: Load cache: Starting 19:20:59 INFO: Load cache: Time spent was 00:00:00.000 19:20:59 INFO: Check cache: Time spent was 00:00:00.000 19:20:59 INFO: Create runtime call graph: Starting 19:20:59 INFO: Variable Type Analysis #1: Starting 19:20:59 INFO: Create runtime type propagation graph: Starting 19:20:59 INFO: Create runtime type propagation graph: Time spent was 00:00:00.046 19:20:59 INFO: Run SCC (Tarjan) on 7177 nodes: Starting 19:20:59 INFO: Run SCC (Tarjan) on 7177 nodes: Time spent was 00:00:00.029 19:20:59 INFO: Tarjan found 7177 strongly connected components 19:20:59 INFO: Propagate runtime types to strongly connected components: Starting 19:20:59 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.039 19:20:59 INFO: Variable Type Analysis #1: Time spent was 00:00:00.117 19:20:59 INFO: Variable Type Analysis #2: Starting 19:20:59 INFO: Create runtime type propagation graph: Starting 19:20:59 INFO: Create runtime type propagation graph: Time spent was 00:00:00.024 19:20:59 INFO: Run SCC (Tarjan) on 7102 nodes: Starting 19:20:59 INFO: Run SCC (Tarjan) on 7102 nodes: Time spent was 00:00:00.005 19:20:59 INFO: Tarjan found 7102 strongly connected components 19:20:59 INFO: Propagate runtime types to strongly connected components: Starting 19:20:59 INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.017 19:20:59 INFO: Variable Type Analysis #2: Time spent was 00:00:00.048 19:20:59 INFO: Create runtime call graph: Time spent was 00:00:00.171 19:20:59 INFO: Load config: Starting 19:20:59 INFO: Load config: Time spent was 00:00:00.144 19:20:59 INFO: Compute entry points: Starting 19:20:59 INFO: Compute entry points: Time spent was 00:00:00.192 19:20:59 INFO: All rules entry points : 5 19:20:59 INFO: Slice call graph: Starting 19:20:59 INFO: Retained UCFGs : 33 19:20:59 INFO: Slice call graph: Time spent was 00:00:00.002 19:20:59 INFO: Live variable analysis: Starting 19:20:59 INFO: Live variable analysis: Time spent was 00:00:00.013 19:20:59 INFO: Taint analysis for python: Starting 19:20:59 INFO: 0 / 33 UCFGs simulated, memory usage: 159 MB 19:20:59 INFO: 24 / 33 UCFGs simulated, memory usage: 177 MB 19:20:59 INFO: Taint analysis for python: Time spent was 00:00:00.206 19:20:59 INFO: Report issues: Starting 19:20:59 INFO: Report issues: Time spent was 00:00:00.002 19:20:59 INFO: Store cache: Starting 19:20:59 INFO: Store cache: Time spent was 00:00:00.003 19:20:59 INFO: python security sensor: Time spent was 00:00:01.304 19:20:59 INFO: python security sensor: Begin: 2024-09-18T19:20:58.592926628Z, End: 2024-09-18T19:20:59.897725460Z, Duration: 00:00:01.304 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-09-18T19:20:58.593043659Z, End: 2024-09-18T19:20:59.156621380Z, Duration: 00:00:00.563 19:20:59 Load type hierarchy: Begin: 2024-09-18T19:20:58.593058189Z, End: 2024-09-18T19:20:58.746197835Z, Duration: 00:00:00.153 19:20:59 Load UCFGs: Begin: 2024-09-18T19:20:58.751018384Z, End: 2024-09-18T19:20:59.155327935Z, Duration: 00:00:00.404 19:20:59 Check cache: Begin: 2024-09-18T19:20:59.156791781Z, End: 2024-09-18T19:20:59.157245233Z, Duration: 00:00:00.000 19:20:59 Load cache: Begin: 2024-09-18T19:20:59.156895872Z, End: 2024-09-18T19:20:59.156962392Z, Duration: 00:00:00.000 19:20:59 Create runtime call graph: Begin: 2024-09-18T19:20:59.159078321Z, End: 2024-09-18T19:20:59.330601674Z, Duration: 00:00:00.171 19:20:59 Variable Type Analysis #1: Begin: 2024-09-18T19:20:59.159717914Z, End: 2024-09-18T19:20:59.277584934Z, Duration: 00:00:00.117 19:20:59 Create runtime type propagation graph: Begin: 2024-09-18T19:20:59.160407827Z, End: 2024-09-18T19:20:59.207137949Z, Duration: 00:00:00.046 19:20:59 Run SCC (Tarjan) on 7177 nodes: Begin: 2024-09-18T19:20:59.207601621Z, End: 2024-09-18T19:20:59.237193369Z, Duration: 00:00:00.029 19:20:59 Propagate runtime types to strongly connected components: Begin: 2024-09-18T19:20:59.237521871Z, End: 2024-09-18T19:20:59.277350113Z, Duration: 00:00:00.039 19:20:59 Variable Type Analysis #2: Begin: 2024-09-18T19:20:59.279608323Z, End: 2024-09-18T19:20:59.327912173Z, Duration: 00:00:00.048 19:20:59 Create runtime type propagation graph: Begin: 2024-09-18T19:20:59.279683074Z, End: 2024-09-18T19:20:59.304334820Z, Duration: 00:00:00.024 19:20:59 Run SCC (Tarjan) on 7102 nodes: Begin: 2024-09-18T19:20:59.304530811Z, End: 2024-09-18T19:20:59.310224676Z, Duration: 00:00:00.005 19:20:59 Propagate runtime types to strongly connected components: Begin: 2024-09-18T19:20:59.310359566Z, End: 2024-09-18T19:20:59.327803332Z, Duration: 00:00:00.017 19:20:59 Load config: Begin: 2024-09-18T19:20:59.330708195Z, End: 2024-09-18T19:20:59.475681582Z, Duration: 00:00:00.144 19:20:59 Compute entry points: Begin: 2024-09-18T19:20:59.475906643Z, End: 2024-09-18T19:20:59.668121596Z, Duration: 00:00:00.192 19:20:59 Slice call graph: Begin: 2024-09-18T19:20:59.668302787Z, End: 2024-09-18T19:20:59.670834148Z, Duration: 00:00:00.002 19:20:59 Live variable analysis: Begin: 2024-09-18T19:20:59.670900788Z, End: 2024-09-18T19:20:59.684391946Z, Duration: 00:00:00.013 19:20:59 Taint analysis for python: Begin: 2024-09-18T19:20:59.684624747Z, End: 2024-09-18T19:20:59.891101711Z, Duration: 00:00:00.206 19:20:59 Report issues: Begin: 2024-09-18T19:20:59.891181302Z, End: 2024-09-18T19:20:59.893659863Z, Duration: 00:00:00.002 19:20:59 Store cache: Begin: 2024-09-18T19:20:59.893723883Z, End: 2024-09-18T19:20:59.897094768Z, Duration: 00:00:00.003 19:20:59 INFO: python security sensor peak memory: 212 MB 19:20:59 INFO: Sensor PythonSecuritySensor [security] (done) | time=1306ms 19:20:59 INFO: Sensor JsSecuritySensor [security] 19:20:59 INFO: Enabled taint analysis rules: S5883, S5131, S2083, S6096, S6350, S5144, S6287, S6105, S5334, S5147, S5146, S2076, S3649, S2631, S5696 19:20:59 INFO: Load type hierarchy and UCFGs: Starting 19:20:59 INFO: Load type hierarchy: Starting 19:20:59 INFO: Reading type hierarchy from: /w/workspace/sim-a1-interface-tox-sonarqube/.scannerwork/ucfg2/js 19:20:59 INFO: Read 0 type definitions 19:20:59 INFO: Load type hierarchy: Time spent was 00:00:00.000 19:20:59 INFO: Load UCFGs: Starting 19:20:59 INFO: Load UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 19:20:59 INFO: No UCFGs have been included for analysis. 19:20:59 INFO: js security sensor: Time spent was 00:00:00.000 19:20:59 INFO: js security sensor: Begin: 2024-09-18T19:20:59.899077156Z, End: 2024-09-18T19:20:59.899788089Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy and UCFGs: Begin: 2024-09-18T19:20:59.899264177Z, End: 2024-09-18T19:20:59.899555368Z, Duration: 00:00:00.000 19:20:59 Load type hierarchy: Begin: 2024-09-18T19:20:59.899279467Z, End: 2024-09-18T19:20:59.899393687Z, Duration: 00:00:00.000 19:20:59 Load UCFGs: Begin: 2024-09-18T19:20:59.899451818Z, End: 2024-09-18T19:20:59.899521448Z, Duration: 00:00:00.000 19:20:59 INFO: js security sensor peak memory: 212 MB 19:20:59 INFO: Sensor JsSecuritySensor [security] (done) | time=1ms 19:20:59 INFO: ------------- Run sensors on project 19:20:59 INFO: Sensor Zero Coverage Sensor 19:20:59 INFO: Sensor Zero Coverage Sensor (done) | time=4ms 19:21:00 INFO: CPD Executor 5 files had no CPD blocks 19:21:00 INFO: CPD Executor Calculating CPD for 32 files 19:21:00 INFO: CPD Executor CPD calculation finished (done) | time=43ms 19:21:00 INFO: Analysis report generated in 203ms, dir size=705 KB 19:21:00 INFO: Analysis report compressed in 108ms, zip size=246 KB 19:21:01 INFO: Analysis report uploaded in 779ms 19:21:01 INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_sim-a1-interface 19:21:01 INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report 19:21:01 INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AZIGlLEV4W9j6hOyizSB 19:21:02 INFO: Sensor cache published successfully 19:21:02 INFO: Analysis total time: 31.679 s 19:21:02 INFO: ------------------------------------------------------------------------ 19:21:02 INFO: EXECUTION SUCCESS 19:21:02 INFO: ------------------------------------------------------------------------ 19:21:02 INFO: Total time: 36.746s 19:21:02 INFO: Final Memory: 49M/174M 19:21:02 INFO: ------------------------------------------------------------------------ 19:21:03 $ ssh-agent -k 19:21:03 unset SSH_AUTH_SOCK; 19:21:03 unset SSH_AGENT_PID; 19:21:03 echo Agent pid 6152 killed; 19:21:03 [ssh-agent] Stopped. 19:21:03 [PostBuildScript] - [INFO] Executing post build scripts. 19:21:03 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins14160455580363879549.sh 19:21:03 ---> sysstat.sh 19:21:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins16264798209325668078.sh 19:21:04 ---> package-listing.sh 19:21:04 ++ facter osfamily 19:21:04 ++ tr '[:upper:]' '[:lower:]' 19:21:04 + OS_FAMILY=debian 19:21:04 + workspace=/w/workspace/sim-a1-interface-tox-sonarqube 19:21:04 + START_PACKAGES=/tmp/packages_start.txt 19:21:04 + END_PACKAGES=/tmp/packages_end.txt 19:21:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:21:04 + PACKAGES=/tmp/packages_start.txt 19:21:04 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:04 + PACKAGES=/tmp/packages_end.txt 19:21:04 + case "${OS_FAMILY}" in 19:21:04 + grep '^ii' 19:21:04 + dpkg -l 19:21:04 + '[' -f /tmp/packages_start.txt ']' 19:21:04 + '[' -f /tmp/packages_end.txt ']' 19:21:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:21:04 + '[' /w/workspace/sim-a1-interface-tox-sonarqube ']' 19:21:04 + mkdir -p /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/sim-a1-interface-tox-sonarqube/archives/ 19:21:04 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins923328951076168173.sh 19:21:04 ---> capture-instance-metadata.sh 19:21:04 Setup pyenv: 19:21:04 system 19:21:04 3.8.13 19:21:04 3.9.13 19:21:04 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-73aM from file:/tmp/.os_lf_venv 19:21:06 lf-activate-venv(): INFO: Installing: lftools 19:21:16 lf-activate-venv(): INFO: Adding /tmp/venv-73aM/bin to PATH 19:21:16 INFO: Running in OpenStack, capturing instance metadata 19:21:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins11119730008707698447.sh 19:21:17 provisioning config files... 19:21:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/sim-a1-interface-tox-sonarqube@tmp/config15774181491042337679tmp 19:21:17 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 19:21:17 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 19:21:17 [EnvInject] - Injecting environment variables from a build step. 19:21:17 [EnvInject] - Injecting as environment variables the properties content 19:21:17 SERVER_ID=logs 19:21:17 19:21:17 [EnvInject] - Variables injected successfully. 19:21:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins13414747073066805904.sh 19:21:17 ---> create-netrc.sh 19:21:17 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins15543724402952208601.sh 19:21:17 ---> python-tools-install.sh 19:21:17 Setup pyenv: 19:21:17 system 19:21:17 3.8.13 19:21:17 3.9.13 19:21:17 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:17 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-73aM from file:/tmp/.os_lf_venv 19:21:18 lf-activate-venv(): INFO: Installing: lftools 19:21:27 lf-activate-venv(): INFO: Adding /tmp/venv-73aM/bin to PATH 19:21:27 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins10308546973528545098.sh 19:21:27 ---> sudo-logs.sh 19:21:27 Archiving 'sudo' log.. 19:21:27 [sim-a1-interface-tox-sonarqube] $ /bin/bash /tmp/jenkins1834064204651555365.sh 19:21:27 ---> job-cost.sh 19:21:27 Setup pyenv: 19:21:27 system 19:21:27 3.8.13 19:21:27 3.9.13 19:21:27 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:27 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-73aM from file:/tmp/.os_lf_venv 19:21:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 19:21:33 lf-activate-venv(): INFO: Adding /tmp/venv-73aM/bin to PATH 19:21:33 INFO: No Stack... 19:21:33 INFO: Retrieving Pricing Info for: v2-highcpu-2 19:21:33 INFO: Archiving Costs 19:21:33 [sim-a1-interface-tox-sonarqube] $ /bin/bash -l /tmp/jenkins17756998345633611786.sh 19:21:34 ---> logs-deploy.sh 19:21:34 Setup pyenv: 19:21:34 system 19:21:34 3.8.13 19:21:34 3.9.13 19:21:34 * 3.10.6 (set by /w/workspace/sim-a1-interface-tox-sonarqube/.python-version) 19:21:34 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-73aM from file:/tmp/.os_lf_venv 19:21:35 lf-activate-venv(): INFO: Installing: lftools 19:21:44 lf-activate-venv(): INFO: Adding /tmp/venv-73aM/bin to PATH 19:21:44 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/sim-a1-interface-tox-sonarqube/270 19:21:44 INFO: archiving workspace using pattern(s): -p **/*.log 19:21:50 Archives upload complete. 19:21:50 INFO: archiving logs to Nexus 19:21:51 ---> uname -a: 19:21:51 Linux prd-ubuntu2004-builder-2c-2g-5410 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 19:21:51 19:21:51 19:21:51 ---> lscpu: 19:21:51 Architecture: x86_64 19:21:51 CPU op-mode(s): 32-bit, 64-bit 19:21:51 Byte Order: Little Endian 19:21:51 Address sizes: 40 bits physical, 48 bits virtual 19:21:51 CPU(s): 2 19:21:51 On-line CPU(s) list: 0,1 19:21:51 Thread(s) per core: 1 19:21:51 Core(s) per socket: 1 19:21:51 Socket(s): 2 19:21:51 NUMA node(s): 1 19:21:51 Vendor ID: AuthenticAMD 19:21:51 CPU family: 23 19:21:51 Model: 49 19:21:51 Model name: AMD EPYC-Rome Processor 19:21:51 Stepping: 0 19:21:51 CPU MHz: 2800.000 19:21:51 BogoMIPS: 5600.00 19:21:51 Virtualization: AMD-V 19:21:51 Hypervisor vendor: KVM 19:21:51 Virtualization type: full 19:21:51 L1d cache: 64 KiB 19:21:51 L1i cache: 64 KiB 19:21:51 L2 cache: 1 MiB 19:21:51 L3 cache: 32 MiB 19:21:51 NUMA node0 CPU(s): 0,1 19:21:51 Vulnerability Gather data sampling: Not affected 19:21:51 Vulnerability Itlb multihit: Not affected 19:21:51 Vulnerability L1tf: Not affected 19:21:51 Vulnerability Mds: Not affected 19:21:51 Vulnerability Meltdown: Not affected 19:21:51 Vulnerability Mmio stale data: Not affected 19:21:51 Vulnerability Retbleed: Vulnerable 19:21:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:21:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:21:51 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected 19:21:51 Vulnerability Srbds: Not affected 19:21:51 Vulnerability Tsx async abort: Not affected 19:21:51 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 19:21:51 19:21:51 19:21:51 ---> nproc: 19:21:51 2 19:21:51 19:21:51 19:21:51 ---> df -h: 19:21:51 Filesystem Size Used Avail Use% Mounted on 19:21:51 udev 969M 0 969M 0% /dev 19:21:51 tmpfs 198M 1.0M 197M 1% /run 19:21:51 /dev/vda1 20G 8.7G 11G 46% / 19:21:51 tmpfs 986M 0 986M 0% /dev/shm 19:21:51 tmpfs 5.0M 0 5.0M 0% /run/lock 19:21:51 tmpfs 986M 0 986M 0% /sys/fs/cgroup 19:21:51 /dev/loop0 62M 62M 0 100% /snap/core20/1405 19:21:51 /dev/loop1 44M 44M 0 100% /snap/snapd/15177 19:21:51 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 19:21:51 /dev/vda15 105M 6.1M 99M 6% /boot/efi 19:21:51 tmpfs 198M 0 198M 0% /run/user/1001 19:21:51 /dev/loop3 39M 39M 0 100% /snap/snapd/21759 19:21:51 19:21:51 19:21:51 ---> free -m: 19:21:51 total used free shared buff/cache available 19:21:51 Mem: 1971 430 303 2 1237 1347 19:21:51 Swap: 1023 2 1021 19:21:51 19:21:51 19:21:51 ---> ip addr: 19:21:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 19:21:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:21:51 inet 127.0.0.1/8 scope host lo 19:21:51 valid_lft forever preferred_lft forever 19:21:51 inet6 ::1/128 scope host 19:21:51 valid_lft forever preferred_lft forever 19:21:51 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 19:21:51 link/ether fa:16:3e:1c:89:80 brd ff:ff:ff:ff:ff:ff 19:21:51 inet 10.32.6.48/23 brd 10.32.7.255 scope global dynamic ens3 19:21:51 valid_lft 86080sec preferred_lft 86080sec 19:21:51 inet6 fe80::f816:3eff:fe1c:8980/64 scope link 19:21:51 valid_lft forever preferred_lft forever 19:21:51 19:21:51 19:21:51 ---> sar -b -r -n DEV: 19:21:51 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-5410) 09/18/24 _x86_64_ (2 CPU) 19:21:51 19:21:51 19:16:34 LINUX RESTART (2 CPU) 19:21:51 19:21:51 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:21:51 19:18:01 193.78 92.92 100.87 0.00 2138.44 16323.55 0.00 19:21:51 19:19:01 47.51 14.45 33.06 0.00 1323.65 6213.10 0.00 19:21:51 19:20:01 56.59 3.48 53.11 0.00 266.09 21686.25 0.00 19:21:51 19:21:01 103.07 45.19 57.87 0.00 2882.99 29093.42 0.00 19:21:51 Average: 100.24 39.01 61.23 0.00 1652.79 18329.08 0.00 19:21:51 19:21:51 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:21:51 19:18:01 85152 1402000 385388 19.09 57328 1336436 850816 27.74 479988 1257084 16244 19:21:51 19:19:01 90796 1404524 378968 18.77 67604 1312368 894884 29.18 482160 1234768 2460 19:21:51 19:20:01 343528 1381156 398896 19.76 80756 1018588 960668 31.32 377336 1078796 128252 19:21:51 19:21:01 77256 954300 817648 40.51 84960 873272 1316048 42.91 778924 953956 31776 19:21:51 Average: 149183 1285495 495225 24.53 72662 1135166 1005604 32.79 529602 1131151 44683 19:21:51 19:21:51 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:21:51 19:18:01 ens3 80.22 74.34 939.15 8.45 0.00 0.00 0.00 0.00 19:21:51 19:18:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 19:21:51 19:19:01 ens3 18.73 17.58 37.28 5.32 0.00 0.00 0.00 0.00 19:21:51 19:19:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 19:21:51 19:20:01 ens3 191.32 139.71 3395.75 11.87 0.00 0.00 0.00 0.00 19:21:51 19:20:01 lo 0.43 0.43 0.04 0.04 0.00 0.00 0.00 0.00 19:21:51 19:21:01 ens3 414.66 246.93 3044.83 29.22 0.00 0.00 0.00 0.00 19:21:51 19:21:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 19:21:51 Average: ens3 176.23 119.64 1854.25 13.71 0.00 0.00 0.00 0.00 19:21:51 Average: lo 0.92 0.92 0.09 0.09 0.00 0.00 0.00 0.00 19:21:51 19:21:51 19:21:51 ---> sar -P ALL: 19:21:51 Linux 5.4.0-169-generic (prd-ubuntu2004-builder-2c-2g-5410) 09/18/24 _x86_64_ (2 CPU) 19:21:51 19:21:51 19:16:34 LINUX RESTART (2 CPU) 19:21:51 19:21:51 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:21:51 19:18:01 all 35.65 20.20 14.63 6.84 0.08 22.60 19:21:51 19:18:01 0 39.01 18.78 14.11 8.22 0.08 19.79 19:21:51 19:18:01 1 32.27 21.62 15.15 5.46 0.08 25.42 19:21:51 19:19:01 all 20.54 0.00 1.84 2.56 0.07 74.99 19:21:51 19:19:01 0 11.81 0.00 1.81 4.22 0.05 82.11 19:21:51 19:19:01 1 29.40 0.00 1.87 0.87 0.08 67.77 19:21:51 19:20:01 all 20.71 0.00 2.49 2.87 0.08 73.84 19:21:51 19:20:01 0 7.61 0.00 1.47 2.43 0.07 88.42 19:21:51 19:20:01 1 33.87 0.00 3.51 3.31 0.10 59.20 19:21:51 19:21:01 all 44.58 0.00 3.21 4.18 0.08 47.95 19:21:51 19:21:01 0 33.58 0.00 2.55 2.75 0.08 61.03 19:21:51 19:21:01 1 55.61 0.00 3.86 5.62 0.08 34.82 19:21:51 Average: all 30.34 5.01 5.52 4.11 0.08 54.94 19:21:51 Average: 0 22.94 4.66 4.96 4.40 0.07 62.98 19:21:51 Average: 1 37.80 5.37 6.08 3.81 0.09 46.85 19:21:51 19:21:51 19:21:51