Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-409 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/aiml-fw-athp-data-extraction-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-fheHfQQaaqXf/agent.1675 SSH_AGENT_PID=1677 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/private_key_2164118927989759498.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 bd87225d106d0fb8472d914d0a3300236e5a64ac (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f bd87225d106d0fb8472d914d0a3300236e5a64ac # timeout=10 Commit message: "Merge "Data extraction module docker file optimisation"" > git rev-list --no-walk 2c49c1534c4775f9d681a10f3345476635b64a40 # 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/jenkins18330111281482579004.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-GDHQ 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-GDHQ/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-GDHQ/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.5.2 aspy.yaml==1.3.0 attrs==24.3.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.85 botocore==1.35.85 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.0 click==8.1.7 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.11 GitPython==3.1.43 google-auth==2.37.0 httplib2==0.22.0 identify==2.6.3 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 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.6 ruamel.yaml.clib==0.2.12 s3transfer==0.10.4 simplejson==3.19.3 six==1.17.0 smmap==5.0.1 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.0 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/jenkins8802191241850414234.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/jenkins1749739793163522732.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-idX9 + 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]$' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ 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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-idX9 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-idX9' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-idX9 + echo /tmp/venv-idX9 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-idX9/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-idX9/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-idX9/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-idX9/bin to PATH + PATH=/tmp/venv-idX9/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-idX9/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.0 [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins6995025685421005558.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/jenkins14440209713528603289.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-IlPP + 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 ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ 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-idX9 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-idX9 from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-idX9 from file:/tmp/.toxenv + /tmp/venv-idX9/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-idX9/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-idX9/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-idX9/bin to PATH + PATH=/tmp/venv-idX9/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-idX9/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-idX9/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-idX9/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.7,coverage==7.6.9,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.4,jsonpickle==4.0.1,lru-dict==1.3.0,MarkupSafe==3.0.2,mock==5.1.0,numpy==2.2.0,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 1677 killed; [ssh-agent] Stopped. Build was aborted [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins10026678245696940188.sh ---> sysstat.sh code: exit -15 (776.55 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=2548 + tox_status=143 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ awk -F/ '{print $2}' ++ echo .tox/code/log + 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/jenkins15317912841871215563.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/jenkins6475526296857480542.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-GDHQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-GDHQ/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins15991294626320827339.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/config18408753663329788689tmp 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/jenkins12233295124107683139.sh ---> create-netrc.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins1960743494974137254.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-GDHQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-GDHQ/bin to PATH [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins704341266056281839.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins5942457739036342317.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-GDHQ 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-GDHQ/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/jenkins16385101671796475929.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-GDHQ from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-GDHQ/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/113 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-409 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 362 347 0 1282 1456 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:68:4e:d7 brd ff:ff:ff:ff:ff:ff inet 10.32.7.172/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85425sec preferred_lft 85425sec inet6 fe80::f816:3eff:fe68:4ed7/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-409) 12/20/24 _x86_64_ (2 CPU) 15:57:41 LINUX RESTART (2 CPU) 15:58:01 tps rtps wtps bread/s bwrtn/s 15:59:01 159.65 56.03 103.61 2161.88 11675.18 16:00:01 154.62 42.36 112.26 9683.29 97965.95 16:01:01 35.54 12.60 22.95 1039.29 6685.29 16:02:01 0.95 0.02 0.93 2.40 28.80 16:03:01 1.52 0.22 1.30 24.26 14.66 16:04:01 0.90 0.00 0.90 0.00 12.00 16:05:01 1.57 0.45 1.12 40.93 12.40 16:06:01 0.88 0.00 0.88 0.00 10.93 16:07:01 1.12 0.00 1.12 0.00 12.80 16:08:01 1.20 0.02 1.18 1.07 14.66 16:09:01 0.92 0.00 0.92 0.00 11.06 16:10:01 9.15 8.20 0.95 452.46 14.13 16:11:01 1.23 0.03 1.20 0.40 13.33 16:12:01 0.87 0.00 0.87 0.00 11.06 16:13:01 1.22 0.00 1.22 0.00 13.20 Average: 24.77 8.00 16.77 894.01 7768.63 15:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:01 151808 1573736 1888824 92.56 53036 1456880 504292 16.32 369972 1374908 137204 16:00:01 138996 1468148 1901636 93.19 62264 1361656 676396 21.90 632700 1138036 78416 16:01:01 92788 1456280 1947844 95.45 66472 1387000 756780 24.50 646184 1160696 640 16:02:01 92664 1456276 1947968 95.46 66508 1387072 756780 24.50 646388 1160636 164 16:03:01 91696 1456080 1948936 95.51 66556 1387796 768160 24.87 646592 1161352 184 16:04:01 92220 1456684 1948412 95.48 66600 1387808 768160 24.87 646500 1161372 228 16:05:01 90528 1456264 1950104 95.56 66636 1389036 768160 24.87 646892 1162600 92 16:06:01 90644 1456404 1949988 95.56 66656 1389040 768160 24.87 646632 1162604 208 16:07:01 90520 1456320 1950112 95.56 66688 1389044 768160 24.87 646636 1162608 88 16:08:01 90624 1456520 1950008 95.56 66712 1389112 768160 24.87 646768 1162644 104 16:09:01 90632 1456568 1950000 95.56 66740 1389124 768160 24.87 646824 1162644 124 16:10:01 67164 1447228 1973468 96.71 66996 1402500 769332 24.90 660800 1170840 204 16:11:01 67116 1447236 1973516 96.71 67024 1402512 769332 24.90 660792 1170832 92 16:12:01 67272 1447432 1973360 96.70 67056 1402516 769332 24.90 660704 1170832 220 16:13:01 67272 1447436 1973360 96.70 67092 1402520 769332 24.90 660720 1170836 100 Average: 92130 1462574 1948502 95.49 65536 1394908 743246 24.06 631007 1176896 14538 15:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:59:01 ens3 148.19 109.24 1013.76 22.24 0.00 0.00 0.00 0.00 15:59:01 lo 1.61 1.61 0.15 0.15 0.00 0.00 0.00 0.00 16:00:01 ens3 215.41 154.02 5825.20 13.35 0.00 0.00 0.00 0.00 16:00:01 lo 0.67 0.67 0.05 0.05 0.00 0.00 0.00 0.00 16:01:01 ens3 0.45 0.47 0.10 0.12 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.13 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.15 0.15 0.08 0.04 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.72 0.13 0.07 0.04 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.60 0.42 0.35 0.28 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.12 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 0.03 0.03 0.00 0.00 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.22 0.17 0.08 0.04 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.03 0.00 0.00 0.00 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 10.71 7.50 10.08 10.72 0.00 0.00 0.00 0.00 16:10:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 16:11:01 ens3 1.60 1.40 0.95 1.07 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.13 0.08 0.08 0.04 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 25.25 18.27 456.88 3.20 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-409) 12/20/24 _x86_64_ (2 CPU) 15:57:41 LINUX RESTART (2 CPU) 15:58:01 CPU %user %nice %system %iowait %steal %idle 15:59:01 all 38.73 0.00 2.80 7.58 0.08 50.81 15:59:01 0 43.84 0.00 2.86 2.94 0.08 50.28 15:59:01 1 33.65 0.00 2.74 12.21 0.08 51.32 16:00:01 all 33.04 0.00 4.29 6.60 0.09 55.98 16:00:01 0 41.04 0.00 3.63 5.79 0.08 49.45 16:00:01 1 25.00 0.00 4.97 7.41 0.10 62.53 16:01:01 all 8.18 0.00 0.58 0.95 0.08 90.22 16:01:01 0 7.65 0.00 0.72 1.50 0.05 90.08 16:01:01 1 8.71 0.00 0.45 0.40 0.10 90.33 16:02:01 all 1.21 0.00 0.11 0.02 0.07 98.59 16:02:01 0 0.20 0.00 0.07 0.05 0.08 99.60 16:02:01 1 2.22 0.00 0.13 0.00 0.07 97.58 16:03:01 all 1.13 0.00 0.12 0.03 0.07 98.66 16:03:01 0 0.03 0.00 0.03 0.03 0.02 99.88 16:03:01 1 2.19 0.00 0.20 0.03 0.12 97.47 16:04:01 all 0.44 0.00 0.08 0.03 0.07 99.38 16:04:01 0 0.03 0.00 0.00 0.00 0.02 99.95 16:04:01 1 0.87 0.00 0.17 0.03 0.12 98.82 16:05:01 all 0.12 0.00 0.11 0.03 0.05 99.70 16:05:01 0 0.03 0.00 0.02 0.00 0.02 99.93 16:05:01 1 0.20 0.00 0.20 0.05 0.10 99.45 16:06:01 all 0.18 0.00 0.08 0.01 0.08 99.64 16:06:01 0 0.17 0.00 0.08 0.00 0.07 99.68 16:06:01 1 0.20 0.00 0.08 0.02 0.10 99.60 16:07:01 all 0.23 0.00 0.13 0.02 0.11 99.52 16:07:01 0 0.25 0.00 0.08 0.00 0.10 99.57 16:07:01 1 0.20 0.00 0.15 0.03 0.10 99.51 16:08:01 all 0.23 0.00 0.08 0.01 0.10 99.59 16:08:01 0 0.22 0.00 0.08 0.00 0.10 99.60 16:08:01 1 0.22 0.00 0.07 0.02 0.10 99.60 16:09:01 all 0.18 0.00 0.09 0.03 0.08 99.62 16:09:01 0 0.08 0.00 0.05 0.00 0.07 99.80 16:09:01 1 0.28 0.00 0.13 0.05 0.12 99.41 16:09:01 CPU %user %nice %system %iowait %steal %idle 16:10:01 all 1.24 0.00 0.18 0.27 0.08 98.23 16:10:01 0 1.14 0.00 0.22 0.42 0.10 98.13 16:10:01 1 1.34 0.00 0.18 0.12 0.05 98.31 16:11:01 all 0.51 0.00 0.10 0.02 0.07 99.31 16:11:01 0 0.13 0.00 0.12 0.00 0.08 99.67 16:11:01 1 0.88 0.00 0.07 0.03 0.05 98.97 16:12:01 all 1.16 0.00 0.09 0.02 0.07 98.66 16:12:01 0 0.13 0.00 0.10 0.03 0.05 99.68 16:12:01 1 2.19 0.00 0.08 0.02 0.08 97.63 16:13:01 all 1.18 0.00 0.14 0.02 0.07 98.59 16:13:01 0 0.91 0.00 0.08 0.03 0.07 98.91 16:13:01 1 1.42 0.00 0.20 0.00 0.10 98.28 Average: all 5.83 0.00 0.60 1.04 0.08 92.46 Average: 0 6.37 0.00 0.54 0.72 0.07 92.31 Average: 1 5.29 0.00 0.65 1.35 0.09 92.61