Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-2c-2g-2270 (ubuntu1804-builder-2c-2g ubuntu2004-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-Ct02rgte0hiR/agent.5953 SSH_AGENT_PID=5956 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/private_key_16515657961616183231.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.25.1' using GIT_SSH to set credentials jenkins > git fetch --tags --force --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 cd54234cb626eac98f670def87134fcfc3cc52c2 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f cd54234cb626eac98f670def87134fcfc3cc52c2 # timeout=10 Commit message: "Data extraction I release related changes" > git rev-list --no-walk cd54234cb626eac98f670def87134fcfc3cc52c2 # 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/jenkins6594036737911421833.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-DCui 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-DCui/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-DCui/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.1 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.14.0 beautifulsoup4==4.12.2 boto3==1.34.9 botocore==1.34.9 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.25.2 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-metadata==7.0.1 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.20.0 jsonschema-specifications==2023.12.1 keystoneauth1==5.4.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.4 MarkupSafe==2.1.3 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.15.2 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.12 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [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/jenkins10416562604257170326.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-6LSK + 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:/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:/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:/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:/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ grep -E '^[0-9.]*[0-9]$' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ [[ ! -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-6LSK + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6LSK' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6LSK + echo /tmp/venv-6LSK + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-6LSK/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-6LSK/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-6LSK/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-6LSK/bin to PATH + PATH=/tmp/venv-6LSK/bin:/opt/pyenv/shims:/opt/pyenv/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 23.3.2 from /tmp/venv-6LSK/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.2 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.1 packaging==23.2 platformdirs==4.1.0 pluggy==1.3.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.11.4 urllib3==1.26.18 virtualenv==20.25.0 [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/sh -xe /tmp/jenkins16867146903624461556.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/jenkins6658377145578683973.sh ---> tox-run.sh + PATH=/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-XuLo + 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 ++ grep -E '^[0-9.]*[0-9]$' ++ '[' 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 +++ 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-6LSK + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6LSK from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-6LSK from file:/tmp/.toxenv + /tmp/venv-6LSK/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-6LSK/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-6LSK/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-6LSK/bin to PATH + PATH=/tmp/venv-6LSK/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 + [[ -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-6LSK/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 + PATH=/opt/pyenv/bin:/tmp/venv-6LSK/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 ++ 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.11.4 from /tmp/venv-6LSK/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 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.0,certifi==2023.11.17,click==8.1.7,coverage==7.4.0,exceptiongroup==1.2.0,Flask==2.2.5,Flask-API==3.1,Flask-RESTful==0.3.10,geomet==0.2.1.post1,importlib-metadata==7.0.1,influxdb-client==1.39.0,iniconfig==2.0.0,itsdangerous==2.1.2,Jinja2==3.1.2,jsonpickle==3.0.2,lru-dict==1.3.0,MarkupSafe==2.1.3,mock==5.1.0,numpy==1.24.4,packaging==23.2,pandas==2.0.3,pip==23.3.1,pluggy==1.3.0,py4j==0.10.9.7,pyspark==3.5.0,pytest==7.4.3,pytest-cov==4.1.0,python-dateutil==2.8.2,python-dotenv==1.0.0,pytz==2023.3.post1,PyYAML==6.0.1,reactivex==4.0.4,setuptools==69.0.2,six==1.16.0,tomli==2.0.1,typing_extensions==4.9.0,tzdata==2023.3,urllib3==1.26.18,Werkzeug==2.2.2,wheel==0.42.0,zipp==3.17.0 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.8.10, pytest-7.4.3, pluggy-1.3.0 cachedir: .tox/code/.pytest_cache rootdir: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube plugins: cov-4.1.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 .......... [ 76%] test/test_pipeline.py ...... [ 92%] test/test_tmgr_logger.py ... [100%] =============================== warnings summary =============================== .tox/code/lib/python3.8/site-packages/flask_api/renderers.py:5 /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/code/lib/python3.8/site-packages/flask_api/renderers.py:5: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. from flask.globals import _request_ctx_stack -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------------------- generated xml file: /tmp/tests.xml ---------------------- ---------- coverage: platform linux, python 3.8.10-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------------------------- dataextraction/ConfigHelper.py 143 25 83% 55, 71-73, 84-85, 99, 102-103, 114-115, 144-146, 159, 161-163, 172-173, 182-183, 213, 218-219 dataextraction/FeatureEngineeringFactory.py 71 7 90% 47-48, 68-71, 75 dataextraction/Pipeline.py 27 0 100% dataextraction/SparkHelper.py 40 13 68% 41, 58, 64-78, 84 dataextraction/exceptions_util.py 5 3 40% 42-44 dataextraction/main.py 124 18 85% 133-135, 172-183, 195-197 dataextraction/sink/Base.py 9 1 89% 31 dataextraction/sink/CassandraSink.py 79 2 97% 88-89 dataextraction/sink/DefaultSparkSink.py 24 2 92% 52-53 dataextraction/sink/__init__.py 0 0 100% dataextraction/source/Base.py 9 1 89% 31 dataextraction/source/CassandraSource.py 30 30 0% 19-76 dataextraction/source/DefaultSparkSource.py 24 2 92% 49-50 dataextraction/source/InfluxSource.py 53 1 98% 90 dataextraction/source/__init__.py 0 0 100% dataextraction/tmgr_logger.py 22 0 100% dataextraction/transform/Base.py 9 1 89% 32 dataextraction/transform/DefaultSparkTransform.py 10 0 100% dataextraction/transform/SQLTransform.py 29 8 72% 54-57, 68-71 dataextraction/transform/__init__.py 0 0 100% --------------------------------------------------------------------------------- TOTAL 708 114 84% Coverage HTML written to dir htmlcov Coverage XML written to file coverage.xml Required test coverage of 30% reached. Total coverage: 83.90% ======================== 38 passed, 1 warning in 4.73s ========================= code: commands[1]> coverage xml -i Wrote XML report to coverage.xml code: OK ✔ in 59.01 seconds docs: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' docs: freeze> python -m pip freeze --all docs: alabaster==0.7.13,attrs==23.1.0,Babel==2.14.0,blockdiag==3.0.0,certifi==2023.11.17,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,docutils==0.18.1,fonttools==4.47.0,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.2,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.2,nwdiag==3.0.0,packaging==23.2,Pillow==10.1.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.4,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.9,sphinxcontrib-swaggerdoc==0.1.7,urllib3==1.26.18,webcolors==1.13,wheel==0.42.0 docs: commands[0]> sphinx-build -W -b html -n -d /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/docs/tmp/doctrees ./docs/ /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/docs/_build/html Running Sphinx v7.2.6 making output directory... done loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in docs/_build/html. docs: commands[1]> echo 'Generated docs available in /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/docs/_build/html' Generated docs available in /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/docs/_build/html docs: OK ✔ in 37.46 seconds docs-linkcheck: install_deps> python -I -m pip install lfdocs-conf recommonmark sphinx sphinx-rtd-theme sphinxcontrib-httpdomain 'urllib3~=1.26.15' docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==0.7.13,attrs==23.1.0,Babel==2.14.0,blockdiag==3.0.0,certifi==2023.11.17,charset-normalizer==3.3.2,commonmark==0.9.1,contourpy==1.2.0,cycler==0.12.1,docutils==0.18.1,fonttools==4.47.0,funcparserlib==2.0.0a0,future==0.18.3,idna==3.6,imagesize==1.4.1,Jinja2==3.1.2,jsonschema==3.2.0,kiwisolver==1.4.5,lfdocs-conf==0.9.0,MarkupSafe==2.1.3,matplotlib==3.8.2,numpy==1.26.2,nwdiag==3.0.0,packaging==23.2,Pillow==10.1.0,pip==23.3.1,Pygments==2.17.2,pyparsing==3.1.1,pyrsistent==0.20.0,python-dateutil==2.8.2,PyYAML==6.0.1,recommonmark==0.7.1,requests==2.31.0,requests-file==1.5.1,seqdiag==3.0.0,setuptools==69.0.2,six==1.16.0,snowballstemmer==2.2.0,Sphinx==7.2.6,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.2,sphinx-rtd-theme==2.0.0,sphinx-tabs==3.4.4,sphinxcontrib-applehelp==1.0.7,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==1.0.5,sphinxcontrib-htmlhelp==2.0.4,sphinxcontrib-httpdomain==1.8.1,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.27,sphinxcontrib-qthelp==1.0.6,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==1.1.9,sphinxcontrib-swaggerdoc==0.1.7,urllib3==1.26.18,webcolors==1.13,wheel==0.42.0 docs-linkcheck: commands[0]> sphinx-build -W -b linkcheck -d /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.tox/docs-linkcheck/tmp/doctrees ./docs/ /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/docs/_build/linkcheck Running Sphinx v7.2.6 making output directory... done loading intersphinx inventory from https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/objects.inv... building [mo]: targets for 0 po files that are out of date writing output... building [linkcheck]: targets for 4 source files that are out of date updating environment: [new config] 4 added, 0 changed, 0 removed reading sources... [ 25%] index reading sources... [ 50%] installation-guide reading sources... [ 75%] overview reading sources... [100%] release-notes looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... done writing output... [ 25%] index writing output... [ 50%] installation-guide writing output... [ 75%] overview writing output... [100%] release-notes (installation-guide: line 39) ok https://docs.o-ran-sc.org/projects/o-ran-sc-aiml-fw-aimlfw-dep/en/latest/index.html build succeeded. Look for any errors in the above output or in docs/_build/linkcheck/output.txt code: OK (59.00=setup[53.61]+cmd[5.23,0.16] seconds) docs: OK (37.46=setup[36.48]+cmd[0.97,0.00] seconds) docs-linkcheck: OK (20.60=setup[19.32]+cmd[1.29] seconds) congratulations :) (117.23 seconds) + tox_status=0 + 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 + for i in .tox/*/log ++ echo .tox/docs-linkcheck/log ++ awk -F/ '{print $2}' + tox_env=docs-linkcheck + cp -r .tox/docs-linkcheck/log /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox/docs-linkcheck + for i in .tox/*/log ++ echo .tox/docs/log ++ awk -F/ '{print $2}' + tox_env=docs + cp -r .tox/docs/log /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/tox/docs + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> Archiving generated docs' ---> Archiving generated docs + mv docs/_build/html /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/archives/docs + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 0 -eq 0 Unpacking https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/4.6.2.2472/sonar-scanner-cli-4.6.2.2472.zip to /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner on prd-ubuntu1804-builder-2c-2g-2270 [aiml-fw-athp-data-extraction-tox-sonarqube] $ /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io/ ******** -Dsonar.projectKey=o-ran-sc_aiml-fw-athp-data-extraction -Dsonar.projectName=aiml-fw-athp-data-extraction -Dsonar.login=d9e23c28dc39b6d7531d2ecabf122ce84e6253ef -Dsonar.organization=o-ran-sc -Dsonar.sources=dataextraction -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.projectBaseDir=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube WARN: Property 'sonar.login' with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' is overridden with value 'd9e23c28dc39b6d7531d2ecabf122ce84e6253ef' INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: SonarScanner 4.6.2.2472 INFO: Java 11.0.18 Ubuntu (64-bit) INFO: Linux 5.4.0-146-generic amd64 INFO: User cache: /home/jenkins/.sonar/cache INFO: Scanner configuration file: /w/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarQube_Scanner/conf/sonar-scanner.properties INFO: Project root configuration file: NONE INFO: Analyzing on SonarCloud INFO: Default locale: "en", source code encoding: "UTF-8" (analysis is platform dependent) INFO: Load global settings INFO: Load global settings (done) | time=326ms INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu INFO: User cache: /home/jenkins/.sonar/cache INFO: Loading required plugins INFO: Load plugins index INFO: Load plugins index (done) | time=580ms INFO: Load/download plugins INFO: Load/download plugins (done) | time=1210ms INFO: Found an active CI vendor: 'Jenkins' INFO: Load project settings for component key: 'o-ran-sc_aiml-fw-athp-data-extraction' INFO: Load project settings for component key: 'o-ran-sc_aiml-fw-athp-data-extraction' (done) | time=199ms INFO: Process project properties INFO: Project key: o-ran-sc_aiml-fw-athp-data-extraction INFO: Base dir: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube INFO: Working dir: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork INFO: Load project branches INFO: Load project branches (done) | time=533ms INFO: Check ALM binding of project 'o-ran-sc_aiml-fw-athp-data-extraction' INFO: Detected project binding: NOT_BOUND INFO: Check ALM binding of project 'o-ran-sc_aiml-fw-athp-data-extraction' (done) | time=194ms INFO: Load project pull requests INFO: Load project pull requests (done) | time=492ms INFO: Load branch configuration INFO: Load branch configuration (done) | time=2ms INFO: Load quality profiles INFO: Load quality profiles (done) | time=257ms INFO: Load active rules INFO: Load active rules (done) | time=12369ms INFO: Organization key: o-ran-sc WARN: The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. INFO: Preprocessing files... INFO: 1 language detected in 43 preprocessed files INFO: 0 files ignored because of inclusion/exclusion patterns INFO: 0 files ignored because of scm ignore settings WARN: The version of Java (11.0.18) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. INFO: Loading plugins for detected languages INFO: Load/download plugins INFO: Load/download plugins (done) | time=373ms INFO: Load project repositories INFO: Load project repositories (done) | time=268ms INFO: Indexing files... INFO: Project configuration: INFO: Excluded sources: **/build-wrapper-dump.json INFO: 43 files indexed INFO: Quality profile for py: Sonar way INFO: ------------- Run sensors on module aiml-fw-athp-data-extraction INFO: Load metrics repository INFO: Load metrics repository (done) | time=210ms INFO: Sensor cache enabled INFO: Load sensor cache INFO: Load sensor cache (233 KB) | time=1939ms INFO: Sensor Python Sensor [python] WARN: Your code is analyzed as compatible with all Python 3 versions by default. You can get a more precise analysis by setting the exact Python version in your configuration via the parameter "sonar.python.version" INFO: Starting global symbols computation INFO: 20 source files to be analyzed INFO: 20/20 source files have been analyzed INFO: Starting rules execution INFO: 20 source files to be analyzed INFO: 20/20 source files have been analyzed INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 20 files. These files were not parsed. INFO: Sensor Python Sensor [python] (done) | time=3413ms INFO: Sensor Cobertura Sensor for Python coverage [python] INFO: Python test coverage INFO: Parsing report '/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/coverage.xml' INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=437ms INFO: Sensor PythonXUnitSensor [python] INFO: Sensor PythonXUnitSensor [python] (done) | time=227ms INFO: Sensor Python HTML templates processing [securitypythonfrontend] INFO: HTML files are not indexed : you may want to add them in the scanned files of this project to detect Python XSS vulnerabilities INFO: Sensor Python HTML templates processing [securitypythonfrontend] (done) | time=19ms INFO: Sensor JaCoCo XML Report Importer [jacoco] INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml INFO: No report imported, no coverage information will be imported by JaCoCo XML Report Importer INFO: Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms INFO: Sensor TextAndSecretsSensor [text] INFO: 20 source files to be analyzed INFO: 20/20 source files have been analyzed INFO: Sensor TextAndSecretsSensor [text] (done) | time=728ms INFO: Sensor CSS Rules [javascript] INFO: No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. INFO: Sensor CSS Rules [javascript] (done) | time=1ms INFO: Sensor IaC Docker Sensor [iac] INFO: 0 source files to be analyzed INFO: 0/0 source files have been analyzed INFO: Sensor IaC Docker Sensor [iac] (done) | time=81ms INFO: Sensor Serverless configuration file sensor [security] INFO: 0 Serverless function entries were found in the project INFO: 0 Serverless function handlers were kept as entrypoints INFO: Sensor Serverless configuration file sensor [security] (done) | time=21ms INFO: Sensor AWS SAM template file sensor [security] INFO: Sensor AWS SAM template file sensor [security] (done) | time=2ms INFO: Sensor AWS SAM Inline template file sensor [security] INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms INFO: Sensor javabugs [dbd] INFO: Reading IR files from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ir/java INFO: No IR files have been included for analysis. INFO: Sensor javabugs [dbd] (done) | time=4ms INFO: Sensor pythonbugs [dbd] INFO: Reading IR files from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ir/python INFO: Analyzing 59 functions to detect bugs. INFO: Sensor pythonbugs [dbd] (done) | time=631ms INFO: Sensor JavaSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ucfg2/java INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.002 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003 INFO: No UCFGs have been included for analysis. INFO: java security sensor: Time spent was 00:00:00.006 INFO: Sensor JavaSecuritySensor [security] (done) | time=50ms INFO: Sensor CSharpSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/ucfg2/cs INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.001 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.003 INFO: No UCFGs have been included for analysis. INFO: csharp security sensor: Time spent was 00:00:00.007 INFO: Sensor CSharpSecuritySensor [security] (done) | time=9ms INFO: Sensor PhpSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ucfg2/php INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.001 INFO: No UCFGs have been included for analysis. INFO: php security sensor: Time spent was 00:00:00.002 INFO: Sensor PhpSecuritySensor [security] (done) | time=2ms INFO: Sensor PythonSecuritySensor [security] INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ucfg2/python INFO: Read 935 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.120 INFO: Load UCFGs: Starting INFO: Reading UCFGs from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ucfg2/python INFO: Load UCFGs: Time spent was 00:00:00.543 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.664 INFO: Analyzing 3649 UCFGs to detect vulnerabilities. INFO: Check cache: Starting INFO: Load cache: Starting INFO: Load cache: Time spent was 00:00:00.000 INFO: Check cache: Time spent was 00:00:00.000 INFO: Create runtime call graph: Starting INFO: Variable Type Analysis #1: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.324 INFO: Run SCC (Tarjan) on 9245 nodes: Starting INFO: Run SCC (Tarjan) on 9245 nodes: Time spent was 00:00:00.010 INFO: Tarjan found 9240 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.029 INFO: Variable Type Analysis #1: Time spent was 00:00:00.374 INFO: Variable Type Analysis #2: Starting INFO: Create runtime type propagation graph: Starting INFO: Create runtime type propagation graph: Time spent was 00:00:00.024 INFO: Run SCC (Tarjan) on 9076 nodes: Starting INFO: Run SCC (Tarjan) on 9076 nodes: Time spent was 00:00:00.010 INFO: Tarjan found 9076 strongly connected components INFO: Propagate runtime types to strongly connected components: Starting INFO: Propagate runtime types to strongly connected components: Time spent was 00:00:00.027 INFO: Variable Type Analysis #2: Time spent was 00:00:00.063 INFO: Create runtime call graph: Time spent was 00:00:00.444 INFO: Load config: Starting INFO: Load config: Time spent was 00:00:00.186 INFO: Compute entry points: Starting INFO: Compute entry points: Time spent was 00:00:00.114 INFO: All rules entry points : 3 INFO: Slice call graph: Starting INFO: Retained UCFGs : 11 INFO: Slice call graph: Time spent was 00:00:00.000 INFO: Live variable analysis: Starting INFO: Live variable analysis: Time spent was 00:00:00.010 INFO: Taint analysis for python: Starting INFO: 0 / 11 UCFGs simulated, memory usage: 147 MB INFO: 5 / 11 UCFGs simulated, memory usage: 106 MB INFO: Taint analysis for python: Time spent was 00:00:00.098 INFO: Report issues: Starting INFO: Report issues: Time spent was 00:00:00.003 INFO: Store cache: Starting INFO: Store cache: Time spent was 00:00:00.020 INFO: python security sensor: Time spent was 00:00:01.546 INFO: python security sensor: Begin: 2023-12-29T16:02:15.473287Z, End: 2023-12-29T16:02:17.019621Z, Duration: 00:00:01.546 Load type hierarchy and UCFGs: Begin: 2023-12-29T16:02:15.473693Z, End: 2023-12-29T16:02:16.138007Z, Duration: 00:00:00.664 Load type hierarchy: Begin: 2023-12-29T16:02:15.473792Z, End: 2023-12-29T16:02:15.594154Z, Duration: 00:00:00.120 Load UCFGs: Begin: 2023-12-29T16:02:15.594438Z, End: 2023-12-29T16:02:16.137676Z, Duration: 00:00:00.543 Check cache: Begin: 2023-12-29T16:02:16.138256Z, End: 2023-12-29T16:02:16.138763Z, Duration: 00:00:00.000 Load cache: Begin: 2023-12-29T16:02:16.138355Z, End: 2023-12-29T16:02:16.138459Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2023-12-29T16:02:16.138939Z, End: 2023-12-29T16:02:16.583682Z, Duration: 00:00:00.444 Variable Type Analysis #1: Begin: 2023-12-29T16:02:16.140105Z, End: 2023-12-29T16:02:16.514828Z, Duration: 00:00:00.374 Create runtime type propagation graph: Begin: 2023-12-29T16:02:16.141563Z, End: 2023-12-29T16:02:16.466234Z, Duration: 00:00:00.324 Run SCC (Tarjan) on 9245 nodes: Begin: 2023-12-29T16:02:16.474432Z, End: 2023-12-29T16:02:16.485066Z, Duration: 00:00:00.010 Propagate runtime types to strongly connected components: Begin: 2023-12-29T16:02:16.485226Z, End: 2023-12-29T16:02:16.514675Z, Duration: 00:00:00.029 Variable Type Analysis #2: Begin: 2023-12-29T16:02:16.516827Z, End: 2023-12-29T16:02:16.580516Z, Duration: 00:00:00.063 Create runtime type propagation graph: Begin: 2023-12-29T16:02:16.516864Z, End: 2023-12-29T16:02:16.541452Z, Duration: 00:00:00.024 Run SCC (Tarjan) on 9076 nodes: Begin: 2023-12-29T16:02:16.542092Z, End: 2023-12-29T16:02:16.552472Z, Duration: 00:00:00.010 Propagate runtime types to strongly connected components: Begin: 2023-12-29T16:02:16.552581Z, End: 2023-12-29T16:02:16.580383Z, Duration: 00:00:00.027 Load config: Begin: 2023-12-29T16:02:16.583761Z, End: 2023-12-29T16:02:16.770134Z, Duration: 00:00:00.186 Compute entry points: Begin: 2023-12-29T16:02:16.770272Z, End: 2023-12-29T16:02:16.884296Z, Duration: 00:00:00.114 Slice call graph: Begin: 2023-12-29T16:02:16.885248Z, End: 2023-12-29T16:02:16.885849Z, Duration: 00:00:00.000 Live variable analysis: Begin: 2023-12-29T16:02:16.885911Z, End: 2023-12-29T16:02:16.896313Z, Duration: 00:00:00.010 Taint analysis for python: Begin: 2023-12-29T16:02:16.896576Z, End: 2023-12-29T16:02:16.995543Z, Duration: 00:00:00.098 Report issues: Begin: 2023-12-29T16:02:16.995601Z, End: 2023-12-29T16:02:16.999251Z, Duration: 00:00:00.003 Store cache: Begin: 2023-12-29T16:02:16.999309Z, End: 2023-12-29T16:02:17.019536Z, Duration: 00:00:00.020 INFO: python security sensor peak memory: 158 MB INFO: Sensor PythonSecuritySensor [security] (done) | time=1552ms INFO: Sensor JsSecuritySensor [security] INFO: Enabled taint analysis rules: S3649, S5146, S6287, S6350, S5696, S5147, S5131, S2631, S5883, S6105, S6096, S2076, S2083, S5144, S5334 INFO: Load type hierarchy and UCFGs: Starting INFO: Load type hierarchy: Starting INFO: Reading type hierarchy from: /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube/.scannerwork/ucfg2/js INFO: Read 0 type definitions INFO: Load type hierarchy: Time spent was 00:00:00.000 INFO: Load UCFGs: Starting INFO: Load UCFGs: Time spent was 00:00:00.000 INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000 INFO: No UCFGs have been included for analysis. INFO: js security sensor: Time spent was 00:00:00.000 INFO: Sensor JsSecuritySensor [security] (done) | time=0ms INFO: ------------- Run sensors on project INFO: Sensor Zero Coverage Sensor INFO: Sensor Zero Coverage Sensor (done) | time=0ms INFO: CPD Executor 4 files had no CPD blocks INFO: CPD Executor Calculating CPD for 16 files INFO: CPD Executor CPD calculation finished (done) | time=9ms INFO: Analysis report generated in 217ms, dir size=335 KB INFO: Analysis report compressed in 45ms, zip size=104 KB INFO: Analysis report uploaded in 686ms INFO: ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=o-ran-sc_aiml-fw-athp-data-extraction INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report INFO: More about the report processing at https://sonarcloud.io/api/ce/task?id=AYy2T-KtdQeBgNtVRiNh INFO: Sensor cache published successfully INFO: Analysis total time: 30.225 s INFO: ------------------------------------------------------------------------ INFO: EXECUTION SUCCESS INFO: ------------------------------------------------------------------------ INFO: Total time: 35.899s INFO: Final Memory: 63M/182M INFO: ------------------------------------------------------------------------ $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 5956 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins17680651188308041058.sh ---> sysstat.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins7988664409033456871.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + grep '^ii' + dpkg -l + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/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/jenkins12987340050234656518.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-DCui from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DCui/bin to PATH INFO: Running in OpenStack, capturing instance metadata [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins4302965950859789235.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/aiml-fw-athp-data-extraction-tox-sonarqube@tmp/config3398532237873153873tmp 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/jenkins13233290741575057081.sh ---> create-netrc.sh [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins8291300663367020556.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-DCui from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-DCui/bin to PATH [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins603023830561775466.sh ---> sudo-logs.sh Archiving 'sudo' log.. [aiml-fw-athp-data-extraction-tox-sonarqube] $ /bin/bash /tmp/jenkins10115346989898233609.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-DCui from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-DCui/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/jenkins6912452360316349727.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-DCui from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-DCui/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/62 INFO: archiving workspace using pattern(s): -p **/*.log Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-2c-2g-2270 5.4.0-146-generic #163-Ubuntu SMP Fri Mar 17 18:26:02 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 Address sizes: 40 bits physical, 48 bits virtual 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: 64 KiB L1i cache: 64 KiB L2 cache: 1 MiB L3 cache: 32 MiB NUMA node0 CPU(s): 0,1 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Vulnerable Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected 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 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 wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 2 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 975M 0 975M 0% /dev tmpfs 199M 1012K 198M 1% /run /dev/vda1 20G 11G 8.8G 55% / tmpfs 992M 0 992M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 992M 0 992M 0% /sys/fs/cgroup /dev/loop1 44M 44M 0 100% /snap/snapd/15177 /dev/loop0 62M 62M 0 100% /snap/core20/1405 /dev/loop2 68M 68M 0 100% /snap/lxd/22753 /dev/vda15 105M 6.1M 99M 6% /boot/efi tmpfs 199M 0 199M 0% /run/user/1001 /dev/loop3 41M 41M 0 100% /snap/snapd/20290 /dev/loop4 92M 92M 0 100% /snap/lxd/24061 ---> free -m: total used free shared buff/cache available Mem: 1983 422 127 2 1433 1366 Swap: 1023 4 1019 ---> 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:7f:8e:09 brd ff:ff:ff:ff:ff:ff inet 10.32.7.9/23 brd 10.32.7.255 scope global dynamic ens3 valid_lft 86052sec preferred_lft 86052sec inet6 fe80::f816:3eff:fe7f:8e09/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2270) 12/29/23 _x86_64_ (2 CPU) 15:57:45 LINUX RESTART (2 CPU) 15:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:59:02 235.75 122.66 113.09 0.00 3210.39 13755.27 0.00 16:00:01 107.67 12.71 94.97 0.00 1637.40 46959.04 0.00 16:01:01 145.51 48.71 96.80 0.00 4254.76 68322.88 0.00 16:02:01 106.92 24.46 82.45 0.00 1206.20 33591.73 0.00 16:03:01 150.17 107.93 42.24 0.00 3380.77 9227.53 0.00 Average: 149.35 63.46 85.88 0.00 2741.54 34328.67 0.00 15:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:59:02 189796 1444904 358864 17.67 54552 1283048 853936 27.73 442052 1210088 42332 16:00:01 360448 1409528 382372 18.83 60544 1068648 927068 30.11 381884 1086332 160 16:01:01 135572 1349356 447552 22.04 63688 1246000 1019420 33.11 626512 1087708 112060 16:02:01 86912 1348380 435852 21.46 77852 1257884 969244 31.48 362860 1365212 108032 16:03:01 216884 1397348 386752 19.05 87704 1145388 896356 29.11 371276 1204004 1380 Average: 197922 1389903 402278 19.81 68868 1200194 933205 30.31 436917 1190669 52793 15:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:59:02 lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 15:59:02 ens3 248.41 156.14 1367.59 54.37 0.00 0.00 0.00 0.00 16:00:01 lo 0.88 0.88 0.07 0.07 0.00 0.00 0.00 0.00 16:00:01 ens3 248.48 219.63 6291.99 23.24 0.00 0.00 0.00 0.00 16:01:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 16:01:01 ens3 52.86 48.54 955.28 6.02 0.00 0.00 0.00 0.00 16:02:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 16:02:01 ens3 273.79 172.55 2586.91 15.17 0.00 0.00 0.00 0.00 16:03:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 16:03:01 ens3 205.27 128.13 1043.83 24.32 0.00 0.00 0.00 0.00 Average: lo 0.78 0.78 0.07 0.07 0.00 0.00 0.00 0.00 Average: ens3 205.62 144.76 2436.46 24.63 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-146-generic (prd-ubuntu1804-builder-2c-2g-2270) 12/29/23 _x86_64_ (2 CPU) 15:57:45 LINUX RESTART (2 CPU) 15:58:01 CPU %user %nice %system %iowait %steal %idle 15:59:02 all 38.00 25.34 18.43 7.79 0.14 10.30 15:59:02 0 45.01 22.62 16.89 6.38 0.15 8.96 15:59:02 1 30.98 28.06 19.98 9.20 0.13 11.64 16:00:01 all 33.28 0.00 4.23 5.04 0.10 57.36 16:00:01 0 49.71 0.00 5.13 3.08 0.12 41.96 16:00:01 1 17.02 0.00 3.33 6.98 0.08 72.59 16:01:01 all 37.44 0.00 4.22 4.86 0.10 53.38 16:01:01 0 64.30 0.00 5.77 7.72 0.12 22.09 16:01:01 1 10.66 0.00 2.68 2.01 0.08 84.57 16:02:01 all 34.31 0.00 3.53 4.98 0.09 57.08 16:02:01 0 58.36 0.00 4.42 3.54 0.12 33.57 16:02:01 1 10.31 0.00 2.65 6.41 0.07 80.56 16:03:01 all 39.94 0.00 3.42 7.53 0.10 49.01 16:03:01 0 47.11 0.00 4.09 11.03 0.12 37.65 16:03:01 1 32.75 0.00 2.74 4.03 0.08 60.40 Average: all 36.60 5.03 6.75 6.04 0.11 45.48 Average: 0 52.93 4.50 7.25 6.36 0.12 28.84 Average: 1 20.31 5.57 6.25 5.71 0.09 62.07