Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-1474 (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-vVrqfv4v1mtK/agent.1696 SSH_AGENT_PID=1698 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/private_key_6472446728676006034.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 a71135d64ce04bd8fd3e961debf661f5c1ffe168 # 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/jenkins13699222941531015491.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-BDuu 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-BDuu/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-BDuu/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.96 botocore==1.35.96 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.5 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==7.0.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.10 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/jenkins11080252922426432102.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/jenkins7813727408841074128.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-8zcT + 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= ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -s /tmp/.pyenv_versions ]] +++ sort -V +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 ++ 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-8zcT + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8zcT' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8zcT + echo /tmp/venv-8zcT + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-8zcT/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-8zcT/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-8zcT/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-8zcT/bin to PATH + PATH=/tmp/venv-8zcT/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-8zcT/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/jenkins5899947811794383283.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/jenkins6474158523693743239.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-k6o6 + 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= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ grep -E '^[0-9.]*[0-9]$' ++ command pyenv versions ++ pyenv versions ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ 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-8zcT + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8zcT from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-8zcT from file:/tmp/.toxenv + /tmp/venv-8zcT/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-8zcT/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-8zcT/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-8zcT/bin to PATH + PATH=/tmp/venv-8zcT/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-8zcT/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-8zcT/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-8zcT/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==10.0.0,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 1698 killed; [ssh-agent] Stopped. Build was aborted [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins10003081689915837605.sh ---> sysstat.sh code: exit -15 (775.74 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=2555 + 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 + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 143 -eq 0 + exit 143 ++ '[' 2 = 1 ']' [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins2642578678752037330.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + 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/jenkins16428491969273905346.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-BDuu from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BDuu/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins15876971317440708396.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/config17611768312802796790tmp 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/jenkins4850174190475414396.sh ---> create-netrc.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins17119077501816657255.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-BDuu from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BDuu/bin to PATH [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins2096592413907478998.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins3905602421859323639.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-BDuu 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-BDuu/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/jenkins14048755147401173081.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-BDuu from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-BDuu/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/116 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-1474 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: 2800.000 BogoMIPS: 5600.00 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 342 368 0 1281 1476 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:84:b0:d7 brd ff:ff:ff:ff:ff:ff inet 10.32.7.77/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85426sec preferred_lft 85426sec inet6 fe80::f816:3eff:fe84:b0d7/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-1474) 01/10/25 _x86_64_ (2 CPU) 15:57:44 LINUX RESTART (2 CPU) 15:58:01 tps rtps wtps bread/s bwrtn/s 15:59:01 134.93 38.35 96.59 1519.91 10625.09 16:00:02 166.24 55.80 110.45 9516.83 84547.15 16:01:01 48.82 14.39 34.43 1628.88 21645.82 16:02:01 1.27 0.02 1.25 1.33 31.99 16:03:01 1.07 0.00 1.07 0.00 12.40 16:04:01 1.15 0.27 0.88 39.19 11.86 16:05:01 1.20 0.22 0.98 21.46 12.53 16:06:01 0.82 0.00 0.82 0.00 10.93 16:07:01 1.17 0.02 1.15 3.60 13.86 16:08:01 1.23 0.00 1.23 0.00 15.20 16:09:01 0.92 0.00 0.92 0.00 11.46 16:10:01 1.23 0.00 1.23 0.00 15.20 16:11:01 0.83 0.00 0.83 0.00 9.73 16:12:01 0.77 0.00 0.77 0.00 10.80 16:13:01 1.08 0.00 1.08 0.00 12.53 Average: 24.16 7.26 16.90 847.98 7784.53 15:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:01 81716 1486020 1958916 96.00 51568 1440396 597960 19.36 470172 1342292 145420 16:00:02 505276 1496936 1535356 75.24 62736 1027792 649460 21.02 323200 1087880 100240 16:01:01 415368 1471004 1625264 79.65 68684 1079008 743436 24.07 350572 1136684 624 16:02:01 414988 1470700 1625644 79.66 68712 1079048 747408 24.19 350796 1136568 124 16:03:01 415220 1470956 1625412 79.65 68748 1079044 756128 24.48 350868 1136572 176 16:04:01 414164 1471140 1626468 79.70 68788 1080236 756128 24.48 351068 1137744 176 16:05:01 413068 1470720 1627564 79.76 68816 1080880 756128 24.48 351468 1138388 108 16:06:01 413472 1471156 1627160 79.74 68848 1080884 756128 24.48 350980 1138388 172 16:07:01 413384 1471228 1627248 79.74 68884 1080996 756128 24.48 351144 1138496 92 16:08:01 413656 1471572 1626976 79.73 68920 1081036 756128 24.48 351112 1138496 88 16:09:01 413588 1471540 1627044 79.73 68944 1081040 756128 24.48 351248 1138500 88 16:10:01 413372 1471352 1627260 79.74 68976 1081044 756128 24.48 351164 1138504 124 16:11:01 413132 1471144 1627500 79.75 69008 1081036 756128 24.48 351200 1138504 96 16:12:01 412860 1470920 1627772 79.77 69036 1081048 755228 24.45 351328 1138508 244 16:13:01 412976 1471068 1627656 79.76 69052 1081052 755228 24.45 351256 1138512 88 Average: 397749 1473830 1642883 80.51 67315 1100969 736925 23.85 357172 1148269 16524 15:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:59:01 ens3 280.36 202.22 1329.43 59.27 0.00 0.00 0.00 0.00 15:59:01 lo 1.00 1.00 0.09 0.09 0.00 0.00 0.00 0.00 16:00:02 ens3 229.36 163.18 5847.35 14.83 0.00 0.00 0.00 0.00 16:00:02 lo 1.47 1.47 0.13 0.13 0.00 0.00 0.00 0.00 16:01:01 ens3 0.47 0.61 0.10 0.13 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:02:01 ens3 0.12 0.12 0.01 0.01 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:03:01 ens3 0.00 0.02 0.00 0.00 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:04:01 ens3 0.85 0.22 0.15 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:05:01 ens3 0.42 0.28 0.26 0.20 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:06:01 ens3 0.12 0.10 0.01 0.01 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:07:01 ens3 1.67 0.97 1.49 0.06 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:08:01 ens3 0.10 0.10 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:09:01 ens3 0.17 0.12 0.08 0.04 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:10:01 ens3 0.10 0.10 0.01 0.03 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:11:01 ens3 0.00 0.00 0.00 0.00 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:12:01 ens3 0.10 0.10 0.01 0.01 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:13:01 ens3 0.00 0.00 0.00 0.00 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 Average: ens3 34.30 24.57 479.20 4.98 0.00 0.00 0.00 0.00 Average: lo 0.24 0.24 0.02 0.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-1474) 01/10/25 _x86_64_ (2 CPU) 15:57:44 LINUX RESTART (2 CPU) 15:58:01 CPU %user %nice %system %iowait %steal %idle 15:59:01 all 39.66 0.00 2.82 7.23 0.08 50.21 15:59:01 0 41.57 0.00 3.07 11.10 0.08 44.18 15:59:01 1 37.74 0.00 2.58 3.37 0.08 56.24 16:00:02 all 33.51 0.00 4.16 6.97 0.09 55.27 16:00:02 0 49.82 0.00 4.67 7.56 0.08 37.86 16:00:02 1 17.13 0.00 3.64 6.38 0.08 72.76 16:01:01 all 11.06 0.00 1.09 1.45 0.08 86.32 16:01:01 0 21.08 0.00 1.53 1.29 0.08 76.01 16:01:01 1 0.97 0.00 0.61 1.61 0.07 96.74 16:02:01 all 0.19 0.00 0.09 0.02 0.08 99.62 16:02:01 0 0.17 0.00 0.13 0.00 0.07 99.63 16:02:01 1 0.23 0.00 0.07 0.02 0.08 99.60 16:03:01 all 0.11 0.00 0.08 0.02 0.04 99.75 16:03:01 0 0.00 0.00 0.02 0.02 0.00 99.97 16:03:01 1 0.20 0.00 0.15 0.03 0.10 99.51 16:04:01 all 0.20 0.00 0.08 0.03 0.05 99.65 16:04:01 0 0.12 0.00 0.00 0.02 0.00 99.87 16:04:01 1 0.29 0.00 0.17 0.03 0.08 99.43 16:05:01 all 0.14 0.00 0.09 0.02 0.04 99.71 16:05:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:05:01 1 0.27 0.00 0.15 0.03 0.08 99.46 16:06:01 all 0.16 0.00 0.08 0.02 0.04 99.70 16:06:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:06:01 1 0.30 0.00 0.15 0.03 0.08 99.43 16:07:01 all 0.13 0.00 0.11 0.02 0.04 99.70 16:07:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:07:01 1 0.25 0.00 0.22 0.03 0.08 99.41 16:08:01 all 0.14 0.00 0.09 0.03 0.05 99.69 16:08:01 0 0.00 0.00 0.02 0.00 0.02 99.97 16:08:01 1 0.29 0.00 0.15 0.03 0.08 99.45 16:09:01 all 0.16 0.00 0.13 0.02 0.03 99.67 16:09:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:09:01 1 0.30 0.00 0.27 0.05 0.08 99.30 16:09:01 CPU %user %nice %system %iowait %steal %idle 16:10:01 all 1.13 0.00 0.12 0.02 0.06 98.68 16:10:01 0 0.02 0.00 0.02 0.00 0.02 99.95 16:10:01 1 2.24 0.00 0.20 0.05 0.08 97.43 16:11:01 all 1.21 0.00 0.13 0.02 0.07 98.58 16:11:01 0 0.23 0.00 0.13 0.00 0.07 99.57 16:11:01 1 2.15 0.00 0.13 0.02 0.07 97.63 16:12:01 all 0.81 0.00 0.12 0.01 0.06 99.01 16:12:01 0 0.02 0.00 0.03 0.00 0.02 99.93 16:12:01 1 1.59 0.00 0.20 0.03 0.10 98.08 16:13:01 all 0.22 0.00 0.13 0.02 0.08 99.56 16:13:01 0 0.18 0.00 0.08 0.00 0.08 99.65 16:13:01 1 0.25 0.00 0.17 0.03 0.08 99.47 Average: all 5.90 0.00 0.62 1.05 0.06 92.36 Average: 0 7.52 0.00 0.65 1.33 0.03 90.46 Average: 1 4.28 0.00 0.59 0.78 0.08 94.27