Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-2363 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/com-pylog-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-WUKhgD6KaC4F/agent.1751 SSH_AGENT_PID=1752 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/com-pylog-tox-sonarqube@tmp/private_key_14481149176651546344.key (jenkins-ssh) [ssh-agent] Using credentials jenkins (jenkins) The recommended git tool is: NONE using credential jenkins Wiping out workspace first. Cloning the remote Git repository Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog > git init /w/workspace/com-pylog-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials jenkins > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/com/pylog # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision d7437dc16bae6455f3beddf6c65a1970e0059adc (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f d7437dc16bae6455f3beddf6c65a1970e0059adc # timeout=10 Commit message: "Removing deprecated functions from readthedocs" > git rev-list --no-walk d7437dc16bae6455f3beddf6c65a1970e0059adc # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins16737148400994532932.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OeLE lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OeLE/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-OeLE/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.45 botocore==1.34.45 bs4==0.0.2 cachetools==5.3.2 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.1 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.42 google-auth==2.28.0 httplib2==0.22.0 identify==2.5.35 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.5 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.2.0 prettytable==3.10.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.2.0 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.1 python-swiftclient==4.4.0 pytz==2024.1 PyYAML==6.0.1 referencing==0.33.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418" [EnvInject] - Variables injected successfully. [com-pylog-tox-sonarqube] $ /bin/sh /tmp/jenkins7776330503711334428.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15491463337903907566.sh ---> tox-install.sh + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-Dt0P + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-Dt0P + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dt0P' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Dt0P + echo /tmp/venv-Dt0P + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-Dt0P/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-Dt0P/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dt0P/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Dt0P/bin to PATH + PATH=/tmp/venv-Dt0P/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 --version Python 3.10.6 + python3 -m pip --version pip 24.0 from /tmp/venv-Dt0P/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.2.0 pluggy==1.4.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.13.0 urllib3==1.26.18 virtualenv==20.25.0 [com-pylog-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins17707995433654084415.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins18363667581873260249.sh ---> tox-run.sh + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + ARCHIVE_TOX_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/com-pylog-tox-sonarqube/archives/docs + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/tox + cd /w/workspace/com-pylog-tox-sonarqube/mdclogpy + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-t0Lj + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 + true + case $1 in + venv_file=/tmp/.toxenv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ grep -E '^[0-9.]*[0-9]$' ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='tox ' + for arg in "$@" + case $arg in + pkg_list+='virtualenv ' + for arg in "$@" + case $arg in + pkg_list+='urllib3~=1.26.15 ' + [[ -f /tmp/.toxenv ]] ++ cat /tmp/.toxenv + lf_venv=/tmp/venv-Dt0P + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dt0P from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-Dt0P from file:/tmp/.toxenv + /tmp/venv-Dt0P/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z tox virtualenv urllib3~=1.26.15 ]] + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 + /tmp/venv-Dt0P/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-Dt0P/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-Dt0P/bin to PATH + PATH=/tmp/venv-Dt0P/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + [[ -d /opt/pyenv ]] + echo '---> Setting up pyenv' ---> Setting up pyenv + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/tmp/venv-Dt0P/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/tmp/venv-Dt0P/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ pwd + PYTHONPATH=/w/workspace/com-pylog-tox-sonarqube/mdclogpy + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.13.0 from /tmp/venv-Dt0P/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n py3 ]] + TOX_OPTIONS_LIST=' -e py3' + case ${PARALLEL,,} in + tee -a /w/workspace/com-pylog-tox-sonarqube/archives/tox/tox.log + tox -e py3 py3: install_deps> python -I -m pip install coverage inotify pytest pytest-cov .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py3: install_package_deps> python -I -m pip install inotify 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 py3: freeze> python -m pip freeze --all py3: coverage==7.4.1,exceptiongroup==1.2.0,iniconfig==2.0.0,inotify==0.2.10,mdclogpy @ file:///w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/.tmp/package/1/mdclogpy-1.1.4.tar.gz#sha256=b921570ce8be71383633ae01787ff8e84d6bdf5d6485b15136651155085aa6ba,nose==1.3.7,packaging==23.2,pip==23.3.1,pluggy==1.4.0,pytest==8.0.1,pytest-cov==4.1.0,setuptools==69.0.2,tomli==2.0.1,wheel==0.42.0 py3: commands[0]> pytest --junitxml xunit-results.xml --cov mdclogpy --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.0.1, pluggy-1.4.0 cachedir: .tox/py3/.pytest_cache rootdir: /w/workspace/com-pylog-tox-sonarqube/mdclogpy plugins: cov-4.1.0 collected 22 items tst/test_Logger.py ................. [ 77%] tst/test_mdclogpy.py ..... [100%] =============================== warnings summary =============================== tst/test_Logger.py:138 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:138: DeprecationWarning: invalid escape sequence '\ ' self.logger.info('\ and "') tst/test_Logger.py:143 /w/workspace/com-pylog-tox-sonarqube/mdclogpy/tst/test_Logger.py:143: DeprecationWarning: invalid escape sequence '\ ' self.assertEqual(logs[0]["msg"], '\ and "') tst/test_Logger.py::TestMdcLog::test_register_log_change_notify /w/workspace/com-pylog-tox-sonarqube/mdclogpy/.tox/py3/lib/python3.10/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-1 (monitor_loglevel_change_handler) Traceback (most recent call last): File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/opt/pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 233, in monitor_loglevel_change_handler self.parse_file() File "/w/workspace/com-pylog-tox-sonarqube/mdclogpy/mdclogpy/Logger.py", line 215, in parse_file src = open(self.filename,'r') FileNotFoundError: [Errno 2] No such file or directory: '/tmp/log' warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /w/workspace/com-pylog-tox-sonarqube/mdclogpy/xunit-results.xml - ---------- coverage: platform linux, python 3.10.6-final-0 ----------- Name Stmts Miss Cover Missing ---------------------------------------------------- mdclogpy/Logger.py 134 10 93% 83-87, 95, 189-190, 241-243 mdclogpy/__init__.py 29 4 86% 42, 82, 87, 92 ---------------------------------------------------- TOTAL 163 14 91% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 70% reached. Total coverage: 91.41% ======================== 22 passed, 3 warnings in 0.27s ======================== py3: commands[1]> coverage xml -i Wrote XML report to coverage.xml .pkg: _exit> python /tmp/venv-Dt0P/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py3: OK (9.93=setup[9.17]+cmd[0.64,0.12] seconds) congratulations :) (10.10 seconds) + tox_status=0 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/py3/log ++ awk -F/ '{print $2}' + tox_env=py3 + cp -r .tox/py3/log /w/workspace/com-pylog-tox-sonarqube/archives/tox/py3 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 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-2363 [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 INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.6.2.2472 INFO: Java 17.0.7 Private Build (64-bit) INFO: Linux 4.15.0-213-generic amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: Analyzing on SonarCloud INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=313ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /home/jenkins/.sonar/cache INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=282ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=1096ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_com-pylog' INFO: Load project settings for component key: 'o-ran-sc_com-pylog' (done) | time=502ms INFO: Process project properties INFO: Project key: o-ran-sc_com-pylog INFO: Base dir: /w/workspace/com-pylog-tox-sonarqube INFO: Working dir: /w/workspace/com-pylog-tox-sonarqube/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=265ms INFO: Check ALM binding of project 'o-ran-sc_com-pylog' INFO: Detected project binding: BOUND INFO: Check ALM binding of project 'o-ran-sc_com-pylog' (done) | time=497ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=189ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=262ms INFO: Load active rules INFO: Load active rules (done) | time=12048ms INFO: Organization key: o-ran-sc WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. INFO: Preprocessing files... INFO: 2 languages detected in 17 preprocessed files INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 15 files ignored because of scm ignore settings INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=424ms INFO: Load project repositories INFO: Load project repositories (done) | time=222ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json INFO: 17 files indexed INFO: Quality profile for py: Sonar way INFO: Quality profile for xml: Sonar way INFO: ------------- Run sensors on module com-pylog INFO: Load metrics repository INFO: Load metrics repository (done) | time=203ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (50 KB) | time=1682ms INFO: Sensor Python Sensor [python] WARN: Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version" INFO: Starting global symbols computation INFO: 7 source files to be analyzed INFO: 7/7 source files have been analyzed INFO: Starting rules execution INFO: 7 source files to be analyzed INFO: 7/7 source files have been analyzed INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 7 files. These files were not parsed. INFO: Sensor Python Sensor [python] (done) | time=2358ms INFO: Sensor Cobertura Sensor for Python coverage [python] INFO: Python test coverage INFO: Parsing report '/w/workspace/com-pylog-tox-sonarqube/mdclogpy/coverage.xml' INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=171ms INFO: Sensor PythonXUnitSensor [python] INFO: Sensor PythonXUnitSensor [python] (done) | time=31ms INFO: Sensor Python HTML templates processing [securitypythonfrontend] INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=21ms INFO: Sensor XML Sensor [xml] INFO: 2 source files to be analyzed INFO: 2/2 source files have been analyzed INFO: Sensor XML Sensor [xml] (done) | time=216ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=3ms INFO: Sensor TextAndSecretsSensor [text] INFO: 9 source files to be analyzed INFO: 9/9 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=580ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=78ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=8ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms INFO: Sensor AWS SAM Inline template file sensor [security] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=2ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ir/python INFO: Analyzing 34 functions to detect bugs. INFO: Sensor pythonbugs [dbd] (done) | time=288ms INFO: Sensor JavaSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ucfg2/java INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.001 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.002 INFO: No UCFGs have been included for analysis. INFO: java security sensor: Time spent was 00:00:00.004 INFO: Sensor JavaSecuritySensor [security] (done) | time=35ms INFO: Sensor CSharpSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/com-pylog-tox-sonarqube/ucfg2/cs INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 INFO: No UCFGs have been included for analysis. INFO: csharp security sensor: Time spent was 00:00:00.001 INFO: Sensor CSharpSecuritySensor [security] (done) | time=1ms INFO: Sensor PhpSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ucfg2/php INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.008 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.010 INFO: No UCFGs have been included for analysis. INFO: php security sensor: Time spent was 00:00:00.010 INFO: Sensor PhpSecuritySensor [security] (done) | time=11ms INFO: Sensor PythonSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ucfg2/python INFO: Read 312 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.108 INFO: Load UCFGs: Starting INFO: Reading UCFGs from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ucfg2/python INFO: Load UCFGs: Time spent was 00:00:00.321 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.430 INFO: Analyzing 1591 UCFGs to detect vulnerabilities. INFO: Check cache: Starting INFO: Load cache: Starting INFO: Load cache: Time spent was 00:00:00.000 INFO: Check cache: Time spent was 00:00:00.002 INFO: Create runtime call graph: Starting INFO: Variable Type Analysis #1: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.038 INFO: Run SCC (Tarjan) on 3686 nodes: Starting INFO: Run SCC (Tarjan) on 3686 nodes: Time spent was 00:00:00.008 INFO: Tarjan found 3686 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.019 INFO: Variable Type Analysis #1: Time spent was 00:00:00.067 INFO: Variable Type Analysis #2: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.024 INFO: Run SCC (Tarjan) on 3655 nodes: Starting INFO: Run SCC (Tarjan) on 3655 nodes: Time spent was 00:00:00.003 INFO: Tarjan found 3655 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.009 INFO: Variable Type Analysis #2: Time spent was 00:00:00.037 INFO: Create runtime call graph: Time spent was 00:00:00.110 INFO: Load config: Starting INFO: Load config: Time spent was 00:00:00.156 INFO: Compute entry points: Starting INFO: Compute entry points: Time spent was 00:00:00.101 INFO: No entry points found. INFO: python security sensor: Time spent was 00:00:00.802 INFO: python security sensor: Begin: 2024-02-20T17:49:12.099967538Z, End: 2024-02-20T17:49:12.902656764Z, Duration: 00:00:00.802 Load type hierarchy and UCFGs: Begin: 2024-02-20T17:49:12.100143302Z, End: 2024-02-20T17:49:12.530787929Z, Duration: 00:00:00.430 Load type hierarchy: Begin: 2024-02-20T17:49:12.100243245Z, End: 2024-02-20T17:49:12.208534839Z, Duration: 00:00:00.108 Load UCFGs: Begin: 2024-02-20T17:49:12.208700323Z, End: 2024-02-20T17:49:12.530537853Z, Duration: 00:00:00.321 Check cache: Begin: 2024-02-20T17:49:12.530891912Z, End: 2024-02-20T17:49:12.533441261Z, Duration: 00:00:00.002 Load cache: Begin: 2024-02-20T17:49:12.530916713Z, End: 2024-02-20T17:49:12.530959084Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-02-20T17:49:12.533539624Z, End: 2024-02-20T17:49:12.644389216Z, Duration: 00:00:00.110 Variable Type Analysis #1: Begin: 2024-02-20T17:49:12.534195622Z, End: 2024-02-20T17:49:12.602006148Z, Duration: 00:00:00.067 Create runtime type propagation graph: Begin: 2024-02-20T17:49:12.535057225Z, End: 2024-02-20T17:49:12.573699021Z, Duration: 00:00:00.038 Run SCC (Tarjan) on 3686 nodes: Begin: 2024-02-20T17:49:12.574155444Z, End: 2024-02-20T17:49:12.582307775Z, Duration: 00:00:00.008 Propagate runtime types to strongly connected components: Begin: 2024-02-20T17:49:12.582519680Z, End: 2024-02-20T17:49:12.601858954Z, Duration: 00:00:00.019 Variable Type Analysis #2: Begin: 2024-02-20T17:49:12.603890570Z, End: 2024-02-20T17:49:12.641722364Z, Duration: 00:00:00.037 Create runtime type propagation graph: Begin: 2024-02-20T17:49:12.603931341Z, End: 2024-02-20T17:49:12.628022503Z, Duration: 00:00:00.024 Run SCC (Tarjan) on 3655 nodes: Begin: 2024-02-20T17:49:12.628225009Z, End: 2024-02-20T17:49:12.631630151Z, Duration: 00:00:00.003 Propagate runtime types to strongly connected components: Begin: 2024-02-20T17:49:12.631786855Z, End: 2024-02-20T17:49:12.641437507Z, Duration: 00:00:00.009 Load config: Begin: 2024-02-20T17:49:12.644497779Z, End: 2024-02-20T17:49:12.800854016Z, Duration: 00:00:00.156 Compute entry points: Begin: 2024-02-20T17:49:12.801122393Z, End: 2024-02-20T17:49:12.902432707Z, Duration: 00:00:00.101 INFO: python security sensor peak memory: 166 MB INFO: Sensor PythonSecuritySensor [security] (done) | time=809ms INFO: Sensor JsSecuritySensor [security] INFO: Enabled taint analysis rules: S5131, S5146, S5334, S2631, S5883, S2076, S6096, S3649, S6287, S2083, S6105, S5144, S5696, S5147, S6350 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/com-pylog-tox-sonarqube/.scannerwork/ucfg2/js INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 INFO: No UCFGs have been included for analysis. INFO: js security sensor: Time spent was 00:00:00.003 INFO: Sensor JsSecuritySensor [security] (done) | time=3ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=10ms INFO: SCM Publisher SCM provider for this project is: git INFO: SCM Publisher 2 source files to be analyzed INFO: SCM Publisher 0/2 source files have been analyzed (done) | time=235ms WARN: Missing blame information for the following files: WARN: * mdclogpy/xunit-results.xml WARN: * mdclogpy/coverage.xml WARN: This may lead to missing/broken features in SonarCloud INFO: CPD Executor 1 file had no CPD blocks INFO: CPD Executor Calculating CPD for 6 files INFO: CPD Executor CPD calculation finished (done) | time=13ms INFO: Analysis report generated in 474ms, dir size=316 KB INFO: Analysis report compressed in 25ms, zip size=78 KB INFO: Analysis report uploaded in 762ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_com-pylog INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AY3HotboHopNDkqxHpFg INFO: Sensor cache published successfully INFO: Analysis total time: 25.775 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 31.100s INFO: Final Memory: 29M/104M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1752 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins7918184633768221237.sh ---> sysstat.sh [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins1193158054148054117.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/com-pylog-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/com-pylog-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/com-pylog-tox-sonarqube ']' + mkdir -p /w/workspace/com-pylog-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/com-pylog-tox-sonarqube/archives/ [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins12061201250771296021.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OeLE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OeLE/bin to PATH INFO: Running in OpenStack, capturing instance metadata [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins15373175820082013851.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/com-pylog-tox-sonarqube@tmp/config12710900667010660568tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins14978851632629452528.sh ---> create-netrc.sh [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins18315506673179776376.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OeLE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-OeLE/bin to PATH [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins6707581722797619339.sh ---> sudo-logs.sh Archiving 'sudo' log.. [com-pylog-tox-sonarqube] $ /bin/bash /tmp/jenkins4022343798909412863.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OeLE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 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. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-OeLE/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [com-pylog-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15476512278697933303.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/com-pylog-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-OeLE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools 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. python-openstackclient 6.5.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-OeLE/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/com-pylog-tox-sonarqube/176 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-2363 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 2 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0,1 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 ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 984M 0 984M 0% /dev tmpfs 200M 668K 199M 1% /run /dev/vda1 20G 7.4G 12G 39% / tmpfs 997M 0 997M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 997M 0 997M 0% /sys/fs/cgroup /dev/vda15 105M 5.3M 100M 5% /boot/efi tmpfs 200M 0 200M 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 1992 329 228 0 1434 1493 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ae:1d:3d brd ff:ff:ff:ff:ff:ff inet 10.32.7.124/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86187sec preferred_lft 86187sec inet6 fe80::f816:3eff:feae:1d3d/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2363) 02/20/24 _x86_64_ (2 CPU) 17:46:41 LINUX RESTART (2 CPU) 17:47:01 tps rtps wtps bread/s bwrtn/s 17:48:01 114.34 50.82 63.52 2220.76 10812.73 17:49:01 107.71 51.29 56.42 3194.54 10602.03 17:50:01 107.85 45.88 61.97 3142.68 6344.14 Average: 109.97 49.33 60.64 2852.62 9253.29 17:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:48:01 115064 1535092 1925568 94.36 51312 1457312 558336 18.07 401392 1380380 110312 17:49:01 65728 1468040 1974904 96.78 61824 1429728 658540 21.32 487504 1343712 110736 17:50:01 253240 1530324 1787392 87.59 67656 1301632 559712 18.12 451808 1199864 50216 Average: 144677 1511152 1895955 92.91 60264 1396224 592196 19.17 446901 1307985 90421 17:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:48:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 17:48:01 ens3 85.56 78.64 1071.85 10.15 0.00 0.00 0.00 0.00 17:49:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 17:49:01 ens3 274.28 135.35 1862.33 19.76 0.00 0.00 0.00 0.00 17:50:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 17:50:01 ens3 79.67 51.89 378.06 18.98 0.00 0.00 0.00 0.00 Average: lo 1.31 1.31 0.12 0.12 0.00 0.00 0.00 0.00 Average: ens3 146.51 88.63 1104.16 16.30 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-2363) 02/20/24 _x86_64_ (2 CPU) 17:46:41 LINUX RESTART (2 CPU) 17:47:01 CPU %user %nice %system %iowait %steal %idle 17:48:01 all 40.07 0.00 2.90 5.86 0.09 51.08 17:48:01 0 30.47 0.00 2.59 4.46 0.08 62.40 17:48:01 1 49.78 0.00 3.19 7.29 0.10 39.64 17:49:01 all 36.67 0.00 3.12 4.50 0.08 55.63 17:49:01 0 30.54 0.00 2.73 6.32 0.07 60.34 17:49:01 1 42.81 0.00 3.54 2.67 0.10 50.88 17:50:01 all 42.80 0.00 2.20 4.97 0.08 49.95 17:50:01 0 29.57 0.00 1.66 7.57 0.08 61.12 17:50:01 1 55.98 0.00 2.72 2.37 0.08 38.84 Average: all 39.84 0.00 2.74 5.11 0.09 52.22 Average: 0 30.19 0.00 2.33 6.11 0.08 61.29 Average: 1 49.52 0.00 3.15 4.11 0.09 43.12