Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/114581 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu2004-docker-4c-16g-11126 (ubuntu2004-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master [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-65iJ3aU6X0dM/agent.13101 SSH_AGENT_PID=13105 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_11372251610497859080.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_11372251610497859080.key) [ssh-agent] Using credentials jenkins (jenkins-ssh) The recommended git tool is: NONE using credential jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://devvexx.opendaylight.org/mirror/transportpce > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials jenkins-ssh Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce using GIT_SSH to set credentials jenkins-ssh Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/81/114581/1 # timeout=10 > git rev-parse 7f53b5af1aadd8244a1960aa77cd4d2c6d22f77b^{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 7f53b5af1aadd8244a1960aa77cd4d2c6d22f77b (refs/changes/81/114581/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f53b5af1aadd8244a1960aa77cd4d2c6d22f77b # timeout=10 Commit message: "Enhancements for discovering OpenConfig XPDRs." > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list --no-walk 14a38aa83db06d38e73ac00c316ac3db70ebc64f # timeout=10 > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 ERROR: No submodules found. provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5262235642731858345.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.20 (set by /opt/pyenv/version) * 3.9.20 (set by /opt/pyenv/version) * 3.10.15 (set by /opt/pyenv/version) * 3.11.10 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gWD6 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-gWD6/bin to PATH Generating Requirements File Python 3.11.10 pip 24.3.1 from /tmp/venv-gWD6/lib/python3.11/site-packages/pip (python 3.11) appdirs==1.4.4 argcomplete==3.5.1 aspy.yaml==1.3.0 attrs==24.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.35.71 botocore==1.35.71 bs4==0.0.2 cachetools==5.5.0 certifi==2024.8.30 cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.4.0 click==8.1.7 cliff==4.8.0 cmd2==2.5.7 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.36.0 httplib2==0.22.0 identify==2.6.3 idna==3.10 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.4 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2024.10.1 keystoneauth1==5.9.1 kubernetes==31.0.0 lftools==0.37.10 lxml==5.3.0 MarkupSafe==3.0.2 msgpack==1.1.0 multi_key_dict==2.0.3 munch==4.0.0 netaddr==1.3.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.9.1 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==4.1.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==7.4.0 packaging==24.2 pbr==6.1.0 platformdirs==4.3.6 prettytable==3.12.0 psutil==6.1.0 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.21.0 rsa==4.9 ruamel.yaml==0.18.6 ruamel.yaml.clib==0.2.12 s3transfer==0.10.4 simplejson==3.19.3 six==1.16.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 PYTHON=python3 [EnvInject] - Variables injected successfully. [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins13739999526902176456.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-QvqN + 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.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.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= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ py_version_xyz=3.11.10 ++ [[ -z 3.11.10 ]] ++ echo 3.11.10 ++ return 0 + pyenv local 3.11.10 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.11.10 + pyenv local 3.11.10 + 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-QvqN + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QvqN' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QvqN + echo /tmp/venv-QvqN + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv + /tmp/venv-QvqN/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-QvqN/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-QvqN/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-QvqN/bin to PATH + PATH=/tmp/venv-QvqN/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.11.10 + python3 -m pip --version pip 24.3.1 from /tmp/venv-QvqN/lib/python3.11/site-packages/pip (python 3.11) + 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 tox==4.23.2 urllib3==1.26.20 virtualenv==20.28.0 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins10151562331317594997.sh [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content PARALLEL=True [EnvInject] - Variables injected successfully. [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins21652363775163136.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/transportpce-tox-verify-transportpce-master/archives/tox + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox + cd /w/workspace/transportpce-tox-verify-transportpce-master/. + 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-TT0E + 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.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.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 }' ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.11.10 ++ [[ -z 3.11.10 ]] ++ echo 3.11.10 ++ return 0 + pyenv local 3.11.10 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.11.10 + pyenv local 3.11.10 + 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-QvqN + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QvqN from' file:/tmp/.toxenv lf-activate-venv(): INFO: Reuse venv:/tmp/venv-QvqN from file:/tmp/.toxenv + /tmp/venv-QvqN/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-QvqN/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-QvqN/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-QvqN/bin to PATH + PATH=/tmp/venv-QvqN/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-QvqN/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-QvqN/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/transportpce-tox-verify-transportpce-master + export PYTHONPATH + export TOX_TESTENV_PASSENV=PYTHONPATH + TOX_TESTENV_PASSENV=PYTHONPATH + tox --version 4.23.2 from /tmp/venv-QvqN/lib/python3.11/site-packages/tox/__init__.py + PARALLEL=True + TOX_OPTIONS_LIST= + [[ -n '' ]] + case ${PARALLEL,,} in + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' + tox --parallel auto --parallel-live + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log checkbashisms: freeze> python -m pip freeze --all docs: install_deps> python -I -m pip install -r docs/requirements.txt docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt buildcontroller: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt checkbashisms: pip==24.3.1,setuptools==75.6.0,wheel==0.45.1 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh checkbashisms: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'command checkbashisms>/dev/null || sudo yum install -y devscripts-checkbashisms || sudo yum install -y devscripts-minimal || sudo yum install -y devscripts || sudo yum install -y https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/d/devscripts-checkbashisms-2.19.6-2.fc31.x86_64.rpm || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | yum install devscripts-minimal )" >&2 && exit 1)' checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + script ./reflectwarn.sh does not appear to have a #! interpreter line; you may get strange results checkbashisms: OK ✔ in 2.57 seconds 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.9,filelock==3.16.1,identify==2.6.3,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.0.1,PyYAML==6.0.2,setuptools==75.6.0,virtualenv==20.28.0,wheel==0.45.1 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh pre-commit: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sh -c 'which cpan || sudo yum install -y perl-CPAN || (echo "cpan command not found - please install it (e.g. sudo apt-get install perl-modules | yum install perl-CPAN )" >&2 && exit 1)' /usr/bin/cpan pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [WARNING] hook id `perltidy` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [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] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Initializing environment for https://github.com/perltidy/perltidy. buildcontroller: freeze> python -m pip freeze --all [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... buildcontroller: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh + update-java-alternatives -l java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; + java -version + JAVA_VER=21 + echo 21 21 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; + javac -version + JAVAC_VER=21 + echo 21 + [ 21 -ge 21 ] 21 ok, java is 21 or newer + [ 21 -ge 21 ] + echo ok, java is 21 or newer + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz -P /tmp 2024-11-28 12:39:50 URL:https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz [9083702/9083702] -> "/tmp/apache-maven-3.9.8-bin.tar.gz" [1] + sudo mkdir -p /opt + sudo tar xf /tmp/apache-maven-3.9.8-bin.tar.gz -C /opt + sudo ln -s /opt/apache-maven-3.9.8 /opt/maven + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn + mvn --version Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /opt/maven Java version: 21.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.4.0-200-generic", arch: "amd64", family: "unix" [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... NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/perltidy/perltidy. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... docs-linkcheck: freeze> python -m pip freeze --all docs-linkcheck: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.2,numpy==2.1.3,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 docs-linkcheck: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -b linkcheck -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs-linkcheck/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/linkcheck docs: freeze> python -m pip freeze --all docs: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.2,numpy==2.1.3,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 docs: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> sphinx-build -q -W --keep-going -b html -n -d /w/workspace/transportpce-tox-verify-transportpce-master/.tox/docs/tmp/doctrees ../docs/ /w/workspace/transportpce-tox-verify-transportpce-master/docs/_build/html docs: OK ✔ in 35.43 seconds pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' trim trailing whitespace.................................................Passed Tabs remover.............................................................Failed - hook id: remove-tabs - exit code: 1 - files were modified by this hook Substituting tabs in: tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml by 4 whitespaces Tabs have been successfully removed. Now aborting the commit. You can check the changes made. Then simply "git add --update ." and re-commit autopep8.................................................................docs-linkcheck: OK ✔ in 36.13 seconds pylint: freeze> python -m pip freeze --all pylint: astroid==3.3.5,dill==0.3.9,isort==5.13.2,mccabe==0.7.0,pip==24.3.1,platformdirs==4.3.6,pylint==3.3.1,setuptools==75.6.0,tomlkit==0.13.2,wheel==0.45.1 pylint: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + Failed - hook id: autopep8 - files were modified by this hook perltidy.................................................................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/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml b/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml index 147cc8ff..0b00d31d 100644 --- a/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml +++ b/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml @@ -12,7 +12,7 @@ - + 24300101 24300101 diff --git a/tests/transportpce_tests/OC/test01_portmapping.py b/tests/transportpce_tests/OC/test01_portmapping.py index 21783e39..463a1839 100644 --- a/tests/transportpce_tests/OC/test01_portmapping.py +++ b/tests/transportpce_tests/OC/test01_portmapping.py @@ -122,7 +122,8 @@ class TransportpceOCPortMappingTesting(unittest.TestCase): len(response['switching-pool-lcp'][0]['non-blocking-list'])) actual_lcp_list = response['switching-pool-lcp'][0]['non-blocking-list'][0]['lcp-list'] sorted_actual_lcp_list = sorted(actual_lcp_list) - expected_lcp_list = sorted(['XPDR1-CLIENT4', 'XPDR1-CLIENT3', 'XPDR1-NETWORK5', 'XPDR1-CLIENT2', 'XPDR1-CLIENT1']) + expected_lcp_list = sorted(['XPDR1-CLIENT4', 'XPDR1-CLIENT3', + 'XPDR1-NETWORK5', 'XPDR1-CLIENT2', 'XPDR1-CLIENT1']) self.assertEqual(sorted_actual_lcp_list, expected_lcp_list) def test_09_check_mccapprofile(self): @@ -137,6 +138,5 @@ class TransportpceOCPortMappingTesting(unittest.TestCase): self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) - if __name__ == '__main__': unittest.main(verbosity=2) diff --git a/tests/transportpce_tests/common/test_utils.py b/tests/transportpce_tests/common/test_utils.py index 40a07a09..08a543e3 100644 --- a/tests/transportpce_tests/common/test_utils.py +++ b/tests/transportpce_tests/common/test_utils.py @@ -366,6 +366,7 @@ def mount_device(node: str, sim: str): # TODO an else-clause to abort test would probably be nice here return response + def metadata_input(): url = {'rfc8040': '{}/data/open-terminal-meta-data:open-terminal-meta-data', 'draft-bierman02': '{}/config/data/open-terminal-meta-data:open-terminal-meta-data'} @@ -460,6 +461,7 @@ def metadata_input(): response = put_request(url[RESTCONF_VERSION], body) return response + def catlog_input(): url = {'rfc8040': '{}/operations/org-openroadm-service:add-specific-operational-modes-to-catalog', 'draft-bierman02': '{}/config/operations/org-openroadm-service:add-specific-operational-modes-to-catalog'} @@ -680,12 +682,14 @@ def del_portmapping(): response = delete_request(url[RESTCONF_VERSION].format('{}')) return {'status_code': response.status_code} + def del_metadata(): url = {'rfc8040': '{}/data/open-terminal-meta-data:open-terminal-meta-data', 'draft-bierman02': '{}/config/data/open-terminal-meta-data:open-terminal-meta-data'} response = delete_request(url[RESTCONF_VERSION].format('{}')) return {'status_code': response.status_code} + def get_portmapping_node_attr(node: str, attr: str, value: str): # pylint: disable=consider-using-f-string url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', pre-commit: exit 1 (41.35 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure pid=29159 ************* Module common.test_utils transportpce_tests/common/test_utils.py:1:0: C0302: Too many lines in module (1013/1000) (too-many-lines) ************* Module OC transportpce_tests/OC/__init__.py:1:0: C0103: Module name "OC" doesn't conform to '([a-z0-9_]+$)|([0-9.]{1,30}$)' pattern (invalid-name) ------------------------------------ Your code has been rated at 10.00/10 pre-commit: FAIL ✖ in 44.48 seconds pylint: exit 1 (20.56 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + pid=30080 pylint: FAIL ✖ in 29.59 seconds buildcontroller: OK ✔ in 1 minute 49.64 seconds testsPCE: install_deps> python -I -m pip install gnpy4tpce==2.4.7 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt sims: freeze> python -m pip freeze --all build_karaf_tests221: freeze> python -m pip freeze --all build_karaf_tests121: freeze> python -m pip freeze --all sims: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh build_karaf_tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh Using lighynode version 20.1.0.2 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable build_karaf_tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable sims: OK ✔ in 10.44 seconds build_karaf_tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: freeze> python -m pip freeze --all build_karaf_tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable build_karaf_tests121: OK ✔ in 1 minute 3.04 seconds sims190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests221: OK ✔ in 1 minute 3.38 seconds build_karaf_tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests71: OK ✔ in 1 minute 5.4 seconds build_karaf_tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt testsPCE: freeze> python -m pip freeze --all testsPCE: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,click==8.1.7,contourpy==1.3.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.55.0,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==3.0.2,matplotlib==3.9.2,netconf-client==3.1.2,networkx==2.8.8,numpy==1.26.4,packaging==24.2,pandas==1.5.3,paramiko==3.5.0,pbr==5.11.1,pillow==11.0.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.0,pytest==8.3.3,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.3,Werkzeug==2.0.3,wheel==0.45.1,xlrd==1.2.0 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce pytest -q transportpce_tests/pce/test01_pce.py sims190: freeze> python -m pip freeze --all sims190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 sims190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh Using lighynode version 20.1.0.2 lightynode simulator in version 20.1.0.2 is alreay installed sims190: OK ✔ in 19.31 seconds build_karaf_tests190: freeze> python -m pip freeze --all build_karaf_tests190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable build_karaf_tests_hybrid: freeze> python -m pip freeze --all build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Xlog:disable build_karaf_tests190: OK ✔ in 1 minute 0.33 seconds tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt build_karaf_tests_hybrid: OK ✔ in 58.2 seconds tests190: freeze> python -m pip freeze --all tests190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh Using lighynode version 20.1.0.2 lightynode simulator in version 20.1.0.2 is alreay installed tests190: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh OC using environment variables from ./karafOC.env pytest -q transportpce_tests/OC/test01_portmapping.py ..........F.F......... [100%] 20 passed in 119.95s (0:01:59) pytest -q transportpce_tests/pce/test02_pce_400G.py ......... [100%] 9 passed in 38.54s pytest -q transportpce_tests/pce/test03_gnpy.py ........ [100%] 8 passed in 37.43s pytest -q transportpce_tests/pce/test04_pce_bug_fix.py ... [100%] 3 passed in 36.03s testsPCE: OK ✔ in 5 minutes 14.65 seconds tests_tapi: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_tapi: freeze> python -m pip freeze --all tests_tapi: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py FFFFFFFFE [100%] ==================================== ERRORS ==================================== _ ERROR at teardown of TransportpceOCPortMappingTesting.test_10_xpdr_device_disconnection _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'DELETE' url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '0', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/open-terminal-meta-data:open-terminal-meta-data', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'DELETE' url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/open-terminal-meta-data:open-terminal-meta-data (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: cls = @classmethod def tearDownClass(cls): # pylint: disable=not-an-iterable > test_utils.del_metadata() transportpce_tests/OC/test01_portmapping.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:689: in del_metadata response = delete_request(url[RESTCONF_VERSION].format('{}')) transportpce_tests/common/test_utils.py:133: in delete_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/open-terminal-meta-data:open-terminal-meta-data (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_device_disconnection =================================== FAILURES =================================== _________ TransportpceOCPortMappingTesting.test_01_meta_data_insertion _________ self = def test_01_meta_data_insertion(self): response = test_utils.metadata_input() > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 404 != 201 : Http status code should be 201 transportpce_tests/OC/test01_portmapping.py:49: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! starting simulator sample-openconfig-mpdr in OpenROADM device version OC... Searching for patterns in sample-openconfig-mpdr.log... Pattern found! simulator for sample-openconfig-mpdr started ----------------------------- Captured stdout call ----------------------------- execution of test_01_meta_data_insertion _______ TransportpceOCPortMappingTesting.test_02_catlog_input_insertion ________ self = def test_02_catlog_input_insertion(self): response = test_utils.catlog_input() > self.assertEqual(response.status_code, requests.codes.ok, test_utils.CODE_SHOULD_BE_200) E AssertionError: 404 != 200 : Http status code should be 200 transportpce_tests/OC/test01_portmapping.py:54: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_catlog_input_insertion _______ TransportpceOCPortMappingTesting.test_03_xpdr_device_connection ________ self = def test_03_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-OC", ('sample-openconfig-mpdr', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 404 != 201 : Http status code should be 201 transportpce_tests/OC/test01_portmapping.py:60: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_xpdr_device_connection Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not added to tpce topology... ________ TransportpceOCPortMappingTesting.test_04_xpdr_device_connected ________ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'GET' url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC', query='content=nonconfig', fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_04_xpdr_device_connected(self): > response = test_utils.check_device_connection("XPDR-OC") transportpce_tests/OC/test01_portmapping.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:596: in check_device_connection response = get_request(url[RESTCONF_VERSION].format('{}', node)) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_xpdr_device_connected ________ TransportpceOCPortMappingTesting.test_05_xpdr_portmapping_info ________ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_05_xpdr_portmapping_info(self): > response = test_utils.get_portmapping_node_attr("XPDR-OC", "node-info", None) transportpce_tests/OC/test01_portmapping.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr response = get_request(target_url) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_xpdr_portmapping_info ______ TransportpceOCPortMappingTesting.test_06_mpdr_portmapping_NETWORK1 ______ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_06_mpdr_portmapping_NETWORK1(self): > response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") transportpce_tests/OC/test01_portmapping.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr response = get_request(target_url) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK1 ______ TransportpceOCPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 _______ self = method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:536: in _make_request response = conn.getresponse() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:507: in getresponse httplib_response = super().getresponse() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1395: in getresponse response.begin() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:325: in begin version, status, reason = self._read_status() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _read_status(self): line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") if len(line) > _MAXLINE: raise LineTooLong("status line") if self.debuglevel > 0: print("reply:", repr(line)) if not line: # Presumably, the server closed the connection before # sending a valid response. > raise RemoteDisconnected("Remote end closed connection without" " response") E http.client.RemoteDisconnected: Remote end closed connection without response /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:294: RemoteDisconnected During handling of the above exception, another exception occurred: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:474: in increment raise reraise(type(error), error, _stacktrace) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/util.py:38: in reraise raise value.with_traceback(tb) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: in urlopen response = self._make_request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:536: in _make_request response = conn.getresponse() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:507: in getresponse httplib_response = super().getresponse() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1395: in getresponse response.begin() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:325: in begin version, status, reason = self._read_status() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _read_status(self): line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") if len(line) > _MAXLINE: raise LineTooLong("status line") if self.debuglevel > 0: print("reply:", repr(line)) if not line: # Presumably, the server closed the connection before # sending a valid response. > raise RemoteDisconnected("Remote end closed connection without" " response") E urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:294: ProtocolError During handling of the above exception, another exception occurred: self = def test_07_mpdr_portmapping_CLIENT1(self): > response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") transportpce_tests/OC/test01_portmapping.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr response = get_request(target_url) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: > raise ConnectionError(err, request=request) E requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:682: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 _________ TransportpceOCPortMappingTesting.test_08_mpdr_switching_pool _________ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_08_mpdr_switching_pool(self): > response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") transportpce_tests/OC/test01_portmapping.py:117: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr response = get_request(target_url) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_mpdr_switching_pool _________ TransportpceOCPortMappingTesting.test_09_check_mccapprofile __________ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_09_check_mccapprofile(self): > res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") transportpce_tests/OC/test01_portmapping.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr response = get_request(target_url) transportpce_tests/common/test_utils.py:116: in get_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_mccapprofile ______ TransportpceOCPortMappingTesting.test_10_xpdr_device_disconnection ______ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: > sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection raise err _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ address = ('localhost', 8182), timeout = 10, source_address = None socket_options = [(6, 1, 1)] def create_connection( address: tuple[str, int], timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, source_address: tuple[str, int] | None = None, socket_options: _TYPE_SOCKET_OPTIONS | None = None, ) -> socket.socket: """Connect to *address* and return the socket object. Convenience function. Connect to *address* (a 2-tuple ``(host, port)``) and return the socket object. Passing the optional *timeout* parameter will set the timeout on the socket instance before attempting to connect. If no *timeout* is supplied, the global default timeout setting returned by :func:`socket.getdefaulttimeout` is used. If *source_address* is set it must be a tuple of (host, port) for the socket to bind as a source address before making the connection. An host of '' or port 0 tells the OS to use the default. """ host, port = address if host.startswith("["): host = host.strip("[]") err = None # Using the value from allowed_gai_family() in the context of getaddrinfo lets # us select whether to work with IPv4 DNS records, IPv6 records, or both. # The original create_connection function always returns all records. family = allowed_gai_family() try: host.encode("idna") except UnicodeError: raise LocationParseError(f"'{host}', label empty or too long") from None for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res sock = None try: sock = socket.socket(af, socktype, proto) # If provided, set socket level options before connecting. _set_socket_options(sock, socket_options) if timeout is not _DEFAULT_TIMEOUT: sock.settimeout(timeout) if source_address: sock.bind(source_address) > sock.connect(sa) E ConnectionRefusedError: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError The above exception was the direct cause of the following exception: self = method = 'DELETE' url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC' body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '0', 'Authorization': 'Basic YWRtaW46YWRtaW4='} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC', query=None, fragment=None) destination_scheme = None, conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False def urlopen( # type: ignore[override] self, method: str, url: str, body: _TYPE_BODY | None = None, headers: typing.Mapping[str, str] | None = None, retries: Retry | bool | int | None = None, redirect: bool = True, assert_same_host: bool = True, timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, pool_timeout: int | None = None, release_conn: bool | None = None, chunked: bool = False, body_pos: _TYPE_BODY_POSITION | None = None, preload_content: bool = True, decode_content: bool = True, **response_kw: typing.Any, ) -> BaseHTTPResponse: """ Get a connection from the pool and perform an HTTP request. This is the lowest level call for making a request, so you'll need to specify all the raw details. .. note:: More commonly, it's appropriate to use a convenience method such as :meth:`request`. .. note:: `release_conn` will only behave as expected if `preload_content=False` because we want to make `preload_content=False` the default behaviour someday soon without breaking backwards compatibility. :param method: HTTP request method (such as GET, POST, PUT, etc.) :param url: The URL to perform the request on. :param body: Data to send in the request body, either :class:`str`, :class:`bytes`, an iterable of :class:`str`/:class:`bytes`, or a file-like object. :param headers: Dictionary of custom headers to send, such as User-Agent, If-None-Match, etc. If None, pool headers are used. If provided, these headers completely replace any pool-specific headers. :param retries: Configure the number of retries to allow before raising a :class:`~urllib3.exceptions.MaxRetryError` exception. If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a :class:`~urllib3.util.retry.Retry` object for fine-grained control over different types of retries. Pass an integer number to retry connection errors that many times, but no other types of errors. Pass zero to never retry. If ``False``, then retries are disabled and any exception is raised immediately. Also, instead of raising a MaxRetryError on redirects, the redirect response will be returned. :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. :param redirect: If True, automatically handle redirects (status codes 301, 302, 303, 307, 308). Each redirect counts as a retry. Disabling retries will disable redirect, too. :param assert_same_host: If ``True``, will make sure that the host of the pool requests is consistent else will raise HostChangedError. When ``False``, you can use the pool on an HTTP proxy and request foreign hosts. :param timeout: If specified, overrides the default timeout for this one request. It may be a float (in seconds) or an instance of :class:`urllib3.util.Timeout`. :param pool_timeout: If set and the pool is set to block=True, then this method will block for ``pool_timeout`` seconds and raise EmptyPoolError if no connection is available within the time period. :param bool preload_content: If True, the response's body will be preloaded into memory. :param bool decode_content: If True, will attempt to decode the body based on the 'content-encoding' header. :param release_conn: If False, then the urlopen call will not release the connection back into the pool once a response is received (but will release if you read the entire contents of the response such as when `preload_content=True`). This is useful if you're not preloading the response's content immediately. You will need to call ``r.release_conn()`` on the response ``r`` to return the connection back into the pool. If None, it takes the value of ``preload_content`` which defaults to ``True``. :param bool chunked: If True, urllib3 will send the body using chunked transfer encoding. Otherwise, urllib3 will send the body using the standard content-length form. Defaults to False. :param int body_pos: Position to seek to in file-like body in the event of a retry or redirect. Typically this won't need to be set because urllib3 will auto-populate the value when needed. """ parsed_url = parse_url(url) destination_scheme = parsed_url.scheme if headers is None: headers = self.headers if not isinstance(retries, Retry): retries = Retry.from_int(retries, redirect=redirect, default=self.retries) if release_conn is None: release_conn = preload_content # Check host if assert_same_host and not self.is_same_host(url): raise HostChangedError(self, url, retries) # Ensure that the URL we're connecting to is properly encoded if url.startswith("/"): url = to_str(_encode_target(url)) else: url = to_str(parsed_url.url) conn = None # Track whether `conn` needs to be released before # returning/raising/recursing. Update this variable if necessary, and # leave `release_conn` constant throughout the function. That way, if # the function recurses, the original value of `release_conn` will be # passed down into the recursive call, and its value will be respected. # # See issue #651 [1] for details. # # [1] release_this_conn = release_conn http_tunnel_required = connection_requires_http_tunnel( self.proxy, self.proxy_config, destination_scheme ) # Merge the proxy headers. Only done when not using HTTP CONNECT. We # have to copy the headers dict so we can safely change it without those # changes being reflected in anyone else's copy. if not http_tunnel_required: headers = headers.copy() # type: ignore[attr-defined] headers.update(self.proxy_headers) # type: ignore[union-attr] # Must keep the exception bound to a separate variable or else Python 3 # complains about UnboundLocalError. err = None # Keep track of whether we cleanly exited the except block. This # ensures we do proper cleanup in finally. clean_exit = False # Rewind body position, if needed. Record current position # for future rewinds in the event of a redirect/retry. body_pos = set_file_position(body, body_pos) try: # Request a connection from the queue. timeout_obj = self._get_timeout(timeout) conn = self._get_conn(timeout=pool_timeout) conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] # Is this a closed/new connection that requires CONNECT tunnelling? if self.proxy is not None and http_tunnel_required and conn.is_closed: try: self._prepare_proxy(conn) except (BaseSSLError, OSError, SocketTimeout) as e: self._raise_timeout( err=e, url=self.proxy.url, timeout_value=conn.timeout ) raise # If we're going to release the connection in ``finally:``, then # the response doesn't need to know about the connection. Otherwise # it will also try to release it and we'll have a double-release # mess. response_conn = conn if not release_conn else None # Make the request on the HTTPConnection object > response = self._make_request( conn, method, url, timeout=timeout_obj, body=body, headers=headers, chunked=chunked, retries=retries, response_conn=response_conn, preload_content=preload_content, decode_content=decode_content, **response_kw, ) ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request conn.request( ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request self.endheaders() /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders self._send_output(message_body, encode_chunked=encode_chunked) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output self.send(msg) /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send self.connect() ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ try: sock = connection.create_connection( (self._dns_host, self.port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError The above exception was the direct cause of the following exception: self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: > resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen retries = retries.increment( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'DELETE' url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC' response = None error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') _pool = _stacktrace = def increment( self, method: str | None = None, url: str | None = None, response: BaseHTTPResponse | None = None, error: Exception | None = None, _pool: ConnectionPool | None = None, _stacktrace: TracebackType | None = None, ) -> Self: """Return a new Retry object with incremented retry counters. :param response: A response object, or None, if the server did not return a response. :type response: :class:`~urllib3.response.BaseHTTPResponse` :param Exception error: An error encountered during the request, or None if the response was received successfully. :return: A new ``Retry`` object. """ if self.total is False and error: # Disabled, indicate to re-raise the error. raise reraise(type(error), error, _stacktrace) total = self.total if total is not None: total -= 1 connect = self.connect read = self.read redirect = self.redirect status_count = self.status other = self.other cause = "unknown" status = None redirect_location = None if error and self._is_connection_error(error): # Connect retry? if connect is False: raise reraise(type(error), error, _stacktrace) elif connect is not None: connect -= 1 elif error and self._is_read_error(error): # Read retry? if read is False or method is None or not self._is_method_retryable(method): raise reraise(type(error), error, _stacktrace) elif read is not None: read -= 1 elif error: # Other retry? if other is not None: other -= 1 elif response and response.get_redirect_location(): # Redirect retry? if redirect is not None: redirect -= 1 cause = "too many redirects" response_redirect_location = response.get_redirect_location() if response_redirect_location: redirect_location = response_redirect_location status = response.status else: # Incrementing because of a server error like a 500 in # status_forcelist and the given method is in the allowed_methods cause = ResponseError.GENERIC_ERROR if response and response.status: if status_count is not None: status_count -= 1 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) status = response.status history = self.history + ( RequestHistory(method, url, error, status, redirect_location), ) new_retry = self.new( total=total, connect=connect, read=read, redirect=redirect, status=status_count, other=other, history=history, ) if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: self = def test_10_xpdr_device_disconnection(self): > response = test_utils.unmount_device("XPDR-OC") transportpce_tests/OC/test01_portmapping.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/common/test_utils.py:585: in unmount_device response = delete_request(url[RESTCONF_VERSION].format('{}', node)) transportpce_tests/common/test_utils.py:133: in delete_request return requests.request( ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request return session.request(method=method, url=url, **kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request resp = self.send(prep, **send_kwargs) ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = , stream = False timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None proxies = OrderedDict() def send( self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None ): """Sends PreparedRequest object. Returns Response object. :param request: The :class:`PreparedRequest ` being sent. :param stream: (optional) Whether to stream the request content. :param timeout: (optional) How long to wait for the server to send data before giving up, as a float, or a :ref:`(connect timeout, read timeout) ` tuple. :type timeout: float or tuple or urllib3 Timeout object :param verify: (optional) Either a boolean, in which case it controls whether we verify the server's TLS certificate, or a string, in which case it must be a path to a CA bundle to use :param cert: (optional) Any user-provided SSL certificate to be trusted. :param proxies: (optional) The proxies dictionary to apply to the request. :rtype: requests.Response """ try: conn = self.get_connection_with_tls_context( request, verify, proxies=proxies, cert=cert ) except LocationValueError as e: raise InvalidURL(e, request=request) self.cert_verify(conn, request.url, verify, cert) url = self.request_url(request, proxies) self.add_headers( request, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies, ) chunked = not (request.body is None or "Content-Length" in request.headers) if isinstance(timeout, tuple): try: connect, read = timeout timeout = TimeoutSauce(connect=connect, read=read) except ValueError: raise ValueError( f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " f"or a single float to set both timeouts to the same value." ) elif isinstance(timeout, TimeoutSauce): pass else: timeout = TimeoutSauce(connect=timeout, read=timeout) try: resp = conn.urlopen( method=request.method, url=url, body=request.body, headers=request.headers, redirect=False, assert_same_host=False, preload_content=False, decode_content=False, retries=self.max_retries, timeout=timeout, chunked=chunked, ) except (ProtocolError, OSError) as err: raise ConnectionError(err, request=request) except MaxRetryError as e: if isinstance(e.reason, ConnectTimeoutError): # TODO: Remove this in 3.0.0: see #2811 if not isinstance(e.reason, NewConnectionError): raise ConnectTimeout(e, request=request) if isinstance(e.reason, ResponseError): raise RetryError(e, request=request) if isinstance(e.reason, _ProxyError): raise ProxyError(e, request=request) if isinstance(e.reason, _SSLError): # This branch is for urllib3 v1.22 and later. raise SSLError(e, request=request) > raise ConnectionError(e, request=request) E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_device_disconnection =========================== short test summary info ============================ FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_01_meta_data_insertion FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_02_catlog_input_insertion FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_03_xpdr_device_connection FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_04_xpdr_device_connected FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_05_xpdr_portmapping_info FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_06_mpdr_portmapping_NETWORK1 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_08_mpdr_switching_pool FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_09_check_mccapprofile FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_10_xpdr_device_disconnection ERROR transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_10_xpdr_device_disconnection 10 failed, 1 error in 217.13s (0:03:37) tests190: exit 1 (217.88 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh OC pid=31987 ................................................... [100%] 51 passed in 568.79s (0:09:28) pytest -q transportpce_tests/tapi/test02_full_topology.py ............................... [100%] 31 passed in 465.98s (0:07:45) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py ....................................................................... [100%] 71 passed in 284.55s (0:04:44) pytest -q transportpce_tests/tapi/test04_topo_extension.py ................... [100%] 19 passed in 140.83s (0:02:20) tests190: FAIL ✖ in 3 minutes 51.94 seconds tests_tapi: OK ✔ in 24 minutes 26.71 seconds tests71: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests71: freeze> python -m pip freeze --all tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ............ [100%] 12 passed in 42.93s pytest -q transportpce_tests/7.1/test02_otn_renderer.py .............................................................. [100%] 62 passed in 155.66s (0:02:35) pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py ................................................ [100%] 48 passed in 135.12s (0:02:15) pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py ...................... [100%] 22 passed in 77.46s (0:01:17) tests71: OK ✔ in 6 minutes 57.85 seconds tests221: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests221: freeze> python -m pip freeze --all tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 79.76s (0:01:19) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 47.08s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 139.92s (0:02:19) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 61.10s (0:01:01) pytest -q transportpce_tests/2.2.1/test05_flex_grid.py ................ [100%] 16 passed in 115.19s (0:01:55) pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py ............................... [100%] 31 passed in 36.22s pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py .......................... [100%] 26 passed in 91.96s (0:01:31) pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py ...................... [100%] 22 passed in 99.32s (0:01:39) pytest -q transportpce_tests/2.2.1/test09_olm.py ........................................ [100%] 40 passed in 183.92s (0:03:03) pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py ........................................................................ [ 74%] ......................... [100%] 97 passed in 496.27s (0:08:16) pytest -q transportpce_tests/2.2.1/test12_end2end.py ...................................................... [100%] 54 passed in 628.57s (0:10:28) pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py ........................................................................ [ 71%] ............................. [100%] 101 passed in 492.29s (0:08:12) pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py ........................................................................ [ 67%] ................................... [100%] 107 passed in 600.86s (0:10:00) tests221: OK ✔ in 51 minutes 21.97 seconds tests121: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests121: freeze> python -m pip freeze --all tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 using environment variables from ./karaf121.env pytest -q transportpce_tests/1.2.1/test01_portmapping.py ..................... [100%] 21 passed in 85.23s (0:01:25) pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 44.80s pytest -q transportpce_tests/1.2.1/test03_topology.py ............................................ [100%] 44 passed in 136.65s (0:02:16) pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py ........................ [100%] 24 passed in 84.09s (0:01:24) pytest -q transportpce_tests/1.2.1/test05_olm.py ........................................ [100%] 40 passed in 180.46s (0:03:00) pytest -q transportpce_tests/1.2.1/test06_end2end.py ...................................................... [100%] 54 passed in 712.88s (0:11:52) tests121: OK ✔ in 20 minutes 51.16 seconds tests_hybrid: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt tests_hybrid: freeze> python -m pip freeze --all tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid using environment variables from ./karaf121.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ................................................... [100%] 51 passed in 154.56s (0:02:34) pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py ........................................................................ [ 66%] ..................................... [100%] 109 passed in 606.83s (0:10:06) pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py ..................................................... [100%] 53 passed in 259.06s (0:04:19) tests_hybrid: OK ✔ in 17 minutes 7.89 seconds buildlighty: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt buildlighty: freeze> python -m pip freeze --all buildlighty: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.3,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED [ERROR] COMPILATION ERROR : [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[117,51] constructor NetworkModelServiceImpl in class org.opendaylight.transportpce.networkmodel.service.NetworkModelServiceImpl cannot be applied to given types; required: org.opendaylight.mdsal.binding.api.DataBroker,org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.network.NetworkTransactionService,org.opendaylight.transportpce.common.mapping.PortMapping,org.opendaylight.transportpce.common.mapping.OCPortMapping,org.opendaylight.mdsal.binding.api.NotificationPublishService found: org.opendaylight.mdsal.binding.api.DataBroker,org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.network.NetworkTransactionService,org.opendaylight.transportpce.common.mapping.PortMapping,org.opendaylight.mdsal.binding.api.NotificationPublishService reason: actual and formal argument lists differ in length [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[296,98] package org.opendaylight.yang.svc.v1.http.org.opendaylight.transportpce.portmapping.rev231221 does not exist [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[314,21] package org.opendaylight.yang.svc.v1.http.org.opendaylight.transportpce.portmapping.rev231221 does not exist [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project tpce: Compilation failure: Compilation failure: [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/module/TransportPCEImpl.java:[117,51] constructor NetworkModelServiceImpl in class org.opendaylight.transportpce.networkmodel.service.NetworkModelServiceImpl cannot be applied to given types; [ERROR] required: org.opendaylight.mdsal.binding.api.DataBroker,org.opendaylight.transportpce.common.device.DeviceTransactionManager,org.opendaylight.transportpce.common.network.NetworkTransactionService,org.opendaylight.transportpce.common.mapping.PortMapping,org.opendaylight.transportpce.common.mapping.OCPortMapping,org.opendaylight.mdsal.binding.api.NotificationPublishService [ERROR] found: org.opendaylight.mdsal.binding.api.DataBroker,org.opendaylight.transportpce.common.device.DeviceTransactionManagerImpl,org.opendaylight.transportpce.common.network.NetworkTransactionService,org.opendaylight.transportpce.common.mapping.PortMapping,org.opendaylight.mdsal.binding.api.NotificationPublishService [ERROR] reason: actual and formal argument lists differ in length [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[296,98] package org.opendaylight.yang.svc.v1.http.org.opendaylight.transportpce.portmapping.rev231221 does not exist [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[314,21] package org.opendaylight.yang.svc.v1.http.org.opendaylight.transportpce.portmapping.rev231221 does not exist [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. buildlighty: exit 9 (24.31 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=70558 buildcontroller: OK (109.64=setup[9.12]+cmd[100.52] seconds) testsPCE: OK (314.65=setup[81.77]+cmd[232.88] seconds) sims: OK (10.44=setup[6.99]+cmd[3.45] seconds) build_karaf_tests121: OK (63.04=setup[7.15]+cmd[55.89] seconds) tests121: OK (1251.16=setup[5.71]+cmd[1245.46] seconds) build_karaf_tests221: OK (63.38=setup[6.98]+cmd[56.40] seconds) tests_tapi: OK (1466.71=setup[5.63]+cmd[1461.08] seconds) tests221: OK (3081.97=setup[6.47]+cmd[3075.49] seconds) build_karaf_tests71: OK (65.40=setup[22.54]+cmd[42.86] seconds) tests71: OK (417.85=setup[5.78]+cmd[412.07] seconds) sims190: OK (19.31=setup[19.29]+cmd[0.01] seconds) build_karaf_tests190: OK (60.33=setup[19.29]+cmd[41.04] seconds) tests190: FAIL code 1 (231.94=setup[14.06]+cmd[0.00,217.88] seconds) build_karaf_tests_hybrid: OK (58.20=setup[13.35]+cmd[44.86] seconds) tests_hybrid: OK (1027.89=setup[6.75]+cmd[1021.14] seconds) buildlighty: FAIL code 9 (30.43=setup[6.12]+cmd[24.31] seconds) docs: OK (35.42=setup[32.97]+cmd[2.46] seconds) docs-linkcheck: OK (36.13=setup[31.82]+cmd[4.30] seconds) checkbashisms: OK (2.56=setup[1.62]+cmd[0.02,0.06,0.87] seconds) pre-commit: FAIL code 1 (44.48=setup[3.13]+cmd[0.00,0.00,41.35] seconds) pylint: FAIL code 1 (29.59=setup[9.03]+cmd[20.56] seconds) evaluation failed :( (7700.38 seconds) + tox_status=255 + echo '---> Completed tox runs' ---> Completed tox runs + for i in .tox/*/log ++ echo .tox/build_karaf_tests121/log ++ awk -F/ '{print $2}' + tox_env=build_karaf_tests121 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 + for i in .tox/*/log ++ echo .tox/build_karaf_tests190/log ++ awk -F/ '{print $2}' + tox_env=build_karaf_tests190 + cp -r .tox/build_karaf_tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests190 + for i in .tox/*/log ++ echo .tox/build_karaf_tests221/log ++ awk -F/ '{print $2}' + tox_env=build_karaf_tests221 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 + for i in .tox/*/log ++ echo .tox/build_karaf_tests71/log ++ awk -F/ '{print $2}' + tox_env=build_karaf_tests71 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 + for i in .tox/*/log ++ echo .tox/build_karaf_tests_hybrid/log ++ awk -F/ '{print $2}' + tox_env=build_karaf_tests_hybrid + cp -r .tox/build_karaf_tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests_hybrid + for i in .tox/*/log ++ echo .tox/buildcontroller/log ++ awk -F/ '{print $2}' + tox_env=buildcontroller + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller + for i in .tox/*/log ++ echo .tox/buildlighty/log ++ awk -F/ '{print $2}' + tox_env=buildlighty + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty + for i in .tox/*/log ++ echo .tox/checkbashisms/log ++ awk -F/ '{print $2}' + tox_env=checkbashisms + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms + 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/transportpce-tox-verify-transportpce-master/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/transportpce-tox-verify-transportpce-master/archives/tox/docs + for i in .tox/*/log ++ echo .tox/pre-commit/log ++ awk -F/ '{print $2}' + tox_env=pre-commit + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit + for i in .tox/*/log ++ echo .tox/pylint/log ++ awk -F/ '{print $2}' + tox_env=pylint + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint + for i in .tox/*/log ++ echo .tox/sims/log ++ awk -F/ '{print $2}' + tox_env=sims + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims + for i in .tox/*/log ++ echo .tox/sims190/log ++ awk -F/ '{print $2}' + tox_env=sims190 + cp -r .tox/sims190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims190 + for i in .tox/*/log ++ echo .tox/tests121/log ++ awk -F/ '{print $2}' + tox_env=tests121 + cp -r .tox/tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests121 + for i in .tox/*/log ++ echo .tox/tests190/log ++ awk -F/ '{print $2}' + tox_env=tests190 + cp -r .tox/tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests190 + for i in .tox/*/log ++ echo .tox/tests221/log ++ awk -F/ '{print $2}' + tox_env=tests221 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 + for i in .tox/*/log ++ echo .tox/tests71/log ++ awk -F/ '{print $2}' + tox_env=tests71 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 + for i in .tox/*/log ++ echo .tox/testsPCE/log ++ awk -F/ '{print $2}' + tox_env=testsPCE + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE + for i in .tox/*/log ++ echo .tox/tests_hybrid/log ++ awk -F/ '{print $2}' + tox_env=tests_hybrid + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid + for i in .tox/*/log ++ echo .tox/tests_tapi/log ++ awk -F/ '{print $2}' + tox_env=tests_tapi + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi + DOC_DIR=docs/_build/html + [[ -d docs/_build/html ]] + echo '---> Archiving generated docs' ---> Archiving generated docs + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs + echo '---> tox-run.sh ends' ---> tox-run.sh ends + test 255 -eq 0 + exit 255 ++ '[' 1 = 1 ']' ++ '[' -x /usr/bin/clear_console ']' ++ /usr/bin/clear_console -q Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 13105 killed; [ssh-agent] Stopped. [PostBuildScript] - [INFO] Executing post build scripts. [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins9606181921748801059.sh ---> sysstat.sh [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5649334062066662810.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/transportpce-tox-verify-transportpce-master + 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/transportpce-tox-verify-transportpce-master ']' + 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/transportpce-tox-verify-transportpce-master ']' + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10721478925338199599.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gWD6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gWD6/bin to PATH INFO: Running in OpenStack, capturing instance metadata [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14133738675597597573.sh provisioning config files... Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #2276 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config15185395694485126811tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] Run condition [Regular expression match] enabling perform for step [Provide Configuration files] provisioning config files... copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15162799117739388404.sh ---> create-netrc.sh WARN: Log server credential not found. [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16423460748499212388.sh ---> python-tools-install.sh Setup pyenv: system 3.8.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gWD6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gWD6/bin to PATH [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1008247522200130767.sh ---> sudo-logs.sh Archiving 'sudo' log.. [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1115478283702759093.sh ---> job-cost.sh Setup pyenv: system 3.8.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gWD6 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-gWD6/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins15454871806816428614.sh ---> logs-deploy.sh Setup pyenv: system 3.8.20 3.9.20 3.10.15 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-gWD6 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-gWD6/bin to PATH WARNING: Nexus logging server not set INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/2276/ INFO: archiving logs to S3 ---> uname -a: Linux prd-ubuntu2004-docker-4c-16g-11126 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 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): 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: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 128 KiB L1i cache: 128 KiB L2 cache: 2 MiB L3 cache: 64 MiB NUMA node0 CPU(s): 0-3 Vulnerability Gather data sampling: Not affected 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; BHI 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 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev tmpfs 1.6G 1.1M 1.6G 1% /run /dev/vda1 78G 18G 61G 23% / 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/loop0 62M 62M 0 100% /snap/core20/1405 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 /dev/vda15 105M 6.1M 99M 6% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 /dev/loop3 64M 64M 0 100% /snap/core20/2434 /dev/loop4 92M 92M 0 100% /snap/lxd/29619 ---> free -m: total used free shared buff/cache available Mem: 15997 2291 4985 1 8720 13366 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:0d:34:df brd ff:ff:ff:ff:ff:ff inet 10.30.170.27/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 valid_lft 78495sec preferred_lft 78495sec inet6 fe80::f816:3eff:fe0d:34df/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1458 qdisc noqueue state DOWN group default link/ether 02:42:30:09:17:f5 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 5.4.0-200-generic (prd-ubuntu2004-docker-4c-16g-11126) 11/28/24 _x86_64_ (4 CPU) 12:37:21 LINUX RESTART (4 CPU) 12:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:39:01 262.67 91.37 171.30 0.00 2726.75 8643.11 0.00 12:40:01 134.43 23.43 111.00 0.00 1876.75 19290.92 0.00 12:41:01 178.31 19.06 159.25 0.00 929.69 46181.67 0.00 12:42:01 98.13 1.08 97.05 0.00 56.38 58615.93 0.00 12:43:01 192.64 5.11 187.52 0.00 4500.37 140969.41 0.00 12:44:01 139.03 10.88 128.15 0.00 373.27 76116.65 0.00 12:45:01 58.19 0.40 57.79 0.00 19.60 9236.46 0.00 12:46:01 130.81 0.05 130.76 0.00 3.47 2081.92 0.00 12:47:01 85.25 0.02 85.24 0.00 0.13 2232.96 0.00 12:48:01 94.75 3.25 91.50 0.00 499.57 10379.61 0.00 12:49:01 56.21 1.07 55.14 0.00 22.93 917.71 0.00 12:50:01 2.92 0.10 2.82 0.00 2.00 33.33 0.00 12:51:01 1.92 0.00 1.92 0.00 0.00 22.13 0.00 12:52:01 4.43 0.25 4.18 0.00 4.13 108.38 0.00 12:53:01 5.62 1.15 4.47 0.00 32.79 82.39 0.00 12:54:01 3.00 0.00 3.00 0.00 0.00 45.19 0.00 12:55:01 1.90 0.00 1.90 0.00 0.00 24.26 0.00 12:56:01 2.65 0.33 2.32 0.00 8.40 31.33 0.00 12:57:01 135.24 1.22 134.03 0.00 150.11 3743.51 0.00 12:58:01 56.61 0.02 56.59 0.00 0.53 860.39 0.00 12:59:01 1.52 0.00 1.52 0.00 0.00 43.73 0.00 13:00:01 2.05 0.00 2.05 0.00 0.00 39.59 0.00 13:01:01 1.67 0.00 1.67 0.00 0.00 37.46 0.00 13:02:01 1.87 0.02 1.85 0.00 0.13 25.60 0.00 13:03:01 1.63 0.00 1.63 0.00 0.00 21.86 0.00 13:04:01 68.36 0.00 68.36 0.00 0.00 1608.13 0.00 13:05:01 126.73 0.00 126.73 0.00 0.00 3030.43 0.00 13:06:01 2.10 0.00 2.10 0.00 0.00 60.92 0.00 13:07:01 2.18 0.00 2.18 0.00 0.00 37.99 0.00 13:08:01 2.47 0.00 2.47 0.00 0.00 48.39 0.00 13:09:01 101.57 0.00 101.57 0.00 0.00 2282.15 0.00 13:10:01 85.25 0.00 85.25 0.00 0.00 2271.49 0.00 13:11:01 5.25 0.00 5.25 0.00 0.00 215.96 0.00 13:12:01 164.66 1.40 163.26 0.00 54.39 12105.05 0.00 13:13:01 65.36 0.00 65.36 0.00 0.00 1184.47 0.00 13:14:01 2.08 0.00 2.08 0.00 0.00 39.46 0.00 13:15:01 23.58 0.00 23.58 0.00 0.00 530.44 0.00 13:16:01 58.57 0.00 58.57 0.00 0.00 829.20 0.00 13:17:01 21.50 4.75 16.75 0.00 100.52 300.08 0.00 13:18:01 58.01 0.05 57.96 0.00 1.07 829.99 0.00 13:19:01 95.55 0.05 95.50 0.00 0.40 4120.91 0.00 13:20:01 18.66 0.00 18.66 0.00 0.00 362.87 0.00 13:21:01 73.87 0.00 73.87 0.00 0.00 1373.90 0.00 13:22:01 48.38 0.00 48.38 0.00 0.00 687.75 0.00 13:23:01 17.61 0.00 17.61 0.00 0.00 319.15 0.00 13:24:01 65.81 0.00 65.81 0.00 0.00 1119.81 0.00 13:25:01 48.21 0.00 48.21 0.00 0.00 683.62 0.00 13:26:01 17.60 0.00 17.60 0.00 0.00 318.61 0.00 13:27:01 133.08 0.00 133.08 0.00 0.00 1928.48 0.00 13:28:01 17.46 0.00 17.46 0.00 0.00 313.15 0.00 13:29:01 61.09 8.83 52.26 0.00 489.39 959.31 0.00 13:30:01 27.00 0.00 27.00 0.00 0.00 458.72 0.00 13:31:01 59.92 0.00 59.92 0.00 0.00 849.73 0.00 13:32:01 3.43 0.00 3.43 0.00 0.00 60.66 0.00 13:33:01 18.04 0.00 18.04 0.00 0.00 333.22 0.00 13:34:01 3.49 0.00 3.49 0.00 0.00 70.69 0.00 13:35:01 1.78 0.00 1.78 0.00 0.00 34.39 0.00 13:36:01 2.37 0.00 2.37 0.00 0.00 43.73 0.00 13:37:01 2.27 0.00 2.27 0.00 0.00 40.39 0.00 13:38:01 2.70 0.00 2.70 0.00 0.00 54.12 0.00 13:39:01 2.67 0.00 2.67 0.00 0.00 41.99 0.00 13:40:01 3.38 0.00 3.38 0.00 0.00 53.32 0.00 13:41:01 16.78 0.00 16.78 0.00 0.00 312.48 0.00 13:42:01 14.30 0.00 14.30 0.00 0.00 233.83 0.00 13:43:01 2.27 0.00 2.27 0.00 0.00 49.19 0.00 13:44:01 3.00 0.00 3.00 0.00 0.00 64.92 0.00 13:45:01 1.67 0.00 1.67 0.00 0.00 36.26 0.00 13:46:01 2.13 0.00 2.13 0.00 0.00 45.33 0.00 13:47:01 1.87 0.00 1.87 0.00 0.00 49.06 0.00 13:48:01 2.17 0.00 2.17 0.00 0.00 48.93 0.00 13:49:01 1.63 0.00 1.63 0.00 0.00 37.46 0.00 13:50:01 2.05 0.00 2.05 0.00 0.00 24.93 0.00 13:51:01 1.42 0.00 1.42 0.00 0.00 18.40 0.00 13:52:01 18.60 0.00 18.60 0.00 0.00 346.21 0.00 13:53:01 60.12 0.00 60.12 0.00 0.00 840.39 0.00 13:54:01 2.48 0.00 2.48 0.00 0.00 52.53 0.00 13:55:01 1.75 0.00 1.75 0.00 0.00 38.79 0.00 13:56:01 2.45 0.00 2.45 0.00 0.00 41.86 0.00 13:57:01 2.00 0.00 2.00 0.00 0.00 46.39 0.00 13:58:02 2.50 0.00 2.50 0.00 0.00 43.19 0.00 13:59:01 1.95 0.00 1.95 0.00 0.00 42.43 0.00 14:00:01 17.40 0.00 17.40 0.00 0.00 331.14 0.00 14:01:01 61.34 0.00 61.34 0.00 0.00 860.79 0.00 14:02:01 4.58 0.00 4.58 0.00 0.00 83.59 0.00 14:03:01 3.00 0.00 3.00 0.00 0.00 54.26 0.00 14:04:01 3.03 0.00 3.03 0.00 0.00 47.59 0.00 14:05:01 2.50 0.00 2.50 0.00 0.00 42.53 0.00 14:06:01 2.97 0.00 2.97 0.00 0.00 43.73 0.00 14:07:01 2.63 0.00 2.63 0.00 0.00 51.59 0.00 14:08:01 3.18 0.00 3.18 0.00 0.00 46.13 0.00 14:09:01 1.67 0.00 1.67 0.00 0.00 35.59 0.00 14:10:01 48.78 0.07 48.71 0.00 0.53 2074.32 0.00 14:11:01 66.66 0.00 66.66 0.00 0.00 8810.40 0.00 14:12:01 109.95 0.00 109.95 0.00 0.00 1948.88 0.00 14:13:01 60.41 0.00 60.41 0.00 0.00 870.65 0.00 14:14:01 3.23 0.00 3.23 0.00 0.00 50.52 0.00 14:15:01 74.67 0.00 74.67 0.00 0.00 1128.35 0.00 14:16:01 26.63 0.00 26.63 0.00 0.00 450.59 0.00 14:17:01 52.42 0.00 52.42 0.00 0.00 752.67 0.00 14:18:01 4.40 0.00 4.40 0.00 0.00 73.05 0.00 14:19:01 27.56 0.00 27.56 0.00 0.00 474.32 0.00 14:20:01 44.86 0.00 44.86 0.00 0.00 660.16 0.00 14:21:01 1.98 0.00 1.98 0.00 0.00 35.86 0.00 14:22:01 2.03 0.00 2.03 0.00 0.00 54.26 0.00 14:23:01 1.88 0.00 1.88 0.00 0.00 34.53 0.00 14:24:01 2.22 0.00 2.22 0.00 0.00 40.79 0.00 14:25:01 1.73 0.00 1.73 0.00 0.00 42.79 0.00 14:26:01 1.90 0.00 1.90 0.00 0.00 38.13 0.00 14:27:01 1.88 0.00 1.88 0.00 0.00 39.33 0.00 14:28:01 1.77 0.00 1.77 0.00 0.00 30.79 0.00 14:29:01 1.67 0.00 1.67 0.00 0.00 19.73 0.00 14:30:01 1.98 0.00 1.98 0.00 0.00 26.26 0.00 14:31:01 39.22 0.02 39.20 0.00 0.13 4642.19 0.00 14:32:01 33.54 0.00 33.54 0.00 0.00 5952.87 0.00 14:33:01 2.47 0.00 2.47 0.00 0.00 49.06 0.00 14:34:01 61.57 0.00 61.57 0.00 0.00 1232.59 0.00 14:35:01 2.38 0.00 2.38 0.00 0.00 43.86 0.00 14:36:01 3.13 0.00 3.13 0.00 0.00 52.39 0.00 14:37:01 2.13 0.00 2.13 0.00 0.00 36.53 0.00 14:38:01 3.13 0.00 3.13 0.00 0.00 45.45 0.00 14:39:01 2.50 0.00 2.50 0.00 0.00 58.52 0.00 14:40:01 1.82 0.00 1.82 0.00 0.00 29.20 0.00 14:41:01 1.88 0.00 1.88 0.00 0.00 34.53 0.00 14:42:01 1.67 0.00 1.67 0.00 0.00 20.80 0.00 14:43:01 1.68 0.00 1.68 0.00 0.00 20.80 0.00 14:44:01 83.22 0.00 83.22 0.00 0.00 1506.96 0.00 14:45:01 2.33 0.00 2.33 0.00 0.00 187.84 0.00 14:46:01 2.97 0.00 2.97 0.00 0.00 77.59 0.00 14:47:01 2.30 0.00 2.30 0.00 0.00 53.99 0.00 14:48:01 22.76 8.37 14.40 0.00 341.54 716.28 0.00 14:49:01 49.64 16.21 33.43 0.00 643.36 6649.16 0.00 Average: 32.58 1.52 31.07 0.00 98.02 3530.68 0.00 12:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:39:01 13416336 15450236 533908 3.26 68320 2163468 1245912 7.15 785588 1908224 137424 12:40:01 11779024 14908064 1053160 6.43 110104 3144392 1944776 11.16 1477676 2757048 740952 12:41:01 9719184 13693248 2266924 13.84 139316 3895496 2911140 16.70 2766876 3460320 200220 12:42:01 7634776 13695468 2263084 13.82 174904 5853548 3357956 19.27 3289624 4925440 538644 12:43:01 5480760 14320476 1627040 9.93 211600 8479120 2893356 16.60 3538580 6701224 252544 12:44:01 3310592 13615524 2331076 14.23 232320 9869248 3025404 17.36 4806424 7543732 239204 12:45:01 2859660 13170888 2775356 16.94 233524 9874320 3654612 20.97 5291312 7508328 660 12:46:01 2533088 12852128 3093664 18.89 240456 9874996 4216812 24.19 5634804 7491204 264 12:47:01 2615436 13197428 2748748 16.78 249708 10114408 3588352 20.59 5335940 7697108 238312 12:48:01 158724 9383224 6560608 40.05 242528 8785356 8522152 48.89 8972288 6521736 112 12:49:01 179732 8816160 7127504 43.51 244636 8205280 8619420 49.45 9496700 5983660 104 12:50:01 180032 8816520 7127228 43.51 244672 8205300 8619420 49.45 9497328 5983352 96 12:51:01 179152 8815688 7128032 43.51 244700 8205300 8619420 49.45 9498072 5983352 104 12:52:01 168260 8125624 7817552 47.72 244676 7539884 8883232 50.97 10109804 5393784 176 12:53:01 166620 8097352 7845716 47.89 244788 7513808 8936648 51.27 10136592 5368288 572 12:54:01 176868 8107636 7835428 47.83 244812 7513816 8936648 51.27 10124564 5368260 272 12:55:01 177024 8107856 7835132 47.83 244844 7513816 8936648 51.27 10124788 5368248 268 12:56:01 159444 8039160 7903508 48.25 244812 7463844 9269384 53.18 10176468 5336400 296 12:57:01 4541940 11976984 3968228 24.22 247684 7025664 5121292 29.38 6237976 4916752 2316 12:58:01 2663832 10101496 5842684 35.67 249884 7026012 6692520 38.40 8114704 4914988 212 12:59:01 2465664 9904004 6039880 36.87 249920 7026648 6793132 38.97 8311500 4915168 320 13:00:01 2465396 9903944 6039928 36.87 249968 7026808 6793132 38.97 8309816 4915292 168 13:01:01 2452600 9891436 6052352 36.95 250016 7027052 6841480 39.25 8323804 4915524 164 13:02:01 2452168 9891056 6052704 36.95 250048 7027060 6841480 39.25 8323104 4915532 96 13:03:01 2451728 9890628 6053236 36.95 250072 7027052 6841480 39.25 8323472 4915532 72 13:04:01 1971676 9412180 6531376 39.87 252280 7026356 7458300 42.79 8802720 4915260 1288 13:05:01 3204624 10648852 5295576 32.33 254336 7027940 6574392 37.72 7581960 4905104 316 13:06:01 2486684 9931608 6012212 36.70 254348 7028620 6825252 39.16 8296936 4905528 240 13:07:01 2466224 9911368 6032380 36.82 254356 7028816 6876332 39.45 8318280 4905648 212 13:08:01 2414144 9859732 6083928 37.14 254376 7029268 6876332 39.45 8368732 4906072 480 13:09:01 5585276 13032096 2913268 17.78 256200 7028600 4066920 23.33 5210160 4905596 1464 13:10:01 2615732 10065876 5878172 35.88 257996 7030080 6783800 38.92 8171036 4906624 512 13:11:01 2035936 9485464 6458096 39.42 258004 7029452 7527736 43.19 8746916 4906424 1152 13:12:01 5885876 13595348 2350232 14.35 266036 7274880 3238820 18.58 4726436 5084512 2536 13:13:01 4469696 12180616 3764056 22.98 267068 7275252 4535280 26.02 6151580 5069596 124 13:14:01 4455556 12166632 3778024 23.06 267080 7275396 4535280 26.02 6165212 5069712 252 13:15:01 3900920 11612264 4332244 26.45 267220 7275504 5390952 30.93 6731408 5057864 480 13:16:01 3757436 11469656 4474604 27.32 267840 7275760 5508276 31.60 6872080 5057976 128 13:17:01 5571212 13287056 2658360 16.23 268512 7278320 3699988 21.23 5066748 5057856 580 13:18:01 4467068 12183752 3760856 22.96 269128 7278532 4746796 27.23 6165636 5058044 108 13:19:01 3214484 10998712 4945248 30.19 271760 7339480 6138296 35.22 7348948 5118576 984 13:20:01 4069544 11854116 4090244 24.97 271824 7339724 5364532 30.78 6503076 5113132 52 13:21:01 2838644 10624244 5319484 32.47 272508 7340012 6737720 38.66 7737320 5104624 124 13:22:01 2324876 10110904 5832532 35.60 272844 7340088 6919924 39.70 8251436 5104692 168 13:23:01 4599868 12386236 3558176 21.72 272868 7340388 4693336 26.93 5985640 5103564 620 13:24:01 4752408 12539372 3405000 20.79 273188 7340652 4690472 26.91 5833164 5103672 648 13:25:01 4398984 12186452 3757868 22.94 273636 7340704 4770676 27.37 6184844 5103716 136 13:26:01 4138632 11926268 4018196 24.53 273644 7340984 5434056 31.18 6443760 5103536 784 13:27:01 4403056 12191720 3752892 22.91 274340 7341316 4771384 27.37 6179888 5103756 36 13:28:01 4928208 12717084 3227752 19.70 274360 7341508 4593608 26.35 5657848 5103900 536 13:29:01 3533804 11346232 4595712 28.05 274980 7362760 5602760 32.14 7024484 5120740 256 13:30:01 3052444 10865036 5076552 30.99 275028 7362872 6763852 38.81 7503108 5120828 452 13:31:01 1947068 9760164 6180868 37.73 275216 7363184 7246640 41.58 8605112 5121124 264 13:32:01 1931920 9745240 6195792 37.82 275216 7363404 7262732 41.67 8621308 5121344 44 13:33:01 3534472 11347960 4593880 28.04 275228 7363560 6148528 35.28 7021076 5121464 296 13:34:01 2016864 9830720 6110176 37.30 275236 7363920 7126116 40.88 8536936 5121808 276 13:35:01 1998296 9812308 6128556 37.41 275244 7364080 7142148 40.98 8554840 5121956 264 13:36:01 1987696 9801812 6139048 37.48 275244 7364172 7142148 40.98 8564692 5122060 136 13:37:01 1968852 9783180 6157608 37.59 275248 7364400 7158144 41.07 8582592 5122268 44 13:38:01 1966072 9780696 6160188 37.60 275252 7364672 7174148 41.16 8585432 5122560 332 13:39:01 1961820 9776604 6164336 37.63 275256 7364828 7174148 41.16 8590148 5122712 124 13:40:01 1915808 9730740 6210176 37.91 275264 7364972 7224044 41.45 8634772 5122852 32 13:41:01 5116004 12931184 3011428 18.38 275268 7365208 4648808 26.67 5445772 5123044 556 13:42:01 2183888 9999376 5941480 36.27 275332 7365452 7079444 40.62 8367088 5123256 236 13:43:01 2157516 9973296 5967512 36.43 275332 7365744 7079444 40.62 8393496 5123548 136 13:44:01 2125572 9941964 5998804 36.62 275336 7366352 7079444 40.62 8423040 5124156 164 13:45:01 2109936 9926728 6014004 36.71 275336 7366768 7111488 40.80 8439240 5124556 360 13:46:01 2103856 9920956 6019744 36.75 275336 7367072 7111488 40.80 8445620 5124864 236 13:47:01 2058172 9875864 6064736 37.02 275336 7367660 7143468 40.98 8489828 5125456 264 13:48:01 2023900 9842308 6098324 37.23 275336 7368376 7143468 40.98 8522464 5126172 144 13:49:01 2022916 9841344 6099288 37.23 275336 7368392 7143468 40.98 8524196 5126192 100 13:50:01 2021760 9840204 6100432 37.24 275340 7368396 7143468 40.98 8525036 5126200 92 13:51:01 2021004 9839448 6101188 37.24 275340 7368396 7143468 40.98 8526264 5126200 60 13:52:01 1820136 9637868 6302676 38.47 275348 7367656 8188628 46.98 8730632 5125368 212 13:53:01 837120 8655156 7285064 44.47 275544 7367760 8437636 48.41 9708372 5125456 140 13:54:01 655904 8474492 7465476 45.57 275548 7368292 8552800 49.07 9887512 5125984 200 13:55:01 575600 8394496 7545280 46.06 275548 7368604 8601156 49.35 9966920 5126292 212 13:56:01 553812 8372944 7566824 46.19 275556 7368828 8633148 49.53 9987912 5126520 300 13:57:01 521744 8341224 7598488 46.39 275564 7369168 8633148 49.53 10018868 5126860 252 13:58:02 497220 8316988 7622712 46.53 275568 7369452 8649136 49.62 10042456 5127140 484 13:59:01 489960 8309928 7629768 46.58 275572 7369648 8649136 49.62 10050200 5127336 240 14:00:01 2905004 10724792 5216440 31.84 275580 7369456 6862820 39.37 7644396 5127088 408 14:01:01 707688 8527644 7412480 45.25 275796 7369408 8528348 48.93 9835748 5127024 180 14:02:01 558344 8378708 7561172 46.16 275800 7369816 8610044 49.40 9983060 5127432 148 14:03:01 466080 8286816 7652992 46.72 275812 7370172 8674980 49.77 10075860 5127788 140 14:04:01 450708 8271632 7668260 46.81 275828 7370344 8674980 49.77 10090308 5127960 232 14:05:01 438840 8259884 7679912 46.88 275832 7370460 8674980 49.77 10102172 5128076 144 14:06:01 424744 8245928 7693868 46.97 275832 7370600 8674980 49.77 10116124 5128216 236 14:07:01 409120 8230540 7709256 47.06 275832 7370836 8691468 49.87 10130948 5128452 112 14:08:01 379856 8201372 7738392 47.24 275832 7370932 8723616 50.05 10159892 5128548 48 14:09:01 348772 8170648 7769016 47.43 275832 7371292 8757264 50.24 10190156 5128908 392 14:10:01 4000440 12078064 3863556 23.59 282096 7614088 5385196 30.90 6354280 5318820 235236 14:11:01 5635168 13713476 2228848 13.61 282324 7614456 3559680 20.42 4738044 5308264 168 14:12:01 4544844 12624132 3317592 20.25 282500 7615212 4687332 26.89 5848816 5282196 540 14:13:01 2244812 10324436 5615920 34.28 282648 7615400 6929504 39.76 8143232 5282020 132 14:14:01 3551104 11630636 4310208 26.31 282648 7615304 5399772 30.98 6840576 5281904 92 14:15:01 3327468 11407476 4533864 27.68 282752 7615656 5610912 32.19 7063484 5280512 176 14:16:01 2533536 10613876 5327092 32.52 282788 7615920 6978392 40.04 7858380 5280128 392 14:17:01 1771632 9852316 6088140 37.17 282884 7616168 7224308 41.45 8614780 5280152 300 14:18:01 1663192 9744104 6196188 37.82 282908 7616352 7257644 41.64 8723392 5280312 204 14:19:01 2863708 10944696 4996036 30.50 282924 7616392 6709432 38.49 7525732 5280116 424 14:20:01 1939524 10021112 5918992 36.13 282968 7616964 6973372 40.01 8449272 5279928 64 14:21:01 1870768 9952596 5987520 36.55 282972 7617184 7037444 40.38 8517036 5280144 256 14:22:01 1846316 9928596 6011496 36.70 282972 7617636 7037444 40.38 8541036 5280596 220 14:23:01 1828392 9910984 6029104 36.80 282976 7617944 7037444 40.38 8558848 5280904 288 14:24:01 1823636 9906636 6033412 36.83 282980 7618348 7037444 40.38 8562908 5281312 248 14:25:01 1818036 9901372 6038628 36.86 282980 7618688 7037444 40.38 8566852 5281644 112 14:26:01 1808272 9892000 6047996 36.92 282980 7619084 7037444 40.38 8576956 5282036 432 14:27:01 1799460 9883512 6056452 36.97 282980 7619420 7053688 40.47 8584680 5282360 236 14:28:01 1797468 9881556 6058524 36.98 282980 7619432 7053688 40.47 8586548 5282392 176 14:29:01 1796084 9880176 6059872 36.99 282984 7619432 7053688 40.47 8587284 5282392 88 14:30:01 1793932 9878028 6062000 37.01 282984 7619436 7053688 40.47 8589008 5282396 80 14:31:01 2964920 11304560 4636268 28.30 289128 7862048 6215472 35.66 7226192 5472460 158904 14:32:01 1409128 9750788 6189052 37.78 289212 7863904 7220760 41.43 8785096 5466572 268 14:33:01 5398972 13740644 2200852 13.44 289212 7863916 3265788 18.74 4805984 5466376 120 14:34:01 1420004 9762380 6177320 37.71 289308 7864484 7135696 40.94 8794456 5445028 76 14:35:01 1413196 9755784 6183908 37.75 289312 7864692 7151724 41.03 8800800 5445044 72 14:36:01 1401460 9744240 6195444 37.82 289312 7864884 7183732 41.21 8812748 5445220 80 14:37:01 1376724 9719696 6220084 37.97 289316 7865068 7183732 41.21 8837072 5445408 112 14:38:01 1373448 9716556 6223220 37.99 289316 7865208 7183732 41.21 8838728 5445544 64 14:39:01 1323740 9667404 6272256 38.29 289324 7865748 7200612 41.31 8890080 5446068 88 14:40:01 1299076 9643032 6296620 38.44 289328 7866036 7200612 41.31 8913036 5446356 432 14:41:01 1298288 9642260 6297376 38.44 289328 7866052 7200612 41.31 8914672 5446368 56 14:42:01 1296856 9640832 6298884 38.45 289328 7866056 7200612 41.31 8915924 5446372 100 14:43:01 1295116 9639096 6300600 38.46 289328 7866056 7200612 41.31 8917604 5446372 56 14:44:01 1177860 9521396 6418444 39.18 289372 7865552 7599996 43.60 9047176 5434152 256 14:45:01 827336 9171416 6768164 41.32 289376 7866056 7796208 44.73 9395276 5434504 116 14:46:01 691756 9037116 6902296 42.14 289376 7867320 7860808 45.10 9528064 5435704 384 14:47:01 669312 9015068 6924324 42.27 289376 7867712 7860808 45.10 9549680 5436096 212 14:48:01 5214384 13744816 2196552 13.41 293996 8035500 3136516 18.00 4862536 5581232 155764 14:49:01 5163188 13728904 2212616 13.51 294512 8069848 3164356 18.15 4900088 5596172 2516 Average: 2529906 10415115 5527459 33.74 267125 7448865 6612158 37.94 7913924 5239396 22412 12:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:39:01 lo 0.73 0.73 0.07 0.07 0.00 0.00 0.00 0.00 12:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:39:01 ens3 228.80 166.27 1262.64 50.60 0.00 0.00 0.00 0.00 12:40:01 lo 3.80 3.80 0.37 0.37 0.00 0.00 0.00 0.00 12:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:40:01 ens3 221.58 169.51 3379.75 21.89 0.00 0.00 0.00 0.00 12:41:01 lo 2.80 2.80 0.30 0.30 0.00 0.00 0.00 0.00 12:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:41:01 ens3 419.16 349.02 6310.93 36.21 0.00 0.00 0.00 0.00 12:42:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 12:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:42:01 ens3 229.17 163.41 3979.69 17.33 0.00 0.00 0.00 0.00 12:43:01 lo 1.00 1.00 0.11 0.11 0.00 0.00 0.00 0.00 12:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:43:01 ens3 190.80 108.15 3859.07 10.12 0.00 0.00 0.00 0.00 12:44:01 lo 4.03 4.03 5.57 5.57 0.00 0.00 0.00 0.00 12:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:44:01 ens3 2.20 2.58 0.84 0.77 0.00 0.00 0.00 0.00 12:45:01 lo 5.40 5.40 9.29 9.29 0.00 0.00 0.00 0.00 12:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:01 ens3 0.95 1.05 0.16 0.16 0.00 0.00 0.00 0.00 12:46:01 lo 8.80 8.80 6.36 6.36 0.00 0.00 0.00 0.00 12:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:46:01 ens3 1.07 1.15 0.17 0.17 0.00 0.00 0.00 0.00 12:47:01 lo 5.40 5.40 2.02 2.02 0.00 0.00 0.00 0.00 12:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:47:01 ens3 1.60 2.12 0.79 0.73 0.00 0.00 0.00 0.00 12:48:01 lo 3.92 3.92 0.39 0.39 0.00 0.00 0.00 0.00 12:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:48:01 ens3 8.60 8.08 1.86 5.29 0.00 0.00 0.00 0.00 12:49:01 lo 8.08 8.08 9.46 9.46 0.00 0.00 0.00 0.00 12:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:49:01 ens3 0.37 0.07 0.03 0.01 0.00 0.00 0.00 0.00 12:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:50:01 ens3 0.33 0.10 0.02 0.01 0.00 0.00 0.00 0.00 12:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:51:01 ens3 1.55 0.20 0.39 0.20 0.00 0.00 0.00 0.00 12:52:01 lo 39.16 39.16 28.72 28.72 0.00 0.00 0.00 0.00 12:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:52:01 ens3 2.15 1.17 0.95 0.70 0.00 0.00 0.00 0.00 12:53:01 lo 26.46 26.46 11.90 11.90 0.00 0.00 0.00 0.00 12:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:53:01 ens3 0.63 0.42 0.21 0.13 0.00 0.00 0.00 0.00 12:54:01 lo 0.40 0.40 0.03 0.03 0.00 0.00 0.00 0.00 12:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:54:01 ens3 0.23 0.10 0.01 0.01 0.00 0.00 0.00 0.00 12:55:01 lo 0.40 0.40 0.05 0.05 0.00 0.00 0.00 0.00 12:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:55:01 ens3 0.20 0.05 0.01 0.00 0.00 0.00 0.00 0.00 12:56:01 lo 1.62 1.62 0.19 0.19 0.00 0.00 0.00 0.00 12:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:56:01 ens3 0.83 0.20 0.10 0.03 0.00 0.00 0.00 0.00 12:57:01 lo 3.60 3.60 0.38 0.38 0.00 0.00 0.00 0.00 12:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:57:01 ens3 1.05 0.62 0.32 0.25 0.00 0.00 0.00 0.00 12:58:01 lo 16.51 16.51 15.74 15.74 0.00 0.00 0.00 0.00 12:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:58:01 ens3 0.92 0.70 0.24 0.17 0.00 0.00 0.00 0.00 12:59:01 lo 24.01 24.01 15.26 15.26 0.00 0.00 0.00 0.00 12:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:59:01 ens3 0.35 0.27 0.06 0.05 0.00 0.00 0.00 0.00 13:00:01 lo 15.01 15.01 5.65 5.65 0.00 0.00 0.00 0.00 13:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:00:01 ens3 0.77 0.23 0.09 0.04 0.00 0.00 0.00 0.00 13:01:01 lo 18.16 18.16 5.67 5.67 0.00 0.00 0.00 0.00 13:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:01:01 ens3 0.75 0.47 0.30 0.24 0.00 0.00 0.00 0.00 13:02:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 13:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:02:01 ens3 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 13:03:01 lo 0.58 0.58 0.07 0.07 0.00 0.00 0.00 0.00 13:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:03:01 ens3 0.70 0.12 0.18 0.07 0.00 0.00 0.00 0.00 13:04:01 lo 2.42 2.42 0.28 0.28 0.00 0.00 0.00 0.00 13:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:04:01 ens3 0.73 0.52 0.35 0.28 0.00 0.00 0.00 0.00 13:05:01 lo 3.52 3.52 0.38 0.38 0.00 0.00 0.00 0.00 13:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:05:01 ens3 0.65 0.53 0.07 0.06 0.00 0.00 0.00 0.00 13:06:01 lo 35.49 35.49 14.24 14.24 0.00 0.00 0.00 0.00 13:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:06:01 ens3 0.70 0.60 0.13 0.11 0.00 0.00 0.00 0.00 13:07:01 lo 9.07 9.07 7.49 7.49 0.00 0.00 0.00 0.00 13:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:07:01 ens3 0.90 0.78 0.18 0.16 0.00 0.00 0.00 0.00 13:08:01 lo 32.73 32.73 13.63 13.63 0.00 0.00 0.00 0.00 13:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:08:01 ens3 1.27 1.00 0.33 0.24 0.00 0.00 0.00 0.00 13:09:01 lo 5.48 5.48 1.28 1.28 0.00 0.00 0.00 0.00 13:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:09:01 ens3 0.57 0.45 0.10 0.09 0.00 0.00 0.00 0.00 13:10:01 lo 11.60 11.60 12.92 12.92 0.00 0.00 0.00 0.00 13:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:10:01 ens3 0.68 0.53 0.07 0.06 0.00 0.00 0.00 0.00 13:11:01 lo 10.21 10.21 5.81 5.81 0.00 0.00 0.00 0.00 13:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:11:01 ens3 1.25 0.55 0.19 0.11 0.00 0.00 0.00 0.00 13:12:01 lo 10.58 10.58 15.70 15.70 0.00 0.00 0.00 0.00 13:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:12:01 ens3 3.13 2.82 1.43 1.19 0.00 0.00 0.00 0.00 13:13:01 lo 18.08 18.08 8.67 8.67 0.00 0.00 0.00 0.00 13:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:13:01 ens3 0.97 0.80 0.28 0.20 0.00 0.00 0.00 0.00 13:14:01 lo 26.61 26.61 8.53 8.53 0.00 0.00 0.00 0.00 13:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:14:01 ens3 1.20 1.07 0.23 0.21 0.00 0.00 0.00 0.00 13:15:01 lo 12.81 12.81 3.66 3.66 0.00 0.00 0.00 0.00 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:15:01 ens3 0.97 0.78 0.16 0.15 0.00 0.00 0.00 0.00 13:16:01 lo 39.66 39.66 18.90 18.90 0.00 0.00 0.00 0.00 13:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:01 ens3 1.10 0.95 0.21 0.19 0.00 0.00 0.00 0.00 13:17:01 lo 21.91 21.91 6.63 6.63 0.00 0.00 0.00 0.00 13:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:17:01 ens3 1.25 1.18 0.28 0.23 0.00 0.00 0.00 0.00 13:18:01 lo 26.12 26.12 11.56 11.56 0.00 0.00 0.00 0.00 13:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:18:01 ens3 1.08 0.92 0.30 0.22 0.00 0.00 0.00 0.00 13:19:01 lo 9.03 9.03 3.47 3.47 0.00 0.00 0.00 0.00 13:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:19:01 ens3 1.97 2.03 0.83 0.73 0.00 0.00 0.00 0.00 13:20:01 lo 8.85 8.85 6.82 6.82 0.00 0.00 0.00 0.00 13:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:20:01 ens3 1.93 1.28 0.32 0.24 0.00 0.00 0.00 0.00 13:21:01 lo 13.13 13.13 4.58 4.58 0.00 0.00 0.00 0.00 13:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:21:01 ens3 1.23 0.90 0.41 0.33 0.00 0.00 0.00 0.00 13:22:01 lo 20.81 20.81 9.93 9.93 0.00 0.00 0.00 0.00 13:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:22:01 ens3 1.57 1.00 0.27 0.20 0.00 0.00 0.00 0.00 13:23:01 lo 10.41 10.41 3.89 3.89 0.00 0.00 0.00 0.00 13:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:23:01 ens3 1.70 1.73 0.62 0.51 0.00 0.00 0.00 0.00 13:24:01 lo 5.68 5.68 6.28 6.28 0.00 0.00 0.00 0.00 13:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:24:01 ens3 1.78 0.72 0.26 0.12 0.00 0.00 0.00 0.00 13:25:01 lo 7.85 7.85 3.06 3.06 0.00 0.00 0.00 0.00 13:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:25:01 ens3 0.92 0.58 0.37 0.29 0.00 0.00 0.00 0.00 13:26:01 lo 3.52 3.52 0.51 0.51 0.00 0.00 0.00 0.00 13:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:26:01 ens3 1.33 0.83 0.40 0.31 0.00 0.00 0.00 0.00 13:27:01 lo 32.48 32.48 16.04 16.04 0.00 0.00 0.00 0.00 13:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:27:01 ens3 1.35 0.87 0.42 0.32 0.00 0.00 0.00 0.00 13:28:01 lo 18.68 18.68 7.27 7.27 0.00 0.00 0.00 0.00 13:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:28:01 ens3 1.40 1.13 0.34 0.25 0.00 0.00 0.00 0.00 13:29:01 lo 19.90 19.90 19.88 19.88 0.00 0.00 0.00 0.00 13:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:29:01 ens3 3.38 2.98 17.35 0.46 0.00 0.00 0.00 0.00 13:30:01 lo 4.13 4.13 0.78 0.78 0.00 0.00 0.00 0.00 13:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:30:01 ens3 1.67 1.27 0.45 0.35 0.00 0.00 0.00 0.00 13:31:01 lo 44.23 44.23 17.67 17.67 0.00 0.00 0.00 0.00 13:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:31:01 ens3 2.17 0.88 0.51 0.33 0.00 0.00 0.00 0.00 13:32:01 lo 36.03 36.03 10.21 10.21 0.00 0.00 0.00 0.00 13:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:32:01 ens3 2.27 0.77 0.51 0.30 0.00 0.00 0.00 0.00 13:33:01 lo 13.90 13.90 4.03 4.03 0.00 0.00 0.00 0.00 13:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:33:01 ens3 2.92 1.67 1.18 0.82 0.00 0.00 0.00 0.00 13:34:01 lo 30.70 30.70 21.59 21.59 0.00 0.00 0.00 0.00 13:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:34:01 ens3 1.00 1.03 0.40 0.34 0.00 0.00 0.00 0.00 13:35:01 lo 11.50 11.50 6.98 6.98 0.00 0.00 0.00 0.00 13:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:35:01 ens3 0.72 0.87 0.14 0.14 0.00 0.00 0.00 0.00 13:36:01 lo 13.46 13.46 5.75 5.75 0.00 0.00 0.00 0.00 13:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:36:01 ens3 0.75 0.75 0.11 0.13 0.00 0.00 0.00 0.00 13:37:01 lo 22.98 22.98 9.97 9.97 0.00 0.00 0.00 0.00 13:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:37:01 ens3 0.60 0.68 0.11 0.11 0.00 0.00 0.00 0.00 13:38:01 lo 15.70 15.70 6.52 6.52 0.00 0.00 0.00 0.00 13:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:38:01 ens3 0.87 0.83 0.24 0.18 0.00 0.00 0.00 0.00 13:39:01 lo 9.55 9.55 4.52 4.52 0.00 0.00 0.00 0.00 13:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:39:01 ens3 0.47 0.35 0.08 0.07 0.00 0.00 0.00 0.00 13:40:01 lo 17.48 17.48 8.48 8.48 0.00 0.00 0.00 0.00 13:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:40:01 ens3 1.02 0.53 0.16 0.10 0.00 0.00 0.00 0.00 13:41:01 lo 20.98 20.98 6.91 6.91 0.00 0.00 0.00 0.00 13:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:41:01 ens3 1.60 0.92 0.69 0.51 0.00 0.00 0.00 0.00 13:42:01 lo 34.81 34.81 13.02 13.02 0.00 0.00 0.00 0.00 13:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:42:01 ens3 0.88 0.75 0.13 0.12 0.00 0.00 0.00 0.00 13:43:01 lo 20.25 20.25 6.46 6.46 0.00 0.00 0.00 0.00 13:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:43:01 ens3 1.08 0.57 0.23 0.17 0.00 0.00 0.00 0.00 13:44:01 lo 53.61 53.61 16.29 16.29 0.00 0.00 0.00 0.00 13:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:44:01 ens3 1.00 0.55 0.40 0.25 0.00 0.00 0.00 0.00 13:45:01 lo 32.96 32.96 9.30 9.30 0.00 0.00 0.00 0.00 13:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:45:01 ens3 0.47 0.33 0.08 0.07 0.00 0.00 0.00 0.00 13:46:01 lo 21.93 21.93 6.57 6.57 0.00 0.00 0.00 0.00 13:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:46:01 ens3 0.85 0.25 0.11 0.04 0.00 0.00 0.00 0.00 13:47:01 lo 36.79 36.79 11.76 11.76 0.00 0.00 0.00 0.00 13:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:47:01 ens3 0.55 0.47 0.27 0.22 0.00 0.00 0.00 0.00 13:48:01 lo 63.76 63.76 19.39 19.39 0.00 0.00 0.00 0.00 13:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:48:01 ens3 0.42 0.30 0.15 0.08 0.00 0.00 0.00 0.00 13:49:01 lo 0.65 0.65 0.06 0.06 0.00 0.00 0.00 0.00 13:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:49:01 ens3 0.23 0.10 0.02 0.02 0.00 0.00 0.00 0.00 13:50:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 13:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:50:01 ens3 0.25 0.10 0.01 0.01 0.00 0.00 0.00 0.00 13:51:01 lo 0.25 0.25 0.02 0.02 0.00 0.00 0.00 0.00 13:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:51:01 ens3 0.50 0.00 0.05 0.00 0.00 0.00 0.00 0.00 13:52:01 lo 2.45 2.45 0.22 0.22 0.00 0.00 0.00 0.00 13:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:52:01 ens3 1.15 1.13 0.36 0.31 0.00 0.00 0.00 0.00 13:53:01 lo 23.48 23.48 22.47 22.47 0.00 0.00 0.00 0.00 13:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:53:01 ens3 0.87 0.73 0.25 0.18 0.00 0.00 0.00 0.00 13:54:01 lo 33.87 33.87 13.73 13.73 0.00 0.00 0.00 0.00 13:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:54:01 ens3 0.72 0.85 0.13 0.13 0.00 0.00 0.00 0.00 13:55:01 lo 19.28 19.28 8.67 8.67 0.00 0.00 0.00 0.00 13:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:55:01 ens3 0.83 0.82 0.14 0.13 0.00 0.00 0.00 0.00 13:56:01 lo 27.71 27.71 11.34 11.34 0.00 0.00 0.00 0.00 13:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:56:01 ens3 1.38 1.23 0.42 0.34 0.00 0.00 0.00 0.00 13:57:01 lo 31.93 31.93 10.68 10.68 0.00 0.00 0.00 0.00 13:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:57:01 ens3 0.42 0.43 0.07 0.07 0.00 0.00 0.00 0.00 13:58:02 lo 18.35 18.35 8.36 8.36 0.00 0.00 0.00 0.00 13:58:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:58:02 ens3 0.98 0.97 0.27 0.20 0.00 0.00 0.00 0.00 13:59:01 lo 21.78 21.78 8.44 8.44 0.00 0.00 0.00 0.00 13:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:59:01 ens3 1.02 0.36 0.14 0.07 0.00 0.00 0.00 0.00 14:00:01 lo 4.97 4.97 2.16 2.16 0.00 0.00 0.00 0.00 14:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:00:01 ens3 1.42 1.10 0.44 0.36 0.00 0.00 0.00 0.00 14:01:01 lo 22.31 22.31 22.36 22.36 0.00 0.00 0.00 0.00 14:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:01:01 ens3 0.62 0.62 0.11 0.10 0.00 0.00 0.00 0.00 14:02:01 lo 33.36 33.36 13.71 13.71 0.00 0.00 0.00 0.00 14:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:02:01 ens3 0.65 0.73 0.11 0.11 0.00 0.00 0.00 0.00 14:03:01 lo 19.51 19.51 9.92 9.92 0.00 0.00 0.00 0.00 14:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:03:01 ens3 0.60 0.68 0.21 0.15 0.00 0.00 0.00 0.00 14:04:01 lo 20.71 20.71 11.22 11.22 0.00 0.00 0.00 0.00 14:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:04:01 ens3 0.83 0.98 0.15 0.15 0.00 0.00 0.00 0.00 14:05:01 lo 12.58 12.58 6.76 6.76 0.00 0.00 0.00 0.00 14:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:05:01 ens3 0.40 0.47 0.07 0.07 0.00 0.00 0.00 0.00 14:06:01 lo 8.53 8.53 5.66 5.66 0.00 0.00 0.00 0.00 14:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:06:01 ens3 0.63 0.65 0.10 0.10 0.00 0.00 0.00 0.00 14:07:01 lo 24.98 24.98 12.05 12.05 0.00 0.00 0.00 0.00 14:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:07:01 ens3 0.60 0.57 0.10 0.09 0.00 0.00 0.00 0.00 14:08:01 lo 10.15 10.15 6.14 6.14 0.00 0.00 0.00 0.00 14:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:08:01 ens3 0.70 0.73 0.22 0.15 0.00 0.00 0.00 0.00 14:09:01 lo 34.36 34.36 12.51 12.51 0.00 0.00 0.00 0.00 14:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:09:01 ens3 0.20 0.22 0.03 0.03 0.00 0.00 0.00 0.00 14:10:01 lo 5.68 5.68 2.66 2.66 0.00 0.00 0.00 0.00 14:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:10:01 ens3 2.45 2.60 0.90 0.79 0.00 0.00 0.00 0.00 14:11:01 lo 12.60 12.60 10.48 10.48 0.00 0.00 0.00 0.00 14:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:11:01 ens3 1.43 1.17 0.49 0.41 0.00 0.00 0.00 0.00 14:12:01 lo 18.38 18.38 5.80 5.80 0.00 0.00 0.00 0.00 14:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:12:01 ens3 1.50 0.87 0.41 0.30 0.00 0.00 0.00 0.00 14:13:01 lo 14.68 14.68 7.78 7.78 0.00 0.00 0.00 0.00 14:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:13:01 ens3 1.08 0.87 0.28 0.20 0.00 0.00 0.00 0.00 14:14:01 lo 17.11 17.11 9.21 9.21 0.00 0.00 0.00 0.00 14:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:14:01 ens3 1.22 1.07 0.23 0.21 0.00 0.00 0.00 0.00 14:15:01 lo 15.33 15.33 6.43 6.43 0.00 0.00 0.00 0.00 14:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:15:01 ens3 1.60 0.98 0.45 0.34 0.00 0.00 0.00 0.00 14:16:01 lo 10.18 10.18 2.32 2.32 0.00 0.00 0.00 0.00 14:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:16:01 ens3 1.00 0.87 0.15 0.14 0.00 0.00 0.00 0.00 14:17:01 lo 37.96 37.96 16.61 16.61 0.00 0.00 0.00 0.00 14:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:17:01 ens3 0.73 0.82 0.15 0.14 0.00 0.00 0.00 0.00 14:18:01 lo 29.28 29.28 7.96 7.96 0.00 0.00 0.00 0.00 14:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:18:01 ens3 2.97 1.05 0.50 0.20 0.00 0.00 0.00 0.00 14:19:01 lo 12.21 12.21 3.52 3.52 0.00 0.00 0.00 0.00 14:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:19:01 ens3 8.60 1.55 1.96 0.92 0.00 0.00 0.00 0.00 14:20:01 lo 47.11 47.11 18.11 18.11 0.00 0.00 0.00 0.00 14:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:20:01 ens3 9.92 10.03 1.89 15.35 0.00 0.00 0.00 0.00 14:21:01 lo 19.61 19.61 5.51 5.51 0.00 0.00 0.00 0.00 14:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:21:01 ens3 3.05 2.22 0.94 3.78 0.00 0.00 0.00 0.00 14:22:01 lo 29.53 29.53 9.48 9.48 0.00 0.00 0.00 0.00 14:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:22:01 ens3 0.77 0.40 0.10 0.07 0.00 0.00 0.00 0.00 14:23:01 lo 23.41 23.41 7.35 7.35 0.00 0.00 0.00 0.00 14:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:23:01 ens3 0.98 0.47 0.23 0.13 0.00 0.00 0.00 0.00 14:24:01 lo 17.01 17.01 4.80 4.80 0.00 0.00 0.00 0.00 14:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:24:01 ens3 0.52 0.10 0.03 0.01 0.00 0.00 0.00 0.00 14:25:01 lo 24.80 24.80 6.71 6.71 0.00 0.00 0.00 0.00 14:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:25:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:26:01 lo 22.68 22.68 6.46 6.46 0.00 0.00 0.00 0.00 14:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:26:01 ens3 0.27 0.15 0.02 0.01 0.00 0.00 0.00 0.00 14:27:01 lo 25.03 25.03 6.74 6.74 0.00 0.00 0.00 0.00 14:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:27:01 ens3 0.23 0.00 0.02 0.00 0.00 0.00 0.00 0.00 14:28:01 lo 1.07 1.07 0.11 0.11 0.00 0.00 0.00 0.00 14:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:28:01 ens3 0.67 0.28 0.17 0.09 0.00 0.00 0.00 0.00 14:29:01 lo 0.35 0.35 0.04 0.04 0.00 0.00 0.00 0.00 14:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:29:01 ens3 0.23 0.02 0.01 0.00 0.00 0.00 0.00 0.00 14:30:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 14:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:30:01 ens3 1.13 0.55 0.56 0.41 0.00 0.00 0.00 0.00 14:31:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 14:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:31:01 ens3 1.90 2.00 0.85 0.71 0.00 0.00 0.00 0.00 14:32:01 lo 40.39 40.39 35.67 35.67 0.00 0.00 0.00 0.00 14:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:32:01 ens3 0.83 0.68 0.14 0.13 0.00 0.00 0.00 0.00 14:33:01 lo 30.24 30.24 11.81 11.81 0.00 0.00 0.00 0.00 14:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:33:01 ens3 1.23 1.07 0.35 0.27 0.00 0.00 0.00 0.00 14:34:01 lo 31.14 31.14 16.77 16.77 0.00 0.00 0.00 0.00 14:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:34:01 ens3 1.17 0.87 0.16 0.14 0.00 0.00 0.00 0.00 14:35:01 lo 14.30 14.30 5.39 5.39 0.00 0.00 0.00 0.00 14:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:35:01 ens3 0.82 0.58 0.15 0.12 0.00 0.00 0.00 0.00 14:36:01 lo 17.91 17.91 7.22 7.22 0.00 0.00 0.00 0.00 14:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:36:01 ens3 1.03 0.65 0.16 0.13 0.00 0.00 0.00 0.00 14:37:01 lo 14.88 14.88 6.23 6.23 0.00 0.00 0.00 0.00 14:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:37:01 ens3 1.78 0.57 0.45 0.26 0.00 0.00 0.00 0.00 14:38:01 lo 16.44 16.44 5.86 5.86 0.00 0.00 0.00 0.00 14:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:38:01 ens3 1.75 0.95 0.62 0.42 0.00 0.00 0.00 0.00 14:39:01 lo 44.18 44.18 15.23 15.23 0.00 0.00 0.00 0.00 14:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:39:01 ens3 1.00 0.72 0.41 0.33 0.00 0.00 0.00 0.00 14:40:01 lo 36.63 36.63 12.09 12.09 0.00 0.00 0.00 0.00 14:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:40:01 ens3 0.92 0.73 0.16 0.14 0.00 0.00 0.00 0.00 14:41:01 lo 0.62 0.62 0.06 0.06 0.00 0.00 0.00 0.00 14:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:41:01 ens3 0.25 0.08 0.02 0.01 0.00 0.00 0.00 0.00 14:42:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 14:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:42:01 ens3 0.55 0.10 0.06 0.01 0.00 0.00 0.00 0.00 14:43:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 14:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:43:01 ens3 0.78 0.42 0.44 0.31 0.00 0.00 0.00 0.00 14:44:01 lo 12.38 12.38 9.50 9.50 0.00 0.00 0.00 0.00 14:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:44:01 ens3 0.87 0.78 0.11 0.11 0.00 0.00 0.00 0.00 14:45:01 lo 35.83 35.83 12.97 12.97 0.00 0.00 0.00 0.00 14:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:45:01 ens3 0.93 0.97 0.17 0.18 0.00 0.00 0.00 0.00 14:46:01 lo 92.27 92.27 32.92 32.92 0.00 0.00 0.00 0.00 14:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:46:01 ens3 0.75 0.73 0.12 0.11 0.00 0.00 0.00 0.00 14:47:01 lo 40.23 40.23 13.04 13.04 0.00 0.00 0.00 0.00 14:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:47:01 ens3 0.52 0.57 0.09 0.09 0.00 0.00 0.00 0.00 14:48:01 lo 37.73 37.73 12.34 12.34 0.00 0.00 0.00 0.00 14:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:48:01 ens3 124.76 99.92 1543.48 12.58 0.00 0.00 0.00 0.00 14:49:01 lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 14:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:49:01 ens3 14.38 16.33 11.87 7.39 0.00 0.00 0.00 0.00 Average: lo 17.85 17.85 7.92 7.92 0.00 0.00 0.00 0.00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 12.09 9.05 155.79 1.58 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 5.4.0-200-generic (prd-ubuntu2004-docker-4c-16g-11126) 11/28/24 _x86_64_ (4 CPU) 12:37:21 LINUX RESTART (4 CPU) 12:38:01 CPU %user %nice %system %iowait %steal %idle 12:39:01 all 16.20 13.20 10.53 3.92 0.10 56.05 12:39:01 0 20.03 12.70 10.70 7.61 0.12 48.84 12:39:01 1 25.45 9.81 8.40 1.83 0.08 54.43 12:39:01 2 8.29 15.20 11.02 2.53 0.08 62.87 12:39:01 3 10.99 15.13 12.01 3.68 0.10 58.09 12:40:01 all 35.19 0.00 3.07 6.99 0.08 54.67 12:40:01 0 38.91 0.00 2.62 8.59 0.08 49.80 12:40:01 1 31.64 0.00 3.18 5.44 0.07 59.66 12:40:01 2 43.20 0.00 3.67 8.99 0.10 44.04 12:40:01 3 27.03 0.00 2.78 4.95 0.08 65.15 12:41:01 all 78.83 0.00 2.98 3.60 0.12 14.47 12:41:01 0 77.59 0.00 2.03 4.87 0.10 15.40 12:41:01 1 82.74 0.00 3.41 2.60 0.13 11.12 12:41:01 2 78.02 0.00 3.16 3.79 0.12 14.91 12:41:01 3 76.96 0.00 3.34 3.13 0.12 16.46 12:42:01 all 51.67 0.00 3.28 9.62 0.08 35.34 12:42:01 0 42.52 0.00 3.01 12.06 0.10 42.32 12:42:01 1 46.30 0.00 3.23 12.87 0.08 37.52 12:42:01 2 74.94 0.00 3.74 7.79 0.08 13.45 12:42:01 3 42.81 0.00 3.16 5.77 0.07 48.19 12:43:01 all 69.18 0.00 4.32 17.08 0.11 9.31 12:43:01 0 70.21 0.00 4.77 13.81 0.12 11.10 12:43:01 1 69.88 0.00 4.09 16.11 0.12 9.81 12:43:01 2 68.97 0.00 3.87 14.91 0.10 12.16 12:43:01 3 67.68 0.00 4.55 23.46 0.10 4.21 12:44:01 all 77.26 0.00 2.63 7.41 0.11 12.60 12:44:01 0 77.83 0.00 2.35 12.28 0.10 7.44 12:44:01 1 75.49 0.00 2.78 5.16 0.10 16.47 12:44:01 2 75.15 0.00 3.23 9.31 0.13 12.17 12:44:01 3 80.56 0.00 2.14 2.88 0.10 14.32 12:45:01 all 27.21 0.00 0.95 0.54 0.09 71.22 12:45:01 0 24.87 0.00 0.92 2.07 0.07 72.06 12:45:01 1 28.62 0.00 1.42 0.03 0.10 69.82 12:45:01 2 27.12 0.00 0.72 0.05 0.08 72.03 12:45:01 3 28.20 0.00 0.75 0.00 0.10 70.94 12:46:01 all 27.21 0.00 0.97 0.66 0.10 71.05 12:46:01 0 26.66 0.00 1.04 1.97 0.10 70.23 12:46:01 1 27.86 0.00 0.77 0.08 0.10 71.19 12:46:01 2 27.53 0.00 1.05 0.12 0.10 71.20 12:46:01 3 26.80 0.00 1.02 0.49 0.12 71.57 12:47:01 all 39.65 0.00 1.26 0.40 0.10 58.59 12:47:01 0 37.78 0.00 1.15 0.03 0.10 60.95 12:47:01 1 40.15 0.00 1.15 0.45 0.10 58.14 12:47:01 2 46.14 0.00 1.12 0.10 0.08 52.55 12:47:01 3 34.52 0.00 1.63 1.01 0.12 62.72 12:48:01 all 68.18 0.00 2.28 0.23 0.11 29.20 12:48:01 0 70.43 0.00 2.25 0.12 0.12 27.09 12:48:01 1 69.57 0.00 2.34 0.22 0.10 27.76 12:48:01 2 66.77 0.00 2.28 0.54 0.12 30.30 12:48:01 3 65.93 0.00 2.23 0.07 0.12 31.65 12:49:01 all 8.53 0.00 0.56 0.20 0.10 90.60 12:49:01 0 10.71 0.00 0.53 0.30 0.08 88.37 12:49:01 1 7.34 0.00 0.48 0.43 0.10 91.64 12:49:01 2 7.49 0.00 0.67 0.05 0.12 91.68 12:49:01 3 8.60 0.00 0.57 0.03 0.10 90.70 12:49:01 CPU %user %nice %system %iowait %steal %idle 12:50:01 all 0.95 0.00 0.23 0.02 0.10 98.70 12:50:01 0 0.35 0.00 0.15 0.03 0.10 99.36 12:50:01 1 0.94 0.00 0.30 0.03 0.08 98.65 12:50:01 2 1.53 0.00 0.17 0.00 0.10 98.21 12:50:01 3 1.00 0.00 0.32 0.00 0.10 98.58 12:51:01 all 1.00 0.00 0.22 0.01 0.08 98.68 12:51:01 0 2.06 0.00 0.16 0.00 0.08 97.69 12:51:01 1 0.50 0.00 0.22 0.03 0.08 99.16 12:51:01 2 0.89 0.00 0.28 0.02 0.08 98.73 12:51:01 3 0.55 0.00 0.23 0.00 0.07 99.15 12:52:01 all 16.80 0.00 0.52 0.03 0.10 82.56 12:52:01 0 17.32 0.00 0.41 0.05 0.10 82.11 12:52:01 1 16.71 0.00 0.53 0.03 0.10 82.63 12:52:01 2 16.10 0.00 0.65 0.02 0.10 83.13 12:52:01 3 17.07 0.00 0.47 0.00 0.10 82.36 12:53:01 all 3.93 0.00 0.38 0.04 0.10 95.55 12:53:01 0 4.06 0.00 0.40 0.02 0.08 95.44 12:53:01 1 4.46 0.00 0.30 0.00 0.10 95.14 12:53:01 2 3.44 0.00 0.40 0.08 0.10 95.97 12:53:01 3 3.75 0.00 0.44 0.05 0.12 95.64 12:54:01 all 0.81 0.00 0.25 0.01 0.09 98.85 12:54:01 0 0.32 0.00 0.23 0.00 0.08 99.37 12:54:01 1 1.85 0.00 0.23 0.00 0.10 97.82 12:54:01 2 0.62 0.00 0.25 0.02 0.08 99.03 12:54:01 3 0.44 0.00 0.27 0.02 0.08 99.20 12:55:01 all 0.81 0.00 0.25 0.02 0.10 98.84 12:55:01 0 0.40 0.00 0.15 0.00 0.08 99.37 12:55:01 1 1.82 0.00 0.41 0.00 0.08 97.68 12:55:01 2 0.55 0.00 0.22 0.03 0.10 99.10 12:55:01 3 0.44 0.00 0.20 0.03 0.12 99.21 12:56:01 all 2.44 0.00 0.30 0.01 0.10 97.15 12:56:01 0 3.16 0.00 0.45 0.00 0.10 96.29 12:56:01 1 2.22 0.00 0.27 0.00 0.10 97.41 12:56:01 2 1.71 0.00 0.23 0.02 0.10 97.94 12:56:01 3 2.68 0.00 0.23 0.03 0.08 96.97 12:57:01 all 69.30 0.00 2.16 0.56 0.11 27.87 12:57:01 0 73.77 0.00 1.88 0.05 0.12 24.19 12:57:01 1 66.40 0.00 1.91 0.03 0.10 31.55 12:57:01 2 70.75 0.00 2.45 0.40 0.12 26.28 12:57:01 3 66.27 0.00 2.40 1.75 0.10 29.48 12:58:01 all 23.62 0.00 0.61 0.24 0.11 75.42 12:58:01 0 23.98 0.00 0.64 0.40 0.10 74.88 12:58:01 1 24.00 0.00 0.42 0.00 0.12 75.46 12:58:01 2 24.96 0.00 0.74 0.00 0.10 74.20 12:58:01 3 21.55 0.00 0.64 0.56 0.12 77.14 12:59:01 all 8.67 0.00 0.27 0.02 0.09 90.94 12:59:01 0 8.22 0.00 0.22 0.00 0.08 91.48 12:59:01 1 9.03 0.00 0.32 0.00 0.08 90.57 12:59:01 2 8.56 0.00 0.27 0.00 0.10 91.08 12:59:01 3 8.89 0.00 0.29 0.07 0.10 90.65 13:00:01 all 2.31 0.00 0.15 0.01 0.10 97.43 13:00:01 0 2.28 0.00 0.20 0.00 0.10 97.42 13:00:01 1 2.40 0.00 0.13 0.02 0.10 97.34 13:00:01 2 2.25 0.00 0.15 0.00 0.08 97.51 13:00:01 3 2.30 0.00 0.12 0.03 0.10 97.45 13:00:01 CPU %user %nice %system %iowait %steal %idle 13:01:01 all 2.47 0.00 0.20 0.01 0.10 97.21 13:01:01 0 2.28 0.00 0.25 0.00 0.12 97.35 13:01:01 1 2.95 0.00 0.20 0.02 0.10 96.73 13:01:01 2 2.68 0.00 0.17 0.00 0.08 97.07 13:01:01 3 1.96 0.00 0.20 0.03 0.10 97.70 13:02:01 all 0.77 0.00 0.12 0.00 0.10 99.01 13:02:01 0 0.35 0.00 0.12 0.00 0.08 99.45 13:02:01 1 0.60 0.00 0.17 0.00 0.10 99.13 13:02:01 2 1.83 0.00 0.07 0.00 0.08 98.02 13:02:01 3 0.28 0.00 0.13 0.02 0.12 99.45 13:03:01 all 0.81 0.00 0.12 0.01 0.08 98.99 13:03:01 0 0.30 0.00 0.07 0.00 0.07 99.56 13:03:01 1 1.91 0.00 0.13 0.02 0.08 97.86 13:03:01 2 0.77 0.00 0.17 0.00 0.08 98.98 13:03:01 3 0.23 0.00 0.10 0.03 0.08 99.55 13:04:01 all 13.02 0.00 0.44 0.37 0.10 86.07 13:04:01 0 13.96 0.00 0.25 0.00 0.10 85.68 13:04:01 1 11.01 0.00 0.52 0.88 0.10 87.49 13:04:01 2 13.65 0.00 0.47 0.15 0.10 85.63 13:04:01 3 13.46 0.00 0.52 0.45 0.10 85.47 13:05:01 all 71.03 0.00 2.15 0.35 0.10 26.38 13:05:01 0 72.07 0.00 2.11 0.38 0.10 25.34 13:05:01 1 71.92 0.00 1.92 0.75 0.10 25.30 13:05:01 2 73.15 0.00 2.10 0.18 0.08 24.49 13:05:01 3 67.00 0.00 2.47 0.07 0.10 30.36 13:06:01 all 15.71 0.00 0.44 0.01 0.10 83.75 13:06:01 0 16.34 0.00 0.53 0.00 0.08 83.04 13:06:01 1 14.91 0.00 0.30 0.03 0.10 84.66 13:06:01 2 15.97 0.00 0.49 0.00 0.12 83.42 13:06:01 3 15.59 0.00 0.45 0.00 0.08 83.88 13:07:01 all 1.74 0.00 0.16 0.01 0.08 98.01 13:07:01 0 1.79 0.00 0.18 0.00 0.08 97.94 13:07:01 1 1.84 0.00 0.18 0.03 0.07 97.87 13:07:01 2 1.88 0.00 0.15 0.00 0.08 97.88 13:07:01 3 1.42 0.00 0.13 0.00 0.08 98.36 13:08:01 all 4.25 0.00 0.21 0.02 0.09 95.43 13:08:01 0 4.34 0.00 0.27 0.02 0.08 95.29 13:08:01 1 4.21 0.00 0.18 0.03 0.10 95.48 13:08:01 2 4.28 0.00 0.20 0.02 0.10 95.40 13:08:01 3 4.17 0.00 0.20 0.00 0.08 95.55 13:09:01 all 30.71 0.00 0.99 0.39 0.11 67.80 13:09:01 0 29.83 0.00 1.14 0.67 0.10 68.26 13:09:01 1 30.15 0.00 1.15 0.88 0.13 67.68 13:09:01 2 30.05 0.00 0.90 0.02 0.10 68.93 13:09:01 3 32.80 0.00 0.75 0.00 0.10 66.35 13:10:01 all 63.00 0.00 1.81 0.28 0.11 34.80 13:10:01 0 62.11 0.00 1.75 0.20 0.12 35.82 13:10:01 1 64.03 0.00 2.15 0.69 0.10 33.04 13:10:01 2 64.64 0.00 1.69 0.22 0.13 33.32 13:10:01 3 61.21 0.00 1.66 0.02 0.10 37.01 13:11:01 all 12.45 0.00 0.39 0.01 0.09 87.06 13:11:01 0 12.09 0.00 0.32 0.02 0.08 87.49 13:11:01 1 11.20 0.00 0.44 0.03 0.10 88.23 13:11:01 2 13.04 0.00 0.42 0.00 0.08 86.46 13:11:01 3 13.47 0.00 0.37 0.00 0.10 86.06 13:11:01 CPU %user %nice %system %iowait %steal %idle 13:12:01 all 45.07 0.00 1.70 0.94 0.10 52.20 13:12:01 0 43.59 0.00 1.89 0.54 0.12 53.87 13:12:01 1 41.59 0.00 1.63 1.66 0.12 55.01 13:12:01 2 41.78 0.00 1.53 1.01 0.08 55.61 13:12:01 3 53.28 0.00 1.74 0.55 0.10 44.33 13:13:01 all 29.79 0.00 0.75 0.32 0.10 69.04 13:13:01 0 31.84 0.00 0.74 0.05 0.08 67.29 13:13:01 1 27.03 0.00 0.80 0.45 0.10 71.61 13:13:01 2 30.06 0.00 0.84 0.77 0.10 68.24 13:13:01 3 30.23 0.00 0.62 0.00 0.10 69.05 13:14:01 all 2.90 0.00 0.23 0.02 0.09 96.76 13:14:01 0 2.83 0.00 0.22 0.00 0.08 96.87 13:14:01 1 3.06 0.00 0.24 0.00 0.10 96.60 13:14:01 2 2.82 0.00 0.23 0.07 0.10 96.78 13:14:01 3 2.88 0.00 0.25 0.00 0.08 96.79 13:15:01 all 30.84 0.00 0.97 0.01 0.10 68.08 13:15:01 0 29.37 0.00 0.77 0.02 0.10 69.74 13:15:01 1 32.42 0.00 1.43 0.00 0.08 66.07 13:15:01 2 32.65 0.00 1.01 0.03 0.12 66.20 13:15:01 3 28.92 0.00 0.67 0.00 0.12 70.29 13:16:01 all 13.21 0.00 0.41 0.33 0.10 85.94 13:16:01 0 13.45 0.00 0.30 0.00 0.12 86.13 13:16:01 1 13.96 0.00 0.33 0.00 0.08 85.62 13:16:01 2 12.86 0.00 0.60 1.34 0.10 85.09 13:16:01 3 12.55 0.00 0.42 0.00 0.12 86.91 13:17:01 all 17.48 0.00 0.86 0.09 0.10 81.48 13:17:01 0 15.66 0.00 0.74 0.12 0.10 83.38 13:17:01 1 18.91 0.00 1.21 0.03 0.08 79.77 13:17:01 2 17.67 0.00 0.69 0.07 0.10 81.47 13:17:01 3 17.69 0.00 0.79 0.13 0.10 81.29 13:18:01 all 24.18 0.00 0.90 0.28 0.10 74.55 13:18:01 0 23.76 0.00 0.99 0.41 0.10 74.73 13:18:01 1 25.68 0.00 0.89 0.03 0.08 73.32 13:18:01 2 23.41 0.00 1.02 0.65 0.10 74.82 13:18:01 3 23.87 0.00 0.70 0.00 0.10 75.33 13:19:01 all 47.80 0.00 1.89 0.49 0.11 49.70 13:19:01 0 44.27 0.00 2.10 0.25 0.10 53.28 13:19:01 1 46.26 0.00 1.94 0.03 0.12 51.64 13:19:01 2 46.72 0.00 1.58 1.63 0.12 49.96 13:19:01 3 53.99 0.00 1.95 0.07 0.12 43.87 13:20:01 all 34.81 0.00 1.40 0.02 0.10 63.67 13:20:01 0 35.78 0.00 1.37 0.00 0.08 62.76 13:20:01 1 34.41 0.00 1.07 0.02 0.10 64.40 13:20:01 2 37.06 0.00 2.01 0.02 0.12 60.79 13:20:01 3 31.98 0.00 1.14 0.03 0.12 66.72 13:21:01 all 49.51 0.00 1.66 0.28 0.09 48.46 13:21:01 0 47.56 0.00 1.49 0.20 0.10 50.65 13:21:01 1 51.16 0.00 1.82 0.05 0.08 46.88 13:21:01 2 52.25 0.00 1.78 0.49 0.08 45.40 13:21:01 3 47.06 0.00 1.56 0.37 0.10 50.91 13:22:01 all 12.34 0.00 0.49 0.26 0.10 86.81 13:22:01 0 12.80 0.00 0.55 0.64 0.10 85.91 13:22:01 1 13.12 0.00 0.47 0.00 0.10 86.31 13:22:01 2 11.87 0.00 0.44 0.00 0.10 87.59 13:22:01 3 11.59 0.00 0.49 0.40 0.10 87.42 13:22:01 CPU %user %nice %system %iowait %steal %idle 13:23:01 all 26.24 0.00 1.04 0.03 0.10 72.60 13:23:01 0 23.26 0.00 0.95 0.07 0.10 75.62 13:23:01 1 27.85 0.00 0.85 0.02 0.10 71.18 13:23:01 2 28.11 0.00 1.16 0.02 0.10 70.61 13:23:01 3 25.74 0.00 1.19 0.03 0.08 72.94 13:24:01 all 30.28 0.00 1.00 0.30 0.10 68.33 13:24:01 0 29.54 0.00 1.10 0.42 0.10 68.84 13:24:01 1 28.63 0.00 0.99 0.13 0.08 70.17 13:24:01 2 31.27 0.00 0.89 0.64 0.10 67.10 13:24:01 3 31.69 0.00 1.00 0.02 0.10 67.19 13:25:01 all 8.27 0.00 0.41 0.28 0.09 90.95 13:25:01 0 8.39 0.00 0.55 0.22 0.08 90.76 13:25:01 1 8.51 0.00 0.35 0.15 0.10 90.89 13:25:01 2 7.86 0.00 0.37 0.74 0.08 90.95 13:25:01 3 8.32 0.00 0.38 0.00 0.08 91.21 13:26:01 all 27.85 0.00 1.12 0.04 0.10 70.90 13:26:01 0 27.05 0.00 1.52 0.05 0.08 71.29 13:26:01 1 29.94 0.00 0.82 0.03 0.10 69.10 13:26:01 2 25.48 0.00 0.90 0.03 0.10 73.48 13:26:01 3 28.91 0.00 1.22 0.05 0.10 69.71 13:27:01 all 45.40 0.00 1.48 0.52 0.10 52.50 13:27:01 0 43.66 0.00 1.64 0.02 0.10 54.59 13:27:01 1 44.60 0.00 1.74 0.77 0.10 52.80 13:27:01 2 47.43 0.00 1.16 0.00 0.08 51.33 13:27:01 3 45.94 0.00 1.37 1.31 0.10 51.28 13:28:01 all 24.48 0.00 0.84 0.03 0.10 74.56 13:28:01 0 26.10 0.00 1.01 0.03 0.08 72.77 13:28:01 1 25.85 0.00 0.72 0.00 0.08 73.35 13:28:01 2 25.09 0.00 0.77 0.02 0.12 74.01 13:28:01 3 20.91 0.00 0.85 0.07 0.10 78.07 13:29:01 all 21.43 0.00 0.81 0.45 0.10 77.21 13:29:01 0 20.71 0.00 0.77 0.38 0.10 78.04 13:29:01 1 20.67 0.00 0.80 0.02 0.10 78.41 13:29:01 2 22.71 0.00 0.65 0.42 0.10 76.12 13:29:01 3 21.64 0.00 1.02 0.97 0.08 76.28 13:30:01 all 38.98 0.00 1.53 0.04 0.10 59.35 13:30:01 0 40.14 0.00 1.29 0.00 0.10 58.47 13:30:01 1 37.51 0.00 1.66 0.03 0.10 60.70 13:30:01 2 37.49 0.00 1.62 0.03 0.10 60.76 13:30:01 3 40.78 0.00 1.54 0.10 0.10 57.48 13:31:01 all 19.65 0.00 0.68 0.27 0.11 79.30 13:31:01 0 20.49 0.00 0.67 0.42 0.10 78.33 13:31:01 1 20.32 0.00 0.65 0.00 0.10 78.93 13:31:01 2 17.97 0.00 0.54 0.00 0.12 81.38 13:31:01 3 19.80 0.00 0.87 0.65 0.12 78.56 13:32:01 all 4.39 0.00 0.35 0.02 0.09 95.15 13:32:01 0 5.39 0.00 0.40 0.00 0.08 94.14 13:32:01 1 4.12 0.00 0.33 0.00 0.08 95.46 13:32:01 2 3.74 0.00 0.28 0.02 0.10 95.86 13:32:01 3 4.29 0.00 0.39 0.07 0.10 95.16 13:33:01 all 34.66 0.00 1.58 0.70 0.11 62.94 13:33:01 0 35.53 0.00 1.79 0.64 0.10 61.94 13:33:01 1 30.20 0.00 1.34 0.05 0.12 68.29 13:33:01 2 37.20 0.00 1.50 0.22 0.12 60.96 13:33:01 3 35.72 0.00 1.70 1.90 0.12 60.55 13:33:01 CPU %user %nice %system %iowait %steal %idle 13:34:01 all 24.65 0.00 0.93 2.47 0.14 71.82 13:34:01 0 22.32 0.00 0.96 0.91 0.25 75.55 13:34:01 1 25.31 0.00 0.79 7.74 0.10 66.06 13:34:01 2 25.78 0.00 0.96 0.67 0.10 72.49 13:34:01 3 25.19 0.00 0.99 0.52 0.10 73.19 13:35:01 all 3.51 0.00 0.29 1.24 0.08 94.88 13:35:01 0 2.91 0.00 0.25 0.34 0.08 96.42 13:35:01 1 3.72 0.00 0.33 4.35 0.08 91.52 13:35:01 2 4.20 0.00 0.23 0.27 0.08 95.22 13:35:01 3 3.22 0.00 0.33 0.00 0.08 96.36 13:36:01 all 2.20 0.00 0.30 0.16 0.06 97.27 13:36:01 0 2.00 0.00 0.37 0.00 0.07 97.57 13:36:01 1 2.09 0.00 0.22 0.55 0.05 97.10 13:36:01 2 2.22 0.00 0.23 0.03 0.07 97.44 13:36:01 3 2.49 0.00 0.38 0.07 0.07 96.99 13:37:01 all 2.57 0.00 0.28 0.11 0.07 96.97 13:37:01 0 2.71 0.00 0.32 0.00 0.08 96.88 13:37:01 1 2.56 0.00 0.28 0.33 0.07 96.76 13:37:01 2 2.50 0.00 0.18 0.12 0.05 97.15 13:37:01 3 2.51 0.00 0.35 0.00 0.07 97.07 13:38:01 all 1.87 0.00 0.31 0.06 0.08 97.68 13:38:01 0 1.79 0.00 0.30 0.00 0.05 97.86 13:38:01 1 1.79 0.00 0.37 0.05 0.08 97.71 13:38:01 2 2.25 0.00 0.23 0.18 0.07 97.27 13:38:01 3 1.64 0.00 0.35 0.02 0.10 97.89 13:39:01 all 1.83 0.00 0.25 0.20 0.09 97.64 13:39:01 0 1.74 0.00 0.18 0.30 0.08 97.69 13:39:01 1 2.14 0.00 0.27 0.00 0.08 97.51 13:39:01 2 1.74 0.00 0.20 0.18 0.07 97.81 13:39:01 3 1.69 0.00 0.35 0.30 0.12 97.55 13:40:01 all 2.34 0.00 0.27 0.07 0.08 97.24 13:40:01 0 2.77 0.00 0.37 0.00 0.08 96.78 13:40:01 1 2.14 0.00 0.33 0.00 0.08 97.45 13:40:01 2 2.29 0.00 0.25 0.17 0.07 97.22 13:40:01 3 2.17 0.00 0.13 0.10 0.07 97.53 13:41:01 all 20.91 0.00 1.13 0.29 0.12 77.55 13:41:01 0 20.23 0.00 1.02 0.05 0.19 78.52 13:41:01 1 22.08 0.00 1.37 0.44 0.08 76.03 13:41:01 2 18.41 0.00 1.01 0.08 0.08 80.41 13:41:01 3 22.91 0.00 1.15 0.59 0.12 75.23 13:42:01 all 34.70 0.00 1.25 0.50 0.11 63.45 13:42:01 0 32.31 0.00 1.24 0.03 0.12 66.29 13:42:01 1 35.85 0.00 1.04 0.42 0.12 62.57 13:42:01 2 35.14 0.00 1.14 0.07 0.08 63.57 13:42:01 3 35.52 0.00 1.56 1.48 0.10 61.34 13:43:01 all 3.17 0.00 0.27 0.08 0.08 96.40 13:43:01 0 2.96 0.00 0.15 0.00 0.05 96.84 13:43:01 1 3.35 0.00 0.32 0.00 0.10 96.23 13:43:01 2 3.23 0.00 0.22 0.17 0.08 96.30 13:43:01 3 3.15 0.00 0.39 0.13 0.10 96.22 13:44:01 all 5.46 0.00 0.39 0.14 0.09 93.93 13:44:01 0 5.04 0.00 0.35 0.00 0.10 94.51 13:44:01 1 5.97 0.00 0.44 0.08 0.08 93.43 13:44:01 2 5.51 0.00 0.37 0.15 0.10 93.87 13:44:01 3 5.34 0.00 0.39 0.32 0.07 93.89 13:44:01 CPU %user %nice %system %iowait %steal %idle 13:45:01 all 3.01 0.00 0.26 0.01 0.08 96.64 13:45:01 0 2.38 0.00 0.28 0.00 0.07 97.27 13:45:01 1 3.84 0.00 0.28 0.02 0.08 95.78 13:45:01 2 3.19 0.00 0.30 0.00 0.08 96.42 13:45:01 3 2.65 0.00 0.18 0.02 0.07 97.08 13:46:01 all 1.79 0.00 0.23 0.03 0.07 97.89 13:46:01 0 1.78 0.00 0.27 0.02 0.07 97.87 13:46:01 1 1.86 0.00 0.27 0.08 0.08 97.70 13:46:01 2 1.73 0.00 0.25 0.00 0.05 97.97 13:46:01 3 1.77 0.00 0.15 0.00 0.07 98.01 13:47:01 all 3.10 0.00 0.25 0.16 0.07 96.42 13:47:01 0 3.05 0.00 0.23 0.23 0.07 96.42 13:47:01 1 2.92 0.00 0.27 0.39 0.07 96.36 13:47:01 2 3.05 0.00 0.22 0.00 0.07 96.66 13:47:01 3 3.39 0.00 0.27 0.00 0.08 96.25 13:48:01 all 4.23 0.00 0.35 0.03 0.08 95.31 13:48:01 0 4.13 0.00 0.44 0.07 0.10 95.26 13:48:01 1 4.75 0.00 0.37 0.03 0.07 94.78 13:48:01 2 4.02 0.00 0.32 0.00 0.07 95.59 13:48:01 3 4.02 0.00 0.28 0.00 0.08 95.61 13:49:01 all 0.40 0.00 0.19 0.06 0.07 99.28 13:49:01 0 0.39 0.00 0.17 0.00 0.08 99.36 13:49:01 1 0.35 0.00 0.29 0.02 0.07 99.28 13:49:01 2 0.39 0.00 0.18 0.23 0.07 99.13 13:49:01 3 0.47 0.00 0.13 0.00 0.07 99.33 13:50:01 all 0.64 0.00 0.15 0.34 0.06 98.81 13:50:01 0 1.79 0.00 0.18 0.00 0.07 97.96 13:50:01 1 0.28 0.00 0.17 0.02 0.07 99.46 13:50:01 2 0.32 0.00 0.13 1.34 0.05 98.16 13:50:01 3 0.17 0.00 0.10 0.00 0.07 99.66 13:51:01 all 0.49 0.00 0.14 0.09 0.07 99.20 13:51:01 0 0.99 0.00 0.23 0.07 0.08 98.63 13:51:01 1 0.47 0.00 0.15 0.00 0.08 99.29 13:51:01 2 0.38 0.00 0.13 0.30 0.07 99.11 13:51:01 3 0.13 0.00 0.03 0.00 0.05 99.78 13:52:01 all 47.60 0.00 1.72 0.05 0.12 50.51 13:52:01 0 48.70 0.00 2.11 0.08 0.12 48.99 13:52:01 1 42.79 0.00 1.70 0.00 0.12 55.39 13:52:01 2 48.69 0.00 1.28 0.12 0.15 49.76 13:52:01 3 50.20 0.00 1.80 0.00 0.10 47.90 13:53:01 all 17.88 0.00 0.71 0.30 0.12 80.99 13:53:01 0 18.06 0.00 0.62 0.07 0.10 81.14 13:53:01 1 18.40 0.00 0.75 0.40 0.13 80.32 13:53:01 2 18.08 0.00 0.90 0.72 0.15 80.14 13:53:01 3 16.98 0.00 0.57 0.00 0.08 82.37 13:54:01 all 8.72 0.00 0.45 0.07 0.09 90.67 13:54:01 0 8.97 0.00 0.55 0.05 0.08 90.34 13:54:01 1 8.35 0.00 0.35 0.00 0.10 91.20 13:54:01 2 8.81 0.00 0.40 0.24 0.08 90.46 13:54:01 3 8.74 0.00 0.48 0.00 0.08 90.69 13:55:01 all 4.18 0.00 0.32 0.03 0.09 95.39 13:55:01 0 4.36 0.00 0.28 0.02 0.07 95.27 13:55:01 1 4.19 0.00 0.40 0.00 0.08 95.32 13:55:01 2 4.29 0.00 0.33 0.08 0.10 95.20 13:55:01 3 3.88 0.00 0.25 0.00 0.10 95.76 13:55:01 CPU %user %nice %system %iowait %steal %idle 13:56:01 all 4.61 0.00 0.37 0.02 0.13 94.86 13:56:01 0 4.59 0.00 0.42 0.03 0.34 94.62 13:56:01 1 4.30 0.00 0.32 0.00 0.07 95.32 13:56:01 2 4.79 0.00 0.43 0.05 0.07 94.66 13:56:01 3 4.77 0.00 0.30 0.00 0.07 94.86 13:57:01 all 3.60 0.00 0.36 0.04 0.07 95.94 13:57:01 0 3.26 0.00 0.45 0.00 0.10 96.18 13:57:01 1 3.44 0.00 0.35 0.00 0.07 96.14 13:57:01 2 3.68 0.00 0.33 0.02 0.07 95.90 13:57:01 3 4.01 0.00 0.28 0.13 0.05 95.52 13:58:02 all 2.06 0.00 0.30 0.07 0.08 97.50 13:58:02 0 2.56 0.00 0.48 0.00 0.07 96.89 13:58:02 1 1.76 0.00 0.25 0.00 0.08 97.91 13:58:02 2 1.96 0.00 0.25 0.05 0.07 97.67 13:58:02 3 1.94 0.00 0.22 0.22 0.10 97.52 13:59:01 all 2.28 0.00 0.31 0.01 0.09 97.30 13:59:01 0 1.99 0.00 0.34 0.02 0.09 97.57 13:59:01 1 2.09 0.00 0.29 0.00 0.10 97.51 13:59:01 2 2.64 0.00 0.32 0.03 0.10 96.91 13:59:01 3 2.41 0.00 0.27 0.00 0.09 97.23 14:00:01 all 37.34 0.00 1.36 0.07 0.10 61.14 14:00:01 0 35.77 0.00 1.51 0.10 0.10 62.52 14:00:01 1 37.64 0.00 1.44 0.07 0.10 60.75 14:00:01 2 39.65 0.00 1.14 0.03 0.10 59.08 14:00:01 3 36.28 0.00 1.36 0.07 0.10 62.19 14:01:01 all 28.67 0.00 0.86 0.26 0.10 70.11 14:01:01 0 29.93 0.00 0.82 0.65 0.10 68.50 14:01:01 1 30.19 0.00 1.00 0.00 0.10 68.71 14:01:01 2 26.38 0.00 0.93 0.38 0.12 72.19 14:01:01 3 28.18 0.00 0.69 0.00 0.10 71.03 14:02:01 all 8.63 0.00 0.37 0.05 0.08 90.87 14:02:01 0 8.80 0.00 0.37 0.10 0.07 90.67 14:02:01 1 8.75 0.00 0.33 0.00 0.07 90.85 14:02:01 2 8.98 0.00 0.32 0.10 0.08 90.52 14:02:01 3 7.99 0.00 0.47 0.02 0.08 91.44 14:03:01 all 4.56 0.00 0.33 0.03 0.08 95.01 14:03:01 0 4.44 0.00 0.44 0.07 0.08 94.97 14:03:01 1 5.11 0.00 0.33 0.00 0.07 94.49 14:03:01 2 3.85 0.00 0.23 0.03 0.08 95.80 14:03:01 3 4.82 0.00 0.33 0.00 0.08 94.76 14:04:01 all 4.09 0.00 0.32 0.01 0.09 95.49 14:04:01 0 3.62 0.00 0.32 0.02 0.08 95.96 14:04:01 1 5.33 0.00 0.28 0.00 0.10 94.29 14:04:01 2 3.41 0.00 0.25 0.03 0.08 96.22 14:04:01 3 3.97 0.00 0.43 0.00 0.10 95.50 14:05:01 all 1.68 0.00 0.27 0.03 0.08 97.94 14:05:01 0 1.34 0.00 0.30 0.07 0.08 98.21 14:05:01 1 1.42 0.00 0.23 0.00 0.07 98.28 14:05:01 2 1.98 0.00 0.34 0.02 0.08 97.59 14:05:01 3 1.98 0.00 0.22 0.03 0.08 97.69 14:06:01 all 1.28 0.00 0.29 0.01 0.08 98.33 14:06:01 0 1.34 0.00 0.37 0.02 0.08 98.19 14:06:01 1 1.24 0.00 0.23 0.00 0.07 98.46 14:06:01 2 1.45 0.00 0.25 0.00 0.10 98.20 14:06:01 3 1.11 0.00 0.32 0.03 0.08 98.46 14:06:01 CPU %user %nice %system %iowait %steal %idle 14:07:01 all 2.77 0.00 0.28 0.02 0.10 96.82 14:07:01 0 2.98 0.00 0.30 0.02 0.10 96.61 14:07:01 1 2.55 0.00 0.30 0.00 0.10 97.05 14:07:01 2 2.76 0.00 0.27 0.00 0.10 96.87 14:07:01 3 2.81 0.00 0.27 0.05 0.10 96.77 14:08:01 all 1.53 0.00 0.28 0.02 0.09 98.08 14:08:01 0 1.53 0.00 0.38 0.02 0.07 98.00 14:08:01 1 1.55 0.00 0.33 0.02 0.10 98.00 14:08:01 2 1.29 0.00 0.24 0.03 0.10 98.34 14:08:01 3 1.73 0.00 0.18 0.02 0.08 97.98 14:09:01 all 2.77 0.00 0.34 0.08 0.08 96.73 14:09:01 0 2.49 0.00 0.33 0.00 0.08 97.09 14:09:01 1 3.12 0.00 0.32 0.00 0.08 96.48 14:09:01 2 2.65 0.00 0.22 0.34 0.08 96.71 14:09:01 3 2.81 0.00 0.47 0.00 0.08 96.64 14:10:01 all 34.48 0.00 1.31 0.27 0.09 63.85 14:10:01 0 41.40 0.00 1.42 0.15 0.08 56.94 14:10:01 1 33.90 0.00 1.36 0.37 0.10 64.28 14:10:01 2 28.81 0.00 1.38 0.57 0.10 69.15 14:10:01 3 33.79 0.00 1.07 0.00 0.07 65.07 14:11:01 all 10.58 0.00 0.48 1.13 0.08 87.73 14:11:01 0 11.27 0.00 0.49 1.04 0.07 87.13 14:11:01 1 9.13 0.00 0.54 0.34 0.08 89.91 14:11:01 2 10.60 0.00 0.50 0.03 0.08 88.78 14:11:01 3 11.32 0.00 0.40 3.12 0.08 85.07 14:12:01 all 56.54 0.00 1.59 0.39 0.11 41.37 14:12:01 0 55.64 0.00 1.56 1.24 0.12 41.44 14:12:01 1 58.88 0.00 1.64 0.20 0.12 39.16 14:12:01 2 58.26 0.00 1.79 0.05 0.10 39.80 14:12:01 3 53.36 0.00 1.35 0.08 0.12 45.10 14:13:01 all 26.01 0.00 0.97 0.35 0.10 72.58 14:13:01 0 25.91 0.00 0.88 1.35 0.08 71.76 14:13:01 1 24.99 0.00 0.99 0.03 0.12 73.87 14:13:01 2 26.05 0.00 0.92 0.00 0.10 72.92 14:13:01 3 27.08 0.00 1.07 0.00 0.10 71.76 14:14:01 all 4.21 0.00 0.36 0.05 0.09 95.29 14:14:01 0 4.43 0.00 0.54 0.17 0.08 94.78 14:14:01 1 4.99 0.00 0.38 0.03 0.08 94.51 14:14:01 2 3.41 0.00 0.28 0.00 0.10 96.21 14:14:01 3 4.00 0.00 0.22 0.00 0.10 95.68 14:15:01 all 37.65 0.00 1.21 0.97 0.11 60.06 14:15:01 0 39.12 0.00 1.32 2.84 0.12 56.60 14:15:01 1 40.29 0.00 1.31 0.25 0.12 58.03 14:15:01 2 36.66 0.00 0.95 0.02 0.10 62.28 14:15:01 3 34.57 0.00 1.27 0.75 0.12 63.29 14:16:01 all 37.47 0.00 1.22 0.04 0.10 61.17 14:16:01 0 35.81 0.00 1.16 0.07 0.10 62.87 14:16:01 1 37.41 0.00 0.92 0.02 0.10 61.55 14:16:01 2 36.92 0.00 1.03 0.02 0.12 61.91 14:16:01 3 39.74 0.00 1.75 0.05 0.10 58.36 14:17:01 all 16.85 0.00 0.63 0.31 0.10 82.11 14:17:01 0 17.52 0.00 0.69 0.82 0.10 80.87 14:17:01 1 16.41 0.00 0.55 0.00 0.13 82.90 14:17:01 2 17.28 0.00 0.62 0.30 0.07 81.73 14:17:01 3 16.20 0.00 0.65 0.13 0.10 82.92 14:17:01 CPU %user %nice %system %iowait %steal %idle 14:18:01 all 3.81 0.00 0.31 0.03 0.08 95.78 14:18:01 0 4.33 0.00 0.44 0.05 0.08 95.10 14:18:01 1 3.64 0.00 0.33 0.02 0.07 95.94 14:18:01 2 3.81 0.00 0.22 0.03 0.08 95.85 14:18:01 3 3.44 0.00 0.27 0.00 0.08 96.21 14:19:01 all 36.79 0.00 1.30 0.03 0.12 61.76 14:19:01 0 38.54 0.00 1.19 0.05 0.13 60.08 14:19:01 1 35.72 0.00 1.49 0.03 0.13 62.62 14:19:01 2 39.12 0.00 1.46 0.02 0.10 59.30 14:19:01 3 33.79 0.00 1.05 0.02 0.10 65.04 14:20:01 all 19.03 0.00 0.62 0.40 0.08 79.88 14:20:01 0 17.81 0.00 0.62 0.99 0.08 80.49 14:20:01 1 19.54 0.00 0.61 0.17 0.08 79.60 14:20:01 2 19.80 0.00 0.72 0.44 0.08 78.96 14:20:01 3 18.96 0.00 0.52 0.00 0.07 80.46 14:21:01 all 2.69 0.00 0.23 0.01 0.10 96.98 14:21:01 0 2.62 0.00 0.20 0.03 0.10 97.05 14:21:01 1 3.42 0.00 0.40 0.00 0.10 96.08 14:21:01 2 2.33 0.00 0.15 0.00 0.10 97.42 14:21:01 3 2.38 0.00 0.17 0.00 0.08 97.37 14:22:01 all 2.96 0.00 0.23 0.02 0.08 96.71 14:22:01 0 3.37 0.00 0.20 0.05 0.07 96.31 14:22:01 1 2.86 0.00 0.29 0.03 0.08 96.74 14:22:01 2 2.92 0.00 0.22 0.00 0.08 96.77 14:22:01 3 2.71 0.00 0.20 0.00 0.08 97.01 14:23:01 all 2.24 0.00 0.18 0.01 0.10 97.47 14:23:01 0 2.05 0.00 0.22 0.02 0.12 97.59 14:23:01 1 2.21 0.00 0.20 0.03 0.10 97.45 14:23:01 2 2.41 0.00 0.17 0.00 0.08 97.34 14:23:01 3 2.28 0.00 0.13 0.00 0.08 97.50 14:24:01 all 1.53 0.00 0.14 0.01 0.09 98.22 14:24:01 0 1.58 0.00 0.13 0.02 0.10 98.17 14:24:01 1 1.51 0.00 0.15 0.03 0.10 98.20 14:24:01 2 1.56 0.00 0.13 0.00 0.10 98.20 14:24:01 3 1.46 0.00 0.15 0.00 0.07 98.32 14:25:01 all 2.41 0.00 0.20 0.02 0.09 97.28 14:25:01 0 1.73 0.00 0.29 0.02 0.08 97.89 14:25:01 1 3.95 0.00 0.15 0.05 0.08 95.77 14:25:01 2 2.10 0.00 0.20 0.00 0.08 97.62 14:25:01 3 1.84 0.00 0.18 0.00 0.10 97.87 14:26:01 all 1.78 0.00 0.18 0.02 0.08 97.94 14:26:01 0 1.55 0.00 0.17 0.03 0.08 98.17 14:26:01 1 1.92 0.00 0.18 0.00 0.08 97.81 14:26:01 2 1.66 0.00 0.17 0.05 0.07 98.05 14:26:01 3 1.98 0.00 0.18 0.00 0.08 97.75 14:27:01 all 1.59 0.00 0.19 0.01 0.08 98.12 14:27:01 0 1.99 0.00 0.22 0.03 0.08 97.68 14:27:01 1 1.51 0.00 0.18 0.00 0.08 98.22 14:27:01 2 1.51 0.00 0.12 0.00 0.08 98.29 14:27:01 3 1.37 0.00 0.23 0.00 0.08 98.31 14:28:01 all 0.30 0.00 0.13 0.01 0.08 99.49 14:28:01 0 0.25 0.00 0.08 0.02 0.07 99.58 14:28:01 1 0.30 0.00 0.10 0.00 0.05 99.55 14:28:01 2 0.23 0.00 0.12 0.03 0.10 99.51 14:28:01 3 0.40 0.00 0.20 0.00 0.08 99.31 14:28:01 CPU %user %nice %system %iowait %steal %idle 14:29:01 all 0.26 0.00 0.10 0.37 0.08 99.19 14:29:01 0 0.34 0.00 0.15 0.79 0.08 98.64 14:29:01 1 0.27 0.00 0.08 0.00 0.08 99.56 14:29:01 2 0.30 0.00 0.12 0.62 0.08 98.87 14:29:01 3 0.13 0.00 0.03 0.05 0.08 99.70 14:30:01 all 0.24 0.00 0.10 0.14 0.08 99.44 14:30:01 0 0.18 0.00 0.08 0.28 0.08 99.36 14:30:01 1 0.24 0.00 0.15 0.00 0.07 99.55 14:30:01 2 0.35 0.00 0.10 0.17 0.08 99.30 14:30:01 3 0.17 0.00 0.07 0.12 0.10 99.55 14:31:01 all 41.18 0.00 1.66 0.93 0.12 56.11 14:31:01 0 37.62 0.00 1.87 1.46 0.12 58.93 14:31:01 1 40.45 0.00 1.71 1.78 0.12 55.94 14:31:01 2 46.20 0.00 1.55 0.37 0.12 51.76 14:31:01 3 40.44 0.00 1.51 0.10 0.12 57.82 14:32:01 all 24.66 0.00 0.89 1.10 0.10 73.25 14:32:01 0 25.55 0.00 0.99 0.00 0.10 73.36 14:32:01 1 26.31 0.00 1.06 0.05 0.10 72.48 14:32:01 2 21.95 0.00 0.84 3.61 0.10 73.50 14:32:01 3 24.80 0.00 0.68 0.76 0.10 73.66 14:33:01 all 4.57 0.00 0.45 0.01 0.09 94.88 14:33:01 0 4.71 0.00 0.38 0.00 0.08 94.82 14:33:01 1 4.83 0.00 0.43 0.00 0.10 94.63 14:33:01 2 4.69 0.00 0.40 0.05 0.10 94.76 14:33:01 3 4.05 0.00 0.57 0.00 0.07 95.32 14:34:01 all 54.46 0.00 1.60 0.39 0.12 43.44 14:34:01 0 56.17 0.00 1.16 0.27 0.12 42.29 14:34:01 1 54.94 0.00 1.51 0.17 0.12 43.27 14:34:01 2 53.05 0.00 1.62 1.07 0.12 44.14 14:34:01 3 53.67 0.00 2.09 0.07 0.12 44.05 14:35:01 all 4.09 0.00 0.25 0.09 0.10 95.48 14:35:01 0 4.53 0.00 0.27 0.00 0.08 95.12 14:35:01 1 3.83 0.00 0.23 0.00 0.10 95.84 14:35:01 2 3.89 0.00 0.30 0.20 0.10 95.51 14:35:01 3 4.10 0.00 0.20 0.15 0.10 95.45 14:36:01 all 2.89 0.00 0.30 0.15 0.09 96.58 14:36:01 0 2.72 0.00 0.32 0.18 0.08 96.70 14:36:01 1 2.64 0.00 0.27 0.00 0.08 97.01 14:36:01 2 2.52 0.00 0.25 0.40 0.10 96.73 14:36:01 3 3.67 0.00 0.37 0.00 0.08 95.88 14:37:01 all 2.02 0.00 0.27 0.23 0.08 97.40 14:37:01 0 2.26 0.00 0.35 0.38 0.10 96.91 14:37:01 1 1.77 0.00 0.23 0.00 0.07 97.93 14:37:01 2 1.80 0.00 0.28 0.53 0.07 97.31 14:37:01 3 2.25 0.00 0.22 0.00 0.10 97.43 14:38:01 all 1.93 0.00 0.26 0.04 0.09 97.68 14:38:01 0 2.35 0.00 0.25 0.10 0.08 97.22 14:38:01 1 1.95 0.00 0.38 0.00 0.10 97.56 14:38:01 2 1.81 0.00 0.20 0.05 0.08 97.85 14:38:01 3 1.62 0.00 0.22 0.00 0.08 98.08 14:39:01 all 4.38 0.00 0.39 0.08 0.09 95.05 14:39:01 0 4.13 0.00 0.47 0.29 0.10 95.02 14:39:01 1 4.79 0.00 0.30 0.00 0.10 94.81 14:39:01 2 4.31 0.00 0.37 0.05 0.08 95.19 14:39:01 3 4.29 0.00 0.43 0.00 0.08 95.19 14:39:01 CPU %user %nice %system %iowait %steal %idle 14:40:01 all 3.34 0.00 0.33 0.03 0.10 96.20 14:40:01 0 2.93 0.00 0.42 0.00 0.12 96.53 14:40:01 1 3.39 0.00 0.32 0.02 0.08 96.20 14:40:01 2 3.18 0.00 0.25 0.10 0.10 96.37 14:40:01 3 3.86 0.00 0.33 0.00 0.10 95.71 14:41:01 all 1.06 0.00 0.26 0.01 0.09 98.58 14:41:01 0 0.53 0.00 0.28 0.00 0.08 99.10 14:41:01 1 0.47 0.00 0.23 0.02 0.08 99.20 14:41:01 2 0.73 0.00 0.25 0.02 0.08 98.91 14:41:01 3 2.50 0.00 0.26 0.00 0.10 97.13 14:42:01 all 0.45 0.00 0.28 0.01 0.07 99.20 14:42:01 0 0.65 0.00 0.47 0.00 0.10 98.78 14:42:01 1 0.49 0.00 0.32 0.02 0.08 99.10 14:42:01 2 0.22 0.00 0.12 0.02 0.03 99.62 14:42:01 3 0.43 0.00 0.20 0.00 0.07 99.30 14:43:01 all 0.49 0.00 0.23 0.01 0.07 99.20 14:43:01 0 0.64 0.00 0.40 0.00 0.10 98.86 14:43:01 1 0.47 0.00 0.12 0.02 0.03 99.37 14:43:01 2 0.40 0.00 0.17 0.03 0.07 99.33 14:43:01 3 0.44 0.00 0.23 0.00 0.08 99.25 14:44:01 all 54.47 0.00 1.54 0.28 0.13 43.58 14:44:01 0 52.48 0.00 1.44 0.50 0.15 45.43 14:44:01 1 52.88 0.00 1.65 0.47 0.12 44.88 14:44:01 2 56.61 0.00 1.52 0.02 0.12 41.73 14:44:01 3 55.89 0.00 1.56 0.13 0.13 42.28 14:45:01 all 11.83 0.00 0.43 0.03 0.10 87.61 14:45:01 0 12.30 0.00 0.45 0.03 0.08 87.14 14:45:01 1 10.63 0.00 0.50 0.10 0.12 88.65 14:45:01 2 12.59 0.00 0.37 0.00 0.08 86.96 14:45:01 3 11.80 0.00 0.40 0.00 0.10 87.70 14:46:01 all 11.23 0.00 0.43 0.03 0.09 88.22 14:46:01 0 10.96 0.00 0.45 0.03 0.08 88.48 14:46:01 1 11.26 0.00 0.40 0.08 0.10 88.16 14:46:01 2 11.82 0.00 0.38 0.02 0.08 87.70 14:46:01 3 10.89 0.00 0.47 0.00 0.08 88.56 14:47:01 all 3.25 0.00 0.30 0.02 0.09 96.33 14:47:01 0 3.28 0.00 0.45 0.03 0.12 96.12 14:47:01 1 3.13 0.00 0.22 0.05 0.07 96.53 14:47:01 2 3.62 0.00 0.25 0.00 0.10 96.03 14:47:01 3 2.99 0.00 0.29 0.00 0.08 96.64 14:48:01 all 19.92 0.00 1.16 0.49 0.10 78.32 14:48:01 0 17.69 0.00 1.11 1.06 0.10 80.04 14:48:01 1 15.65 0.00 1.05 0.20 0.10 83.00 14:48:01 2 20.04 0.00 1.18 0.44 0.10 78.24 14:48:01 3 26.28 0.00 1.32 0.27 0.10 72.03 14:49:01 all 12.99 0.00 0.65 10.30 0.08 75.98 14:49:01 0 20.32 0.00 0.96 30.17 0.08 48.46 14:49:01 1 6.32 0.00 0.54 8.86 0.07 84.22 14:49:01 2 22.22 0.00 0.64 2.22 0.10 74.83 14:49:01 3 3.14 0.00 0.48 0.07 0.05 96.25 Average: all 17.50 0.10 0.82 0.64 0.09 80.84 Average: 0 17.51 0.10 0.83 0.90 0.10 80.57 Average: 1 17.45 0.07 0.81 0.61 0.09 80.96 Average: 2 17.84 0.12 0.81 0.57 0.09 80.57 Average: 3 17.20 0.11 0.82 0.50 0.09 81.27