17:47:06 Started by timer 17:47:06 Running as SYSTEM 17:47:06 [EnvInject] - Loading node environment variables. 17:47:06 Building remotely on prd-ubuntu1804-builder-2c-2g-7529 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/com-pylog-tox-sonarqube 17:47:06 [ssh-agent] Looking for ssh-agent implementation... 17:47:06 $ ssh-agent 17:47:06 SSH_AUTH_SOCK=/tmp/ssh-nyUksKFeYl4E/agent.1614 17:47:06 SSH_AGENT_PID=1616 17:47:06 [ssh-agent] Started. 17:47:06 Running ssh-add (command line suppressed) 17:47:06 Identity added: /w/workspace/com-pylog-tox-sonarqube@tmp/private_key_499214398215565784.key (jenkins-ssh) 17:47:06 [ssh-agent] Using credentials jenkins (jenkins) 17:47:06 The recommended git tool is: NONE 17:47:09 using credential jenkins 17:47:09 Wiping out workspace first. 17:47:09 Cloning the remote Git repository 17:47:09 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog 17:47:09 > git init /w/workspace/com-pylog-tox-sonarqube # timeout=10 17:47:09 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog 17:47:09 > git --version # timeout=10 17:47:09 > git --version # 'git version 2.17.1' 17:47:09 using GIT_SSH to set credentials jenkins 17:47:09 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:09 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog # timeout=10 17:47:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:10 Avoid second fetch 17:47:10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 17:47:10 Checking out Revision 34b33525519549b8b6ff6074aafb46e0d3087f4a (refs/remotes/origin/master) 17:47:10 > git config core.sparsecheckout # timeout=10 17:47:10 > git checkout -f 34b33525519549b8b6ff6074aafb46e0d3087f4a # timeout=10 17:47:10 Commit message: "RIC:1060: Change in PTL" 17:47:10 > git rev-list --no-walk 34b33525519549b8b6ff6074aafb46e0d3087f4a # timeout=10 17:47:14 provisioning config files... 17:47:14 copy managed file [npmrc] to file:/home/jenkins/.npmrc 17:47:14 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 17:47:14 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins4758671029736107893.sh 17:47:14 ---> python-tools-install.sh 17:47:14 Setup pyenv: 17:47:14 * system (set by /opt/pyenv/version) 17:47:14 * 3.8.13 (set by /opt/pyenv/version) 17:47:14 * 3.9.13 (set by /opt/pyenv/version) 17:47:14 * 3.10.6 (set by /opt/pyenv/version) 17:47:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ws0G 17:47:22 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 17:47:22 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:47:22 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:47:30 lf-activate-venv(): INFO: Base packages installed successfully 17:47:30 lf-activate-venv(): INFO: Installing additional packages: lftools 17:48:09 lf-activate-venv(): INFO: Adding /tmp/venv-Ws0G/bin to PATH 17:48:09 Generating Requirements File 17:48:52 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:52 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 17:48:53 Python 3.10.6 17:48:53 pip 26.2 from /tmp/venv-Ws0G/lib/python3.10/site-packages/pip (python 3.10) 17:48:53 aiohappyeyeballs==2.7.1 17:48:53 aiohttp==3.14.3 17:48:53 aiosignal==1.4.0 17:48:53 appdirs==1.4.4 17:48:53 argcomplete==3.7.0 17:48:53 aspy.yaml==1.3.0 17:48:53 async-timeout==5.0.1 17:48:53 attrs==26.1.0 17:48:53 autopage==0.6.0 17:48:53 backports.strenum==1.3.1 17:48:53 beautifulsoup4==4.15.0 17:48:53 boto3==1.43.62 17:48:53 botocore==1.43.62 17:48:53 bs4==0.0.2 17:48:53 certifi==2026.7.22 17:48:53 cffi==2.1.0 17:48:53 cfgv==3.5.0 17:48:53 chardet==7.4.3 17:48:53 charset-normalizer==3.4.9 17:48:53 click==8.4.2 17:48:53 cliff==4.14.0 17:48:53 cmd2==3.5.1 17:48:53 cryptography==3.3.2 17:48:53 debtcollector==3.1.0 17:48:53 decorator==5.3.1 17:48:53 defusedxml==0.7.1 17:48:53 Deprecated==1.3.1 17:48:53 distlib==0.4.3 17:48:53 dnspython==2.8.0 17:48:53 docker==7.2.0 17:48:53 dogpile.cache==1.5.0 17:48:53 durationpy==0.10 17:48:53 email-validator==2.3.0 17:48:53 filelock==3.32.2 17:48:53 frozenlist==1.8.0 17:48:53 future==1.0.0 17:48:53 gitdb==4.0.12 17:48:53 GitPython==3.1.57 17:48:53 httplib2==0.30.2 17:48:53 identify==2.6.19 17:48:53 idna==3.18 17:48:53 importlib-resources==1.5.0 17:48:53 iso8601==2.1.0 17:48:53 Jinja2==3.1.6 17:48:53 jmespath==1.1.0 17:48:53 jsonpatch==1.33 17:48:53 jsonpointer==3.1.1 17:48:53 jsonschema==4.26.0 17:48:53 jsonschema-specifications==2025.9.1 17:48:53 keystoneauth1==5.14.0 17:48:53 kubernetes==36.0.3 17:48:53 lftools==0.37.22 17:48:53 lxml==6.1.1 17:48:53 markdown-it-py==4.2.0 17:48:53 MarkupSafe==3.0.3 17:48:53 mdurl==0.1.2 17:48:53 msgpack==1.2.1 17:48:53 multi_key_dict==2.0.3 17:48:53 multidict==6.7.1 17:48:53 munch==4.0.0 17:48:53 netaddr==1.3.0 17:48:53 niet==1.4.2 17:48:53 nodeenv==1.10.0 17:48:53 oauth2client==4.1.3 17:48:53 oauthlib==3.3.1 17:48:53 openstacksdk==4.13.0 17:48:53 os-service-types==1.8.2 17:48:53 osc-lib==4.6.0 17:48:53 oslo.config==10.4.0 17:48:53 oslo.context==6.4.0 17:48:53 oslo.i18n==6.8.0 17:48:53 oslo.log==8.2.0 17:48:53 oslo.serialization==5.10.0 17:48:53 oslo.utils==10.1.1 17:48:53 packaging==26.2 17:48:53 pbr==7.0.3 17:48:53 platformdirs==4.11.0 17:48:53 prettytable==3.18.0 17:48:53 propcache==0.5.2 17:48:53 psutil==7.2.2 17:48:53 pyasn1==0.6.4 17:48:53 pyasn1_modules==0.4.2 17:48:53 pycparser==3.0 17:48:53 pygerrit2==2.0.15 17:48:53 PyGithub==2.9.1 17:48:53 Pygments==2.20.0 17:48:53 PyJWT==2.13.0 17:48:53 PyNaCl==1.6.2 17:48:53 pyparsing==2.4.7 17:48:53 pyperclip==1.11.0 17:48:53 pyrsistent==0.20.0 17:48:53 python-cinderclient==9.9.0 17:48:53 python-dateutil==2.9.0.post0 17:48:53 python-discovery==1.5.1 17:48:53 python-heatclient==5.2.0 17:48:53 python-jenkins==1.8.3 17:48:53 python-keystoneclient==5.8.0 17:48:53 python-magnumclient==4.11.0 17:48:53 python-openstackclient==10.0.0 17:48:53 python-swiftclient==4.10.0 17:48:53 PyYAML==6.0.3 17:48:53 referencing==0.37.0 17:48:53 requests==2.34.2 17:48:53 requests-oauthlib==2.0.0 17:48:53 rfc3986==2.0.0 17:48:53 rich==15.0.0 17:48:53 rich-argparse==1.8.0 17:48:53 rpds-py==0.30.0 17:48:53 rsa==4.9.1 17:48:53 ruamel.yaml==0.19.1 17:48:53 ruamel.yaml.clib==0.2.15 17:48:53 s3transfer==0.19.2 17:48:53 simplejson==4.1.1 17:48:53 six==1.17.0 17:48:53 smmap==5.0.3 17:48:53 soupsieve==2.9.1 17:48:53 stevedore==5.8.0 17:48:53 tabulate==0.10.0 17:48:53 toml==0.10.2 17:48:53 tomlkit==0.15.1 17:48:53 tqdm==4.70.0 17:48:53 typing_extensions==4.16.0 17:48:53 urllib3==1.26.20 17:48:53 virtualenv==21.7.1 17:48:53 wcwidth==0.8.2 17:48:53 websocket-client==1.9.0 17:48:53 wrapt==2.3.0 17:48:53 xdg==6.0.0 17:48:53 xmltodict==1.0.4 17:48:53 yarl==1.24.5 17:48:53 yq==4.1.2 17:48:54 [com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins6329538106796051474.sh 17:48:54 ---> uv-install.sh 17:48:54 Installing uv/uvx (latest) using shell installer 17:48:54 2026-08-04 17:48:54 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71225/71225] -> "/tmp/uv-install-eVpXvt.sh" [1] 17:48:54 downloading uv 0.12.1 x86_64-unknown-linux-gnu 17:48:56 installing to /home/jenkins/.local/bin 17:48:56 uv 17:48:56 uvx 17:48:56 everything's installed! 17:48:56 17:48:56 To add $HOME/.local/bin to your PATH, either restart your shell or run: 17:48:56 17:48:56 source $HOME/.local/bin/env (sh, bash, zsh) 17:48:56 source $HOME/.local/bin/env.fish (fish) 17:48:56 Adding install location to PATH 17:48:56 ---> Validating uv/uvx install 17:48:56 uvx 0.12.1 (x86_64-unknown-linux-gnu) 17:48:56 [EnvInject] - Injecting environment variables from a build step. 17:48:56 [EnvInject] - Injecting as environment variables the properties content 17:48:56 SET_JDK_VERSION=openjdk17 17:48:56 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" 17:48:56 17:48:56 [EnvInject] - Variables injected successfully. 17:48:56 [com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins12183290180320745023.sh 17:48:56 ---> update-java-alternatives.sh 17:48:56 ---> Updating Java version 17:48:56 ---> Ubuntu/Debian system detected 17:48:56 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode 17:48:56 update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode 17:48:56 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:57 openjdk version "17.0.7" 2023-04-18 17:48:57 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) 17:48:57 OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) 17:48:57 JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 17:48:57 [EnvInject] - Injecting environment variables from a build step. 17:48:57 [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' 17:48:57 [EnvInject] - Variables injected successfully. 17:48:57 [EnvInject] - Injecting environment variables from a build step. 17:48:57 [EnvInject] - Injecting as environment variables the properties content 17:48:57 PYTHON=python3 17:48:57 17:48:57 [EnvInject] - Variables injected successfully. 17:48:57 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins16917863716183113733.sh 17:48:57 ---> tox-install.sh 17:48:57 + source /home/jenkins/lf-env.sh 17:48:57 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:48:57 ++ mktemp -d /tmp/venv-XXXX 17:48:57 + lf_venv=/tmp/venv-lmBU 17:48:57 + local venv_file=/tmp/.os_lf_venv 17:48:57 + local python=python3 17:48:57 + local options 17:48:57 + local set_path=true 17:48:57 + local install_args= 17:48:57 ++ 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:57 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:48:57 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:48:57 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:48:57 + true 17:48:57 + case $1 in 17:48:57 + venv_file=/tmp/.toxenv 17:48:57 + shift 2 17:48:57 + true 17:48:57 + case $1 in 17:48:57 + shift 17:48:57 + break 17:48:57 + case $python in 17:48:57 + local pkg_list= 17:48:57 + [[ -d /opt/pyenv ]] 17:48:57 + echo 'Setup pyenv:' 17:48:57 Setup pyenv: 17:48:57 + export PYENV_ROOT=/opt/pyenv 17:48:57 + PYENV_ROOT=/opt/pyenv 17:48:57 + 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:48:57 + 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:48:57 + pyenv versions 17:48:57 system 17:48:57 3.8.13 17:48:57 3.9.13 17:48:57 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:48:57 + command -v pyenv 17:48:57 ++ pyenv init - --no-rehash 17:48:57 + 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:57 export PATH="/opt/pyenv/shims:${PATH}" 17:48:57 export PYENV_SHELL=bash 17:48:57 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:48:57 pyenv() { 17:48:57 local command 17:48:57 command="${1:-}" 17:48:57 if [ "$#" -gt 0 ]; then 17:48:57 shift 17:48:57 fi 17:48:57 17:48:57 case "$command" in 17:48:57 rehash|shell) 17:48:57 eval "$(pyenv "sh-$command" "$@")" 17:48:57 ;; 17:48:57 *) 17:48:57 command pyenv "$command" "$@" 17:48:57 ;; 17:48:57 esac 17:48:57 }' 17:48:57 +++ 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:57 ++ 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:48:57 ++ 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:48:57 ++ 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:48:57 ++ export PYENV_SHELL=bash 17:48:57 ++ PYENV_SHELL=bash 17:48:57 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:48:57 +++ complete -F _pyenv pyenv 17:48:57 ++ lf-pyver python3 17:48:57 ++ local py_version_xy=python3 17:48:57 ++ local py_version_xyz= 17:48:57 ++ pyenv versions 17:48:57 ++ local command 17:48:57 ++ command=versions 17:48:57 ++ '[' 1 -gt 0 ']' 17:48:57 ++ shift 17:48:57 ++ case "$command" in 17:48:57 ++ command pyenv versions 17:48:57 ++ pyenv versions 17:48:57 ++ sed 's/^[ *]* //' 17:48:57 ++ awk '{ print $1 }' 17:48:57 ++ grep -E '^[0-9.]*[0-9]$' 17:48:57 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:48:57 +++ tail -n 1 17:48:57 +++ sort -V 17:48:57 +++ grep '^3' /tmp/.pyenv_versions 17:48:57 ++ py_version_xyz=3.10.6 17:48:57 ++ [[ -z 3.10.6 ]] 17:48:57 ++ echo 3.10.6 17:48:57 ++ return 0 17:48:57 + pyenv local 3.10.6 17:48:57 + local command 17:48:57 + command=local 17:48:57 + '[' 2 -gt 0 ']' 17:48:57 + shift 17:48:57 + case "$command" in 17:48:57 + command pyenv local 3.10.6 17:48:57 + pyenv local 3.10.6 17:48:57 + for arg in "$@" 17:48:57 + case $arg in 17:48:57 + pkg_list+='tox ' 17:48:57 + for arg in "$@" 17:48:57 + case $arg in 17:48:57 + pkg_list+='virtualenv ' 17:48:57 + for arg in "$@" 17:48:57 + case $arg in 17:48:57 + pkg_list+='urllib3~=1.26.15 ' 17:48:57 + [[ -f /tmp/.toxenv ]] 17:48:57 + [[ ! -f /tmp/.toxenv ]] 17:48:57 + [[ -n '' ]] 17:48:57 + python3 -m venv /tmp/venv-lmBU 17:49:04 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lmBU' 17:49:04 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-lmBU 17:49:04 + echo /tmp/venv-lmBU 17:49:04 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 17:49:04 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 17:49:04 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 17:49:04 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:49:04 + local 'pip_opts=--upgrade --quiet' 17:49:04 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 17:49:04 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 17:49:04 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 17:49:04 + [[ -n '' ]] 17:49:04 + [[ -n '' ]] 17:49:04 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 17:49:04 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:49:04 + /tmp/venv-lmBU/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:11 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 17:49:11 lf-activate-venv(): INFO: Base packages installed successfully 17:49:11 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:49:11 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 17:49:11 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 17:49:11 + /tmp/venv-lmBU/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:15 + type python3 17:49:15 + true 17:49:15 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-lmBU/bin to PATH' 17:49:15 lf-activate-venv(): INFO: Adding /tmp/venv-lmBU/bin to PATH 17:49:15 + PATH=/tmp/venv-lmBU/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:15 + return 0 17:49:15 + python3 --version 17:49:15 Python 3.10.6 17:49:15 + python3 -m pip --version 17:49:15 pip 26.2 from /tmp/venv-lmBU/lib/python3.10/site-packages/pip (python 3.10) 17:49:15 + python3 -m pip freeze 17:49:16 cachetools==7.1.7 17:49:16 colorama==0.4.6 17:49:16 distlib==0.4.3 17:49:16 filelock==3.32.2 17:49:16 packaging==26.2 17:49:16 platformdirs==4.11.0 17:49:16 pluggy==1.6.0 17:49:16 pyproject-api==1.11.0 17:49:16 python-discovery==1.5.1 17:49:16 tomli==2.4.1 17:49:16 tomli_w==1.2.0 17:49:16 tox==4.58.0 17:49:16 typing_extensions==4.16.0 17:49:16 urllib3==1.26.20 17:49:16 virtualenv==21.7.1 17:49:16 [com-pylog-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins10652612346507175611.sh 17:49:16 [EnvInject] - Injecting environment variables from a build step. 17:49:16 [EnvInject] - Injecting as environment variables the properties content 17:49:16 PARALLEL=False 17:49:16 17:49:16 [EnvInject] - Variables injected successfully. 17:49:16 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins11633750149709056763.sh 17:49:16 ---> tox-run.sh 17:49:16 + PATH=/home/jenkins/.local/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:16 + ARCHIVE_TOX_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/tox 17:49:16 + ARCHIVE_DOC_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/docs 17:49:16 + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/tox 17:49:16 + cd /w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:16 + source /home/jenkins/lf-env.sh 17:49:16 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:49:16 ++ mktemp -d /tmp/venv-XXXX 17:49:16 + lf_venv=/tmp/venv-JTE1 17:49:16 + local venv_file=/tmp/.os_lf_venv 17:49:16 + local python=python3 17:49:16 + local options 17:49:16 + local set_path=true 17:49:16 + local install_args= 17:49:16 ++ 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:16 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:49:16 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:49:16 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:49:16 + true 17:49:16 + case $1 in 17:49:16 + venv_file=/tmp/.toxenv 17:49:16 + shift 2 17:49:16 + true 17:49:16 + case $1 in 17:49:16 + shift 17:49:16 + break 17:49:16 + case $python in 17:49:16 + local pkg_list= 17:49:16 + [[ -d /opt/pyenv ]] 17:49:16 + echo 'Setup pyenv:' 17:49:16 Setup pyenv: 17:49:16 + export PYENV_ROOT=/opt/pyenv 17:49:16 + PYENV_ROOT=/opt/pyenv 17:49:16 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/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:16 + PATH=/opt/pyenv/bin:/home/jenkins/.local/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:16 + pyenv versions 17:49:16 system 17:49:16 3.8.13 17:49:16 3.9.13 17:49:16 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:49:16 + command -v pyenv 17:49:16 ++ pyenv init - --no-rehash 17:49:16 + 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:16 export PATH="/opt/pyenv/shims:${PATH}" 17:49:16 export PYENV_SHELL=bash 17:49:16 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:49:16 pyenv() { 17:49:16 local command 17:49:16 command="${1:-}" 17:49:16 if [ "$#" -gt 0 ]; then 17:49:16 shift 17:49:16 fi 17:49:16 17:49:16 case "$command" in 17:49:16 rehash|shell) 17:49:16 eval "$(pyenv "sh-$command" "$@")" 17:49:16 ;; 17:49:16 *) 17:49:16 command pyenv "$command" "$@" 17:49:16 ;; 17:49:16 esac 17:49:16 }' 17:49:16 +++ 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:16 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/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:16 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:16 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:16 ++ export PYENV_SHELL=bash 17:49:16 ++ PYENV_SHELL=bash 17:49:16 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:49:16 +++ complete -F _pyenv pyenv 17:49:16 ++ lf-pyver python3 17:49:16 ++ local py_version_xy=python3 17:49:16 ++ local py_version_xyz= 17:49:16 ++ awk '{ print $1 }' 17:49:16 ++ sed 's/^[ *]* //' 17:49:16 ++ pyenv versions 17:49:16 ++ local command 17:49:16 ++ command=versions 17:49:16 ++ '[' 1 -gt 0 ']' 17:49:16 ++ shift 17:49:16 ++ case "$command" in 17:49:16 ++ command pyenv versions 17:49:16 ++ pyenv versions 17:49:16 ++ grep -E '^[0-9.]*[0-9]$' 17:49:16 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:49:16 +++ grep '^3' /tmp/.pyenv_versions 17:49:16 +++ sort -V 17:49:16 +++ tail -n 1 17:49:16 ++ py_version_xyz=3.10.6 17:49:16 ++ [[ -z 3.10.6 ]] 17:49:16 ++ echo 3.10.6 17:49:16 ++ return 0 17:49:16 + pyenv local 3.10.6 17:49:16 + local command 17:49:16 + command=local 17:49:16 + '[' 2 -gt 0 ']' 17:49:16 + shift 17:49:16 + case "$command" in 17:49:16 + command pyenv local 3.10.6 17:49:16 + pyenv local 3.10.6 17:49:16 + for arg in "$@" 17:49:16 + case $arg in 17:49:16 + pkg_list+='tox ' 17:49:16 + for arg in "$@" 17:49:16 + case $arg in 17:49:16 + pkg_list+='virtualenv ' 17:49:16 + for arg in "$@" 17:49:16 + case $arg in 17:49:16 + pkg_list+='urllib3~=1.26.15 ' 17:49:16 + [[ -f /tmp/.toxenv ]] 17:49:16 ++ cat /tmp/.toxenv 17:49:16 + lf_venv=/tmp/venv-lmBU 17:49:16 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-lmBU from' file:/tmp/.toxenv 17:49:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-lmBU from file:/tmp/.toxenv 17:49:16 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 17:49:16 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:49:16 + local 'pip_opts=--upgrade --quiet' 17:49:16 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 17:49:16 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 17:49:16 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 17:49:16 + [[ -n '' ]] 17:49:16 + [[ -n '' ]] 17:49:16 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 17:49:16 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:49:16 + /tmp/venv-lmBU/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:18 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 17:49:18 lf-activate-venv(): INFO: Base packages installed successfully 17:49:18 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:49:18 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 17:49:18 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 17:49:18 + /tmp/venv-lmBU/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:20 + type python3 17:49:20 + true 17:49:20 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-lmBU/bin to PATH' 17:49:20 lf-activate-venv(): INFO: Adding /tmp/venv-lmBU/bin to PATH 17:49:20 + PATH=/tmp/venv-lmBU/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:20 + return 0 17:49:20 + [[ -d /opt/pyenv ]] 17:49:20 + echo '---> Setting up pyenv' 17:49:20 ---> Setting up pyenv 17:49:20 + export PYENV_ROOT=/opt/pyenv 17:49:20 + PYENV_ROOT=/opt/pyenv 17:49:20 + export PATH=/opt/pyenv/bin:/tmp/venv-lmBU/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:20 + PATH=/opt/pyenv/bin:/tmp/venv-lmBU/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/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:20 ++ pwd 17:49:20 + PYTHONPATH=/w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:20 + export PYTHONPATH 17:49:20 + export TOX_TESTENV_PASSENV=PYTHONPATH 17:49:20 + TOX_TESTENV_PASSENV=PYTHONPATH 17:49:20 + tox --version 17:49:21 4.58.0 from /tmp/venv-lmBU/lib/python3.10/site-packages/tox/__init__.py 17:49:21 + PARALLEL=False 17:49:21 + TOX_OPTIONS_LIST= 17:49:21 + [[ -n py3 ]] 17:49:21 + TOX_OPTIONS_LIST=' -e py3' 17:49:21 + case ${PARALLEL,,} in 17:49:21 + tox -e py3 17:49:21 + tee -a /w/workspace/com-pylog-tox-sonarqube/archives/tox/tox.log 17:49:23 py3: install_deps> python -I -m pip install coverage inotify pytest pytest-cov 17:49:32 .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' 17:49:34 .pkg: _optional_hooks> python /tmp/venv-lmBU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:34 .pkg: get_requires_for_build_sdist> python /tmp/venv-lmBU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:35 .pkg: get_requires_for_build_wheel> python /tmp/venv-lmBU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:35 .pkg: freeze> python -m pip freeze --all 17:49:36 .pkg: pip==26.2,setuptools==83.0.0 17:49:36 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-lmBU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:36 .pkg: build_sdist> python /tmp/venv-lmBU/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ 17:49:36 py3: install_package_deps> python -I -m pip install inotify 17:49:37 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:41 py3: freeze> python -m pip freeze --all 17:49:42 py3: build==1.5.0,coverage==7.15.3,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=5005dfea3a67f55ff902eb6d8869dbf8ed74f5a41f3d72d45c4916ba938eb61c,packaging==26.2,pip==26.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:42 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:42 ============================= test session starts ============================== 17:49:42 platform linux -- Python 3.10.6, pytest-9.1.1, pluggy-1.6.0 17:49:42 cachedir: .tox/py3/.pytest_cache 17:49:42 rootdir: /w/workspace/com-pylog-tox-sonarqube/mdclogpy 17:49:42 plugins: cov-7.1.0 17:49:42 collected 22 items 17:49:42 17:49:42 tst/test_Logger.py ................. [ 77%] 17:49:42 tst/test_mdclogpy.py ..... [100%] 17:49:43 17:49:43 =============================== warnings summary =============================== 17:49:43 tst/test_Logger.py:138 17:49:43 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:138: DeprecationWarning: invalid escape sequence '\ ' 17:49:43 self.logger.info('\ and "') 17:49:43 17:49:43 tst/test_Logger.py:143 17:49:43 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:143: DeprecationWarning: invalid escape sequence '\ ' 17:49:43 self.assertEqual(logs[0]["msg"], '\ and "') 17:49:43 17:49:43 tst/test_Logger.py::TestMdcLog::test_that_get_level_returns_the_current_log_level 17:49:43 /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:43 17:49:43 Traceback (most recent call last): 17:49:43 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner 17:49:43 self.run() 17:49:43 File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run 17:49:43 self._target(*self._args, **self._kwargs) 17:49:43 File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 233, in monitor_loglevel_change_handler 17:49:43 self.parse_file() 17:49:43 File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 215, in parse_file 17:49:43 src = open(self.filename,'r') 17:49:43 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/log' 17:49:43 17:49:43 Enable tracemalloc to get traceback where the object was allocated. 17:49:43 See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 17:49:43 warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) 17:49:43 17:49:43 -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 17:49:43 - generated xml file: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/xunit-results.xml - 17:49:43 ================================ tests coverage ================================ 17:49:43 _______________ coverage: platform linux, python 3.10.6-final-0 ________________ 17:49:43 17:49:43 Name Stmts Miss Cover Missing 17:49:43 ---------------------------------------------------- 17:49:43 mdclogpy/Logger.py 133 10 92% 83-87, 95, 189-190, 241-243 17:49:43 mdclogpy/__init__.py 28 4 86% 42, 82, 87, 92 17:49:43 ---------------------------------------------------- 17:49:43 TOTAL 161 14 91% 17:49:43 Coverage HTML written to dir htmlcov 17:49:43 Coverage XML written to file coverage.xml 17:49:43 Required test coverage of 70% reached. Total coverage: 91.30% 17:49:43 ======================== 22 passed, 3 warnings in 0.54s ======================== 17:49:43 py3: commands[1]> coverage xml -i 17:49:43 Wrote XML report to coverage.xml 17:49:43 py3: OK (21.97=setup[20.41]+cmd[1.34,0.22] seconds) 17:49:43 congratulations :) (22.03 seconds) 17:49:43 + tox_status=0 17:49:43 + echo '---> Completed tox runs' 17:49:43 ---> Completed tox runs 17:49:43 + for i in .tox/*/log 17:49:43 ++ echo .tox/py3/log 17:49:43 ++ awk -F/ '{print $2}' 17:49:43 + tox_env=py3 17:49:43 + cp -r .tox/py3/log /w/workspace/com-pylog-tox-sonarqube/archives/tox/py3 17:49:43 + DOC_DIR=docs/_build/html 17:49:43 + [[ -d docs/_build/html ]] 17:49:43 + echo '---> tox-run.sh ends' 17:49:43 ---> tox-run.sh ends 17:49:43 + test 0 -eq 0 17:49:43 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-7529 17:49:44 [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:45 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:49:45 INFO: Project root configuration file: NONE 17:49:45 INFO: SonarScanner 4.6.2.2472 17:49:45 INFO: Java 17.0.7 Private Build (64-bit) 17:49:45 INFO: Linux 4.15.0-213-generic amd64 17:49:46 INFO: User cache: /home/jenkins/.sonar/cache 17:49:49 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties 17:49:49 INFO: Project root configuration file: NONE 17:49:49 INFO: Analyzing on SonarCloud 17:49:49 INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) 17:49:51 INFO: Load global settings 17:49:51 INFO: Load global settings (done) | time=552ms 17:49:52 INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu 17:49:52 INFO: Loading required plugins 17:49:52 INFO: Load plugins index 17:49:52 INFO: Load plugins index (done) | time=279ms 17:49:52 INFO: Load/download plugins 17:49:53 INFO: Load/download plugins (done) | time=1234ms 17:49:54 INFO: Loaded core extensions: a3s, architecture, sca 17:49:55 INFO: Found an active CI vendor: 'Jenkins' 17:49:55 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:55 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:55 INFO: Process project properties 17:49:55 INFO: Project key: o-ran-sc_com-pylog 17:49:55 INFO: Base dir: /w/workspace/com-pylog-tox-sonarqube 17:49:55 INFO: Working dir: /w/workspace/com-pylog-tox-sonarqube/.scannerwork 17:49:55 INFO: Load project settings for component key: 'o-ran-sc_com-pylog' 17:49:56 INFO: Load project settings for component key: 'o-ran-sc_com-pylog' (done) | time=559ms 17:49:56 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:56 INFO: Check ALM binding of project 'o-ran-sc_com-pylog' 17:49:56 INFO: Detected project binding: BOUND 17:49:56 INFO: Check ALM binding of project 'o-ran-sc_com-pylog' (done) | time=344ms 17:49:56 INFO: Load branch configuration 17:49:56 INFO: Load branch configuration (done) | time=2ms 17:49:56 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:56 INFO: Create analysis 17:49:57 INFO: Create analysis (done) | time=440ms 17:49:57 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:57 INFO: Load quality profiles 17:49:57 INFO: Load quality profiles (done) | time=581ms 17:49:58 INFO: Inferred api base url 'https://api.sonarcloud.io/' from host url 'https://sonarcloud.io/'. 17:49:58 INFO: Load active rules 17:50:01 INFO: Load active rules (done) | time=3477ms 17:50:02 INFO: Organization key: o-ran-sc 17:50:02 INFO: Preprocessing files... 17:50:02 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:50:02 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:50:02 INFO: 2 languages detected in 19 preprocessed files (done) | time=528ms 17:50:02 INFO: 0 files ignored because of inclusion/exclusion patterns 17:50:02 INFO: 3867 files ignored because of scm ignore settings 17:50:03 INFO: ------------------------------------------------------------------------ 17:50:03 INFO: EXECUTION FAILURE 17:50:03 INFO: ------------------------------------------------------------------------ 17:50:03 INFO: Total time: 18.404s 17:50:03 INFO: Final Memory: 14M/54M 17:50:03 INFO: ------------------------------------------------------------------------ 17:50:03 ERROR: Error during SonarScanner execution 17:50:03 ERROR: 17:50:03 17:50:03 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:50:03 You can find more information here: https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements 17:50:03 17:50:03 ERROR: 17:50:03 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. 17:50:04 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed? 17:50:04 $ ssh-agent -k 17:50:04 unset SSH_AUTH_SOCK; 17:50:04 unset SSH_AGENT_PID; 17:50:04 echo Agent pid 1616 killed; 17:50:04 [ssh-agent] Stopped. 17:50:04 ERROR: SonarQube scanner exited with non-zero code: 2 17:50:04 [PostBuildScript] - [INFO] Executing post build scripts. 17:50:04 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins14482027327000243371.sh 17:50:04 ---> sysstat.sh 17:50:05 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins4414796121818983776.sh 17:50:05 ---> package-listing.sh 17:50:05 ++ facter osfamily 17:50:05 ++ tr '[:upper:]' '[:lower:]' 17:50:05 + OS_FAMILY=debian 17:50:05 + workspace=/w/workspace/com-pylog-tox-sonarqube 17:50:05 + START_PACKAGES=/tmp/packages_start.txt 17:50:05 + END_PACKAGES=/tmp/packages_end.txt 17:50:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:05 + PACKAGES=/tmp/packages_start.txt 17:50:05 + '[' /w/workspace/com-pylog-tox-sonarqube ']' 17:50:05 + PACKAGES=/tmp/packages_end.txt 17:50:05 + case "${OS_FAMILY}" in 17:50:05 + grep '^ii' 17:50:05 + dpkg -l 17:50:05 + '[' -f /tmp/packages_start.txt ']' 17:50:05 + '[' -f /tmp/packages_end.txt ']' 17:50:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:05 + '[' /w/workspace/com-pylog-tox-sonarqube ']' 17:50:05 + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/ 17:50:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/com-pylog-tox-sonarqube/archives/ 17:50:05 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins7006761962384381937.sh 17:50:05 ---> capture-instance-metadata.sh 17:50:05 Setup pyenv: 17:50:05 system 17:50:05 3.8.13 17:50:05 3.9.13 17:50:05 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:50:05 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ws0G from file:/tmp/.os_lf_venv 17:50:05 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:50:05 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:09 lf-activate-venv(): INFO: Base packages installed successfully 17:50:09 lf-activate-venv(): INFO: Installing additional packages: lftools 17:50:27 lf-activate-venv(): INFO: Adding /tmp/venv-Ws0G/bin to PATH 17:50:27 INFO: Running in OpenStack, capturing instance metadata 17:50:28 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins4893561982627293483.sh 17:50:28 provisioning config files... 17:50:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-pylog-tox-sonarqube@tmp/config13161259414892262463tmp 17:50:28 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 17:50:28 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 17:50:28 [EnvInject] - Injecting environment variables from a build step. 17:50:28 [EnvInject] - Injecting as environment variables the properties content 17:50:28 SERVER_ID=logs 17:50:28 17:50:28 [EnvInject] - Variables injected successfully. 17:50:28 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins16329057841145637235.sh 17:50:28 ---> create-netrc.sh 17:50:28 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins17923814925960730259.sh 17:50:28 ---> python-tools-install.sh 17:50:28 Setup pyenv: 17:50:28 system 17:50:28 3.8.13 17:50:28 3.9.13 17:50:28 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:50:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ws0G from file:/tmp/.os_lf_venv 17:50:28 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:50:28 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:31 lf-activate-venv(): INFO: Base packages installed successfully 17:50:31 lf-activate-venv(): INFO: Installing additional packages: lftools 17:50:48 lf-activate-venv(): INFO: Adding /tmp/venv-Ws0G/bin to PATH 17:50:48 [com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins6306598330967020093.sh 17:50:48 ---> uv-install.sh 17:50:48 uv 0.12.1 is already installed 17:50:48 uvx 0.12.1 (x86_64-unknown-linux-gnu) 17:50:48 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins16650653376564043568.sh 17:50:48 ---> sudo-logs.sh 17:50:48 Archiving 'sudo' log.. 17:50:49 [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins1134306679589861319.sh 17:50:49 ---> job-cost.sh 17:50:49 INFO: Activating Python virtual environment... 17:50:49 Setup pyenv: 17:50:49 system 17:50:49 3.8.13 17:50:49 3.9.13 17:50:49 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:50:49 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ws0G from file:/tmp/.os_lf_venv 17:50:49 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:50:49 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:50:52 lf-activate-venv(): INFO: Base packages installed successfully 17:50:52 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 17:51:03 lf-activate-venv(): INFO: Adding /tmp/venv-Ws0G/bin to PATH 17:51:03 INFO: No stack-cost file found 17:51:03 INFO: Instance uptime: 272s 17:51:03 INFO: Fetching instance metadata (attempt 1 of 3)... 17:51:03 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 17:51:03 INFO: Successfully fetched instance metadata 17:51:03 INFO: Instance type: v3-starter-2 17:51:03 INFO: Retrieving pricing info for: v3-starter-2 17:51:03 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 17:51:03 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-starter-2/cost?seconds=272 17:51:03 INFO: Successfully fetched Vexxhost pricing API 17:51:03 INFO: Retrieved cost: 0.02 17:51:03 INFO: Retrieved resource: v3-starter-2 17:51:03 INFO: Creating archive directory: /w/workspace/com-pylog-tox-sonarqube/archives/cost 17:51:03 INFO: Archiving costs to: /w/workspace/com-pylog-tox-sonarqube/archives/cost.csv 17:51:03 INFO: Successfully archived job cost data 17:51:03 DEBUG: Cost data: com-pylog-tox-sonarqube,304,2026-08-04 17:51:03,v3-starter-2,272,0.02,0.00,FAILURE 17:51:03 [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins5568173560234683982.sh 17:51:03 ---> logs-deploy.sh 17:51:03 Setup pyenv: 17:51:03 system 17:51:03 3.8.13 17:51:03 3.9.13 17:51:03 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) 17:51:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Ws0G from file:/tmp/.os_lf_venv 17:51:04 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 17:51:04 lf-activate-venv(): INFO: Attempting to install with network-safe options... 17:51:07 lf-activate-venv(): INFO: Base packages installed successfully 17:51:07 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 17:51:24 lf-activate-venv(): INFO: Adding /tmp/venv-Ws0G/bin to PATH 17:51:24 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/com-pylog-tox-sonarqube/304 17:51:24 INFO: archiving workspace using pattern(s): -p **/*.log 17:51:26 Archives upload complete. 17:51:27 INFO: archiving logs to Nexus 17:51:28 ---> uname -a: 17:51:28 Linux prd-ubuntu1804-builder-2c-2g-7529 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:28 17:51:28 17:51:28 ---> lscpu: 17:51:28 Architecture: x86_64 17:51:28 CPU op-mode(s): 32-bit, 64-bit 17:51:28 Byte Order: Little Endian 17:51:28 CPU(s): 2 17:51:28 On-line CPU(s) list: 0,1 17:51:28 Thread(s) per core: 1 17:51:28 Core(s) per socket: 1 17:51:28 Socket(s): 2 17:51:28 NUMA node(s): 1 17:51:28 Vendor ID: AuthenticAMD 17:51:28 CPU family: 23 17:51:28 Model: 49 17:51:28 Model name: AMD EPYC-Rome Processor 17:51:28 Stepping: 0 17:51:28 CPU MHz: 2800.000 17:51:28 BogoMIPS: 5600.00 17:51:28 Virtualization: AMD-V 17:51:28 Hypervisor vendor: KVM 17:51:28 Virtualization type: full 17:51:28 L1d cache: 32K 17:51:28 L1i cache: 32K 17:51:28 L2 cache: 512K 17:51:28 L3 cache: 16384K 17:51:28 NUMA node0 CPU(s): 0,1 17:51:28 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:28 17:51:28 17:51:28 ---> nproc: 17:51:28 2 17:51:28 17:51:28 17:51:28 ---> df -h: 17:51:28 Filesystem Size Used Avail Use% Mounted on 17:51:28 udev 2.0G 0 2.0G 0% /dev 17:51:28 tmpfs 395M 668K 394M 1% /run 17:51:28 /dev/vda1 20G 7.5G 12G 39% / 17:51:28 tmpfs 2.0G 0 2.0G 0% /dev/shm 17:51:28 tmpfs 5.0M 0 5.0M 0% /run/lock 17:51:28 tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup 17:51:28 /dev/vda15 105M 5.3M 100M 5% /boot/efi 17:51:28 tmpfs 395M 0 395M 0% /run/user/1001 17:51:28 17:51:28 17:51:28 ---> free -m: 17:51:28 total used free shared buff/cache available 17:51:28 Mem: 3944 361 1275 0 2307 3315 17:51:28 Swap: 1023 0 1023 17:51:28 17:51:28 17:51:28 ---> ip addr: 17:51:28 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 17:51:28 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:51:28 inet 127.0.0.1/8 scope host lo 17:51:28 valid_lft forever preferred_lft forever 17:51:28 inet6 ::1/128 scope host 17:51:28 valid_lft forever preferred_lft forever 17:51:28 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 17:51:28 link/ether fa:16:3e:35:dd:5c brd ff:ff:ff:ff:ff:ff 17:51:28 inet 10.32.7.111/23 brd 10.32.7.255 scope global dynamic ens3 17:51:28 valid_lft 86115sec preferred_lft 86115sec 17:51:28 inet6 fe80::f816:3eff:fe35:dd5c/64 scope link 17:51:28 valid_lft forever preferred_lft forever 17:51:28 17:51:28 17:51:28 ---> sar -b -r -n DEV: 17:51:28 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-7529) 08/04/26 _x86_64_ (2 CPU) 17:51:28 17:51:28 17:46:47 LINUX RESTART (2 CPU) 17:51:28 17:51:28 17:47:01 tps rtps wtps bread/s bwrtn/s 17:51:28 17:48:01 98.47 30.79 67.67 1536.81 6276.02 17:51:28 17:49:01 58.94 11.66 47.28 1052.09 8754.94 17:51:28 17:50:01 82.00 27.18 54.82 837.06 11310.51 17:51:28 17:51:01 32.68 6.12 26.56 623.36 4158.37 17:51:28 Average: 68.02 18.94 49.08 1012.33 7624.96 17:51:28 17:51:28 17:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:51:28 17:48:01 1871344 3388708 2167708 53.67 40976 1639316 641736 12.61 536108 1484180 112760 17:51:28 17:49:01 1568232 3417444 2470820 61.17 59200 1936184 591688 11.63 503652 1785436 205300 17:51:28 17:50:01 1175604 3233368 2863448 70.89 68260 2126592 794960 15.63 731860 1930912 80296 17:51:28 17:51:01 1299940 3391464 2739112 67.82 70316 2158832 594920 11.69 613720 1926100 16316 17:51:28 Average: 1478780 3357746 2560272 63.39 59688 1965231 655826 12.89 596335 1781657 103668 17:51:28 17:51:28 17:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:51:28 17:48:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 17:51:28 17:48:01 ens3 370.69 194.62 1458.11 64.58 0.00 0.00 0.00 0.00 17:51:28 17:49:01 lo 1.47 1.47 0.14 0.14 0.00 0.00 0.00 0.00 17:51:28 17:49:01 ens3 61.37 55.21 718.94 7.40 0.00 0.00 0.00 0.00 17:51:28 17:50:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 17:51:28 17:50:01 ens3 134.44 102.85 1442.60 15.83 0.00 0.00 0.00 0.00 17:51:28 17:51:01 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 17:51:28 17:51:01 ens3 17.51 18.46 12.80 12.81 0.00 0.00 0.00 0.00 17:51:28 Average: lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 17:51:28 Average: ens3 146.00 92.78 908.11 25.15 0.00 0.00 0.00 0.00 17:51:28 17:51:28 17:51:28 ---> sar -P ALL: 17:51:28 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-7529) 08/04/26 _x86_64_ (2 CPU) 17:51:28 17:51:28 17:46:47 LINUX RESTART (2 CPU) 17:51:28 17:51:28 17:47:01 CPU %user %nice %system %iowait %steal %idle 17:51:28 17:48:01 all 42.43 0.00 3.17 5.94 2.07 46.39 17:51:28 17:48:01 0 47.05 0.00 3.35 8.51 2.05 39.03 17:51:28 17:48:01 1 37.81 0.00 3.02 3.40 2.09 53.68 17:51:28 17:49:01 all 40.39 0.00 2.69 3.37 2.24 51.32 17:51:28 17:49:01 0 40.96 0.00 2.96 5.92 1.98 48.19 17:51:28 17:49:01 1 39.85 0.00 2.39 0.81 2.50 54.44 17:51:28 17:50:01 all 39.99 0.00 3.20 4.27 2.80 49.74 17:51:28 17:50:01 0 27.28 0.00 2.43 5.93 2.56 61.80 17:51:28 17:50:01 1 52.73 0.00 3.99 2.62 3.03 37.62 17:51:28 17:51:01 all 41.53 0.00 2.00 2.19 2.16 52.12 17:51:28 17:51:01 0 55.13 0.00 1.96 3.41 2.21 37.28 17:51:28 17:51:01 1 28.00 0.00 2.03 0.98 2.12 66.88 17:51:28 Average: all 41.08 0.00 2.76 3.94 2.32 49.89 17:51:28 Average: 0 42.58 0.00 2.67 5.94 2.20 46.61 17:51:28 Average: 1 39.59 0.00 2.86 1.95 2.43 53.16 17:51:28 17:51:28 17:51:28