17:46:57 Started by timer 17:46:57 Running as SYSTEM 17:46:57 [EnvInject] - Loading node environment variables. 17:46:57 Building remotely on prd-ubuntu1804-builder-2c-2g-6916 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/com-pylog-tox-sonarqube 17:46:57 [ssh-agent] Looking for ssh-agent implementation... 17:46:57 $ ssh-agent 17:46:57 SSH_AUTH_SOCK=/tmp/ssh-apepKtLhqTvD/agent.1612 17:46:57 SSH_AGENT_PID=1614 17:46:57 [ssh-agent] Started. 17:46:57 Running ssh-add (command line suppressed) 17:46:57 Identity added: /w/workspace/com-pylog-tox-sonarqube@tmp/private_key_12895274395714588046.key (jenkins-ssh) 17:46:57 [ssh-agent] Using credentials jenkins (jenkins) 17:46:57 The recommended git tool is: NONE 17:47:00 using credential jenkins 17:47:00 Wiping out workspace first. 17:47:00 Cloning the remote Git repository 17:47:00 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog 17:47:00 > git init /w/workspace/com-pylog-tox-sonarqube # timeout=10 17:47:00 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog 17:47:00 > git --version # timeout=10 17:47:00 > git --version # 'git version 2.17.1' 17:47:00 using GIT_SSH to set credentials jenkins 17:47:00 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:01 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog # timeout=10 17:47:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:01 Avoid second fetch 17:47:01 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 17:47:01 Checking out Revision 34b33525519549b8b6ff6074aafb46e0d3087f4a (refs/remotes/origin/master) 17:47:01 > git config core.sparsecheckout # timeout=10 17:47:01 > git checkout -f 34b33525519549b8b6ff6074aafb46e0d3087f4a # timeout=10 17:47:02 Commit message: "RIC:1060: Change in PTL" 17:47:02 > git rev-list --no-walk 34b33525519549b8b6ff6074aafb46e0d3087f4a # timeout=10 17:47:05 provisioning config files... 17:47:05 copy managed file [npmrc] to file:/home/jenkins/.npmrc 17:47:05 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 17:47:05 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins1493508970422194021.sh 17:47:05 ---> python-tools-install.sh 17:47:05 Setup pyenv: 17:47:05 * system (set by /opt/pyenv/version) 17:47:05 * 3.8.13 (set by /opt/pyenv/version) 17:47:05 * 3.9.13 (set by /opt/pyenv/version) 17:47:05 * 3.10.6 (set by /opt/pyenv/version) 17:47:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sqOW 17:47:13 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 17:47:13 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:47:13 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:47:21 lf-activate-venv(): INFO: Base packages installed successfully 17:47:21 lf-activate-venv(): INFO: Installing additional packages: lftools 17:48:01 lf-activate-venv(): INFO: Adding /tmp/venv-sqOW/bin to PATH 17:48:01 Generating Requirements File 17:48:45 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. 17:48:45 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 17:48:46 Python 3.10.6 17:48:46 pip 26.1.2 from /tmp/venv-sqOW/lib/python3.10/site-packages/pip (python 3.10) 17:48:47 aiohappyeyeballs==2.7.1 17:48:47 aiohttp==3.14.3 17:48:47 aiosignal==1.4.0 17:48:47 appdirs==1.4.4 17:48:47 argcomplete==3.7.0 17:48:47 aspy.yaml==1.3.0 17:48:47 async-timeout==5.0.1 17:48:47 attrs==26.1.0 17:48:47 autopage==0.6.0 17:48:47 backports.strenum==1.3.1 17:48:47 beautifulsoup4==4.15.0 17:48:47 boto3==1.43.56 17:48:47 botocore==1.43.56 17:48:47 bs4==0.0.2 17:48:47 certifi==2026.7.22 17:48:47 cffi==2.1.0 17:48:47 cfgv==3.5.0 17:48:47 chardet==7.4.3 17:48:47 charset-normalizer==3.4.9 17:48:47 click==8.4.2 17:48:47 cliff==4.14.0 17:48:47 cmd2==3.5.1 17:48:47 cryptography==3.3.2 17:48:47 debtcollector==3.1.0 17:48:47 decorator==5.3.1 17:48:47 defusedxml==0.7.1 17:48:47 Deprecated==1.3.1 17:48:47 distlib==0.4.3 17:48:47 dnspython==2.8.0 17:48:47 docker==7.2.0 17:48:47 dogpile.cache==1.5.0 17:48:47 durationpy==0.10 17:48:47 email-validator==2.3.0 17:48:47 filelock==3.32.0 17:48:47 frozenlist==1.8.0 17:48:47 future==1.0.0 17:48:47 gitdb==4.0.12 17:48:47 GitPython==3.1.57 17:48:47 httplib2==0.30.2 17:48:47 identify==2.6.19 17:48:47 idna==3.18 17:48:47 importlib-resources==1.5.0 17:48:47 iso8601==2.1.0 17:48:47 Jinja2==3.1.6 17:48:47 jmespath==1.1.0 17:48:47 jsonpatch==1.33 17:48:47 jsonpointer==3.1.1 17:48:47 jsonschema==4.26.0 17:48:47 jsonschema-specifications==2025.9.1 17:48:47 keystoneauth1==5.14.0 17:48:47 kubernetes==36.0.3 17:48:47 lftools==0.37.22 17:48:47 lxml==6.1.1 17:48:47 markdown-it-py==4.2.0 17:48:47 MarkupSafe==3.0.3 17:48:47 mdurl==0.1.2 17:48:47 msgpack==1.2.1 17:48:47 multi_key_dict==2.0.3 17:48:47 multidict==6.7.1 17:48:47 munch==4.0.0 17:48:47 netaddr==1.3.0 17:48:47 niet==1.4.2 17:48:47 nodeenv==1.10.0 17:48:47 oauth2client==4.1.3 17:48:47 oauthlib==3.3.1 17:48:47 openstacksdk==4.13.0 17:48:47 os-service-types==1.8.2 17:48:47 osc-lib==4.6.0 17:48:47 oslo.config==10.4.0 17:48:47 oslo.context==6.4.0 17:48:47 oslo.i18n==6.8.0 17:48:47 oslo.log==8.2.0 17:48:47 oslo.serialization==5.10.0 17:48:47 oslo.utils==10.1.1 17:48:47 packaging==26.2 17:48:47 pbr==7.0.3 17:48:47 platformdirs==4.11.0 17:48:47 prettytable==3.18.0 17:48:47 propcache==0.5.2 17:48:47 psutil==7.2.2 17:48:47 pyasn1==0.6.4 17:48:47 pyasn1_modules==0.4.2 17:48:47 pycparser==3.0 17:48:47 pygerrit2==2.0.15 17:48:47 PyGithub==2.9.1 17:48:47 Pygments==2.20.0 17:48:47 PyJWT==2.13.0 17:48:47 PyNaCl==1.6.2 17:48:47 pyparsing==2.4.7 17:48:47 pyperclip==1.11.0 17:48:47 pyrsistent==0.20.0 17:48:47 python-cinderclient==9.9.0 17:48:47 python-dateutil==2.9.0.post0 17:48:47 python-discovery==1.5.0 17:48:47 python-heatclient==5.2.0 17:48:47 python-jenkins==1.8.3 17:48:47 python-keystoneclient==5.8.0 17:48:47 python-magnumclient==4.11.0 17:48:47 python-openstackclient==10.0.0 17:48:47 python-swiftclient==4.10.0 17:48:47 PyYAML==6.0.3 17:48:47 referencing==0.37.0 17:48:47 requests==2.34.2 17:48:47 requests-oauthlib==2.0.0 17:48:47 rfc3986==2.0.0 17:48:47 rich==15.0.0 17:48:47 rich-argparse==1.8.0 17:48:47 rpds-py==0.30.0 17:48:47 rsa==4.9.1 17:48:47 ruamel.yaml==0.19.1 17:48:47 ruamel.yaml.clib==0.2.15 17:48:47 s3transfer==0.19.2 17:48:47 simplejson==4.1.1 17:48:47 six==1.17.0 17:48:47 smmap==5.0.3 17:48:47 soupsieve==2.9.1 17:48:47 stevedore==5.8.0 17:48:47 tabulate==0.10.0 17:48:47 toml==0.10.2 17:48:47 tomlkit==0.15.1 17:48:47 tqdm==4.70.0 17:48:47 typing_extensions==4.16.0 17:48:47 urllib3==1.26.20 17:48:47 virtualenv==21.7.0 17:48:47 wcwidth==0.8.2 17:48:47 websocket-client==1.9.0 17:48:47 wrapt==2.2.2 17:48:47 xdg==6.0.0 17:48:47 xmltodict==1.0.4 17:48:47 yarl==1.24.5 17:48:47 yq==4.1.2 17:48:47 [EnvInject] - Injecting environment variables from a build step. 17:48:47 [EnvInject] - Injecting as environment variables the properties content 17:48:47 SET_JDK_VERSION=openjdk17 17:48:47 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 17:48:47 17:48:47 [EnvInject] - Variables injected successfully. 17:48:47 [com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins2014244398550933138.sh 17:48:47 ---> update-java-alternatives.sh 17:48:47 ---> Updating Java version 17:48:47 ---> Ubuntu/Debian system detected 17:48:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 17:48:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 17:48:48 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode 17:48:48 openjdk version "17.0.7" 2023-04-18 17:48:48 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 17:48:48 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 17:48:48 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 17:48:48 [EnvInject] - Injecting environment variables from a build step. 17:48:48 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 17:48:48 [EnvInject] - Variables injected successfully. 17:48:48 [EnvInject] - Injecting environment variables from a build step. 17:48:48 [EnvInject] - Injecting as environment variables the properties content 17:48:48 PYTHON=python3 17:48:48 17:48:48 [EnvInject] - Variables injected successfully. 17:48:48 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18292102156493824458.sh 17:48:48 ---> tox-install.sh 17:48:48 + source /home/jenkins/lf-env.sh 17:48:48 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:48:48 ++ mktemp -d /tmp/venv-XXXX 17:48:48 + lf_venv=/tmp/venv-0RAV 17:48:48 + local venv_file=/tmp/.os_lf_venv 17:48:48 + local python=python3 17:48:48 + local options 17:48:48 + local set_path=true 17:48:48 + local install_args= 17:48:48 ++ 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 17:48:48 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:48:48 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:48:48 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:48:48 + true 17:48:48 + case $1 in 17:48:48 + venv_file=/tmp/.toxenv 17:48:48 + shift 2 17:48:48 + true 17:48:48 + case $1 in 17:48:48 + shift 17:48:48 + break 17:48:48 + case $python in 17:48:48 + local pkg_list= 17:48:48 + [[ -d /opt/pyenv ]] 17:48:48 + echo 'Setup pyenv:' 17:48:48 Setup pyenv: 17:48:48 + export PYENV_ROOT=/opt/pyenv 17:48:48 + PYENV_ROOT=/opt/pyenv 17:48:48 + 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 17:48:48 + 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 17:48:48 + pyenv versions 17:48:48 system 17:48:48 3.8.13 17:48:48 3.9.13 17:48:48 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:48:48 + command -v pyenv 17:48:48 ++ pyenv init - --no-rehash 17:48:48 + 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[*]}"'\'')" 17:48:48 export PATH="/opt/pyenv/shims:${PATH}" 17:48:48 export PYENV_SHELL=bash 17:48:48 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:48:48 pyenv() { 17:48:48 local command 17:48:48 command="${1:-}" 17:48:48 if [ "$#" -gt 0 ]; then 17:48:48 shift 17:48:48 fi 17:48:48 17:48:48 case "$command" in 17:48:48 rehash|shell) 17:48:48 eval "$(pyenv "sh-$command" "$@")" 17:48:48 ;; 17:48:48 *) 17:48:48 command pyenv "$command" "$@" 17:48:48 ;; 17:48:48 esac 17:48:48 }' 17:48:48 +++ 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[*]}"' 17:48:48 ++ 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 17:48:48 ++ 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 17:48:48 ++ 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 17:48:48 ++ export PYENV_SHELL=bash 17:48:48 ++ PYENV_SHELL=bash 17:48:48 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:48:48 +++ complete -F _pyenv pyenv 17:48:48 ++ lf-pyver python3 17:48:48 ++ local py_version_xy=python3 17:48:48 ++ local py_version_xyz= 17:48:48 ++ grep -E '^[0-9.]*[0-9]$' 17:48:48 ++ sed 's/^[ *]* //' 17:48:48 ++ pyenv versions 17:48:48 ++ local command 17:48:48 ++ command=versions 17:48:48 ++ '[' 1 -gt 0 ']' 17:48:48 ++ shift 17:48:48 ++ case "$command" in 17:48:48 ++ command pyenv versions 17:48:48 ++ pyenv versions 17:48:48 ++ awk '{ print $1 }' 17:48:48 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:48:48 +++ sort -V 17:48:48 +++ grep '^3' /tmp/.pyenv_versions 17:48:48 +++ tail -n 1 17:48:48 ++ py_version_xyz=3.10.6 17:48:48 ++ [[ -z 3.10.6 ]] 17:48:48 ++ echo 3.10.6 17:48:48 ++ return 0 17:48:48 + pyenv local 3.10.6 17:48:48 + local command 17:48:48 + command=local 17:48:48 + '[' 2 -gt 0 ']' 17:48:48 + shift 17:48:48 + case "$command" in 17:48:48 + command pyenv local 3.10.6 17:48:48 + pyenv local 3.10.6 17:48:48 + for arg in "$@" 17:48:48 + case $arg in 17:48:48 + pkg_list+='tox ' 17:48:48 + for arg in "$@" 17:48:48 + case $arg in 17:48:48 + pkg_list+='virtualenv ' 17:48:48 + for arg in "$@" 17:48:48 + case $arg in 17:48:48 + pkg_list+='urllib3~=1.26.15 ' 17:48:48 + [[ -f /tmp/.toxenv ]] 17:48:48 + [[ ! -f /tmp/.toxenv ]] 17:48:48 + [[ -n '' ]] 17:48:48 + python3 -m venv /tmp/venv-0RAV 17:48:55 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0RAV' 17:48:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0RAV 17:48:55 + echo /tmp/venv-0RAV 17:48:55 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 17:48:55 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 17:48:55 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 17:48:55 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:48:55 + local 'pip_opts=--upgrade --quiet' 17:48:55 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 17:48:55 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 17:48:55 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 17:48:55 + [[ -n '' ]] 17:48:55 + [[ -n '' ]] 17:48:55 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 17:48:55 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:48:55 + /tmp/venv-0RAV/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 17:49:03 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 17:49:03 lf-activate-venv(): INFO: Base packages installed successfully 17:49:03 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:49:03 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 17:49:03 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 17:49:03 + /tmp/venv-0RAV/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 17:49:06 + type python3 17:49:06 + true 17:49:06 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-0RAV/bin to PATH' 17:49:06 lf-activate-venv(): INFO: Adding /tmp/venv-0RAV/bin to PATH 17:49:06 + PATH=/tmp/venv-0RAV/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 17:49:06 + return 0 17:49:06 + python3 --version 17:49:06 Python 3.10.6 17:49:06 + python3 -m pip --version 17:49:07 pip 26.1.2 from /tmp/venv-0RAV/lib/python3.10/site-packages/pip (python 3.10) 17:49:07 + python3 -m pip freeze 17:49:07 cachetools==7.1.6 17:49:07 colorama==0.4.6 17:49:07 distlib==0.4.3 17:49:07 filelock==3.32.0 17:49:07 packaging==26.2 17:49:07 platformdirs==4.11.0 17:49:07 pluggy==1.6.0 17:49:07 pyproject-api==1.11.0 17:49:07 python-discovery==1.5.0 17:49:07 tomli==2.4.1 17:49:07 tomli_w==1.2.0 17:49:07 tox==4.58.0 17:49:07 typing_extensions==4.16.0 17:49:07 urllib3==1.26.20 17:49:07 virtualenv==21.7.0 17:49:07 [com-pylog-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins7718635595555907134.sh 17:49:07 [EnvInject] - Injecting environment variables from a build step. 17:49:07 [EnvInject] - Injecting as environment variables the properties content 17:49:07 PARALLEL=False 17:49:07 17:49:07 [EnvInject] - Variables injected successfully. 17:49:07 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins8324649807014941886.sh 17:49:07 ---> tox-run.sh 17:49:07 + 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 17:49:07 + ARCHIVE_TOX_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/tox 17:49:07 + ARCHIVE_DOC_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/docs 17:49:07 + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/tox 17:49:07 + cd /w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:07 + source /home/jenkins/lf-env.sh 17:49:07 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:49:07 ++ mktemp -d /tmp/venv-XXXX 17:49:07 + lf_venv=/tmp/venv-F6vO 17:49:07 + local venv_file=/tmp/.os_lf_venv 17:49:07 + local python=python3 17:49:07 + local options 17:49:07 + local set_path=true 17:49:07 + local install_args= 17:49:07 ++ 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 17:49:07 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:49:07 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:49:07 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:49:07 + true 17:49:07 + case $1 in 17:49:07 + venv_file=/tmp/.toxenv 17:49:07 + shift 2 17:49:07 + true 17:49:07 + case $1 in 17:49:07 + shift 17:49:07 + break 17:49:07 + case $python in 17:49:07 + local pkg_list= 17:49:07 + [[ -d /opt/pyenv ]] 17:49:07 + echo 'Setup pyenv:' 17:49:07 Setup pyenv: 17:49:07 + export PYENV_ROOT=/opt/pyenv 17:49:07 + PYENV_ROOT=/opt/pyenv 17:49:07 + 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 17:49:07 + 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 17:49:07 + pyenv versions 17:49:07 system 17:49:07 3.8.13 17:49:07 3.9.13 17:49:07 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:49:07 + command -v pyenv 17:49:07 ++ pyenv init - --no-rehash 17:49:07 + 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[*]}"'\'')" 17:49:07 export PATH="/opt/pyenv/shims:${PATH}" 17:49:07 export PYENV_SHELL=bash 17:49:07 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:49:07 pyenv() { 17:49:07 local command 17:49:07 command="${1:-}" 17:49:07 if [ "$#" -gt 0 ]; then 17:49:07 shift 17:49:07 fi 17:49:07 17:49:07 case "$command" in 17:49:07 rehash|shell) 17:49:07 eval "$(pyenv "sh-$command" "$@")" 17:49:07 ;; 17:49:07 *) 17:49:07 command pyenv "$command" "$@" 17:49:07 ;; 17:49:07 esac 17:49:07 }' 17:49:07 +++ 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[*]}"' 17:49:07 ++ 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 17:49:07 ++ 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 17:49:07 ++ 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 17:49:07 ++ export PYENV_SHELL=bash 17:49:07 ++ PYENV_SHELL=bash 17:49:07 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:49:07 +++ complete -F _pyenv pyenv 17:49:07 ++ lf-pyver python3 17:49:07 ++ local py_version_xy=python3 17:49:07 ++ local py_version_xyz= 17:49:07 ++ pyenv versions 17:49:07 ++ local command 17:49:07 ++ command=versions 17:49:07 ++ '[' 1 -gt 0 ']' 17:49:07 ++ shift 17:49:07 ++ case "$command" in 17:49:07 ++ command pyenv versions 17:49:07 ++ pyenv versions 17:49:07 ++ sed 's/^[ *]* //' 17:49:07 ++ awk '{ print $1 }' 17:49:07 ++ grep -E '^[0-9.]*[0-9]$' 17:49:07 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:49:07 +++ grep '^3' /tmp/.pyenv_versions 17:49:07 +++ tail -n 1 17:49:07 +++ sort -V 17:49:07 ++ py_version_xyz=3.10.6 17:49:07 ++ [[ -z 3.10.6 ]] 17:49:07 ++ echo 3.10.6 17:49:07 ++ return 0 17:49:07 + pyenv local 3.10.6 17:49:07 + local command 17:49:07 + command=local 17:49:07 + '[' 2 -gt 0 ']' 17:49:07 + shift 17:49:07 + case "$command" in 17:49:07 + command pyenv local 3.10.6 17:49:07 + pyenv local 3.10.6 17:49:07 + for arg in "$@" 17:49:07 + case $arg in 17:49:07 + pkg_list+='tox ' 17:49:07 + for arg in "$@" 17:49:07 + case $arg in 17:49:07 + pkg_list+='virtualenv ' 17:49:07 + for arg in "$@" 17:49:07 + case $arg in 17:49:07 + pkg_list+='urllib3~=1.26.15 ' 17:49:07 + [[ -f /tmp/.toxenv ]] 17:49:07 ++ cat /tmp/.toxenv 17:49:07 + lf_venv=/tmp/venv-0RAV 17:49:07 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-0RAV from' file:/tmp/.toxenv 17:49:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-0RAV from file:/tmp/.toxenv 17:49:07 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 17:49:07 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:49:07 + local 'pip_opts=--upgrade --quiet' 17:49:07 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 17:49:07 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 17:49:07 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 17:49:07 + [[ -n '' ]] 17:49:07 + [[ -n '' ]] 17:49:07 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 17:49:07 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:49:07 + /tmp/venv-0RAV/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 17:49:09 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 17:49:09 lf-activate-venv(): INFO: Base packages installed successfully 17:49:09 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:49:09 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 17:49:09 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 17:49:09 + /tmp/venv-0RAV/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 17:49:11 + type python3 17:49:11 + true 17:49:11 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-0RAV/bin to PATH' 17:49:11 lf-activate-venv(): INFO: Adding /tmp/venv-0RAV/bin to PATH 17:49:11 + PATH=/tmp/venv-0RAV/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 17:49:11 + return 0 17:49:11 + [[ -d /opt/pyenv ]] 17:49:11 + echo '---> Setting up pyenv' 17:49:11 ---> Setting up pyenv 17:49:11 + export PYENV_ROOT=/opt/pyenv 17:49:11 + PYENV_ROOT=/opt/pyenv 17:49:11 + export PATH=/opt/pyenv/bin:/tmp/venv-0RAV/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 17:49:11 + PATH=/opt/pyenv/bin:/tmp/venv-0RAV/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 17:49:11 ++ pwd 17:49:11 + PYTHONPATH=/w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:11 + export PYTHONPATH 17:49:11 + export TOX_TESTENV_PASSENV=PYTHONPATH 17:49:11 + TOX_TESTENV_PASSENV=PYTHONPATH 17:49:11 + tox --version 17:49:12 4.58.0 from /tmp/venv-0RAV/lib/python3.10/site-packages/tox/__init__.py 17:49:12 + PARALLEL=False 17:49:12 + TOX_OPTIONS_LIST= 17:49:12 + [[ -n py3 ]] 17:49:12 + TOX_OPTIONS_LIST=' -e py3' 17:49:12 + case ${PARALLEL,,} in 17:49:12 + tox -e py3 17:49:12 + tee -a /w/workspace/com-pylog-tox-sonarqube/archives/tox/tox.log 17:49:14 py3: install_deps> python -I -m pip install coverage inotify pytest pytest-cov 17:49:24 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' 17:49:26 .pkg: _optional_hooks> python /tmp/venv-0RAV/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:26 .pkg: get_requires_for_build_sdist> python /tmp/venv-0RAV/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:27 .pkg: get_requires_for_build_wheel> python /tmp/venv-0RAV/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:27 .pkg: freeze> python -m pip freeze --all 17:49:28 .pkg: pip==26.1.2,setuptools==83.0.0 17:49:28 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-0RAV/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:28 .pkg: build_sdist> python /tmp/venv-0RAV/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:28 py3: install_package_deps> python -I -m pip install inotify 17:49:29 py3: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz 17:49:34 py3: freeze> python -m pip freeze --all 17:49:34 py3: build==1.5.0,coverage==7.15.2,exceptiongroup==1.3.1,iniconfig==2.3.0,inotify==0.2.12,mdclogpy @ file:///w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz#sha256=5015ee389a26e795630c51e88899cf4ac781fd3d9e3fd4818ca49e3d2e43012d,packaging==26.2,pip==26.1.2,pluggy==1.6.0,Pygments==2.20.0,pyproject_hooks==1.2.0,pytest==9.1.1,pytest-cov==7.1.0,setuptools==83.0.0,tomli==2.4.1,typing_extensions==4.16.0 17:49:34 py3: commands[0]> pytest --junitxml xunit-results.xml --cov mdclogpy --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 17:49:35 ============================= test session starts ============================== 17:49:35 platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 17:49:35 cachedir: .tox/py3/.pytest_cache 17:49:35 rootdir: /w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:35 plugins: cov-7.1.0 17:49:35 collected 22 items 17:49:35 17:49:35 tst/test_Logger.py ................. [ 77%] 17:49:35 tst/test_mdclogpy.py ..... [100%] 17:49:35 17:49:35 =============================== warnings summary =============================== 17:49:35 tst/test_Logger.py:138 17:49:35 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:138: DeprecationWarning: invalid escape sequence '\ ' 17:49:35 self.logger.info('\ and "') 17:49:35 17:49:35 tst/test_Logger.py:143 17:49:35 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:143: DeprecationWarning: invalid escape sequence '\ ' 17:49:35 self.assertEqual(logs[0]["msg"], '\ and "') 17:49:35 17:49:35 tst/test_Logger.py::TestMdcLog::test_that_empty_mdc_is_logged_correctly 17:49:35 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1 (monitor_loglevel_change_handler) 17:49:35 17:49:35 Traceback (most recent call last): 17:49:35 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 17:49:35 self.run() 17:49:35 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 17:49:35 self._target(*self._args, **self._kwargs) 17:49:35 File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 233, in monitor_loglevel_change_handler 17:49:35 self.parse_file() 17:49:35 File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 215, in parse_file 17:49:35 src = open(self.filename,'r') 17:49:35 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/log' 17:49:35 17:49:35 Enable tracemalloc to get traceback where the object was allocated. 17:49:35 See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 17:49:35 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 17:49:35 17:49:35 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 17:49:35 - generated xml file: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/xunit-results.xml - 17:49:35 ================================ tests coverage ================================ 17:49:35 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 17:49:35 17:49:35 Name Stmts Miss Cover Missing 17:49:35 ---------------------------------------------------- 17:49:35 mdclogpy/Logger.py 133 10 92% 83-87, 95, 189-190, 241-243 17:49:35 mdclogpy/__init__.py 28 4 86% 42, 82, 87, 92 17:49:35 ---------------------------------------------------- 17:49:35 TOTAL 161 14 91% 17:49:35 Coverage HTML written to dir htmlcov 17:49:35 Coverage XML written to file coverage.xml 17:49:35 Required test coverage of 70% reached. Total coverage: 91.30% 17:49:35 ======================== 22 passed, 3 warnings in 0.52s ======================== 17:49:35 py3: commands[1]> coverage xml -i 17:49:36 Wrote XML report to coverage.xml 17:49:36 py3: OK (23.15=setup[21.60]+cmd[1.29,0.26] seconds) 17:49:36 congratulations :) (23.20 seconds) 17:49:36 + tox_status=0 17:49:36 + echo '---> Completed tox runs' 17:49:36 ---> Completed tox runs 17:49:36 + for i in .tox/*/log 17:49:36 ++ echo .tox/py3/log 17:49:36 ++ awk -F/ '{print $2}' 17:49:36 + tox_env=py3 17:49:36 + cp -r .tox/py3/log /w/workspace/com-pylog-tox-sonarqube/archives/tox/py3 17:49:36 + DOC_DIR=docs/_build/html 17:49:36 + [[ -d docs/_build/html ]] 17:49:36 + echo '---> tox-run.sh ends' 17:49:36 ---> tox-run.sh ends 17:49:36 + test 0 -eq 0 17:49:36 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-6916 17:49:37 [com-pylog-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_com-pylog -Dsonar.projectName=com-pylog -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=mdclogpy -Dsonar.python.coverage.reportPaths=mdclogpy/coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/com-pylog-tox-sonarqube 17:49:38 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:49:38 INFO: Project root configuration file: NONE 17:49:38 INFO: SonarScanner 4.6.2.2472 17:49:38 INFO: Java 17.0.7 Private Build (64-bit) 17:49:38 INFO: Linux 4.15.0-213-generic amd64 17:49:39 INFO: User cache: /home/jenkins/.sonar/cache 17:49:42 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:49:42 INFO: Project root configuration file: NONE 17:49:42 INFO: Analyzing on SonarCloud 17:49:42 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 17:49:44 INFO: Load global settings 17:49:44 INFO: Load global settings (done) | time=645ms 17:49:45 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 17:49:45 INFO: Loading required plugins 17:49:45 INFO: Load plugins index 17:49:45 INFO: Load plugins index (done) | time=257ms 17:49:45 INFO: Load/download plugins 17:49:47 INFO: Load/download plugins (done) | time=1416ms 17:49:47 INFO: Loaded core extensions: architecture, a3s, sca 17:49:48 INFO: Process project properties 17:49:48 INFO: Project key: o-ran-sc_com-pylog 17:49:48 INFO: Base dir: /w/workspace/com-pylog-tox-sonarqube 17:49:48 INFO: Working dir: /w/workspace/com-pylog-tox-sonarqube/.scannerwork 17:49:48 INFO: Load project settings for component key: 'o-ran-sc_com-pylog' 17:49:49 INFO: Load project settings for component key: 'o-ran-sc_com-pylog' (done) | time=770ms 17:49:49 INFO: Found an active CI vendor: 'Jenkins' 17:49:49 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:49 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:49 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:49 INFO: Check ALM binding of project 'o-ran-sc_com-pylog' 17:49:50 INFO: Detected project binding: BOUND 17:49:50 INFO: Check ALM binding of project 'o-ran-sc_com-pylog' (done) | time=203ms 17:49:50 INFO: Load branch configuration 17:49:50 INFO: Load branch configuration (done) | time=6ms 17:49:50 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:50 INFO: Create analysis 17:49:50 INFO: Create analysis (done) | time=407ms 17:49:50 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:50 INFO: Load quality profiles 17:49:51 INFO: Load quality profiles (done) | time=503ms 17:49:51 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:51 INFO: Load active rules 17:49:52 INFO: Load active rules (done) | time=1236ms 17:49:53 INFO: Organization key: o-ran-sc 17:49:53 INFO: Preprocessing files... 17:49:53 WARN: File '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.pkg/bin/python' is ignored. It is a symbolic link targeting a file not located in project basedir. 17:49:53 WARN: File '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/bin/python' is ignored. It is a symbolic link targeting a file not located in project basedir. 17:49:53 INFO: 2 languages detected in 19 preprocessed files (done) | time=482ms 17:49:53 INFO: 0 files ignored because of inclusion/exclusion patterns 17:49:53 INFO: 3830 files ignored because of scm ignore settings 17:49:54 INFO: ------------------------------------------------------------------------ 17:49:54 INFO: EXECUTION FAILURE 17:49:54 INFO: ------------------------------------------------------------------------ 17:49:54 INFO: Total time: 16.685s 17:49:54 INFO: Final Memory: 14M/50M 17:49:54 INFO: ------------------------------------------------------------------------ 17:49:54 ERROR: Error during SonarScanner execution 17:49:54 ERROR: 17:49:54 17:49:54 The version of Java (17) used to run this analysis is deprecated, and SonarQube Cloud no longer supports it. Please upgrade to Java 21 or later. 17:49:54 You can find more information here: https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements 17:49:54 17:49:54 ERROR: 17:49:54 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 17:49:55 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 17:49:55 $ ssh-agent -k 17:49:55 unset SSH_AUTH_SOCK; 17:49:55 unset SSH_AGENT_PID; 17:49:55 echo Agent pid 1614 killed; 17:49:55 [ssh-agent] Stopped. 17:49:55 ERROR: SonarQube scanner exited with non-zero code: 2 17:49:55 [PostBuildScript] - [INFO] Executing post build scripts. 17:49:55 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins6109392412660282895.sh 17:49:55 ---> sysstat.sh 17:49:56 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins16072098091363322085.sh 17:49:56 ---> package-listing.sh 17:49:56 ++ tr '[:upper:]' '[:lower:]' 17:49:56 ++ facter osfamily 17:49:56 + OS_FAMILY=debian 17:49:56 + workspace=/w/workspace/com-pylog-tox-sonarqube 17:49:56 + START_PACKAGES=/tmp/packages_start.txt 17:49:56 + END_PACKAGES=/tmp/packages_end.txt 17:49:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:56 + PACKAGES=/tmp/packages_start.txt 17:49:56 + '[' /w/workspace/com-pylog-tox-sonarqube ']' 17:49:56 + PACKAGES=/tmp/packages_end.txt 17:49:56 + case "${OS_FAMILY}" in 17:49:56 + grep '^ii' 17:49:56 + dpkg -l 17:49:56 + '[' -f /tmp/packages_start.txt ']' 17:49:56 + '[' -f /tmp/packages_end.txt ']' 17:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:56 + '[' /w/workspace/com-pylog-tox-sonarqube ']' 17:49:56 + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/ 17:49:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/com-pylog-tox-sonarqube/archives/ 17:49:56 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins13477530371072901965.sh 17:49:56 ---> capture-instance-metadata.sh 17:49:56 Setup pyenv: 17:49:56 system 17:49:56 3.8.13 17:49:56 3.9.13 17:49:56 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:49:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sqOW from file:/tmp/.os_lf_venv 17:49:56 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:49:56 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:00 lf-activate-venv(): INFO: Base packages installed successfully 17:50:00 lf-activate-venv(): INFO: Installing additional packages: lftools 17:50:19 lf-activate-venv(): INFO: Adding /tmp/venv-sqOW/bin to PATH 17:50:19 INFO: Running in OpenStack, capturing instance metadata 17:50:19 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins5560564055314357637.sh 17:50:19 provisioning config files... 17:50:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-pylog-tox-sonarqube@tmp/config17185857090297351613tmp 17:50:19 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 17:50:19 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 17:50:19 [EnvInject] - Injecting environment variables from a build step. 17:50:19 [EnvInject] - Injecting as environment variables the properties content 17:50:19 SERVER_ID=logs 17:50:19 17:50:19 [EnvInject] - Variables injected successfully. 17:50:19 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins13542789446442823810.sh 17:50:19 ---> create-netrc.sh 17:50:19 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins12891896619917955608.sh 17:50:19 ---> python-tools-install.sh 17:50:19 Setup pyenv: 17:50:19 system 17:50:19 3.8.13 17:50:19 3.9.13 17:50:19 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:50:19 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sqOW from file:/tmp/.os_lf_venv 17:50:19 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:50:19 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:23 lf-activate-venv(): INFO: Base packages installed successfully 17:50:23 lf-activate-venv(): INFO: Installing additional packages: lftools 17:50:47 lf-activate-venv(): INFO: Adding /tmp/venv-sqOW/bin to PATH 17:50:47 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins8551221310718544120.sh 17:50:47 ---> sudo-logs.sh 17:50:47 Archiving 'sudo' log.. 17:50:47 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins17420275392580549148.sh 17:50:47 ---> job-cost.sh 17:50:47 Setup pyenv: 17:50:47 system 17:50:47 3.8.13 17:50:47 3.9.13 17:50:47 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:50:47 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sqOW from file:/tmp/.os_lf_venv 17:50:47 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:50:47 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:50 lf-activate-venv(): INFO: Base packages installed successfully 17:50:50 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 17:51:07 lf-activate-venv(): INFO: Adding /tmp/venv-sqOW/bin to PATH 17:51:07 INFO: No Stack... 17:51:07 INFO: Retrieving Pricing Info for: v3-starter-2 17:51:07 INFO: Archiving Costs 17:51:07 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins6758739738413357321.sh 17:51:07 ---> logs-deploy.sh 17:51:07 Setup pyenv: 17:51:07 system 17:51:07 3.8.13 17:51:07 3.9.13 17:51:07 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:51:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-sqOW from file:/tmp/.os_lf_venv 17:51:07 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:51:07 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:51:10 lf-activate-venv(): INFO: Base packages installed successfully 17:51:10 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 17:51:28 lf-activate-venv(): INFO: Adding /tmp/venv-sqOW/bin to PATH 17:51:28 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/com-pylog-tox-sonarqube/303 17:51:28 INFO: archiving workspace using pattern(s): -p **/*.log 17:51:30 Archives upload complete. 17:51:31 INFO: archiving logs to Nexus 17:51:32 ---> uname -a: 17:51:32 Linux prd-ubuntu1804-builder-2c-2g-6916 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 17:51:32 17:51:32 17:51:32 ---> lscpu: 17:51:32 Architecture: x86_64 17:51:32 CPU op-mode(s): 32-bit, 64-bit 17:51:32 Byte Order: Little Endian 17:51:32 CPU(s): 2 17:51:32 On-line CPU(s) list: 0,1 17:51:32 Thread(s) per core: 1 17:51:32 Core(s) per socket: 1 17:51:32 Socket(s): 2 17:51:32 NUMA node(s): 1 17:51:32 Vendor ID: AuthenticAMD 17:51:32 CPU family: 23 17:51:32 Model: 49 17:51:32 Model name: AMD EPYC-Rome Processor 17:51:32 Stepping: 0 17:51:32 CPU MHz: 2800.000 17:51:32 BogoMIPS: 5600.00 17:51:32 Virtualization: AMD-V 17:51:32 Hypervisor vendor: KVM 17:51:32 Virtualization type: full 17:51:32 L1d cache: 32K 17:51:32 L1i cache: 32K 17:51:32 L2 cache: 512K 17:51:32 L3 cache: 16384K 17:51:32 NUMA node0 CPU(s): 0,1 17:51:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 17:51:32 17:51:32 17:51:32 ---> nproc: 17:51:32 2 17:51:32 17:51:32 17:51:32 ---> df -h: 17:51:32 Filesystem Size Used Avail Use% Mounted on 17:51:32 udev 2.0G 0 2.0G 0% /dev 17:51:32 tmpfs 395M 668K 394M 1% /run 17:51:32 /dev/vda1 20G 7.5G 12G 39% / 17:51:32 tmpfs 2.0G 0 2.0G 0% /dev/shm 17:51:32 tmpfs 5.0M 0 5.0M 0% /run/lock 17:51:32 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 17:51:32 /dev/vda15 105M 5.3M 100M 5% /boot/efi 17:51:32 tmpfs 395M 0 395M 0% /run/user/1001 17:51:32 17:51:32 17:51:32 ---> free -m: 17:51:32 total used free shared buff/cache available 17:51:32 Mem: 3944 381 1317 0 2245 3296 17:51:32 Swap: 1023 0 1023 17:51:32 17:51:32 17:51:32 ---> ip addr: 17:51:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 17:51:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:51:32 inet 127.0.0.1/8 scope host lo 17:51:32 valid_lft forever preferred_lft forever 17:51:32 inet6 ::1/128 scope host 17:51:32 valid_lft forever preferred_lft forever 17:51:32 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 17:51:32 link/ether fa:16:3e:8f:fd:3d brd ff:ff:ff:ff:ff:ff 17:51:32 inet 10.32.6.204/23 brd 10.32.7.255 scope global dynamic ens3 17:51:32 valid_lft 86103sec preferred_lft 86103sec 17:51:32 inet6 fe80::f816:3eff:fe8f:fd3d/64 scope link 17:51:32 valid_lft forever preferred_lft forever 17:51:32 17:51:32 17:51:32 ---> sar -b -r -n DEV: 17:51:32 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-6916) 07/28/26 _x86_64_ (2 CPU) 17:51:32 17:51:32 17:46:38 LINUX RESTART (2 CPU) 17:51:32 17:51:32 17:47:02 tps rtps wtps bread/s bwrtn/s 17:51:32 17:48:01 88.41 18.01 70.39 700.63 5202.37 17:51:32 17:49:01 57.00 11.40 45.60 1019.53 8605.53 17:51:32 17:50:01 87.62 32.73 54.89 1389.50 9850.76 17:51:32 17:51:01 21.50 0.62 20.88 76.39 3137.21 17:51:32 Average: 63.53 15.68 47.85 796.92 6705.31 17:51:32 17:51:32 17:47:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:51:32 17:48:01 1913824 3470892 2125228 52.62 49656 1664424 530396 10.43 441464 1524988 142800 17:51:32 17:49:01 1588548 3411204 2450504 60.67 60752 1906872 576952 11.34 509940 1756052 179012 17:51:32 17:50:01 1401688 3413652 2637364 65.30 68172 2082468 561864 11.04 575932 1864732 64836 17:51:32 17:51:01 1371292 3394248 2667760 66.05 69848 2091640 578968 11.38 602028 1868704 9596 17:51:32 Average: 1568838 3422499 2470214 61.16 62107 1936351 562045 11.05 532341 1753619 99061 17:51:32 17:51:32 17:47:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:51:32 17:48:01 lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 17:51:32 17:48:01 ens3 83.71 66.11 855.89 8.56 0.00 0.00 0.00 0.00 17:51:32 17:49:01 lo 1.33 1.33 0.12 0.12 0.00 0.00 0.00 0.00 17:51:32 17:49:01 ens3 49.52 44.20 366.25 6.35 0.00 0.00 0.00 0.00 17:51:32 17:50:01 lo 0.80 0.80 0.09 0.09 0.00 0.00 0.00 0.00 17:51:32 17:50:01 ens3 148.24 112.85 1434.00 16.83 0.00 0.00 0.00 0.00 17:51:32 17:51:01 lo 0.73 0.73 0.06 0.06 0.00 0.00 0.00 0.00 17:51:32 17:51:01 ens3 11.11 12.50 8.52 8.56 0.00 0.00 0.00 0.00 17:51:32 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 17:51:32 Average: ens3 73.10 58.88 665.36 10.08 0.00 0.00 0.00 0.00 17:51:32 17:51:32 17:51:32 ---> sar -P ALL: 17:51:32 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-6916) 07/28/26 _x86_64_ (2 CPU) 17:51:32 17:51:32 17:46:38 LINUX RESTART (2 CPU) 17:51:32 17:51:32 17:47:02 CPU %user %nice %system %iowait %steal %idle 17:51:32 17:48:01 all 38.92 0.00 2.37 5.64 1.67 51.40 17:51:32 17:48:01 0 19.05 0.00 1.57 5.50 1.52 72.36 17:51:32 17:48:01 1 58.87 0.00 3.17 5.78 1.83 30.35 17:51:32 17:49:01 all 41.68 0.00 2.74 2.45 1.56 51.57 17:51:32 17:49:01 0 31.40 0.00 2.39 1.20 1.49 63.52 17:51:32 17:49:01 1 51.99 0.00 3.13 3.72 1.60 39.56 17:51:32 17:50:01 all 44.94 0.00 4.05 3.29 1.92 45.80 17:51:32 17:50:01 0 46.31 0.00 3.48 1.18 2.08 46.94 17:51:32 17:50:01 1 43.55 0.00 4.61 5.41 1.76 44.66 17:51:32 17:51:01 all 32.74 0.00 1.58 1.00 0.94 63.74 17:51:32 17:51:01 0 29.92 0.00 1.43 0.13 0.80 67.72 17:51:32 17:51:01 1 35.58 0.00 1.75 1.85 1.10 59.73 17:51:32 Average: all 39.57 0.00 2.69 3.08 1.52 53.14 17:51:32 Average: 0 31.71 0.00 2.22 1.99 1.47 62.61 17:51:32 Average: 1 47.46 0.00 3.16 4.18 1.57 43.63 17:51:32 17:51:32 17:51:32