Triggered by Gerrit: https://gerrit.onap.org/r/c/oom/+/137736 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-35218 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/oom-master-pre-commit-lint [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-sSgNzCLphtZr/agent.1964 SSH_AGENT_PID=1966 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/oom-master-pre-commit-lint@tmp/private_key_8014997438813494011.key (/w/workspace/oom-master-pre-commit-lint@tmp/private_key_8014997438813494011.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/oom.git > git init /w/workspace/oom-master-pre-commit-lint # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/oom.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/oom.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/oom.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/oom.git # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/oom.git using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/oom.git refs/changes/36/137736/5 # timeout=30 > git rev-parse b6951ae52ea486f2cb80ce4e0e57fce77a506d95^{commit} # timeout=10 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script Checking out Revision b6951ae52ea486f2cb80ce4e0e57fce77a506d95 (refs/changes/36/137736/5) > git config core.sparsecheckout # timeout=10 > git checkout -f b6951ae52ea486f2cb80ce4e0e57fce77a506d95 # timeout=30 Commit message: "[AUTHENTICATION] Restructured keycloak and Oauth2-proxy" > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 53fe20dc15c0e23c27bee5c1450340e454b8945b # timeout=10 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PYTHON=python3 [EnvInject] - Variables injected successfully. [oom-master-pre-commit-lint] $ /bin/bash -l /tmp/jenkins3975253379868991336.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-omGk + 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 (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) + 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 }' ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -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 ]] + [[ ! -f /tmp/.toxenv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-omGk + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-omGk' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-omGk + echo /tmp/venv-omGk + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-omGk/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-omGk/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-omGk/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-omGk/bin to PATH + PATH=/tmp/venv-omGk/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.0 from /tmp/venv-omGk/lib/python3.10/site-packages/pip (python 3.10) + python3 -m pip freeze cachetools==5.3.3 chardet==5.2.0 colorama==0.4.6 distlib==0.3.8 filelock==3.13.4 packaging==24.0 platformdirs==4.2.1 pluggy==1.5.0 pyproject-api==1.6.1 tomli==2.0.1 tox==4.14.2 urllib3==1.26.18 virtualenv==20.26.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=false [EnvInject] - Variables injected successfully. [oom-master-pre-commit-lint] $ /bin/bash -l /tmp/jenkins3965639263834602906.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/oom-master-pre-commit-lint/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/oom-master-pre-commit-lint/archives/docs + mkdir -p /w/workspace/oom-master-pre-commit-lint/archives/tox + cd /w/workspace/oom-master-pre-commit-lint/. + 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-ccb1 + 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/oom-master-pre-commit-lint/.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 ++ awk '{ print $1 }' ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -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-omGk + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-omGk from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-omGk from file:/tmp/.toxenv + /tmp/venv-omGk/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-omGk/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-omGk/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-omGk/bin to PATH + PATH=/tmp/venv-omGk/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-omGk/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-omGk/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/oom-master-pre-commit-lint + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.14.2 from /tmp/venv-omGk/lib/python3.10/site-packages/tox/__init__.py + PARALLEL=false + TOX_OPTIONS_LIST= + [[ -n pre-commit ]] + TOX_OPTIONS_LIST=' -e pre-commit' + case ${PARALLEL,,} in + tox -e pre-commit + tee -a /w/workspace/oom-master-pre-commit-lint/archives/tox/tox.log pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.13.4,identify==2.5.36,nodeenv==1.8.0,pip==24.0,platformdirs==4.2.1,pre-commit==3.7.0,PyYAML==6.0.1,setuptools==69.5.1,virtualenv==20.26.0,wheel==0.43.0 pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing kubernetes/platform/components/onap-authentication/README.md Fixing kubernetes/platform/components/onap-authentication/templates/_utils.tpl Tabs remover.............................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/kubernetes/platform/components/onap-authentication/README.md b/kubernetes/platform/components/onap-authentication/README.md index 8d24b7d05..75d8f05eb 100644 --- a/kubernetes/platform/components/onap-authentication/README.md +++ b/kubernetes/platform/components/onap-authentication/README.md @@ -5,7 +5,7 @@ TBD: Description about settings... realmSettings: - name: - unique ID for a realm (e.g. "ONAP") displayName: - (optional) Keycloak Display Name (e.g. "ONAP Realm") - themes: - (optional) Keycloak Theme settings + themes: - (optional) Keycloak Theme settings login: - (optional) Keycloak Theme for Login UI (e.g. "base") admin: - (optional) Keycloak Theme for Admin UI (e.g. "base") account: - (optional) Keycloak Theme for Account UI (e.g. "base") @@ -21,11 +21,11 @@ realmSettings: firstName: - (optional) First Name lastName: - (optional) Last Name groups: - (optional) group membership - - + - ``` ``` - clients: + clients: oauth2_proxy: clientId: "oauth2-proxy-onap" name: "Oauth2 Proxy" diff --git a/kubernetes/platform/components/onap-authentication/templates/_utils.tpl b/kubernetes/platform/components/onap-authentication/templates/_utils.tpl index 876d664b5..14fdf403c 100644 --- a/kubernetes/platform/components/onap-authentication/templates/_utils.tpl +++ b/kubernetes/platform/components/onap-authentication/templates/_utils.tpl @@ -704,7 +704,7 @@ users: disableableCredentialTypes: [] requiredActions: [] {{- if $user.realmRoles }} - realmRoles: + realmRoles: {{- range $index2, $realmRole := $user.realmRoles }} - "{{ $realmRole }}" {{- end }} pre-commit: exit 1 (22.70 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2492 pre-commit: FAIL code 1 (33.64=setup[10.94]+cmd[22.70] seconds) evaluation failed :( (33.83 seconds) + tox_status=1 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ awk -F/ '{print $2}' ++ echo .tox/pre-commit/log + tox_env=pre-commit + cp -r .tox/pre-commit/log /w/workspace/oom-master-pre-commit-lint/archives/tox/pre-commit + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 1 -eq 0 + exit 1 ++ '[' 2 = 1 ']' Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1966 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins7363986222193956106.sh ---> sysstat.sh [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins9046943907385689248.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/oom-master-pre-commit-lint + 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/oom-master-pre-commit-lint ']' + 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/oom-master-pre-commit-lint ']' + mkdir -p /w/workspace/oom-master-pre-commit-lint/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oom-master-pre-commit-lint/archives/ [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins18165855303028855711.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/oom-master-pre-commit-lint/.python-version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o9g6 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-o9g6/bin to PATH INFO: Running in OpenStack, capturing instance metadata [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins8404570136346728759.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oom-master-pre-commit-lint@tmp/config69501379236330441tmp 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. [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins7930101320820711918.sh ---> create-netrc.sh [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins15899200350116733570.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/oom-master-pre-commit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-o9g6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-o9g6/bin to PATH Generating Requirements File Python 3.10.6 pip 24.0 from /tmp/venv-o9g6/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.3.0 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.92 botocore==1.34.92 bs4==0.0.2 cachetools==5.3.3 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.6.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.6.1 docker==4.2.2 dogpile.cache==1.3.2 email_validator==2.1.1 filelock==3.13.4 future==1.0.0 gitdb==4.0.11 GitPython==3.1.43 google-auth==2.29.0 httplib2==0.22.0 identify==2.5.36 idna==3.7 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.6.0 kubernetes==29.0.0 lftools==0.37.10 lxml==5.2.1 MarkupSafe==2.1.5 msgpack==1.0.8 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.2.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==3.1.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 packaging==24.0 pbr==6.0.0 platformdirs==4.2.1 prettytable==3.10.0 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pygerrit2==2.0.15 PyGithub==2.3.0 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.5.0 python-dateutil==2.9.0.post0 python-heatclient==3.5.0 python-jenkins==1.8.2 python-keystoneclient==5.4.0 python-magnumclient==4.4.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-swiftclient==4.5.0 PyYAML==6.0.1 referencing==0.35.0 requests==2.31.0 requests-oauthlib==2.0.0 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.18.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.8 s3transfer==0.10.1 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.2.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.4 tqdm==4.66.2 typing_extensions==4.11.0 tzdata==2024.1 urllib3==1.26.18 virtualenv==20.26.0 wcwidth==0.2.13 websocket-client==1.8.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.4.1 [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins9649228531472584102.sh ---> sudo-logs.sh Archiving 'sudo' log.. [oom-master-pre-commit-lint] $ /bin/bash /tmp/jenkins8756955522831512020.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/oom-master-pre-commit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-o9g6 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-o9g6/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [oom-master-pre-commit-lint] $ /bin/bash -l /tmp/jenkins8947923440795815538.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/oom-master-pre-commit-lint/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-o9g6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-o9g6/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/oom-master-pre-commit-lint/3440 INFO: archiving workspace using pattern(s): Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-4c-4g-35218 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 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): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 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-3 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: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 672K 1.6G 1% /run /dev/vda1 78G 8.4G 70G 11% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 536 13345 0 2158 15186 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 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:c5:f2:97 brd ff:ff:ff:ff:ff:ff inet 10.30.107.194/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 85984sec preferred_lft 85984sec inet6 fe80::f816:3eff:fec5:f297/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-35218) 04/26/24 _x86_64_ (4 CPU) 05:56:41 LINUX RESTART (4 CPU) 05:57:01 tps rtps wtps bread/s bwrtn/s 05:58:01 120.81 50.57 70.24 3581.80 35541.28 05:59:01 53.38 20.62 32.77 1138.13 6440.67 06:00:01 53.87 0.00 53.87 0.00 7392.50 06:01:01 31.18 1.70 29.48 44.66 5566.94 06:02:01 43.11 0.58 42.53 74.79 7489.95 06:03:01 41.77 0.37 41.40 24.93 5708.50 Average: 57.35 12.31 45.05 810.69 11356.62 05:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:58:01 14249336 15590680 2175632 13.25 38636 1517308 785604 4.50 618188 1371600 38660 05:59:01 14086044 15636624 2338924 14.24 51996 1701524 751248 4.30 639592 1487000 90064 06:00:01 13923508 15542284 2501460 15.23 59320 1757412 805376 4.61 750748 1529584 17712 06:01:01 13698080 15507800 2726888 16.60 71588 1927032 864312 4.95 844872 1643052 116924 06:02:01 13768752 15568368 2656216 16.17 75492 1912656 789684 4.52 751072 1664052 32700 06:03:01 13681960 15566436 2743008 16.70 82444 1985336 788976 4.52 756712 1733232 38616 Average: 13901280 15568699 2523688 15.36 63246 1800211 797533 4.56 726864 1571420 55779 05:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:58:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 05:58:01 ens3 373.15 257.17 1421.42 71.56 0.00 0.00 0.00 0.00 05:59:01 lo 1.73 1.73 0.17 0.17 0.00 0.00 0.00 0.00 05:59:01 ens3 48.78 34.10 613.17 6.08 0.00 0.00 0.00 0.00 06:00:01 lo 0.87 0.87 0.10 0.10 0.00 0.00 0.00 0.00 06:00:01 ens3 11.40 10.83 67.99 2.46 0.00 0.00 0.00 0.00 06:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:01:01 ens3 20.95 15.81 514.17 2.03 0.00 0.00 0.00 0.00 06:02:01 lo 0.73 0.73 0.08 0.08 0.00 0.00 0.00 0.00 06:02:01 ens3 14.91 13.91 93.96 4.04 0.00 0.00 0.00 0.00 06:03:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 06:03:01 ens3 16.24 13.13 154.21 3.83 0.00 0.00 0.00 0.00 Average: lo 0.81 0.81 0.08 0.08 0.00 0.00 0.00 0.00 Average: ens3 80.91 57.49 477.47 15.00 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-35218) 04/26/24 _x86_64_ (4 CPU) 05:56:41 LINUX RESTART (4 CPU) 05:57:01 CPU %user %nice %system %iowait %steal %idle 05:58:01 all 9.72 0.00 1.42 29.52 0.08 59.26 05:58:01 0 8.61 0.00 1.64 37.92 0.07 51.76 05:58:01 1 13.66 0.00 1.31 33.56 0.08 51.38 05:58:01 2 10.55 0.00 1.35 4.94 0.10 83.06 05:58:01 3 6.07 0.00 1.40 41.79 0.08 50.66 05:59:01 all 14.83 0.00 1.32 13.13 0.07 70.65 05:59:01 0 21.35 0.00 1.79 40.01 0.08 36.77 05:59:01 1 14.41 0.00 1.31 9.52 0.05 74.71 05:59:01 2 16.98 0.00 1.37 1.67 0.07 79.91 05:59:01 3 6.58 0.00 0.80 1.30 0.07 91.24 06:00:01 all 9.77 0.00 0.68 17.33 0.06 72.16 06:00:01 0 20.40 0.00 1.22 14.71 0.08 63.59 06:00:01 1 8.61 0.00 0.81 48.38 0.05 42.14 06:00:01 2 3.17 0.00 0.38 0.38 0.05 96.01 06:00:01 3 6.91 0.00 0.32 5.74 0.07 86.96 06:01:01 all 5.21 0.00 0.55 20.02 0.05 74.17 06:01:01 0 11.55 0.00 0.70 33.88 0.08 53.78 06:01:01 1 7.00 0.00 0.92 45.57 0.07 46.45 06:01:01 2 1.22 0.00 0.33 0.50 0.02 97.93 06:01:01 3 1.08 0.00 0.28 0.17 0.03 98.43 06:02:01 all 10.86 0.00 0.55 14.86 0.06 73.66 06:02:01 0 14.80 0.00 0.62 6.82 0.05 77.71 06:02:01 1 16.11 0.00 0.78 30.49 0.12 52.49 06:02:01 2 5.87 0.00 0.40 1.28 0.02 92.43 06:02:01 3 6.68 0.00 0.40 20.84 0.05 72.03 06:03:01 all 11.45 0.00 0.68 13.82 0.08 73.97 06:03:01 0 12.70 0.00 0.72 1.45 0.05 85.08 06:03:01 1 1.73 0.00 0.28 0.00 0.07 97.92 06:03:01 2 8.01 0.00 0.50 33.87 0.08 57.54 06:03:01 3 23.37 0.00 1.23 20.00 0.10 55.30 Average: all 10.31 0.00 0.87 18.10 0.07 70.65 Average: 0 14.91 0.00 1.11 22.45 0.07 61.47 Average: 1 10.25 0.00 0.90 27.93 0.07 60.85 Average: 2 7.63 0.00 0.72 7.10 0.06 84.49 Average: 3 8.46 0.00 0.74 14.94 0.07 75.79