Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-881 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube [ssh-agent] Looking for ssh-agent implementation... $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-V5w4FKAW5SU4/agent.1695 SSH_AGENT_PID=1697 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/private_key_10505958929889113190.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/aiml-fw/athp/data-extraction > git init /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube # timeout=10 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/athp/data-extraction > 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/aiml-fw/athp/data-extraction +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/aiml-fw/athp/data-extraction # 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 a71135d64ce04bd8fd3e961debf661f5c1ffe168 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a71135d64ce04bd8fd3e961debf661f5c1ffe168 # timeout=10 Commit message: "Data extraction module branch out for K release" > git rev-list --no-walk bd87225d106d0fb8472d914d0a3300236e5a64ac # 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 [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins4450236092561787102.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-8Hgr 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-8Hgr/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-8Hgr/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.3 aspy.yaml==1.3.0 attrs==24.3.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.91 botocore==1.35.91 bs4==0.0.2 cachetools==5.5.0 certifi==2024.12.14 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.1 click==8.1.8 cliff==4.8.0 cmd2==2.5.8 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.15 distlib==0.3.9 dnspython==2.7.0 docker==4.2.2 dogpile.cache==1.3.3 durationpy==0.9 email_validator==2.2.0 filelock==3.16.1 future==1.0.0 gitdb==4.0.12 GitPython==3.1.44 google-auth==2.37.0 httplib2==0.22.0 identify==2.6.4 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.5 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.9.1 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.2.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.2.0 oslo.config==9.7.0 oslo.context==5.7.0 oslo.i18n==6.5.0 oslo.log==6.2.0 oslo.serialization==5.6.0 oslo.utils==8.0.0 packaging==24.2 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.12.0 psutil==6.1.1 pyasn1==0.6.1 pyasn1_modules==0.4.1 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.5.0 PyJWT==2.10.1 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.9.0 pyrsistent==0.20.0 python-cinderclient==9.6.0 python-dateutil==2.9.0.post0 python-heatclient==4.0.0 python-jenkins==1.8.2 python-keystoneclient==5.5.0 python-magnumclient==4.7.0 python-openstackclient==7.2.1 python-swiftclient==4.6.0 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.22.3 rsa==4.9 ruamel.yaml==0.18.8 ruamel.yaml.clib==0.2.12 s3transfer==0.10.4 simplejson==3.19.3 six==1.17.0 smmap==5.0.2 soupsieve==2.6 stevedore==5.4.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.13.2 tqdm==4.67.1 typing_extensions==4.12.2 tzdata==2024.2 urllib3==1.26.20 virtualenv==20.28.1 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.17.0 xdg==6.0.0 xmltodict==0.14.2 yq==3.4.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. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/sh /tmp/jenkins6968433045605435067.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. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash -l /tmp/jenkins4837254270072725583.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-auK6 + 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/aiml-fw-athp-data-extraction-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/^[ *]* //' ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -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-auK6 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-auK6' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-auK6 + echo /tmp/venv-auK6 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-auK6/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-auK6/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-auK6/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-auK6/bin to PATH + PATH=/tmp/venv-auK6/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.3.1 from /tmp/venv-auK6/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.5.0 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 filelock==3.16.1 packaging==24.2 platformdirs==4.3.6 pluggy==1.5.0 pyproject-api==1.8.0 tomli==2.2.1 tox==4.23.2 typing_extensions==4.12.2 urllib3==1.26.20 virtualenv==20.28.1 [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins13772906392750876644.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=False [EnvInject] - Variables injected successfully. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash -l /tmp/jenkins15902859477749276557.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/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/docs + mkdir -p /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox + cd /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/. + source /home/jenkins/lf-env.sh + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-hTWF + 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/aiml-fw-athp-data-extraction-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= ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ tail -n 1 +++ sort -V +++ grep '^3' /tmp/.pyenv_versions ++ 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-auK6 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-auK6 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-auK6 from file:/tmp/.toxenv + /tmp/venv-auK6/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-auK6/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-auK6/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-auK6/bin to PATH + PATH=/tmp/venv-auK6/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-auK6/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-auK6/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/aiml-fw-athp-data-extraction-tox-sonarqube + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.23.2 from /tmp/venv-auK6/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tee -a /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox/tox.log + tox code: install_deps> python -I -m pip install cassandra-driver coverage Flask Flask-API Flask-RESTful influxdb_client jsonpickle lru-dict mock pandas==2.2.2 pyspark pytest pytest-cov python-dotenv PyYAML 'urllib3~=1.26.15' Werkzeug==2.2.2 code: freeze> python -m pip freeze --all code: aniso8601==9.0.1,cassandra-driver==3.29.2,certifi==2024.12.14,click==8.1.8,coverage==7.6.10,exceptiongroup==1.2.2,Flask==2.2.5,Flask-API==3.1,Flask-RESTful==0.3.10,geomet==0.2.1.post1,influxdb-client==1.48.0,iniconfig==2.0.0,itsdangerous==2.2.0,Jinja2==3.1.5,jsonpickle==4.0.1,lru-dict==1.3.0,MarkupSafe==3.0.2,mock==5.1.0,numpy==2.2.1,packaging==24.2,pandas==2.2.2,pip==24.3.1,pluggy==1.5.0,py4j==0.10.9.7,pyspark==3.5.4,pytest==8.3.4,pytest-cov==6.0.0,python-dateutil==2.9.0.post0,python-dotenv==1.0.1,pytz==2024.2,PyYAML==6.0.2,reactivex==4.0.4,setuptools==75.6.0,six==1.17.0,tomli==2.2.1,typing_extensions==4.12.2,tzdata==2024.2,urllib3==1.26.20,Werkzeug==2.2.2,wheel==0.45.1 code: commands[0]> pytest --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=30 --junitxml=/tmp/tests.xml --cov=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/dataextraction/ ============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-8.3.4, pluggy-1.5.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube plugins: cov-6.0.0 collected 38 items test/test_DefaultSparkSource.py ... [ 7%] test/test_cassandrasink.py .. [ 13%] test/test_confighelper.py ....... [ 31%] test/test_defaultsparksink.py .. [ 36%] test/test_defaultsparktransform.py . [ 39%] test/test_influxsource.py .... [ 50%] test/test_main.py F.FF.F.Build timed out (after 15 minutes). Marking the build as failed. $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1697 killed; [ssh-agent] Stopped. Build was aborted [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins16086517494766655437.sh ---> sysstat.sh code: exit -15 (777.92 seconds) /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube> pytest --cov-report term-missing --cov-report xml --cov-report html --cov-fail-under=30 --junitxml=/tmp/tests.xml --cov=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/dataextraction/ pid=2564 + tox_status=143 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/code/log ++ awk -F/ '{print $2}' + tox_env=code + cp -r .tox/code/log /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox/code [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins4365585958521468276.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/aiml-fw-athp-data-extraction-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/aiml-fw-athp-data-extraction-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube ']' + mkdir -p /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/ [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins82601381252656.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8Hgr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8Hgr/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins2657492632393227384.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/config10762010045264107351tmp 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. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins13882464318214794309.sh ---> create-netrc.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins124538980477479909.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8Hgr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8Hgr/bin to PATH [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins7838355233813099384.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins1258162523950025968.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8Hgr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 lf-activate-venv(): INFO: Adding /tmp/venv-8Hgr/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v2-highcpu-2 INFO: Archiving Costs [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash -l /tmp/jenkins2396054049081857809.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8Hgr from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-8Hgr/bin to PATH INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/aiml-fw-athp-data-extraction-tox-sonarqube/115 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-881 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 8.4G 11G 44% / 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 343 370 0 1278 1475 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:09:0f:20 brd ff:ff:ff:ff:ff:ff inet 10.32.7.99/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85429sec preferred_lft 85429sec inet6 fe80::f816:3eff:fe09:f20/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-881) 01/03/25 _x86_64_ (2 CPU) 15:57:37 LINUX RESTART (2 CPU) 15:58:01 tps rtps wtps bread/s bwrtn/s 15:59:02 112.23 34.07 78.16 2212.46 12452.52 16:00:01 150.59 37.34 113.25 8802.30 100894.21 16:01:01 25.66 9.77 15.90 429.13 3875.75 16:02:01 0.95 0.00 0.95 0.00 28.80 16:03:01 1.55 0.38 1.17 37.59 13.46 16:04:01 1.03 0.07 0.97 4.00 12.00 16:05:01 1.32 0.28 1.03 26.00 11.20 16:06:01 1.53 0.18 1.35 27.86 16.80 16:07:01 1.07 0.00 1.07 0.00 11.73 16:08:01 1.23 0.00 1.23 0.00 15.20 16:09:01 1.03 0.00 1.03 0.00 11.46 16:10:01 0.82 0.00 0.82 0.00 10.40 16:11:01 1.03 0.00 1.03 0.00 11.60 16:12:01 0.83 0.00 0.83 0.00 10.53 16:13:01 12.22 10.12 2.10 429.20 53.47 Average: 20.73 6.11 14.62 789.10 7726.19 15:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:02 123016 1551920 1917616 93.97 57420 1457532 524176 16.97 404184 1363044 133800 16:00:01 116764 1472932 1923868 94.28 68356 1376764 660252 21.37 639932 1137780 111292 16:01:01 96552 1466372 1944080 95.27 68612 1389680 738656 23.91 652232 1145088 648 16:02:01 96584 1466484 1944048 95.27 68652 1389680 738656 23.91 652448 1144952 168 16:03:01 95328 1466372 1945304 95.33 68696 1390804 749264 24.25 652560 1146048 112 16:04:01 95280 1466524 1945352 95.33 68740 1390936 749264 24.25 652560 1146188 180 16:05:01 94160 1466216 1946472 95.39 68764 1391716 749264 24.25 652952 1146964 104 16:06:01 93076 1466028 1947556 95.44 68796 1392560 749264 24.25 653588 1147820 132 16:07:01 93000 1465996 1947632 95.44 68836 1392564 749264 24.25 653404 1147824 92 16:08:01 93124 1466180 1947508 95.44 68876 1392592 749264 24.25 653524 1147824 92 16:09:01 93304 1466412 1947328 95.43 68908 1392604 749264 24.25 653516 1147828 96 16:10:01 93180 1466316 1947452 95.43 68932 1392608 749264 24.25 653624 1147832 176 16:11:01 93164 1466344 1947468 95.43 68968 1392608 749264 24.25 653636 1147832 148 16:12:01 93136 1466336 1947496 95.44 68992 1392612 749264 24.25 653608 1147836 164 16:13:01 174784 1562136 1865848 91.43 69372 1405780 524916 16.99 568228 1151160 160 Average: 102963 1478838 1937669 94.95 68061 1396069 711953 23.05 630000 1161068 16491 15:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:59:02 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 15:59:02 ens3 87.89 80.12 947.88 10.71 0.00 0.00 0.00 0.00 16:00:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 16:00:01 ens3 194.43 136.16 5919.53 11.11 0.00 0.00 0.00 0.00 16:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:01:01 ens3 0.47 0.45 0.10 0.12 0.00 0.00 0.00 0.00 16:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:02:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 16:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:03:01 ens3 0.17 0.15 0.08 0.07 0.00 0.00 0.00 0.00 16:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:04:01 ens3 0.70 0.10 0.07 0.01 0.00 0.00 0.00 0.00 16:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:05:01 ens3 1.20 0.27 0.35 0.21 0.00 0.00 0.00 0.00 16:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:06:01 ens3 7.37 5.57 5.59 5.29 0.00 0.00 0.00 0.00 16:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:07:01 ens3 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:08:01 ens3 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 16:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:09:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:10:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:11:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:01 ens3 0.93 0.12 0.15 0.01 0.00 0.00 0.00 0.00 16:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:01 ens3 5.00 3.53 3.82 2.10 0.00 0.00 0.00 0.00 Average: lo 0.23 0.23 0.02 0.02 0.00 0.00 0.00 0.00 Average: ens3 19.73 15.00 452.50 1.97 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-881) 01/03/25 _x86_64_ (2 CPU) 15:57:37 LINUX RESTART (2 CPU) 15:58:01 CPU %user %nice %system %iowait %steal %idle 15:59:02 all 40.35 0.00 2.94 5.03 0.08 51.60 15:59:02 0 43.72 0.00 3.47 1.52 0.08 51.21 15:59:02 1 36.98 0.00 2.41 8.54 0.08 51.99 16:00:01 all 34.74 0.00 4.18 6.11 0.08 54.89 16:00:01 0 19.96 0.00 3.36 5.89 0.08 70.71 16:00:01 1 49.64 0.00 4.98 6.31 0.10 38.96 16:01:01 all 2.13 0.00 0.37 0.59 0.07 96.85 16:01:01 0 1.46 0.00 0.40 1.01 0.07 97.07 16:01:01 1 2.81 0.00 0.33 0.17 0.07 96.62 16:02:01 all 0.18 0.00 0.13 0.02 0.07 99.61 16:02:01 0 0.15 0.00 0.12 0.03 0.05 99.65 16:02:01 1 0.18 0.00 0.13 0.00 0.08 99.60 16:03:01 all 1.17 0.00 0.12 0.02 0.08 98.60 16:03:01 0 2.15 0.00 0.10 0.07 0.07 97.62 16:03:01 1 0.18 0.00 0.15 0.00 0.08 99.58 16:04:01 all 1.22 0.00 0.09 0.02 0.06 98.62 16:04:01 0 2.17 0.00 0.07 0.03 0.07 97.67 16:04:01 1 0.23 0.00 0.12 0.00 0.05 99.60 16:05:01 all 0.67 0.00 0.12 0.02 0.06 99.14 16:05:01 0 1.08 0.00 0.07 0.03 0.07 98.75 16:05:01 1 0.25 0.00 0.18 0.00 0.07 99.50 16:06:01 all 0.26 0.00 0.13 0.03 0.05 99.53 16:06:01 0 0.25 0.00 0.13 0.02 0.03 99.57 16:06:01 1 0.28 0.00 0.13 0.02 0.05 99.51 16:07:01 all 0.18 0.00 0.13 0.02 0.07 99.62 16:07:01 0 0.17 0.00 0.12 0.03 0.07 99.62 16:07:01 1 0.17 0.00 0.13 0.00 0.08 99.61 16:08:01 all 0.18 0.00 0.15 0.02 0.07 99.58 16:08:01 0 0.20 0.00 0.17 0.03 0.05 99.55 16:08:01 1 0.17 0.00 0.13 0.00 0.07 99.63 16:09:01 all 0.13 0.00 0.13 0.03 0.05 99.67 16:09:01 0 0.15 0.00 0.17 0.05 0.08 99.55 16:09:01 1 0.12 0.00 0.08 0.00 0.03 99.77 16:09:01 CPU %user %nice %system %iowait %steal %idle 16:10:01 all 0.65 0.00 0.09 0.01 0.07 99.18 16:10:01 0 0.18 0.00 0.08 0.03 0.05 99.65 16:10:01 1 1.11 0.00 0.12 0.00 0.07 98.70 16:11:01 all 1.22 0.00 0.12 0.02 0.07 98.58 16:11:01 0 0.22 0.00 0.07 0.02 0.07 99.63 16:11:01 1 2.20 0.00 0.15 0.00 0.08 97.57 16:12:01 all 0.88 0.00 0.14 0.01 0.07 98.89 16:12:01 0 0.22 0.00 0.13 0.03 0.08 99.53 16:12:01 1 1.56 0.00 0.17 0.00 0.07 98.21 16:13:01 all 1.23 0.00 0.31 0.27 0.06 98.13 16:13:01 0 0.97 0.00 0.30 0.10 0.05 98.58 16:13:01 1 1.49 0.00 0.30 0.42 0.07 97.72 Average: all 5.64 0.00 0.60 0.81 0.07 92.88 Average: 0 4.85 0.00 0.58 0.59 0.06 93.92 Average: 1 6.43 0.00 0.63 1.02 0.07 91.85