Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-265 (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-smoJGPWSuMMQ/agent.1733 SSH_AGENT_PID=1735 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/private_key_4127568306147131291.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 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/jenkins3410968940949147087.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-kqJE 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-kqJE/bin to PATH Generating Requirements File Python 3.10.6 pip 24.3.1 from /tmp/venv-kqJE/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.88 botocore==1.35.88 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.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.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.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/jenkins12814149951459698744.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/jenkins9198664985237188039.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-AqBw + 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 ++ awk '{ print $1 }' ++ grep -E '^[0-9.]*[0-9]$' ++ 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-AqBw + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AqBw' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AqBw + echo /tmp/venv-AqBw + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-AqBw/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-AqBw/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-AqBw/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-AqBw/bin to PATH + PATH=/tmp/venv-AqBw/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-AqBw/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/jenkins12908594848910301587.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/jenkins9036407560685737267.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-1igu + 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 ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ [[ ! -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-AqBw + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AqBw from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AqBw from file:/tmp/.toxenv + /tmp/venv-AqBw/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-AqBw/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-AqBw/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-AqBw/bin to PATH + PATH=/tmp/venv-AqBw/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-AqBw/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-AqBw/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-AqBw/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=False + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + tox + tee -a /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox/tox.log 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 1735 killed; [ssh-agent] Stopped. Build was aborted [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins6022475060146724014.sh ---> sysstat.sh code: exit -15 (777.02 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=2597 + 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/jenkins12769200882049260196.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/jenkins9151156848087127187.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-kqJE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kqJE/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins10544974602933983927.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/config3808302953891491661tmp 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/jenkins2188532661630476433.sh ---> create-netrc.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins11250425059234491860.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-kqJE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kqJE/bin to PATH [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins1662258527878616941.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins10766329493350581720.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-kqJE 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-kqJE/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/jenkins13772550659127326702.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-kqJE from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-kqJE/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/114 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-265 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 344 0 1305 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:de:df:82 brd ff:ff:ff:ff:ff:ff inet 10.32.6.37/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 85425sec preferred_lft 85425sec inet6 fe80::f816:3eff:fede:df82/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-265) 12/27/24 _x86_64_ (2 CPU) 15:57:45 LINUX RESTART (2 CPU) 15:58:01 tps rtps wtps bread/s bwrtn/s 15:59:01 140.21 34.76 105.45 1292.34 12510.19 16:00:01 165.86 55.97 109.88 9360.84 95865.62 16:01:01 37.04 13.71 23.33 1583.07 8466.99 16:02:01 1.25 0.00 1.25 0.00 36.39 16:03:01 1.12 0.10 1.02 18.26 12.40 16:04:01 0.93 0.10 0.83 22.40 11.33 16:05:01 1.20 0.17 1.03 21.73 12.40 16:06:01 8.40 7.35 1.05 347.94 15.33 16:07:01 1.12 0.00 1.12 0.00 12.66 16:08:01 1.38 0.00 1.38 0.00 17.06 16:09:01 0.97 0.00 0.97 0.00 11.06 16:10:02 0.77 0.00 0.77 0.00 10.40 16:11:01 0.93 0.00 0.93 0.00 10.85 16:12:01 0.82 0.00 0.82 0.00 10.80 16:13:01 1.15 0.00 1.15 0.00 13.06 Average: 24.24 7.49 16.75 844.06 7809.92 15:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:01 86876 1491848 1953756 95.74 52352 1438752 594652 19.25 454304 1350048 133228 16:00:01 159248 1500456 1881384 92.20 62912 1374936 652224 21.11 598636 1155284 61948 16:01:01 105256 1475764 1935376 94.84 68184 1392452 744184 24.09 623956 1169568 764 16:02:01 105288 1475848 1935344 94.84 68220 1392452 744184 24.09 624100 1169588 164 16:03:01 104660 1475936 1935972 94.87 68268 1393120 752184 24.35 624192 1170264 112 16:04:01 104232 1476088 1936400 94.89 68288 1393680 752184 24.35 624216 1170816 168 16:05:01 103276 1475832 1937356 94.94 68328 1394332 752184 24.35 624772 1171468 168 16:06:01 85484 1468924 1955148 95.81 68704 1404444 760232 24.61 634068 1179220 160 16:07:01 85584 1469084 1955048 95.81 68740 1404448 760232 24.61 633752 1179224 152 16:08:01 85500 1469024 1955132 95.81 68788 1404476 760232 24.61 633904 1179224 44 16:09:01 85492 1469092 1955140 95.81 68808 1404496 756060 24.47 633800 1179232 92 16:10:02 85344 1468984 1955288 95.82 68832 1404500 756060 24.47 633928 1179236 156 16:11:01 85500 1469148 1955132 95.81 68856 1404500 760056 24.60 633852 1179236 96 16:12:01 85176 1468876 1955456 95.83 68888 1404504 760056 24.60 633900 1179240 172 16:13:01 85068 1468780 1955564 95.83 68924 1404508 760056 24.60 633996 1179244 92 Average: 96799 1474912 1943833 95.26 67139 1401040 737652 23.88 616358 1186059 13168 15:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:59:01 ens3 268.87 182.16 1338.05 57.42 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:01 ens3 211.73 160.94 5863.43 14.90 0.00 0.00 0.00 0.00 16:00:01 lo 1.47 1.47 0.13 0.13 0.00 0.00 0.00 0.00 16:01:01 ens3 0.43 0.52 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.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.07 0.05 0.04 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.78 0.20 0.11 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 3.48 5.20 1.48 4.45 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 7.87 6.28 5.61 7.88 0.00 0.00 0.00 0.00 16:06:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 16:07:01 ens3 0.05 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.20 0.08 0.07 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:02 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 16:10:02 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 32.97 23.76 481.16 5.67 0.00 0.00 0.00 0.00 Average: lo 0.25 0.25 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-265) 12/27/24 _x86_64_ (2 CPU) 15:57:45 LINUX RESTART (2 CPU) 15:58:01 CPU %user %nice %system %iowait %steal %idle 15:59:01 all 40.15 0.00 2.80 7.02 0.08 49.95 15:59:01 0 52.37 0.00 3.32 7.41 0.10 36.79 15:59:01 1 27.94 0.00 2.27 6.61 0.07 63.12 16:00:01 all 32.51 0.00 4.45 6.56 0.08 56.40 16:00:01 0 43.67 0.00 5.15 7.07 0.08 44.02 16:00:01 1 21.38 0.00 3.75 6.06 0.07 68.74 16:01:01 all 10.24 0.00 0.73 1.01 0.08 87.93 16:01:01 0 7.98 0.00 0.79 1.27 0.08 89.88 16:01:01 1 12.46 0.00 0.68 0.76 0.08 86.02 16:02:01 all 1.17 0.00 0.08 0.02 0.08 98.65 16:02:01 0 0.13 0.00 0.08 0.03 0.10 99.65 16:02:01 1 2.19 0.00 0.10 0.00 0.07 97.65 16:03:01 all 1.00 0.00 0.12 0.02 0.07 98.80 16:03:01 0 0.12 0.00 0.08 0.02 0.03 99.75 16:03:01 1 1.88 0.00 0.15 0.02 0.08 97.87 16:04:01 all 0.14 0.00 0.10 0.02 0.06 99.68 16:04:01 0 0.17 0.00 0.12 0.02 0.07 99.63 16:04:01 1 0.12 0.00 0.08 0.03 0.07 99.70 16:05:01 all 0.31 0.00 0.11 0.03 0.07 99.49 16:05:01 0 0.32 0.00 0.08 0.00 0.07 99.53 16:05:01 1 0.30 0.00 0.12 0.05 0.07 99.46 16:06:01 all 1.35 0.00 0.28 0.21 0.06 98.11 16:06:01 0 1.67 0.00 0.27 0.18 0.03 97.85 16:06:01 1 1.05 0.00 0.28 0.22 0.07 98.38 16:07:01 all 0.18 0.00 0.09 0.02 0.08 99.63 16:07:01 0 0.18 0.00 0.08 0.00 0.07 99.66 16:07:01 1 0.17 0.00 0.08 0.03 0.08 99.63 16:08:01 all 0.14 0.00 0.11 0.02 0.05 99.68 16:08:01 0 0.03 0.00 0.03 0.00 0.02 99.92 16:08:01 1 0.25 0.00 0.22 0.03 0.10 99.40 16:09:01 all 0.18 0.00 0.09 0.01 0.08 99.65 16:09:01 0 0.17 0.00 0.10 0.03 0.07 99.63 16:09:01 1 0.20 0.00 0.08 0.00 0.07 99.65 16:09:01 CPU %user %nice %system %iowait %steal %idle 16:10:02 all 0.23 0.00 0.13 0.02 0.07 99.56 16:10:02 0 0.20 0.00 0.17 0.02 0.07 99.55 16:10:02 1 0.25 0.00 0.07 0.02 0.07 99.60 16:11:01 all 0.22 0.00 0.10 0.01 0.08 99.59 16:11:01 0 0.19 0.00 0.14 0.02 0.09 99.57 16:11:01 1 0.25 0.00 0.07 0.00 0.08 99.59 16:12:01 all 0.18 0.00 0.10 0.02 0.08 99.63 16:12:01 0 0.13 0.00 0.08 0.03 0.07 99.68 16:12:01 1 0.22 0.00 0.10 0.00 0.07 99.62 16:13:01 all 0.23 0.00 0.17 0.02 0.08 99.50 16:13:01 0 0.20 0.00 0.17 0.03 0.08 99.52 16:13:01 1 0.28 0.00 0.18 0.00 0.08 99.45 Average: all 5.89 0.00 0.63 1.00 0.07 92.41 Average: 0 7.17 0.00 0.71 1.08 0.07 90.97 Average: 1 4.60 0.00 0.55 0.92 0.07 93.85