17:06:46 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/112607 17:06:46 Running as SYSTEM 17:06:46 [EnvInject] - Loading node environment variables. 17:06:46 Building remotely on prd-ubuntu2004-docker-4c-16g-2593 (ubuntu2004-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 17:06:46 [ssh-agent] Looking for ssh-agent implementation... 17:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:06:47 $ ssh-agent 17:06:47 SSH_AUTH_SOCK=/tmp/ssh-lO3WtY1pSSCE/agent.13369 17:06:47 SSH_AGENT_PID=13372 17:06:47 [ssh-agent] Started. 17:06:47 Running ssh-add (command line suppressed) 17:06:47 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_16475399284174332405.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_16475399284174332405.key) 17:06:47 [ssh-agent] Using credentials jenkins (jenkins-ssh) 17:06:47 The recommended git tool is: NONE 17:06:49 using credential jenkins-ssh 17:06:49 Wiping out workspace first. 17:06:49 Cloning the remote Git repository 17:06:49 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 17:06:49 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 17:06:49 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 17:06:49 > git --version # timeout=10 17:06:49 > git --version # 'git version 2.25.1' 17:06:49 using GIT_SSH to set credentials jenkins-ssh 17:06:49 Verifying host key using known hosts file 17:06:49 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. 17:06:49 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:52 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 17:06:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:06:53 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 17:06:53 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 17:06:53 using GIT_SSH to set credentials jenkins-ssh 17:06:53 Verifying host key using known hosts file 17:06:53 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. 17:06:53 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/07/112607/26 # timeout=10 17:06:53 > git rev-parse b28ecb29fb1be1d40bc643518780ca4619db6f9c^{commit} # timeout=10 17:06:53 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 17:06:53 Checking out Revision b28ecb29fb1be1d40bc643518780ca4619db6f9c (refs/changes/07/112607/26) 17:06:53 > git config core.sparsecheckout # timeout=10 17:06:53 > git checkout -f b28ecb29fb1be1d40bc643518780ca4619db6f9c # timeout=10 17:06:56 Commit message: "Fix a few bugs processing Topo" 17:06:56 > git rev-parse FETCH_HEAD^{commit} # timeout=10 17:06:56 > git rev-list --no-walk 2b42feca1b22a64f59069db8f93df24141b81630 # timeout=10 17:06:56 > git remote # timeout=10 17:06:56 > git submodule init # timeout=10 17:06:56 > git submodule sync # timeout=10 17:06:56 > git config --get remote.origin.url # timeout=10 17:06:56 > git submodule init # timeout=10 17:06:56 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 17:06:56 ERROR: No submodules found. 17:06:57 provisioning config files... 17:06:57 copy managed file [npmrc] to file:/home/jenkins/.npmrc 17:06:57 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 17:06:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins11047611603264541043.sh 17:06:57 ---> python-tools-install.sh 17:06:57 Setup pyenv: 17:06:57 * system (set by /opt/pyenv/version) 17:06:57 * 3.8.13 (set by /opt/pyenv/version) 17:06:57 * 3.9.13 (set by /opt/pyenv/version) 17:06:57 * 3.10.13 (set by /opt/pyenv/version) 17:06:57 * 3.11.7 (set by /opt/pyenv/version) 17:07:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GIyL 17:07:02 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 17:07:05 lf-activate-venv(): INFO: Installing: lftools 17:07:34 lf-activate-venv(): INFO: Adding /tmp/venv-GIyL/bin to PATH 17:07:34 Generating Requirements File 17:07:53 Python 3.11.7 17:07:53 pip 24.3.1 from /tmp/venv-GIyL/lib/python3.11/site-packages/pip (python 3.11) 17:07:54 appdirs==1.4.4 17:07:54 argcomplete==3.5.1 17:07:54 aspy.yaml==1.3.0 17:07:54 attrs==24.2.0 17:07:54 autopage==0.5.2 17:07:54 beautifulsoup4==4.12.3 17:07:54 boto3==1.35.50 17:07:54 botocore==1.35.50 17:07:54 bs4==0.0.2 17:07:54 cachetools==5.5.0 17:07:54 certifi==2024.8.30 17:07:54 cffi==1.17.1 17:07:54 cfgv==3.4.0 17:07:54 chardet==5.2.0 17:07:54 charset-normalizer==3.4.0 17:07:54 click==8.1.7 17:07:54 cliff==4.7.0 17:07:54 cmd2==2.5.0 17:07:54 cryptography==3.3.2 17:07:54 debtcollector==3.0.0 17:07:54 decorator==5.1.1 17:07:54 defusedxml==0.7.1 17:07:54 Deprecated==1.2.14 17:07:54 distlib==0.3.9 17:07:54 dnspython==2.7.0 17:07:54 docker==4.2.2 17:07:54 dogpile.cache==1.3.3 17:07:54 durationpy==0.9 17:07:54 email_validator==2.2.0 17:07:54 filelock==3.16.1 17:07:54 future==1.0.0 17:07:54 gitdb==4.0.11 17:07:54 GitPython==3.1.43 17:07:54 google-auth==2.35.0 17:07:54 httplib2==0.22.0 17:07:54 identify==2.6.1 17:07:54 idna==3.10 17:07:54 importlib-resources==1.5.0 17:07:54 iso8601==2.1.0 17:07:54 Jinja2==3.1.4 17:07:54 jmespath==1.0.1 17:07:54 jsonpatch==1.33 17:07:54 jsonpointer==3.0.0 17:07:54 jsonschema==4.23.0 17:07:54 jsonschema-specifications==2024.10.1 17:07:54 keystoneauth1==5.8.0 17:07:54 kubernetes==31.0.0 17:07:54 lftools==0.37.10 17:07:54 lxml==5.3.0 17:07:54 MarkupSafe==3.0.2 17:07:54 msgpack==1.1.0 17:07:54 multi_key_dict==2.0.3 17:07:54 munch==4.0.0 17:07:54 netaddr==1.3.0 17:07:54 netifaces==0.11.0 17:07:54 niet==1.4.2 17:07:54 nodeenv==1.9.1 17:07:54 oauth2client==4.1.3 17:07:54 oauthlib==3.2.2 17:07:54 openstacksdk==4.1.0 17:07:54 os-client-config==2.1.0 17:07:54 os-service-types==1.7.0 17:07:54 osc-lib==3.1.0 17:07:54 oslo.config==9.6.0 17:07:54 oslo.context==5.6.0 17:07:54 oslo.i18n==6.4.0 17:07:54 oslo.log==6.1.2 17:07:54 oslo.serialization==5.5.0 17:07:54 oslo.utils==7.3.0 17:07:54 packaging==24.1 17:07:54 pbr==6.1.0 17:07:54 platformdirs==4.3.6 17:07:54 prettytable==3.11.0 17:07:54 pyasn1==0.6.1 17:07:54 pyasn1_modules==0.4.1 17:07:54 pycparser==2.22 17:07:54 pygerrit2==2.0.15 17:07:54 PyGithub==2.4.0 17:07:54 PyJWT==2.9.0 17:07:54 PyNaCl==1.5.0 17:07:54 pyparsing==2.4.7 17:07:54 pyperclip==1.9.0 17:07:54 pyrsistent==0.20.0 17:07:54 python-cinderclient==9.6.0 17:07:54 python-dateutil==2.9.0.post0 17:07:54 python-heatclient==4.0.0 17:07:54 python-jenkins==1.8.2 17:07:54 python-keystoneclient==5.5.0 17:07:54 python-magnumclient==4.7.0 17:07:54 python-openstackclient==7.2.1 17:07:54 python-swiftclient==4.6.0 17:07:54 PyYAML==6.0.2 17:07:54 referencing==0.35.1 17:07:54 requests==2.32.3 17:07:54 requests-oauthlib==2.0.0 17:07:54 requestsexceptions==1.4.0 17:07:54 rfc3986==2.0.0 17:07:54 rpds-py==0.20.0 17:07:54 rsa==4.9 17:07:54 ruamel.yaml==0.18.6 17:07:54 ruamel.yaml.clib==0.2.12 17:07:54 s3transfer==0.10.3 17:07:54 simplejson==3.19.3 17:07:54 six==1.16.0 17:07:54 smmap==5.0.1 17:07:54 soupsieve==2.6 17:07:54 stevedore==5.3.0 17:07:54 tabulate==0.9.0 17:07:54 toml==0.10.2 17:07:54 tomlkit==0.13.2 17:07:54 tqdm==4.66.6 17:07:54 typing_extensions==4.12.2 17:07:54 tzdata==2024.2 17:07:54 urllib3==1.26.20 17:07:54 virtualenv==20.27.1 17:07:54 wcwidth==0.2.13 17:07:54 websocket-client==1.8.0 17:07:54 wrapt==1.16.0 17:07:54 xdg==6.0.0 17:07:54 xmltodict==0.14.2 17:07:54 yq==3.4.3 17:07:54 [EnvInject] - Injecting environment variables from a build step. 17:07:54 [EnvInject] - Injecting as environment variables the properties content 17:07:54 PYTHON=python3 17:07:54 17:07:54 [EnvInject] - Variables injected successfully. 17:07:54 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins10797243337351273713.sh 17:07:54 ---> tox-install.sh 17:07:54 + source /home/jenkins/lf-env.sh 17:07:54 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:07:54 ++ mktemp -d /tmp/venv-XXXX 17:07:54 + lf_venv=/tmp/venv-4tge 17:07:54 + local venv_file=/tmp/.os_lf_venv 17:07:54 + local python=python3 17:07:54 + local options 17:07:54 + local set_path=true 17:07:54 + local install_args= 17:07:54 ++ 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 17:07:54 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:07:54 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:07:54 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:07:54 + true 17:07:54 + case $1 in 17:07:54 + venv_file=/tmp/.toxenv 17:07:54 + shift 2 17:07:54 + true 17:07:54 + case $1 in 17:07:54 + shift 17:07:54 + break 17:07:54 + case $python in 17:07:54 + local pkg_list= 17:07:54 + [[ -d /opt/pyenv ]] 17:07:54 + echo 'Setup pyenv:' 17:07:54 Setup pyenv: 17:07:54 + export PYENV_ROOT=/opt/pyenv 17:07:54 + PYENV_ROOT=/opt/pyenv 17:07:54 + 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 17:07:54 + 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 17:07:54 + pyenv versions 17:07:54 system 17:07:54 3.8.13 17:07:54 3.9.13 17:07:54 3.10.13 17:07:54 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 17:07:54 + command -v pyenv 17:07:54 ++ pyenv init - --no-rehash 17:07:54 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 17:07:54 for i in ${!paths[@]}; do 17:07:54 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 17:07:54 fi; done; 17:07:54 echo "${paths[*]}"'\'')" 17:07:54 export PATH="/opt/pyenv/shims:${PATH}" 17:07:54 export PYENV_SHELL=bash 17:07:54 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:07:54 pyenv() { 17:07:54 local command 17:07:54 command="${1:-}" 17:07:54 if [ "$#" -gt 0 ]; then 17:07:54 shift 17:07:54 fi 17:07:54 17:07:54 case "$command" in 17:07:54 rehash|shell) 17:07:54 eval "$(pyenv "sh-$command" "$@")" 17:07:54 ;; 17:07:54 *) 17:07:54 command pyenv "$command" "$@" 17:07:54 ;; 17:07:54 esac 17:07:54 }' 17:07:54 +++ bash --norc -ec 'IFS=:; paths=($PATH); 17:07:54 for i in ${!paths[@]}; do 17:07:54 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 17:07:54 fi; done; 17:07:54 echo "${paths[*]}"' 17:07:54 ++ 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 17:07:54 ++ 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 17:07:54 ++ 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 17:07:54 ++ export PYENV_SHELL=bash 17:07:54 ++ PYENV_SHELL=bash 17:07:54 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:07:54 +++ complete -F _pyenv pyenv 17:07:54 ++ lf-pyver python3 17:07:54 ++ local py_version_xy=python3 17:07:54 ++ local py_version_xyz= 17:07:54 ++ pyenv versions 17:07:54 ++ local command 17:07:54 ++ command=versions 17:07:54 ++ '[' 1 -gt 0 ']' 17:07:54 ++ shift 17:07:54 ++ case "$command" in 17:07:54 ++ command pyenv versions 17:07:54 ++ pyenv versions 17:07:54 ++ sed 's/^[ *]* //' 17:07:54 ++ awk '{ print $1 }' 17:07:54 ++ grep -E '^[0-9.]*[0-9]$' 17:07:54 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:07:54 +++ grep '^3' /tmp/.pyenv_versions 17:07:54 +++ sort -V 17:07:54 +++ tail -n 1 17:07:54 ++ py_version_xyz=3.11.7 17:07:54 ++ [[ -z 3.11.7 ]] 17:07:54 ++ echo 3.11.7 17:07:54 ++ return 0 17:07:54 + pyenv local 3.11.7 17:07:54 + local command 17:07:54 + command=local 17:07:54 + '[' 2 -gt 0 ']' 17:07:54 + shift 17:07:54 + case "$command" in 17:07:54 + command pyenv local 3.11.7 17:07:54 + pyenv local 3.11.7 17:07:54 + for arg in "$@" 17:07:54 + case $arg in 17:07:54 + pkg_list+='tox ' 17:07:54 + for arg in "$@" 17:07:54 + case $arg in 17:07:54 + pkg_list+='virtualenv ' 17:07:54 + for arg in "$@" 17:07:54 + case $arg in 17:07:54 + pkg_list+='urllib3~=1.26.15 ' 17:07:54 + [[ -f /tmp/.toxenv ]] 17:07:54 + [[ ! -f /tmp/.toxenv ]] 17:07:54 + [[ -n '' ]] 17:07:54 + python3 -m venv /tmp/venv-4tge 17:07:58 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4tge' 17:07:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4tge 17:07:58 + echo /tmp/venv-4tge 17:07:58 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 17:07:58 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 17:07:58 + /tmp/venv-4tge/bin/python3 -m pip install --upgrade --quiet pip virtualenv 17:08:01 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:08:01 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 17:08:01 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 17:08:01 + /tmp/venv-4tge/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 17:08:03 + type python3 17:08:03 + true 17:08:03 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4tge/bin to PATH' 17:08:03 lf-activate-venv(): INFO: Adding /tmp/venv-4tge/bin to PATH 17:08:03 + PATH=/tmp/venv-4tge/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 17:08:03 + return 0 17:08:03 + python3 --version 17:08:03 Python 3.11.7 17:08:03 + python3 -m pip --version 17:08:03 pip 24.3.1 from /tmp/venv-4tge/lib/python3.11/site-packages/pip (python 3.11) 17:08:03 + python3 -m pip freeze 17:08:03 cachetools==5.5.0 17:08:03 chardet==5.2.0 17:08:03 colorama==0.4.6 17:08:03 distlib==0.3.9 17:08:03 filelock==3.16.1 17:08:03 packaging==24.1 17:08:03 platformdirs==4.3.6 17:08:03 pluggy==1.5.0 17:08:03 pyproject-api==1.8.0 17:08:03 tox==4.23.2 17:08:03 urllib3==1.26.20 17:08:03 virtualenv==20.27.1 17:08:03 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins16943671524106015862.sh 17:08:03 [EnvInject] - Injecting environment variables from a build step. 17:08:03 [EnvInject] - Injecting as environment variables the properties content 17:08:03 PARALLEL=True 17:08:03 17:08:03 [EnvInject] - Variables injected successfully. 17:08:03 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins6936609396974297976.sh 17:08:03 ---> tox-run.sh 17:08:03 + 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 17:08:03 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 17:08:03 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 17:08:03 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 17:08:03 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 17:08:03 + source /home/jenkins/lf-env.sh 17:08:03 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 17:08:03 ++ mktemp -d /tmp/venv-XXXX 17:08:03 + lf_venv=/tmp/venv-Hob8 17:08:03 + local venv_file=/tmp/.os_lf_venv 17:08:03 + local python=python3 17:08:03 + local options 17:08:03 + local set_path=true 17:08:03 + local install_args= 17:08:03 ++ 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 17:08:03 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:08:03 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 17:08:03 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 17:08:03 + true 17:08:03 + case $1 in 17:08:03 + venv_file=/tmp/.toxenv 17:08:03 + shift 2 17:08:03 + true 17:08:03 + case $1 in 17:08:03 + shift 17:08:03 + break 17:08:03 + case $python in 17:08:03 + local pkg_list= 17:08:03 + [[ -d /opt/pyenv ]] 17:08:03 + echo 'Setup pyenv:' 17:08:03 Setup pyenv: 17:08:03 + export PYENV_ROOT=/opt/pyenv 17:08:03 + PYENV_ROOT=/opt/pyenv 17:08:03 + 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 17:08:03 + 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 17:08:03 + pyenv versions 17:08:03 system 17:08:03 3.8.13 17:08:03 3.9.13 17:08:03 3.10.13 17:08:03 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 17:08:03 + command -v pyenv 17:08:03 ++ pyenv init - --no-rehash 17:08:04 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 17:08:04 for i in ${!paths[@]}; do 17:08:04 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 17:08:04 fi; done; 17:08:04 echo "${paths[*]}"'\'')" 17:08:04 export PATH="/opt/pyenv/shims:${PATH}" 17:08:04 export PYENV_SHELL=bash 17:08:04 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 17:08:04 pyenv() { 17:08:04 local command 17:08:04 command="${1:-}" 17:08:04 if [ "$#" -gt 0 ]; then 17:08:04 shift 17:08:04 fi 17:08:04 17:08:04 case "$command" in 17:08:04 rehash|shell) 17:08:04 eval "$(pyenv "sh-$command" "$@")" 17:08:04 ;; 17:08:04 *) 17:08:04 command pyenv "$command" "$@" 17:08:04 ;; 17:08:04 esac 17:08:04 }' 17:08:04 +++ bash --norc -ec 'IFS=:; paths=($PATH); 17:08:04 for i in ${!paths[@]}; do 17:08:04 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 17:08:04 fi; done; 17:08:04 echo "${paths[*]}"' 17:08:04 ++ 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 17:08:04 ++ 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 17:08:04 ++ 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 17:08:04 ++ export PYENV_SHELL=bash 17:08:04 ++ PYENV_SHELL=bash 17:08:04 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 17:08:04 +++ complete -F _pyenv pyenv 17:08:04 ++ lf-pyver python3 17:08:04 ++ local py_version_xy=python3 17:08:04 ++ local py_version_xyz= 17:08:04 ++ pyenv versions 17:08:04 ++ local command 17:08:04 ++ command=versions 17:08:04 ++ '[' 1 -gt 0 ']' 17:08:04 ++ shift 17:08:04 ++ case "$command" in 17:08:04 ++ command pyenv versions 17:08:04 ++ pyenv versions 17:08:04 ++ sed 's/^[ *]* //' 17:08:04 ++ awk '{ print $1 }' 17:08:04 ++ grep -E '^[0-9.]*[0-9]$' 17:08:04 ++ [[ ! -s /tmp/.pyenv_versions ]] 17:08:04 +++ grep '^3' /tmp/.pyenv_versions 17:08:04 +++ sort -V 17:08:04 +++ tail -n 1 17:08:04 ++ py_version_xyz=3.11.7 17:08:04 ++ [[ -z 3.11.7 ]] 17:08:04 ++ echo 3.11.7 17:08:04 ++ return 0 17:08:04 + pyenv local 3.11.7 17:08:04 + local command 17:08:04 + command=local 17:08:04 + '[' 2 -gt 0 ']' 17:08:04 + shift 17:08:04 + case "$command" in 17:08:04 + command pyenv local 3.11.7 17:08:04 + pyenv local 3.11.7 17:08:04 + for arg in "$@" 17:08:04 + case $arg in 17:08:04 + pkg_list+='tox ' 17:08:04 + for arg in "$@" 17:08:04 + case $arg in 17:08:04 + pkg_list+='virtualenv ' 17:08:04 + for arg in "$@" 17:08:04 + case $arg in 17:08:04 + pkg_list+='urllib3~=1.26.15 ' 17:08:04 + [[ -f /tmp/.toxenv ]] 17:08:04 ++ cat /tmp/.toxenv 17:08:04 + lf_venv=/tmp/venv-4tge 17:08:04 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4tge from' file:/tmp/.toxenv 17:08:04 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-4tge from file:/tmp/.toxenv 17:08:04 + /tmp/venv-4tge/bin/python3 -m pip install --upgrade --quiet pip virtualenv 17:08:04 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 17:08:04 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 17:08:04 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 17:08:04 + /tmp/venv-4tge/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 17:08:06 + type python3 17:08:06 + true 17:08:06 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-4tge/bin to PATH' 17:08:06 lf-activate-venv(): INFO: Adding /tmp/venv-4tge/bin to PATH 17:08:06 + PATH=/tmp/venv-4tge/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 17:08:06 + return 0 17:08:06 + [[ -d /opt/pyenv ]] 17:08:06 + echo '---> Setting up pyenv' 17:08:06 ---> Setting up pyenv 17:08:06 + export PYENV_ROOT=/opt/pyenv 17:08:06 + PYENV_ROOT=/opt/pyenv 17:08:06 + export PATH=/opt/pyenv/bin:/tmp/venv-4tge/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 17:08:06 + PATH=/opt/pyenv/bin:/tmp/venv-4tge/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 17:08:06 ++ pwd 17:08:06 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 17:08:06 + export PYTHONPATH 17:08:06 + export TOX_TESTENV_PASSENV=PYTHONPATH 17:08:06 + TOX_TESTENV_PASSENV=PYTHONPATH 17:08:06 + tox --version 17:08:06 4.23.2 from /tmp/venv-4tge/lib/python3.11/site-packages/tox/__init__.py 17:08:07 + PARALLEL=True 17:08:07 + TOX_OPTIONS_LIST= 17:08:07 + [[ -n '' ]] 17:08:07 + case ${PARALLEL,,} in 17:08:07 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 17:08:07 + tox --parallel auto --parallel-live 17:08:07 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 17:08:08 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 17:08:08 docs: install_deps> python -I -m pip install -r docs/requirements.txt 17:08:08 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 17:08:08 checkbashisms: freeze> python -m pip freeze --all 17:08:09 checkbashisms: pip==24.3.1,setuptools==75.2.0,wheel==0.44.0 17:08:09 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 17:08:09 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)' 17:08:09 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 17:08:10 script ./reflectwarn.sh does not appear to have a #! interpreter line; 17:08:10 you may get strange results 17:08:10 checkbashisms: OK ✔ in 2.9 seconds 17:08:10 pre-commit: install_deps> python -I -m pip install pre-commit 17:08:12 pre-commit: freeze> python -m pip freeze --all 17:08:13 pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.16.1,identify==2.6.1,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.0.1,PyYAML==6.0.2,setuptools==75.2.0,virtualenv==20.27.1,wheel==0.44.0 17:08:13 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 17:08:13 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)' 17:08:13 /usr/bin/cpan 17:08:13 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 17:08:13 [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. 17:08:13 [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. 17:08:13 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 17:08:13 [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. 17:08:13 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 17:08:14 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 17:08:14 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 17:08:14 buildcontroller: freeze> python -m pip freeze --all 17:08:14 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. 17:08:15 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 17:08:15 buildcontroller: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:08:15 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 17:08:15 + update-java-alternatives -l 17:08:15 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 17:08:15 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 17:08:15 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 17:08:15 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 17:08:15 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 17:08:15 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 17:08:15 + java -version 17:08:15 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 17:08:15 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 17:08:15 [INFO] Once installed this environment will be reused. 17:08:15 [INFO] This may take a few minutes... 17:08:15 + JAVA_VER=21 17:08:15 + echo 21 17:08:15 21 17:08:15 + + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 17:08:15 javac -version 17:08:16 + JAVAC_VER=21 17:08:16 + echo 21 17:08:16 21 17:08:16 ok, java is 21 or newer 17:08:16 + [ 21 -ge 21 ] 17:08:16 + [ 21 -ge 21 ] 17:08:16 + echo ok, java is 21 or newer 17:08:16 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz -P /tmp 17:08:16 2024-10-29 17:08:16 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] 17:08:16 + sudo mkdir -p /opt 17:08:16 + sudo tar xf /tmp/apache-maven-3.9.8-bin.tar.gz -C /opt 17:08:16 + sudo ln -s /opt/apache-maven-3.9.8 /opt/maven 17:08:16 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 17:08:16 + mvn --version 17:08:17 Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) 17:08:17 Maven home: /opt/maven 17:08:17 Java version: 21.0.4, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 17:08:17 Default locale: en, platform encoding: UTF-8 17:08:17 OS name: "linux", version: "5.4.0-190-generic", arch: "amd64", family: "unix" 17:08:18 NOTE: Picked up JDK_JAVA_OPTIONS: 17:08:18 --add-opens=java.base/java.io=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.lang=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.net=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.nio=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.nio.file=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.util=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.util.jar=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.util.stream=ALL-UNNAMED 17:08:18 --add-opens=java.base/java.util.zip=ALL-UNNAMED 17:08:18 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 17:08:18 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 17:08:18 -Xlog:disable 17:08:20 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 17:08:20 [INFO] Once installed this environment will be reused. 17:08:20 [INFO] This may take a few minutes... 17:08:27 [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. 17:08:27 [INFO] Once installed this environment will be reused. 17:08:27 [INFO] This may take a few minutes... 17:08:30 [INFO] Installing environment for https://github.com/perltidy/perltidy. 17:08:30 [INFO] Once installed this environment will be reused. 17:08:30 [INFO] This may take a few minutes... 17:08:39 docs: freeze> python -m pip freeze --all 17:08:39 docs-linkcheck: freeze> python -m pip freeze --all 17:08:40 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.0,cycler==0.12.1,docutils==0.21.2,fonttools==4.54.1,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.2,nwdiag==3.0.0,packaging==24.1,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.2.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.1,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.8.0,wheel==0.44.0 17:08:40 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 17:08:40 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.0,cycler==0.12.1,docutils==0.21.2,fonttools==4.54.1,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.2,nwdiag==3.0.0,packaging==24.1,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.2.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.1,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.8.0,wheel==0.44.0 17:08:40 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 17:08:42 trim trailing whitespace.................................................Passed 17:08:42 Tabs remover.............................................................Passed 17:08:42 autopep8.................................................................docs: OK ✔ in 35.28 seconds 17:08:42 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 17:08:46 Passed 17:08:47 perltidy.................................................................Passed 17:08:47 docs-linkcheck: OK ✔ in 36.68 seconds 17:08:47 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 17:08:48 [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. 17:08:48 [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. 17:08:48 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 17:08:48 [INFO] Once installed this environment will be reused. 17:08:48 [INFO] This may take a few minutes... 17:08:48 pylint: freeze> python -m pip freeze --all 17:08:48 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.2.0,tomlkit==0.13.2,wheel==0.44.0 17:08:48 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}$' '{}' + 17:08:54 gitlint..................................................................Passed 17:09:07 17:09:07 ------------------------------------ 17:09:07 Your code has been rated at 10.00/10 17:09:07 17:09:51 pre-commit: OK ✔ in 44.68 seconds 17:09:51 pylint: OK ✔ in 26.35 seconds 17:09:51 buildcontroller: OK ✔ in 1 minute 43.63 seconds 17:09:51 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 17:09:51 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 17:09:51 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 17:09:51 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 17:09:57 build_karaf_tests221: freeze> python -m pip freeze --all 17:09:58 sims: freeze> python -m pip freeze --all 17:09:58 build_karaf_tests121: freeze> python -m pip freeze --all 17:09:58 build_karaf_tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:09:58 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 17:09:58 NOTE: Picked up JDK_JAVA_OPTIONS: 17:09:58 --add-opens=java.base/java.io=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.net=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio.file=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.jar=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.stream=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.zip=ALL-UNNAMED 17:09:58 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 17:09:58 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 17:09:58 -Xlog:disable 17:09:58 sims: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:09:58 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 17:09:58 Using lighynode version 20.1.0.2 17:09:58 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 17:09:58 build_karaf_tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:09:58 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 17:09:58 NOTE: Picked up JDK_JAVA_OPTIONS: 17:09:58 --add-opens=java.base/java.io=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.net=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.nio.file=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.jar=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.stream=ALL-UNNAMED 17:09:58 --add-opens=java.base/java.util.zip=ALL-UNNAMED 17:09:58 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 17:09:58 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 17:09:58 -Xlog:disable 17:10:01 sims: OK ✔ in 10.66 seconds 17:10:01 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 17:10:17 build_karaf_tests71: freeze> python -m pip freeze --all 17:10:18 build_karaf_tests71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:10:18 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 17:10:18 NOTE: Picked up JDK_JAVA_OPTIONS: 17:10:18 --add-opens=java.base/java.io=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.lang=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.net=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.nio=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.nio.file=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.util=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.util.jar=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.util.stream=ALL-UNNAMED 17:10:18 --add-opens=java.base/java.util.zip=ALL-UNNAMED 17:10:18 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 17:10:18 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 17:10:18 -Xlog:disable 17:10:46 build_karaf_tests221: OK ✔ in 55.01 seconds 17:10:46 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 17:10:48 build_karaf_tests121: OK ✔ in 56.81 seconds 17:10:48 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 17:10:52 build_karaf_tests_hybrid: freeze> python -m pip freeze --all 17:10:53 build_karaf_tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:10:53 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 17:10:53 NOTE: Picked up JDK_JAVA_OPTIONS: 17:10:53 --add-opens=java.base/java.io=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.lang=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.net=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.nio=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.nio.file=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.util=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.util.jar=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.util.stream=ALL-UNNAMED 17:10:53 --add-opens=java.base/java.util.zip=ALL-UNNAMED 17:10:53 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 17:10:53 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 17:10:53 -Xlog:disable 17:10:54 tests_tapi: freeze> python -m pip freeze --all 17:10:54 tests_tapi: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:10:54 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 17:10:54 using environment variables from ./karaf221.env 17:10:54 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 17:11:39 build_karaf_tests71: OK ✔ in 1 minute 12.31 seconds 17:11:39 testsPCE: freeze> python -m pip freeze --all 17:11:40 testsPCE: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,click==8.1.7,contourpy==1.3.0,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.54.1,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.1,networkx==2.8.8,numpy==1.26.4,packaging==24.1,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.44.0,xlrd==1.2.0 17:11:40 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 17:11:40 pytest -q transportpce_tests/pce/test01_pce.py 17:12:31 .................................................. [100%] 17:13:34 20 passed in 114.64s (0:01:54) 17:13:35 pytest -q transportpce_tests/pce/test02_pce_400G.py 17:13:51 ............. [100%] 17:14:14 9 passed in 38.87s 17:14:14 pytest -q transportpce_tests/pce/test03_gnpy.py 17:14:14 ............ [100%] 17:14:53 8 passed in 38.87s 17:14:53 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 17:14:57 .............. [100%] 17:15:29 3 passed in 36.37s 17:15:30 build_karaf_tests_hybrid: OK ✔ in 1 minute 7.08 seconds 17:15:30 testsPCE: OK ✔ in 5 minutes 39.04 seconds 17:15:30 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 17:15:36 tests121: freeze> python -m pip freeze --all 17:15:36 tests121: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:15:36 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 17:15:36 using environment variables from ./karaf121.env 17:15:36 pytest -q transportpce_tests/1.2.1/test01_portmapping.py 17:17:57 . [100%] 17:18:01 50 passed in 427.02s (0:07:07) 17:18:01 pytest -q transportpce_tests/tapi/test02_full_topology.py 17:19:05 ..FFF.FF.........F........................F [100%] 17:22:33 =================================== FAILURES =================================== 17:22:33 _____________ TransportPCEtesting.test_12_check_openroadm_topology _____________ 17:22:33 17:22:33 self = 17:22:33 17:22:33 def test_12_check_openroadm_topology(self): 17:22:33 response = test_utils.get_ietf_network_request('openroadm-topology', 'config') 17:22:33 self.assertEqual(response['status_code'], requests.codes.ok) 17:22:33 > self.assertEqual(len(response['network'][0]['node']), 13, 'There should be 13 openroadm nodes') 17:22:33 E AssertionError: 14 != 13 : There should be 13 openroadm nodes 17:22:33 17:22:33 transportpce_tests/tapi/test02_full_topology.py:272: AssertionError 17:22:33 =========================== short test summary info ============================ 17:22:33 FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_12_check_openroadm_topology 17:22:33 1 failed, 29 passed in 271.24s (0:04:31) 17:22:33 tests_tapi: exit 1 (698.72 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=30649 17:22:33 Ftests_tapi: FAIL ✖ in 11 minutes 45.65 seconds 17:22:33 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 17:22:34 FFFFFtests71: freeze> python -m pip freeze --all 17:22:39 tests71: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:22:39 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 17:22:39 using environment variables from ./karaf71.env 17:22:39 pytest -q transportpce_tests/7.1/test01_portmapping.py 17:22:40 FF [100%] 17:22:43 =================================== FAILURES =================================== 17:22:43 _________ TransportPCEPortMappingTesting.test_02_rdm_device_connected __________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_02_rdm_device_connected(self): 17:22:43 response = test_utils.check_device_connection("ROADMA01") 17:22:43 > self.assertEqual(response['status_code'], requests.codes.ok) 17:22:43 E AssertionError: 409 != 200 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:54: AssertionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_02_rdm_device_connected 17:22:43 _________ TransportPCEPortMappingTesting.test_03_rdm_portmapping_info __________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_03_rdm_portmapping_info(self): 17:22:43 response = test_utils.get_portmapping_node_attr("ROADMA01", "node-info", None) 17:22:43 > self.assertEqual(response['status_code'], requests.codes.ok) 17:22:43 E AssertionError: 409 != 200 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:60: AssertionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_03_rdm_portmapping_info 17:22:43 _____ TransportPCEPortMappingTesting.test_04_rdm_portmapping_DEG1_TTP_TXRX _____ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_04_rdm_portmapping_DEG1_TTP_TXRX(self): 17:22:43 response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "DEG1-TTP-TXRX") 17:22:43 > self.assertEqual(response['status_code'], requests.codes.ok) 17:22:43 E AssertionError: 409 != 200 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:73: AssertionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_04_rdm_portmapping_DEG1_TTP_TXRX 17:22:43 _____ TransportPCEPortMappingTesting.test_05_rdm_portmapping_SRG1_PP7_TXRX _____ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_05_rdm_portmapping_SRG1_PP7_TXRX(self): 17:22:43 response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "SRG1-PP7-TXRX") 17:22:43 > self.assertEqual(response['status_code'], requests.codes.ok) 17:22:43 E AssertionError: 409 != 200 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:82: AssertionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_05_rdm_portmapping_SRG1_PP7_TXRX 17:22:43 _____ TransportPCEPortMappingTesting.test_06_rdm_portmapping_SRG3_PP1_TXRX _____ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_06_rdm_portmapping_SRG3_PP1_TXRX(self): 17:22:43 response = test_utils.get_portmapping_node_attr("ROADMA01", "mapping", "SRG3-PP1-TXRX") 17:22:43 > self.assertEqual(response['status_code'], requests.codes.ok) 17:22:43 E AssertionError: 409 != 200 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:91: AssertionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_06_rdm_portmapping_SRG3_PP1_TXRX 17:22:43 _______ TransportPCEPortMappingTesting.test_13_xpdr_portmapping_CLIENT2 ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT2' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT2', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT2' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT2 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_13_xpdr_portmapping_CLIENT2(self): 17:22:43 > response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT2") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:158: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:470: in get_portmapping_node_attr 17:22:43 response = get_request(target_url) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT2 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_13_xpdr_portmapping_CLIENT2 17:22:43 _______ TransportPCEPortMappingTesting.test_14_xpdr_portmapping_CLIENT3 ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT3' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT3', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT3' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT3 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_14_xpdr_portmapping_CLIENT3(self): 17:22:43 > response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT3") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:169: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:470: in get_portmapping_node_attr 17:22:43 response = get_request(target_url) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT3 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_14_xpdr_portmapping_CLIENT3 17:22:43 _______ TransportPCEPortMappingTesting.test_15_xpdr_portmapping_CLIENT4 ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT4' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT4', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT4' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT4 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_15_xpdr_portmapping_CLIENT4(self): 17:22:43 > response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT4") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:181: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:470: in get_portmapping_node_attr 17:22:43 response = get_request(target_url) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/mapping=XPDR1-CLIENT4 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_15_xpdr_portmapping_CLIENT4 17:22:43 _______ TransportPCEPortMappingTesting.test_16_xpdr_device_disconnection _______ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'DELETE' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'DELETE' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_16_xpdr_device_disconnection(self): 17:22:43 > response = test_utils.unmount_device("XPDRA01") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:192: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:358: in unmount_device 17:22:43 response = delete_request(url[RESTCONF_VERSION].format('{}', node)) 17:22:43 transportpce_tests/common/test_utils.py:133: in delete_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_16_xpdr_device_disconnection 17:22:43 _______ TransportPCEPortMappingTesting.test_17_xpdr_device_disconnected ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01?content=nonconfig' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01', query='content=nonconfig', fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01?content=nonconfig' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_17_xpdr_device_disconnected(self): 17:22:43 > response = test_utils.check_device_connection("XPDRA01") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:196: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:369: in check_device_connection 17:22:43 response = get_request(url[RESTCONF_VERSION].format('{}', node)) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDRA01?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_17_xpdr_device_disconnected 17:22:43 _______ TransportPCEPortMappingTesting.test_18_xpdr_device_not_connected _______ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/node-info' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDRA01/node-info', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=XPDRA01/node-info' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_18_xpdr_device_not_connected(self): 17:22:43 > response = test_utils.get_portmapping_node_attr("XPDRA01", "node-info", None) 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:204: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:470: in get_portmapping_node_attr 17:22:43 response = get_request(target_url) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDRA01/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_18_xpdr_device_not_connected 17:22:43 _______ TransportPCEPortMappingTesting.test_19_rdm_device_disconnection ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'DELETE' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'DELETE' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_19_rdm_device_disconnection(self): 17:22:43 > response = test_utils.unmount_device("ROADMA01") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:212: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:358: in unmount_device 17:22:43 response = delete_request(url[RESTCONF_VERSION].format('{}', node)) 17:22:43 transportpce_tests/common/test_utils.py:133: in delete_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_19_rdm_device_disconnection 17:22:43 ________ TransportPCEPortMappingTesting.test_20_rdm_device_disconnected ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01?content=nonconfig' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01', query='content=nonconfig', fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:43 If ``True``, will make sure that the host of the pool requests is 17:22:43 consistent else will raise HostChangedError. When ``False``, you can 17:22:43 use the pool on an HTTP proxy and request foreign hosts. 17:22:43 17:22:43 :param timeout: 17:22:43 If specified, overrides the default timeout for this one 17:22:43 request. It may be a float (in seconds) or an instance of 17:22:43 :class:`urllib3.util.Timeout`. 17:22:43 17:22:43 :param pool_timeout: 17:22:43 If set and the pool is set to block=True, then this method will 17:22:43 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:43 connection is available within the time period. 17:22:43 17:22:43 :param bool preload_content: 17:22:43 If True, the response's body will be preloaded into memory. 17:22:43 17:22:43 :param bool decode_content: 17:22:43 If True, will attempt to decode the body based on the 17:22:43 'content-encoding' header. 17:22:43 17:22:43 :param release_conn: 17:22:43 If False, then the urlopen call will not release the connection 17:22:43 back into the pool once a response is received (but will release if 17:22:43 you read the entire contents of the response such as when 17:22:43 `preload_content=True`). This is useful if you're not preloading 17:22:43 the response's content immediately. You will need to call 17:22:43 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:43 back into the pool. If None, it takes the value of ``preload_content`` 17:22:43 which defaults to ``True``. 17:22:43 17:22:43 :param bool chunked: 17:22:43 If True, urllib3 will send the body using chunked transfer 17:22:43 encoding. Otherwise, urllib3 will send the body using the standard 17:22:43 content-length form. Defaults to False. 17:22:43 17:22:43 :param int body_pos: 17:22:43 Position to seek to in file-like body in the event of a retry or 17:22:43 redirect. Typically this won't need to be set because urllib3 will 17:22:43 auto-populate the value when needed. 17:22:43 """ 17:22:43 parsed_url = parse_url(url) 17:22:43 destination_scheme = parsed_url.scheme 17:22:43 17:22:43 if headers is None: 17:22:43 headers = self.headers 17:22:43 17:22:43 if not isinstance(retries, Retry): 17:22:43 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:43 17:22:43 if release_conn is None: 17:22:43 release_conn = preload_content 17:22:43 17:22:43 # Check host 17:22:43 if assert_same_host and not self.is_same_host(url): 17:22:43 raise HostChangedError(self, url, retries) 17:22:43 17:22:43 # Ensure that the URL we're connecting to is properly encoded 17:22:43 if url.startswith("/"): 17:22:43 url = to_str(_encode_target(url)) 17:22:43 else: 17:22:43 url = to_str(parsed_url.url) 17:22:43 17:22:43 conn = None 17:22:43 17:22:43 # Track whether `conn` needs to be released before 17:22:43 # returning/raising/recursing. Update this variable if necessary, and 17:22:43 # leave `release_conn` constant throughout the function. That way, if 17:22:43 # the function recurses, the original value of `release_conn` will be 17:22:43 # passed down into the recursive call, and its value will be respected. 17:22:43 # 17:22:43 # See issue #651 [1] for details. 17:22:43 # 17:22:43 # [1] 17:22:43 release_this_conn = release_conn 17:22:43 17:22:43 http_tunnel_required = connection_requires_http_tunnel( 17:22:43 self.proxy, self.proxy_config, destination_scheme 17:22:43 ) 17:22:43 17:22:43 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:43 # have to copy the headers dict so we can safely change it without those 17:22:43 # changes being reflected in anyone else's copy. 17:22:43 if not http_tunnel_required: 17:22:43 headers = headers.copy() # type: ignore[attr-defined] 17:22:43 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:43 17:22:43 # Must keep the exception bound to a separate variable or else Python 3 17:22:43 # complains about UnboundLocalError. 17:22:43 err = None 17:22:43 17:22:43 # Keep track of whether we cleanly exited the except block. This 17:22:43 # ensures we do proper cleanup in finally. 17:22:43 clean_exit = False 17:22:43 17:22:43 # Rewind body position, if needed. Record current position 17:22:43 # for future rewinds in the event of a redirect/retry. 17:22:43 body_pos = set_file_position(body, body_pos) 17:22:43 17:22:43 try: 17:22:43 # Request a connection from the queue. 17:22:43 timeout_obj = self._get_timeout(timeout) 17:22:43 conn = self._get_conn(timeout=pool_timeout) 17:22:43 17:22:43 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:43 17:22:43 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:43 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:43 try: 17:22:43 self._prepare_proxy(conn) 17:22:43 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:43 self._raise_timeout( 17:22:43 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:43 ) 17:22:43 raise 17:22:43 17:22:43 # If we're going to release the connection in ``finally:``, then 17:22:43 # the response doesn't need to know about the connection. Otherwise 17:22:43 # it will also try to release it and we'll have a double-release 17:22:43 # mess. 17:22:43 response_conn = conn if not release_conn else None 17:22:43 17:22:43 # Make the request on the HTTPConnection object 17:22:43 > response = self._make_request( 17:22:43 conn, 17:22:43 method, 17:22:43 url, 17:22:43 timeout=timeout_obj, 17:22:43 body=body, 17:22:43 headers=headers, 17:22:43 chunked=chunked, 17:22:43 retries=retries, 17:22:43 response_conn=response_conn, 17:22:43 preload_content=preload_content, 17:22:43 decode_content=decode_content, 17:22:43 **response_kw, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:43 conn.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:43 self.endheaders() 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:43 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:43 self.send(msg) 17:22:43 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:43 self.connect() 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:43 self.sock = self._new_conn() 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 except socket.gaierror as e: 17:22:43 raise NameResolutionError(self.host, self, e) from e 17:22:43 except SocketTimeout as e: 17:22:43 raise ConnectTimeoutError( 17:22:43 self, 17:22:43 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:43 ) from e 17:22:43 17:22:43 except OSError as e: 17:22:43 > raise NewConnectionError( 17:22:43 self, f"Failed to establish a new connection: {e}" 17:22:43 ) from e 17:22:43 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 > resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:43 retries = retries.increment( 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01?content=nonconfig' 17:22:43 response = None 17:22:43 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:43 _pool = 17:22:43 _stacktrace = 17:22:43 17:22:43 def increment( 17:22:43 self, 17:22:43 method: str | None = None, 17:22:43 url: str | None = None, 17:22:43 response: BaseHTTPResponse | None = None, 17:22:43 error: Exception | None = None, 17:22:43 _pool: ConnectionPool | None = None, 17:22:43 _stacktrace: TracebackType | None = None, 17:22:43 ) -> Self: 17:22:43 """Return a new Retry object with incremented retry counters. 17:22:43 17:22:43 :param response: A response object, or None, if the server did not 17:22:43 return a response. 17:22:43 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:43 :param Exception error: An error encountered during the request, or 17:22:43 None if the response was received successfully. 17:22:43 17:22:43 :return: A new ``Retry`` object. 17:22:43 """ 17:22:43 if self.total is False and error: 17:22:43 # Disabled, indicate to re-raise the error. 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 17:22:43 total = self.total 17:22:43 if total is not None: 17:22:43 total -= 1 17:22:43 17:22:43 connect = self.connect 17:22:43 read = self.read 17:22:43 redirect = self.redirect 17:22:43 status_count = self.status 17:22:43 other = self.other 17:22:43 cause = "unknown" 17:22:43 status = None 17:22:43 redirect_location = None 17:22:43 17:22:43 if error and self._is_connection_error(error): 17:22:43 # Connect retry? 17:22:43 if connect is False: 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif connect is not None: 17:22:43 connect -= 1 17:22:43 17:22:43 elif error and self._is_read_error(error): 17:22:43 # Read retry? 17:22:43 if read is False or method is None or not self._is_method_retryable(method): 17:22:43 raise reraise(type(error), error, _stacktrace) 17:22:43 elif read is not None: 17:22:43 read -= 1 17:22:43 17:22:43 elif error: 17:22:43 # Other retry? 17:22:43 if other is not None: 17:22:43 other -= 1 17:22:43 17:22:43 elif response and response.get_redirect_location(): 17:22:43 # Redirect retry? 17:22:43 if redirect is not None: 17:22:43 redirect -= 1 17:22:43 cause = "too many redirects" 17:22:43 response_redirect_location = response.get_redirect_location() 17:22:43 if response_redirect_location: 17:22:43 redirect_location = response_redirect_location 17:22:43 status = response.status 17:22:43 17:22:43 else: 17:22:43 # Incrementing because of a server error like a 500 in 17:22:43 # status_forcelist and the given method is in the allowed_methods 17:22:43 cause = ResponseError.GENERIC_ERROR 17:22:43 if response and response.status: 17:22:43 if status_count is not None: 17:22:43 status_count -= 1 17:22:43 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:43 status = response.status 17:22:43 17:22:43 history = self.history + ( 17:22:43 RequestHistory(method, url, error, status, redirect_location), 17:22:43 ) 17:22:43 17:22:43 new_retry = self.new( 17:22:43 total=total, 17:22:43 connect=connect, 17:22:43 read=read, 17:22:43 redirect=redirect, 17:22:43 status=status_count, 17:22:43 other=other, 17:22:43 history=history, 17:22:43 ) 17:22:43 17:22:43 if new_retry.is_exhausted(): 17:22:43 reason = error or ResponseError(cause) 17:22:43 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:43 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:43 17:22:43 During handling of the above exception, another exception occurred: 17:22:43 17:22:43 self = 17:22:43 17:22:43 def test_20_rdm_device_disconnected(self): 17:22:43 > response = test_utils.check_device_connection("ROADMA01") 17:22:43 17:22:43 transportpce_tests/1.2.1/test01_portmapping.py:216: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 transportpce_tests/common/test_utils.py:369: in check_device_connection 17:22:43 response = get_request(url[RESTCONF_VERSION].format('{}', node)) 17:22:43 transportpce_tests/common/test_utils.py:116: in get_request 17:22:43 return requests.request( 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:43 return session.request(method=method, url=url, **kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:43 resp = self.send(prep, **send_kwargs) 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:43 r = adapter.send(request, **kwargs) 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 self = 17:22:43 request = , stream = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:43 proxies = OrderedDict() 17:22:43 17:22:43 def send( 17:22:43 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:43 ): 17:22:43 """Sends PreparedRequest object. Returns Response object. 17:22:43 17:22:43 :param request: The :class:`PreparedRequest ` being sent. 17:22:43 :param stream: (optional) Whether to stream the request content. 17:22:43 :param timeout: (optional) How long to wait for the server to send 17:22:43 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:43 read timeout) ` tuple. 17:22:43 :type timeout: float or tuple or urllib3 Timeout object 17:22:43 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:43 we verify the server's TLS certificate, or a string, in which case it 17:22:43 must be a path to a CA bundle to use 17:22:43 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:43 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:43 :rtype: requests.Response 17:22:43 """ 17:22:43 17:22:43 try: 17:22:43 conn = self.get_connection_with_tls_context( 17:22:43 request, verify, proxies=proxies, cert=cert 17:22:43 ) 17:22:43 except LocationValueError as e: 17:22:43 raise InvalidURL(e, request=request) 17:22:43 17:22:43 self.cert_verify(conn, request.url, verify, cert) 17:22:43 url = self.request_url(request, proxies) 17:22:43 self.add_headers( 17:22:43 request, 17:22:43 stream=stream, 17:22:43 timeout=timeout, 17:22:43 verify=verify, 17:22:43 cert=cert, 17:22:43 proxies=proxies, 17:22:43 ) 17:22:43 17:22:43 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:43 17:22:43 if isinstance(timeout, tuple): 17:22:43 try: 17:22:43 connect, read = timeout 17:22:43 timeout = TimeoutSauce(connect=connect, read=read) 17:22:43 except ValueError: 17:22:43 raise ValueError( 17:22:43 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:43 f"or a single float to set both timeouts to the same value." 17:22:43 ) 17:22:43 elif isinstance(timeout, TimeoutSauce): 17:22:43 pass 17:22:43 else: 17:22:43 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:43 17:22:43 try: 17:22:43 resp = conn.urlopen( 17:22:43 method=request.method, 17:22:43 url=url, 17:22:43 body=request.body, 17:22:43 headers=request.headers, 17:22:43 redirect=False, 17:22:43 assert_same_host=False, 17:22:43 preload_content=False, 17:22:43 decode_content=False, 17:22:43 retries=self.max_retries, 17:22:43 timeout=timeout, 17:22:43 chunked=chunked, 17:22:43 ) 17:22:43 17:22:43 except (ProtocolError, OSError) as err: 17:22:43 raise ConnectionError(err, request=request) 17:22:43 17:22:43 except MaxRetryError as e: 17:22:43 if isinstance(e.reason, ConnectTimeoutError): 17:22:43 # TODO: Remove this in 3.0.0: see #2811 17:22:43 if not isinstance(e.reason, NewConnectionError): 17:22:43 raise ConnectTimeout(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, ResponseError): 17:22:43 raise RetryError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _ProxyError): 17:22:43 raise ProxyError(e, request=request) 17:22:43 17:22:43 if isinstance(e.reason, _SSLError): 17:22:43 # This branch is for urllib3 v1.22 and later. 17:22:43 raise SSLError(e, request=request) 17:22:43 17:22:43 > raise ConnectionError(e, request=request) 17:22:43 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=ROADMA01?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:43 ----------------------------- Captured stdout call ----------------------------- 17:22:43 execution of test_20_rdm_device_disconnected 17:22:43 _______ TransportPCEPortMappingTesting.test_21_rdm_device_not_connected ________ 17:22:43 17:22:43 self = 17:22:43 17:22:43 def _new_conn(self) -> socket.socket: 17:22:43 """Establish a socket connection and set nodelay settings on it. 17:22:43 17:22:43 :return: New socket connection. 17:22:43 """ 17:22:43 try: 17:22:43 > sock = connection.create_connection( 17:22:43 (self._dns_host, self.port), 17:22:43 self.timeout, 17:22:43 source_address=self.source_address, 17:22:43 socket_options=self.socket_options, 17:22:43 ) 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:199: 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 17:22:43 raise err 17:22:43 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:43 17:22:43 address = ('localhost', 8182), timeout = 10, source_address = None 17:22:43 socket_options = [(6, 1, 1)] 17:22:43 17:22:43 def create_connection( 17:22:43 address: tuple[str, int], 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 source_address: tuple[str, int] | None = None, 17:22:43 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 17:22:43 ) -> socket.socket: 17:22:43 """Connect to *address* and return the socket object. 17:22:43 17:22:43 Convenience function. Connect to *address* (a 2-tuple ``(host, 17:22:43 port)``) and return the socket object. Passing the optional 17:22:43 *timeout* parameter will set the timeout on the socket instance 17:22:43 before attempting to connect. If no *timeout* is supplied, the 17:22:43 global default timeout setting returned by :func:`socket.getdefaulttimeout` 17:22:43 is used. If *source_address* is set it must be a tuple of (host, port) 17:22:43 for the socket to bind as a source address before making the connection. 17:22:43 An host of '' or port 0 tells the OS to use the default. 17:22:43 """ 17:22:43 17:22:43 host, port = address 17:22:43 if host.startswith("["): 17:22:43 host = host.strip("[]") 17:22:43 err = None 17:22:43 17:22:43 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 17:22:43 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 17:22:43 # The original create_connection function always returns all records. 17:22:43 family = allowed_gai_family() 17:22:43 17:22:43 try: 17:22:43 host.encode("idna") 17:22:43 except UnicodeError: 17:22:43 raise LocationParseError(f"'{host}', label empty or too long") from None 17:22:43 17:22:43 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 17:22:43 af, socktype, proto, canonname, sa = res 17:22:43 sock = None 17:22:43 try: 17:22:43 sock = socket.socket(af, socktype, proto) 17:22:43 17:22:43 # If provided, set socket level options before connecting. 17:22:43 _set_socket_options(sock, socket_options) 17:22:43 17:22:43 if timeout is not _DEFAULT_TIMEOUT: 17:22:43 sock.settimeout(timeout) 17:22:43 if source_address: 17:22:43 sock.bind(source_address) 17:22:43 > sock.connect(sa) 17:22:43 E ConnectionRefusedError: [Errno 111] Connection refused 17:22:43 17:22:43 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 17:22:43 17:22:43 The above exception was the direct cause of the following exception: 17:22:43 17:22:43 self = 17:22:43 method = 'GET' 17:22:43 url = '/rests/data/transportpce-portmapping:network/nodes=ROADMA01/node-info' 17:22:43 body = None 17:22:43 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='} 17:22:43 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:43 redirect = False, assert_same_host = False 17:22:43 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 17:22:43 release_conn = False, chunked = False, body_pos = None, preload_content = False 17:22:43 decode_content = False, response_kw = {} 17:22:43 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=ROADMA01/node-info', query=None, fragment=None) 17:22:43 destination_scheme = None, conn = None, release_this_conn = True 17:22:43 http_tunnel_required = False, err = None, clean_exit = False 17:22:43 17:22:43 def urlopen( # type: ignore[override] 17:22:43 self, 17:22:43 method: str, 17:22:43 url: str, 17:22:43 body: _TYPE_BODY | None = None, 17:22:43 headers: typing.Mapping[str, str] | None = None, 17:22:43 retries: Retry | bool | int | None = None, 17:22:43 redirect: bool = True, 17:22:43 assert_same_host: bool = True, 17:22:43 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 17:22:43 pool_timeout: int | None = None, 17:22:43 release_conn: bool | None = None, 17:22:43 chunked: bool = False, 17:22:43 body_pos: _TYPE_BODY_POSITION | None = None, 17:22:43 preload_content: bool = True, 17:22:43 decode_content: bool = True, 17:22:43 **response_kw: typing.Any, 17:22:43 ) -> BaseHTTPResponse: 17:22:43 """ 17:22:43 Get a connection from the pool and perform an HTTP request. This is the 17:22:43 lowest level call for making a request, so you'll need to specify all 17:22:43 the raw details. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 More commonly, it's appropriate to use a convenience method 17:22:43 such as :meth:`request`. 17:22:43 17:22:43 .. note:: 17:22:43 17:22:43 `release_conn` will only behave as expected if 17:22:43 `preload_content=False` because we want to make 17:22:43 `preload_content=False` the default behaviour someday soon without 17:22:43 breaking backwards compatibility. 17:22:43 17:22:43 :param method: 17:22:43 HTTP request method (such as GET, POST, PUT, etc.) 17:22:43 17:22:43 :param url: 17:22:43 The URL to perform the request on. 17:22:43 17:22:43 :param body: 17:22:43 Data to send in the request body, either :class:`str`, :class:`bytes`, 17:22:43 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 17:22:43 17:22:43 :param headers: 17:22:43 Dictionary of custom headers to send, such as User-Agent, 17:22:43 If-None-Match, etc. If None, pool headers are used. If provided, 17:22:43 these headers completely replace any pool-specific headers. 17:22:43 17:22:43 :param retries: 17:22:43 Configure the number of retries to allow before raising a 17:22:43 :class:`~urllib3.exceptions.MaxRetryError` exception. 17:22:43 17:22:43 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 17:22:43 :class:`~urllib3.util.retry.Retry` object for fine-grained control 17:22:43 over different types of retries. 17:22:43 Pass an integer number to retry connection errors that many times, 17:22:43 but no other types of errors. Pass zero to never retry. 17:22:43 17:22:43 If ``False``, then retries are disabled and any exception is raised 17:22:43 immediately. Also, instead of raising a MaxRetryError on redirects, 17:22:43 the redirect response will be returned. 17:22:43 17:22:43 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 17:22:43 17:22:43 :param redirect: 17:22:43 If True, automatically handle redirects (status codes 301, 302, 17:22:43 303, 307, 308). Each redirect counts as a retry. Disabling retries 17:22:43 will disable redirect, too. 17:22:43 17:22:43 :param assert_same_host: 17:22:44 If ``True``, will make sure that the host of the pool requests is 17:22:44 consistent else will raise HostChangedError. When ``False``, you can 17:22:44 use the pool on an HTTP proxy and request foreign hosts. 17:22:44 17:22:44 :param timeout: 17:22:44 If specified, overrides the default timeout for this one 17:22:44 request. It may be a float (in seconds) or an instance of 17:22:44 :class:`urllib3.util.Timeout`. 17:22:44 17:22:44 :param pool_timeout: 17:22:44 If set and the pool is set to block=True, then this method will 17:22:44 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 17:22:44 connection is available within the time period. 17:22:44 17:22:44 :param bool preload_content: 17:22:44 If True, the response's body will be preloaded into memory. 17:22:44 17:22:44 :param bool decode_content: 17:22:44 If True, will attempt to decode the body based on the 17:22:44 'content-encoding' header. 17:22:44 17:22:44 :param release_conn: 17:22:44 If False, then the urlopen call will not release the connection 17:22:44 back into the pool once a response is received (but will release if 17:22:44 you read the entire contents of the response such as when 17:22:44 `preload_content=True`). This is useful if you're not preloading 17:22:44 the response's content immediately. You will need to call 17:22:44 ``r.release_conn()`` on the response ``r`` to return the connection 17:22:44 back into the pool. If None, it takes the value of ``preload_content`` 17:22:44 which defaults to ``True``. 17:22:44 17:22:44 :param bool chunked: 17:22:44 If True, urllib3 will send the body using chunked transfer 17:22:44 encoding. Otherwise, urllib3 will send the body using the standard 17:22:44 content-length form. Defaults to False. 17:22:44 17:22:44 :param int body_pos: 17:22:44 Position to seek to in file-like body in the event of a retry or 17:22:44 redirect. Typically this won't need to be set because urllib3 will 17:22:44 auto-populate the value when needed. 17:22:44 """ 17:22:44 parsed_url = parse_url(url) 17:22:44 destination_scheme = parsed_url.scheme 17:22:44 17:22:44 if headers is None: 17:22:44 headers = self.headers 17:22:44 17:22:44 if not isinstance(retries, Retry): 17:22:44 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 17:22:44 17:22:44 if release_conn is None: 17:22:44 release_conn = preload_content 17:22:44 17:22:44 # Check host 17:22:44 if assert_same_host and not self.is_same_host(url): 17:22:44 raise HostChangedError(self, url, retries) 17:22:44 17:22:44 # Ensure that the URL we're connecting to is properly encoded 17:22:44 if url.startswith("/"): 17:22:44 url = to_str(_encode_target(url)) 17:22:44 else: 17:22:44 url = to_str(parsed_url.url) 17:22:44 17:22:44 conn = None 17:22:44 17:22:44 # Track whether `conn` needs to be released before 17:22:44 # returning/raising/recursing. Update this variable if necessary, and 17:22:44 # leave `release_conn` constant throughout the function. That way, if 17:22:44 # the function recurses, the original value of `release_conn` will be 17:22:44 # passed down into the recursive call, and its value will be respected. 17:22:44 # 17:22:44 # See issue #651 [1] for details. 17:22:44 # 17:22:44 # [1] 17:22:44 release_this_conn = release_conn 17:22:44 17:22:44 http_tunnel_required = connection_requires_http_tunnel( 17:22:44 self.proxy, self.proxy_config, destination_scheme 17:22:44 ) 17:22:44 17:22:44 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 17:22:44 # have to copy the headers dict so we can safely change it without those 17:22:44 # changes being reflected in anyone else's copy. 17:22:44 if not http_tunnel_required: 17:22:44 headers = headers.copy() # type: ignore[attr-defined] 17:22:44 headers.update(self.proxy_headers) # type: ignore[union-attr] 17:22:44 17:22:44 # Must keep the exception bound to a separate variable or else Python 3 17:22:44 # complains about UnboundLocalError. 17:22:44 err = None 17:22:44 17:22:44 # Keep track of whether we cleanly exited the except block. This 17:22:44 # ensures we do proper cleanup in finally. 17:22:44 clean_exit = False 17:22:44 17:22:44 # Rewind body position, if needed. Record current position 17:22:44 # for future rewinds in the event of a redirect/retry. 17:22:44 body_pos = set_file_position(body, body_pos) 17:22:44 17:22:44 try: 17:22:44 # Request a connection from the queue. 17:22:44 timeout_obj = self._get_timeout(timeout) 17:22:44 conn = self._get_conn(timeout=pool_timeout) 17:22:44 17:22:44 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 17:22:44 17:22:44 # Is this a closed/new connection that requires CONNECT tunnelling? 17:22:44 if self.proxy is not None and http_tunnel_required and conn.is_closed: 17:22:44 try: 17:22:44 self._prepare_proxy(conn) 17:22:44 except (BaseSSLError, OSError, SocketTimeout) as e: 17:22:44 self._raise_timeout( 17:22:44 err=e, url=self.proxy.url, timeout_value=conn.timeout 17:22:44 ) 17:22:44 raise 17:22:44 17:22:44 # If we're going to release the connection in ``finally:``, then 17:22:44 # the response doesn't need to know about the connection. Otherwise 17:22:44 # it will also try to release it and we'll have a double-release 17:22:44 # mess. 17:22:44 response_conn = conn if not release_conn else None 17:22:44 17:22:44 # Make the request on the HTTPConnection object 17:22:44 > response = self._make_request( 17:22:44 conn, 17:22:44 method, 17:22:44 url, 17:22:44 timeout=timeout_obj, 17:22:44 body=body, 17:22:44 headers=headers, 17:22:44 chunked=chunked, 17:22:44 retries=retries, 17:22:44 response_conn=response_conn, 17:22:44 preload_content=preload_content, 17:22:44 decode_content=decode_content, 17:22:44 **response_kw, 17:22:44 ) 17:22:44 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 17:22:44 conn.request( 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:441: in request 17:22:44 self.endheaders() 17:22:44 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1289: in endheaders 17:22:44 self._send_output(message_body, encode_chunked=encode_chunked) 17:22:44 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:1048: in _send_output 17:22:44 self.send(msg) 17:22:44 /opt/pyenv/versions/3.11.7/lib/python3.11/http/client.py:986: in send 17:22:44 self.connect() 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 17:22:44 self.sock = self._new_conn() 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 17:22:44 self = 17:22:44 17:22:44 def _new_conn(self) -> socket.socket: 17:22:44 """Establish a socket connection and set nodelay settings on it. 17:22:44 17:22:44 :return: New socket connection. 17:22:44 """ 17:22:44 try: 17:22:44 sock = connection.create_connection( 17:22:44 (self._dns_host, self.port), 17:22:44 self.timeout, 17:22:44 source_address=self.source_address, 17:22:44 socket_options=self.socket_options, 17:22:44 ) 17:22:44 except socket.gaierror as e: 17:22:44 raise NameResolutionError(self.host, self, e) from e 17:22:44 except SocketTimeout as e: 17:22:44 raise ConnectTimeoutError( 17:22:44 self, 17:22:44 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 17:22:44 ) from e 17:22:44 17:22:44 except OSError as e: 17:22:44 > raise NewConnectionError( 17:22:44 self, f"Failed to establish a new connection: {e}" 17:22:44 ) from e 17:22:44 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 17:22:44 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 17:22:44 17:22:44 The above exception was the direct cause of the following exception: 17:22:44 17:22:44 self = 17:22:44 request = , stream = False 17:22:44 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:44 proxies = OrderedDict() 17:22:44 17:22:44 def send( 17:22:44 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:44 ): 17:22:44 """Sends PreparedRequest object. Returns Response object. 17:22:44 17:22:44 :param request: The :class:`PreparedRequest ` being sent. 17:22:44 :param stream: (optional) Whether to stream the request content. 17:22:44 :param timeout: (optional) How long to wait for the server to send 17:22:44 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:44 read timeout) ` tuple. 17:22:44 :type timeout: float or tuple or urllib3 Timeout object 17:22:44 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:44 we verify the server's TLS certificate, or a string, in which case it 17:22:44 must be a path to a CA bundle to use 17:22:44 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:44 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:44 :rtype: requests.Response 17:22:44 """ 17:22:44 17:22:44 try: 17:22:44 conn = self.get_connection_with_tls_context( 17:22:44 request, verify, proxies=proxies, cert=cert 17:22:44 ) 17:22:44 except LocationValueError as e: 17:22:44 raise InvalidURL(e, request=request) 17:22:44 17:22:44 self.cert_verify(conn, request.url, verify, cert) 17:22:44 url = self.request_url(request, proxies) 17:22:44 self.add_headers( 17:22:44 request, 17:22:44 stream=stream, 17:22:44 timeout=timeout, 17:22:44 verify=verify, 17:22:44 cert=cert, 17:22:44 proxies=proxies, 17:22:44 ) 17:22:44 17:22:44 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:44 17:22:44 if isinstance(timeout, tuple): 17:22:44 try: 17:22:44 connect, read = timeout 17:22:44 timeout = TimeoutSauce(connect=connect, read=read) 17:22:44 except ValueError: 17:22:44 raise ValueError( 17:22:44 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:44 f"or a single float to set both timeouts to the same value." 17:22:44 ) 17:22:44 elif isinstance(timeout, TimeoutSauce): 17:22:44 pass 17:22:44 else: 17:22:44 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:44 17:22:44 try: 17:22:44 > resp = conn.urlopen( 17:22:44 method=request.method, 17:22:44 url=url, 17:22:44 body=request.body, 17:22:44 headers=request.headers, 17:22:44 redirect=False, 17:22:44 assert_same_host=False, 17:22:44 preload_content=False, 17:22:44 decode_content=False, 17:22:44 retries=self.max_retries, 17:22:44 timeout=timeout, 17:22:44 chunked=chunked, 17:22:44 ) 17:22:44 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:667: 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 17:22:44 retries = retries.increment( 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 17:22:44 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 17:22:44 method = 'GET' 17:22:44 url = '/rests/data/transportpce-portmapping:network/nodes=ROADMA01/node-info' 17:22:44 response = None 17:22:44 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 17:22:44 _pool = 17:22:44 _stacktrace = 17:22:44 17:22:44 def increment( 17:22:44 self, 17:22:44 method: str | None = None, 17:22:44 url: str | None = None, 17:22:44 response: BaseHTTPResponse | None = None, 17:22:44 error: Exception | None = None, 17:22:44 _pool: ConnectionPool | None = None, 17:22:44 _stacktrace: TracebackType | None = None, 17:22:44 ) -> Self: 17:22:44 """Return a new Retry object with incremented retry counters. 17:22:44 17:22:44 :param response: A response object, or None, if the server did not 17:22:44 return a response. 17:22:44 :type response: :class:`~urllib3.response.BaseHTTPResponse` 17:22:44 :param Exception error: An error encountered during the request, or 17:22:44 None if the response was received successfully. 17:22:44 17:22:44 :return: A new ``Retry`` object. 17:22:44 """ 17:22:44 if self.total is False and error: 17:22:44 # Disabled, indicate to re-raise the error. 17:22:44 raise reraise(type(error), error, _stacktrace) 17:22:44 17:22:44 total = self.total 17:22:44 if total is not None: 17:22:44 total -= 1 17:22:44 17:22:44 connect = self.connect 17:22:44 read = self.read 17:22:44 redirect = self.redirect 17:22:44 status_count = self.status 17:22:44 other = self.other 17:22:44 cause = "unknown" 17:22:44 status = None 17:22:44 redirect_location = None 17:22:44 17:22:44 if error and self._is_connection_error(error): 17:22:44 # Connect retry? 17:22:44 if connect is False: 17:22:44 raise reraise(type(error), error, _stacktrace) 17:22:44 elif connect is not None: 17:22:44 connect -= 1 17:22:44 17:22:44 elif error and self._is_read_error(error): 17:22:44 # Read retry? 17:22:44 if read is False or method is None or not self._is_method_retryable(method): 17:22:44 raise reraise(type(error), error, _stacktrace) 17:22:44 elif read is not None: 17:22:44 read -= 1 17:22:44 17:22:44 elif error: 17:22:44 # Other retry? 17:22:44 if other is not None: 17:22:44 other -= 1 17:22:44 17:22:44 elif response and response.get_redirect_location(): 17:22:44 # Redirect retry? 17:22:44 if redirect is not None: 17:22:44 redirect -= 1 17:22:44 cause = "too many redirects" 17:22:44 response_redirect_location = response.get_redirect_location() 17:22:44 if response_redirect_location: 17:22:44 redirect_location = response_redirect_location 17:22:44 status = response.status 17:22:44 17:22:44 else: 17:22:44 # Incrementing because of a server error like a 500 in 17:22:44 # status_forcelist and the given method is in the allowed_methods 17:22:44 cause = ResponseError.GENERIC_ERROR 17:22:44 if response and response.status: 17:22:44 if status_count is not None: 17:22:44 status_count -= 1 17:22:44 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 17:22:44 status = response.status 17:22:44 17:22:44 history = self.history + ( 17:22:44 RequestHistory(method, url, error, status, redirect_location), 17:22:44 ) 17:22:44 17:22:44 new_retry = self.new( 17:22:44 total=total, 17:22:44 connect=connect, 17:22:44 read=read, 17:22:44 redirect=redirect, 17:22:44 status=status_count, 17:22:44 other=other, 17:22:44 history=history, 17:22:44 ) 17:22:44 17:22:44 if new_retry.is_exhausted(): 17:22:44 reason = error or ResponseError(cause) 17:22:44 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 17:22:44 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=ROADMA01/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:44 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 17:22:44 17:22:44 During handling of the above exception, another exception occurred: 17:22:44 17:22:44 self = 17:22:44 17:22:44 def test_21_rdm_device_not_connected(self): 17:22:44 > response = test_utils.get_portmapping_node_attr("ROADMA01", "node-info", None) 17:22:44 17:22:44 transportpce_tests/1.2.1/test01_portmapping.py:224: 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 transportpce_tests/common/test_utils.py:470: in get_portmapping_node_attr 17:22:44 response = get_request(target_url) 17:22:44 transportpce_tests/common/test_utils.py:116: in get_request 17:22:44 return requests.request( 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/requests/api.py:59: in request 17:22:44 return session.request(method=method, url=url, **kwargs) 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:589: in request 17:22:44 resp = self.send(prep, **send_kwargs) 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/requests/sessions.py:703: in send 17:22:44 r = adapter.send(request, **kwargs) 17:22:44 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 17:22:44 17:22:44 self = 17:22:44 request = , stream = False 17:22:44 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 17:22:44 proxies = OrderedDict() 17:22:44 17:22:44 def send( 17:22:44 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 17:22:44 ): 17:22:44 """Sends PreparedRequest object. Returns Response object. 17:22:44 17:22:44 :param request: The :class:`PreparedRequest ` being sent. 17:22:44 :param stream: (optional) Whether to stream the request content. 17:22:44 :param timeout: (optional) How long to wait for the server to send 17:22:44 data before giving up, as a float, or a :ref:`(connect timeout, 17:22:44 read timeout) ` tuple. 17:22:44 :type timeout: float or tuple or urllib3 Timeout object 17:22:44 :param verify: (optional) Either a boolean, in which case it controls whether 17:22:44 we verify the server's TLS certificate, or a string, in which case it 17:22:44 must be a path to a CA bundle to use 17:22:44 :param cert: (optional) Any user-provided SSL certificate to be trusted. 17:22:44 :param proxies: (optional) The proxies dictionary to apply to the request. 17:22:44 :rtype: requests.Response 17:22:44 """ 17:22:44 17:22:44 try: 17:22:44 conn = self.get_connection_with_tls_context( 17:22:44 request, verify, proxies=proxies, cert=cert 17:22:44 ) 17:22:44 except LocationValueError as e: 17:22:44 raise InvalidURL(e, request=request) 17:22:44 17:22:44 self.cert_verify(conn, request.url, verify, cert) 17:22:44 url = self.request_url(request, proxies) 17:22:44 self.add_headers( 17:22:44 request, 17:22:44 stream=stream, 17:22:44 timeout=timeout, 17:22:44 verify=verify, 17:22:44 cert=cert, 17:22:44 proxies=proxies, 17:22:44 ) 17:22:44 17:22:44 chunked = not (request.body is None or "Content-Length" in request.headers) 17:22:44 17:22:44 if isinstance(timeout, tuple): 17:22:44 try: 17:22:44 connect, read = timeout 17:22:44 timeout = TimeoutSauce(connect=connect, read=read) 17:22:44 except ValueError: 17:22:44 raise ValueError( 17:22:44 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 17:22:44 f"or a single float to set both timeouts to the same value." 17:22:44 ) 17:22:44 elif isinstance(timeout, TimeoutSauce): 17:22:44 pass 17:22:44 else: 17:22:44 timeout = TimeoutSauce(connect=timeout, read=timeout) 17:22:44 17:22:44 try: 17:22:44 resp = conn.urlopen( 17:22:44 method=request.method, 17:22:44 url=url, 17:22:44 body=request.body, 17:22:44 headers=request.headers, 17:22:44 redirect=False, 17:22:44 assert_same_host=False, 17:22:44 preload_content=False, 17:22:44 decode_content=False, 17:22:44 retries=self.max_retries, 17:22:44 timeout=timeout, 17:22:44 chunked=chunked, 17:22:44 ) 17:22:44 17:22:44 except (ProtocolError, OSError) as err: 17:22:44 raise ConnectionError(err, request=request) 17:22:44 17:22:44 except MaxRetryError as e: 17:22:44 if isinstance(e.reason, ConnectTimeoutError): 17:22:44 # TODO: Remove this in 3.0.0: see #2811 17:22:44 if not isinstance(e.reason, NewConnectionError): 17:22:44 raise ConnectTimeout(e, request=request) 17:22:44 17:22:44 if isinstance(e.reason, ResponseError): 17:22:44 raise RetryError(e, request=request) 17:22:44 17:22:44 if isinstance(e.reason, _ProxyError): 17:22:44 raise ProxyError(e, request=request) 17:22:44 17:22:44 if isinstance(e.reason, _SSLError): 17:22:44 # This branch is for urllib3 v1.22 and later. 17:22:44 raise SSLError(e, request=request) 17:22:44 17:22:44 > raise ConnectionError(e, request=request) 17:22:44 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=ROADMA01/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 17:22:44 17:22:44 ../.tox/tests121/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 17:22:44 ----------------------------- Captured stdout call ----------------------------- 17:22:44 execution of test_21_rdm_device_not_connected 17:22:44 --------------------------- Captured stdout teardown --------------------------- 17:22:44 all processes killed 17:22:44 =========================== short test summary info ============================ 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_02_rdm_device_connected 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_03_rdm_portmapping_info 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_04_rdm_portmapping_DEG1_TTP_TXRX 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_05_rdm_portmapping_SRG1_PP7_TXRX 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_06_rdm_portmapping_SRG3_PP1_TXRX 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_13_xpdr_portmapping_CLIENT2 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_14_xpdr_portmapping_CLIENT3 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_15_xpdr_portmapping_CLIENT4 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_16_xpdr_device_disconnection 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_17_xpdr_device_disconnected 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_18_xpdr_device_not_connected 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_19_rdm_device_disconnection 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_20_rdm_device_disconnected 17:22:44 FAILED transportpce_tests/1.2.1/test01_portmapping.py::TransportPCEPortMappingTesting::test_21_rdm_device_not_connected 17:22:44 14 failed, 7 passed in 427.12s (0:07:07) 17:22:44 tests121: exit 1 (427.40 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 pid=35149 17:23:09 ............ [100%] 17:23:22 12 passed in 42.38s 17:23:22 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 17:23:46 .............................................................. [100%] 17:25:56 62 passed in 154.63s (0:02:34) 17:25:57 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 17:26:27 ................................................ [100%] 17:28:11 48 passed in 134.03s (0:02:14) 17:28:11 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 17:28:36 ...................... [100%] 17:29:23 22 passed in 72.04s (0:01:12) 17:29:23 tests121: FAIL ✖ in 7 minutes 14.1 seconds 17:29:23 tests71: OK ✔ in 6 minutes 50.21 seconds 17:29:23 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 17:29:28 tests221: freeze> python -m pip freeze --all 17:29:29 tests221: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 17:29:29 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 17:29:29 using environment variables from ./karaf221.env 17:29:29 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 17:30:03 ................................... [100%] 17:36:43 35 passed in 433.81s (0:07:13) 17:36:43 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 17:37:13 ...... [100%] 17:37:27 6 passed in 43.86s 17:37:27 pytest -q transportpce_tests/2.2.1/test03_topology.py 17:38:09 ............................................ [100%] 17:39:43 44 passed in 135.63s (0:02:15) 17:39:43 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 17:40:18 ............ [100%] 17:40:42 12 passed in 58.94s 17:40:42 pytest -q transportpce_tests/2.2.1/test05_flex_grid.py 17:41:06 ................ [100%] 17:42:35 16 passed in 112.97s (0:01:52) 17:42:35 pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py 17:43:04 ............................... [100%] 17:43:10 31 passed in 34.84s 17:43:10 pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py 17:43:45 .......................... [100%] 17:44:41 26 passed in 90.69s (0:01:30) 17:44:41 pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py 17:45:18 ...................... [100%] 17:49:21 22 passed in 279.64s (0:04:39) 17:49:21 pytest -q transportpce_tests/2.2.1/test09_olm.py 17:50:01 ........................................ [100%] 17:55:22 40 passed in 361.31s (0:06:01) 17:55:22 pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py 17:56:04 ........................................................................ [ 74%] 18:01:40 ......................... [100%] 18:03:32 97 passed in 489.16s (0:08:09) 18:03:32 pytest -q transportpce_tests/2.2.1/test12_end2end.py 18:04:11 ...................................................... [100%] 18:10:58 54 passed in 445.58s (0:07:25) 18:10:58 pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py 18:11:51 ........................................................................ [ 71%] 18:16:59 ............................. [100%] 18:19:08 101 passed in 490.27s (0:08:10) 18:19:08 pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py 18:20:02 ........................................................................ [ 67%] 18:25:48 ................................... [100%] 18:29:08 107 passed in 600.19s (0:10:00) 18:29:09 tests221: OK ✔ in 59 minutes 45.45 seconds 18:29:09 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 18:29:14 tests_hybrid: freeze> python -m pip freeze --all 18:29:14 tests_hybrid: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 18:29:14 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 18:29:14 using environment variables from ./karaf121.env 18:29:14 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 18:29:58 ................................................... [100%] 18:31:44 51 passed in 150.04s (0:02:30) 18:31:44 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 18:32:26 ........................................................................ [ 66%] 18:36:46 ..................................... [100%] 18:38:52 109 passed in 427.13s (0:07:07) 18:38:52 pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py 18:39:39 ..................................................... [100%] 18:46:10 53 passed in 438.00s (0:07:18) 18:46:10 tests_hybrid: OK ✔ in 17 minutes 1.44 seconds 18:46:10 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 18:46:16 buildlighty: freeze> python -m pip freeze --all 18:46:16 buildlighty: bcrypt==4.2.0,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==43.0.3,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.1,packaging==24.1,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.2.0,urllib3==2.2.3,wheel==0.44.0 18:46:16 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 18:46:16 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 18:46:31 [ERROR] COMPILATION ERROR : 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[17,42] cannot find symbol 18:46:31 symbol: class YangModuleInfo 18:46:31 location: package org.opendaylight.yangtools.binding 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[21,30] cannot find symbol 18:46:31 symbol: class YangModuleInfo 18:46:31 location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[343,30] cannot find symbol 18:46:31 symbol: class YangModuleInfo 18:46:31 location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[350,23] cannot find symbol 18:46:31 symbol: class YangModuleInfo 18:46:31 location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [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: 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[17,42] cannot find symbol 18:46:31 [ERROR] symbol: class YangModuleInfo 18:46:31 [ERROR] location: package org.opendaylight.yangtools.binding 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[21,30] cannot find symbol 18:46:31 [ERROR] symbol: class YangModuleInfo 18:46:31 [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[343,30] cannot find symbol 18:46:31 [ERROR] symbol: class YangModuleInfo 18:46:31 [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [ERROR] /w/workspace/transportpce-tox-verify-transportpce-master/lighty/src/main/java/io/lighty/controllers/tpce/utils/TPCEUtils.java:[350,23] cannot find symbol 18:46:31 [ERROR] symbol: class YangModuleInfo 18:46:31 [ERROR] location: class io.lighty.controllers.tpce.utils.TPCEUtils 18:46:31 [ERROR] -> [Help 1] 18:46:31 [ERROR] 18:46:31 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 18:46:31 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 18:46:31 [ERROR] 18:46:31 [ERROR] For more information about the errors and possible solutions, please read the following articles: 18:46:31 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 18:46:31 unzip: cannot find or open target/tpce-bin.zip, target/tpce-bin.zip.zip or target/tpce-bin.zip.ZIP. 18:46:31 buildlighty: exit 9 (14.92 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh pid=59963 18:46:31 buildlighty: command failed but is marked ignore outcome so handling it as success 18:46:31 buildcontroller: OK (103.63=setup[7.95]+cmd[95.68] seconds) 18:46:31 testsPCE: OK (339.04=setup[109.20]+cmd[229.85] seconds) 18:46:31 sims: OK (10.66=setup[7.48]+cmd[3.18] seconds) 18:46:31 build_karaf_tests121: OK (56.81=setup[7.68]+cmd[49.13] seconds) 18:46:31 tests121: FAIL code 1 (434.10=setup[6.70]+cmd[427.40] seconds) 18:46:31 build_karaf_tests221: OK (55.01=setup[7.39]+cmd[47.62] seconds) 18:46:31 tests_tapi: FAIL code 1 (705.65=setup[6.93]+cmd[698.72] seconds) 18:46:31 tests221: OK (3585.45=setup[5.63]+cmd[3579.82] seconds) 18:46:31 build_karaf_tests71: OK (72.31=setup[16.71]+cmd[55.59] seconds) 18:46:31 tests71: OK (410.21=setup[6.23]+cmd[403.98] seconds) 18:46:31 build_karaf_tests_hybrid: OK (67.08=setup[7.36]+cmd[59.73] seconds) 18:46:31 tests_hybrid: OK (1021.44=setup[5.60]+cmd[1015.85] seconds) 18:46:31 buildlighty: OK (21.04=setup[6.13]+cmd[14.92] seconds) 18:46:31 docs: OK (35.28=setup[33.02]+cmd[2.26] seconds) 18:46:31 docs-linkcheck: OK (36.68=setup[33.05]+cmd[3.63] seconds) 18:46:31 checkbashisms: OK (2.90=setup[1.94]+cmd[0.01,0.06,0.89] seconds) 18:46:31 pre-commit: OK (44.68=setup[3.14]+cmd[0.00,0.00,34.43,7.12] seconds) 18:46:31 pylint: OK (26.35=setup[5.97]+cmd[20.38] seconds) 18:46:31 evaluation failed :( (5904.31 seconds) 18:46:31 + tox_status=255 18:46:31 + echo '---> Completed tox runs' 18:46:31 ---> Completed tox runs 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/build_karaf_tests121/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=build_karaf_tests121 18:46:31 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/build_karaf_tests221/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=build_karaf_tests221 18:46:31 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/build_karaf_tests71/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=build_karaf_tests71 18:46:31 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/build_karaf_tests_hybrid/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=build_karaf_tests_hybrid 18:46:31 + cp -r .tox/build_karaf_tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests_hybrid 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/buildcontroller/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=buildcontroller 18:46:31 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/buildlighty/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=buildlighty 18:46:31 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/checkbashisms/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=checkbashisms 18:46:31 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/docs-linkcheck/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=docs-linkcheck 18:46:31 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/docs/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=docs 18:46:31 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/pre-commit/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=pre-commit 18:46:31 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 18:46:31 + for i in .tox/*/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 ++ echo .tox/pylint/log 18:46:31 + tox_env=pylint 18:46:31 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/sims/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=sims 18:46:31 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/tests121/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=tests121 18:46:31 + cp -r .tox/tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests121 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/tests221/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=tests221 18:46:31 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 18:46:31 + for i in .tox/*/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 ++ echo .tox/tests71/log 18:46:31 + tox_env=tests71 18:46:31 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/testsPCE/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=testsPCE 18:46:31 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/tests_hybrid/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=tests_hybrid 18:46:31 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 18:46:31 + for i in .tox/*/log 18:46:31 ++ echo .tox/tests_tapi/log 18:46:31 ++ awk -F/ '{print $2}' 18:46:31 + tox_env=tests_tapi 18:46:31 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 18:46:31 + DOC_DIR=docs/_build/html 18:46:31 + [[ -d docs/_build/html ]] 18:46:31 + echo '---> Archiving generated docs' 18:46:31 ---> Archiving generated docs 18:46:31 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 18:46:31 + echo '---> tox-run.sh ends' 18:46:31 ---> tox-run.sh ends 18:46:31 + test 255 -eq 0 18:46:31 + exit 255 18:46:31 ++ '[' 1 = 1 ']' 18:46:31 ++ '[' -x /usr/bin/clear_console ']' 18:46:31 ++ /usr/bin/clear_console -q 18:46:31 Build step 'Execute shell' marked build as failure 18:46:31 $ ssh-agent -k 18:46:31 unset SSH_AUTH_SOCK; 18:46:31 unset SSH_AGENT_PID; 18:46:31 echo Agent pid 13372 killed; 18:46:31 [ssh-agent] Stopped. 18:46:31 [PostBuildScript] - [INFO] Executing post build scripts. 18:46:31 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5597886391684999372.sh 18:46:31 ---> sysstat.sh 18:46:32 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15307551087804697497.sh 18:46:32 ---> package-listing.sh 18:46:32 ++ tr '[:upper:]' '[:lower:]' 18:46:32 ++ facter osfamily 18:46:32 + OS_FAMILY=debian 18:46:32 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 18:46:32 + START_PACKAGES=/tmp/packages_start.txt 18:46:32 + END_PACKAGES=/tmp/packages_end.txt 18:46:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:32 + PACKAGES=/tmp/packages_start.txt 18:46:32 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 18:46:32 + PACKAGES=/tmp/packages_end.txt 18:46:32 + case "${OS_FAMILY}" in 18:46:32 + dpkg -l 18:46:32 + grep '^ii' 18:46:32 + '[' -f /tmp/packages_start.txt ']' 18:46:32 + '[' -f /tmp/packages_end.txt ']' 18:46:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:32 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 18:46:32 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 18:46:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 18:46:32 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14490368975134144145.sh 18:46:32 ---> capture-instance-metadata.sh 18:46:32 Setup pyenv: 18:46:32 system 18:46:32 3.8.13 18:46:32 3.9.13 18:46:32 3.10.13 18:46:32 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 18:46:33 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-GIyL from file:/tmp/.os_lf_venv 18:46:34 lf-activate-venv(): INFO: Installing: lftools 18:46:45 lf-activate-venv(): INFO: Adding /tmp/venv-GIyL/bin to PATH 18:46:45 INFO: Running in OpenStack, capturing instance metadata 18:46:49 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins14510835723894363828.sh 18:46:49 provisioning config files... 18:46:49 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #2121 18:46:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config8793073696608245446tmp 18:46:49 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 18:46:49 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 18:46:49 provisioning config files... 18:46:50 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 18:46:50 [EnvInject] - Injecting environment variables from a build step. 18:46:50 [EnvInject] - Injecting as environment variables the properties content 18:46:50 SERVER_ID=logs 18:46:50 18:46:50 [EnvInject] - Variables injected successfully. 18:46:50 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins4158681634763859852.sh 18:46:50 ---> create-netrc.sh 18:46:50 WARN: Log server credential not found. 18:46:50 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12448283190109772526.sh 18:46:50 ---> python-tools-install.sh 18:46:50 Setup pyenv: 18:46:50 system 18:46:50 3.8.13 18:46:50 3.9.13 18:46:50 3.10.13 18:46:50 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 18:46:50 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-GIyL from file:/tmp/.os_lf_venv 18:46:51 lf-activate-venv(): INFO: Installing: lftools 18:46:59 lf-activate-venv(): INFO: Adding /tmp/venv-GIyL/bin to PATH 18:46:59 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8756117136062593699.sh 18:46:59 ---> sudo-logs.sh 18:46:59 Archiving 'sudo' log.. 18:46:59 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins12755036376738740827.sh 18:46:59 ---> job-cost.sh 18:46:59 Setup pyenv: 18:46:59 system 18:47:00 3.8.13 18:47:00 3.9.13 18:47:00 3.10.13 18:47:00 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 18:47:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-GIyL from file:/tmp/.os_lf_venv 18:47:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 18:47:05 lf-activate-venv(): INFO: Adding /tmp/venv-GIyL/bin to PATH 18:47:05 INFO: No Stack... 18:47:07 INFO: Retrieving Pricing Info for: v3-standard-4 18:47:07 INFO: Archiving Costs 18:47:07 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins9900859421019324853.sh 18:47:07 ---> logs-deploy.sh 18:47:07 Setup pyenv: 18:47:07 system 18:47:07 3.8.13 18:47:07 3.9.13 18:47:07 3.10.13 18:47:07 * 3.11.7 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 18:47:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-GIyL from file:/tmp/.os_lf_venv 18:47:08 lf-activate-venv(): INFO: Installing: lftools 18:47:18 lf-activate-venv(): INFO: Adding /tmp/venv-GIyL/bin to PATH 18:47:18 WARNING: Nexus logging server not set 18:47:18 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/2121/ 18:47:18 INFO: archiving logs to S3 18:47:19 ---> uname -a: 18:47:19 Linux prd-ubuntu2004-docker-4c-16g-2593 5.4.0-190-generic #210-Ubuntu SMP Fri Jul 5 17:03:38 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 18:47:19 18:47:19 18:47:19 ---> lscpu: 18:47:19 Architecture: x86_64 18:47:19 CPU op-mode(s): 32-bit, 64-bit 18:47:19 Byte Order: Little Endian 18:47:19 Address sizes: 40 bits physical, 48 bits virtual 18:47:19 CPU(s): 4 18:47:19 On-line CPU(s) list: 0-3 18:47:19 Thread(s) per core: 1 18:47:19 Core(s) per socket: 1 18:47:19 Socket(s): 4 18:47:19 NUMA node(s): 1 18:47:19 Vendor ID: AuthenticAMD 18:47:19 CPU family: 23 18:47:19 Model: 49 18:47:19 Model name: AMD EPYC-Rome Processor 18:47:19 Stepping: 0 18:47:19 CPU MHz: 2800.000 18:47:19 BogoMIPS: 5600.00 18:47:19 Virtualization: AMD-V 18:47:19 Hypervisor vendor: KVM 18:47:19 Virtualization type: full 18:47:19 L1d cache: 128 KiB 18:47:19 L1i cache: 128 KiB 18:47:19 L2 cache: 2 MiB 18:47:19 L3 cache: 64 MiB 18:47:19 NUMA node0 CPU(s): 0-3 18:47:19 Vulnerability Gather data sampling: Not affected 18:47:19 Vulnerability Itlb multihit: Not affected 18:47:19 Vulnerability L1tf: Not affected 18:47:19 Vulnerability Mds: Not affected 18:47:19 Vulnerability Meltdown: Not affected 18:47:19 Vulnerability Mmio stale data: Not affected 18:47:19 Vulnerability Retbleed: Vulnerable 18:47:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:47:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:47:19 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 18:47:19 Vulnerability Srbds: Not affected 18:47:19 Vulnerability Tsx async abort: Not affected 18:47:19 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 18:47:19 18:47:19 18:47:19 ---> nproc: 18:47:19 4 18:47:19 18:47:19 18:47:19 ---> df -h: 18:47:19 Filesystem Size Used Avail Use% Mounted on 18:47:19 udev 7.8G 0 7.8G 0% /dev 18:47:19 tmpfs 1.6G 1.1M 1.6G 1% /run 18:47:19 /dev/vda1 78G 17G 62G 21% / 18:47:19 tmpfs 7.9G 0 7.9G 0% /dev/shm 18:47:19 tmpfs 5.0M 0 5.0M 0% /run/lock 18:47:19 tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup 18:47:19 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 18:47:19 /dev/loop0 62M 62M 0 100% /snap/core20/1405 18:47:19 /dev/loop2 44M 44M 0 100% /snap/snapd/15177 18:47:19 /dev/vda15 105M 6.1M 99M 6% /boot/efi 18:47:19 tmpfs 1.6G 0 1.6G 0% /run/user/1001 18:47:19 /dev/loop3 64M 64M 0 100% /snap/core20/2434 18:47:19 /dev/loop4 92M 92M 0 100% /snap/lxd/29619 18:47:19 18:47:19 18:47:19 ---> free -m: 18:47:19 total used free shared buff/cache available 18:47:19 Mem: 15997 727 6894 1 8375 14930 18:47:19 Swap: 1023 0 1023 18:47:19 18:47:19 18:47:19 ---> ip addr: 18:47:19 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 18:47:19 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:47:19 inet 127.0.0.1/8 scope host lo 18:47:19 valid_lft forever preferred_lft forever 18:47:19 inet6 ::1/128 scope host 18:47:19 valid_lft forever preferred_lft forever 18:47:19 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 18:47:19 link/ether fa:16:3e:61:aa:76 brd ff:ff:ff:ff:ff:ff 18:47:19 inet 10.30.171.251/23 brd 10.30.171.255 scope global dynamic ens3 18:47:19 valid_lft 80325sec preferred_lft 80325sec 18:47:19 inet6 fe80::f816:3eff:fe61:aa76/64 scope link 18:47:19 valid_lft forever preferred_lft forever 18:47:19 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 18:47:19 link/ether 02:42:c0:dd:ce:e8 brd ff:ff:ff:ff:ff:ff 18:47:19 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:47:19 valid_lft forever preferred_lft forever 18:47:19 18:47:19 18:47:19 ---> sar -b -r -n DEV: 18:47:19 Linux 5.4.0-190-generic (prd-ubuntu2004-docker-4c-16g-2593) 10/29/24 _x86_64_ (4 CPU) 18:47:19 18:47:19 17:06:07 LINUX RESTART (4 CPU) 18:47:19 18:47:19 17:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:47:19 17:08:01 133.23 55.48 77.75 0.00 1523.95 10110.44 0.00 18:47:19 17:09:01 229.89 41.17 188.72 0.00 2719.49 39348.48 0.00 18:47:19 17:10:01 90.53 1.80 88.74 0.00 112.11 38032.59 0.00 18:47:19 17:11:01 140.99 5.80 135.19 0.00 207.03 106976.44 0.00 18:47:19 17:12:01 167.16 10.81 156.35 0.00 4740.55 108449.98 0.00 18:47:19 17:13:01 88.69 0.83 87.85 0.00 34.79 8780.00 0.00 18:47:19 17:14:01 70.19 2.58 67.61 0.00 184.21 1474.58 0.00 18:47:19 17:15:01 58.61 0.12 58.49 0.00 9.87 1159.01 0.00 18:47:19 17:16:01 105.07 2.92 102.15 0.00 462.19 2797.93 0.00 18:47:19 17:17:01 16.05 0.12 15.93 0.00 1.73 7385.44 0.00 18:47:19 17:18:01 1.85 0.00 1.85 0.00 0.00 23.33 0.00 18:47:19 17:19:01 92.75 0.42 92.33 0.00 20.40 1598.00 0.00 18:47:19 17:20:01 3.40 0.02 3.38 0.00 0.13 183.84 0.00 18:47:19 17:21:01 3.47 0.00 3.47 0.00 0.00 61.99 0.00 18:47:19 17:22:01 3.07 0.85 2.22 0.00 21.60 38.79 0.00 18:47:19 17:23:01 48.64 0.33 48.31 0.00 27.20 1985.54 0.00 18:47:19 17:24:01 129.75 0.00 129.75 0.00 0.00 9417.23 0.00 18:47:19 17:25:01 2.42 0.00 2.42 0.00 0.00 41.86 0.00 18:47:19 17:26:01 15.00 0.00 15.00 0.00 0.00 243.92 0.00 18:47:19 17:27:01 63.79 0.00 63.79 0.00 0.00 906.12 0.00 18:47:19 17:28:01 1.82 0.00 1.82 0.00 0.00 39.33 0.00 18:47:19 17:29:01 82.79 0.00 82.79 0.00 0.00 1197.67 0.00 18:47:19 17:30:01 80.47 0.02 80.45 0.00 0.13 3356.91 0.00 18:47:19 17:31:01 2.33 0.00 2.33 0.00 0.00 68.26 0.00 18:47:19 17:32:01 1.08 0.00 1.08 0.00 0.00 14.40 0.00 18:47:19 17:33:01 2.03 0.00 2.03 0.00 0.00 26.66 0.00 18:47:19 17:34:01 1.23 0.00 1.23 0.00 0.00 16.00 0.00 18:47:19 17:35:01 1.87 0.00 1.87 0.00 0.00 24.66 0.00 18:47:19 17:36:01 1.35 0.00 1.35 0.00 0.00 16.66 0.00 18:47:19 17:37:01 25.69 0.00 25.69 0.00 0.00 398.80 0.00 18:47:19 17:38:01 79.60 0.00 79.60 0.00 0.00 1180.00 0.00 18:47:19 17:39:01 55.79 0.00 55.79 0.00 0.00 799.07 0.00 18:47:19 17:40:01 25.34 0.00 25.34 0.00 0.00 400.00 0.00 18:47:19 17:41:01 77.54 0.00 77.54 0.00 0.00 1234.46 0.00 18:47:19 17:42:01 61.99 0.00 61.99 0.00 0.00 877.45 0.00 18:47:19 17:43:01 75.82 0.02 75.80 0.00 0.53 1104.62 0.00 18:47:19 17:44:01 82.55 0.00 82.55 0.00 0.00 1222.86 0.00 18:47:19 17:45:01 17.10 0.00 17.10 0.00 0.00 285.55 0.00 18:47:19 17:46:01 59.47 0.00 59.47 0.00 0.00 851.86 0.00 18:47:19 17:47:01 2.33 0.00 2.33 0.00 0.00 33.46 0.00 18:47:19 17:48:01 1.32 0.00 1.32 0.00 0.00 15.86 0.00 18:47:19 17:49:01 2.05 0.00 2.05 0.00 0.00 26.40 0.00 18:47:19 17:50:01 71.12 0.00 71.12 0.00 0.00 1045.03 0.00 18:47:19 17:51:01 2.35 0.00 2.35 0.00 0.00 52.52 0.00 18:47:19 17:52:01 2.53 0.00 2.53 0.00 0.00 51.46 0.00 18:47:19 17:53:01 2.07 0.00 2.07 0.00 0.00 33.99 0.00 18:47:19 17:54:01 1.67 0.00 1.67 0.00 0.00 20.26 0.00 18:47:19 17:55:01 2.10 0.00 2.10 0.00 0.00 26.53 0.00 18:47:19 17:56:01 78.02 0.00 78.02 0.00 0.00 1140.74 0.00 18:47:19 17:57:01 2.50 0.00 2.50 0.00 0.00 62.39 0.00 18:47:19 17:58:01 2.05 0.00 2.05 0.00 0.00 38.93 0.00 18:47:19 17:59:01 1.98 0.00 1.98 0.00 0.00 36.39 0.00 18:47:19 18:00:01 1.98 0.00 1.98 0.00 0.00 39.59 0.00 18:47:19 18:01:01 2.62 0.00 2.62 0.00 0.00 51.59 0.00 18:47:19 18:02:01 1.52 0.00 1.52 0.00 0.00 29.73 0.00 18:47:19 18:03:01 2.20 0.00 2.20 0.00 0.00 37.73 0.00 18:47:19 18:04:01 16.81 0.00 16.81 0.00 0.00 292.22 0.00 18:47:19 18:05:01 62.16 0.00 62.16 0.00 0.00 916.11 0.00 18:47:19 18:06:01 2.13 0.00 2.13 0.00 0.00 43.99 0.00 18:47:19 18:07:01 3.78 0.00 3.78 0.00 0.00 82.12 0.00 18:47:19 18:08:01 2.25 0.00 2.25 0.00 0.00 41.86 0.00 18:47:19 18:09:01 2.03 0.00 2.03 0.00 0.00 43.73 0.00 18:47:19 18:10:01 1.83 0.00 1.83 0.00 0.00 51.59 0.00 18:47:19 18:11:01 15.70 0.00 15.70 0.00 0.00 281.15 0.00 18:47:19 18:12:01 61.09 0.00 61.09 0.00 0.00 886.65 0.00 18:47:19 18:13:01 3.85 0.02 3.83 0.00 0.53 83.45 0.00 18:47:19 18:14:01 1.58 0.00 1.58 0.00 0.00 36.26 0.00 18:47:19 18:15:01 2.42 0.00 2.42 0.00 0.00 49.73 0.00 18:47:19 18:16:01 1.92 0.00 1.92 0.00 0.00 36.12 0.00 18:47:19 18:17:01 2.50 0.00 2.50 0.00 0.00 57.59 0.00 18:47:19 18:18:01 2.98 0.00 2.98 0.00 0.00 61.32 0.00 18:47:19 18:19:02 2.02 0.00 2.02 0.00 0.00 35.73 0.00 18:47:19 18:20:01 88.29 0.00 88.29 0.00 0.00 1290.09 0.00 18:47:19 18:21:01 2.20 0.00 2.20 0.00 0.00 54.66 0.00 18:47:19 18:22:01 1.98 0.00 1.98 0.00 0.00 59.06 0.00 18:47:19 18:23:01 2.62 0.00 2.62 0.00 0.00 51.59 0.00 18:47:19 18:24:01 1.97 0.00 1.97 0.00 0.00 34.39 0.00 18:47:19 18:25:01 3.05 0.00 3.05 0.00 0.00 50.79 0.00 18:47:19 18:26:01 2.28 0.00 2.28 0.00 0.00 45.86 0.00 18:47:19 18:27:01 3.05 0.00 3.05 0.00 0.00 49.85 0.00 18:47:19 18:28:01 2.12 0.00 2.12 0.00 0.00 38.00 0.00 18:47:19 18:29:01 3.23 0.00 3.23 0.00 0.00 63.19 0.00 18:47:19 18:30:01 113.93 0.00 113.93 0.00 0.00 10084.37 0.00 18:47:19 18:31:01 3.58 0.00 3.58 0.00 0.00 151.57 0.00 18:47:19 18:32:01 34.01 8.40 25.61 0.00 451.39 893.72 0.00 18:47:19 18:33:01 53.42 0.00 53.42 0.00 0.00 821.06 0.00 18:47:19 18:34:01 1.87 0.00 1.87 0.00 0.00 34.79 0.00 18:47:19 18:35:01 3.15 0.00 3.15 0.00 0.00 54.79 0.00 18:47:19 18:36:01 2.23 0.00 2.23 0.00 0.00 38.79 0.00 18:47:19 18:37:01 3.17 0.00 3.17 0.00 0.00 55.59 0.00 18:47:19 18:38:01 1.93 0.00 1.93 0.00 0.00 42.13 0.00 18:47:19 18:39:01 16.04 0.00 16.04 0.00 0.00 273.91 0.00 18:47:19 18:40:01 60.89 0.00 60.89 0.00 0.00 878.79 0.00 18:47:19 18:41:01 3.37 0.00 3.37 0.00 0.00 173.97 0.00 18:47:19 18:42:01 2.83 0.00 2.83 0.00 0.00 75.32 0.00 18:47:19 18:43:01 3.32 0.00 3.32 0.00 0.00 75.85 0.00 18:47:19 18:44:01 1.87 0.00 1.87 0.00 0.00 26.66 0.00 18:47:19 18:45:01 2.12 0.00 2.12 0.00 0.00 28.53 0.00 18:47:19 18:46:01 1.43 0.00 1.43 0.00 0.00 17.46 0.00 18:47:19 18:47:01 55.39 10.58 44.81 0.00 323.68 7622.33 0.00 18:47:19 Average: 30.39 1.41 28.97 0.00 108.21 3809.18 0.00 18:47:19 18:47:19 17:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:47:19 17:08:01 13255860 15435500 539772 3.30 76024 2292764 1300528 7.46 811716 2026100 204728 18:47:19 17:09:01 10508460 14339416 1621396 9.90 137700 3759584 2409632 13.82 2095256 3349876 710132 18:47:19 17:10:01 9502568 15082288 876924 5.35 161968 5407240 2225860 12.77 1671976 4702568 1287532 18:47:19 17:11:01 5817648 13825028 2132532 13.02 197852 7694744 3055680 17.53 3814044 6134852 1229464 18:47:19 17:12:01 5163528 14417004 1531168 9.35 219904 8870272 2443932 14.02 3699712 6843344 47196 18:47:19 17:13:01 282728 9700908 6243816 38.12 226772 9021144 7940884 45.56 8488488 6908296 280 18:47:19 17:14:01 322580 8873924 7070196 43.16 221840 8174776 8138936 46.70 9172860 6194212 1440 18:47:19 17:15:01 1031132 9587328 6356720 38.80 224780 8176480 7417624 42.56 8476548 6184996 836 18:47:19 17:16:01 163628 7971436 7972040 48.67 233524 7428120 9536724 54.71 10061772 5470896 217032 18:47:19 17:17:01 170700 7519104 8424204 51.43 233564 6977020 9617604 55.18 10472136 5060324 248 18:47:19 17:18:01 4430512 11778824 4165608 25.43 233608 6976764 5169764 29.66 6225904 5059716 104 18:47:19 17:19:01 2697352 10049492 5895548 35.99 236104 6977896 7260584 41.66 7966272 5050308 380 18:47:19 17:20:01 1941164 9293988 6650572 40.60 236140 6978544 7559640 43.37 8721036 5048968 112 18:47:19 17:21:01 1900428 9253580 6690956 40.84 236168 6978840 7559640 43.37 8762976 5049024 88 18:47:19 17:22:01 1870840 9225104 6719224 41.02 236212 6979832 7593628 43.57 8792652 5047760 444 18:47:19 17:23:01 6545280 14139896 1807424 11.03 243536 7206396 2845484 16.33 3962780 5215260 217460 18:47:19 17:24:01 6221808 13822060 2125048 12.97 247844 7207532 2938508 16.86 4312336 5188208 376 18:47:19 17:25:01 6197264 13797684 2149412 13.12 247872 7207672 2954552 16.95 4336240 5188232 132 18:47:19 17:26:01 7433744 15034352 913500 5.58 247936 7207744 1761384 10.11 3116156 5177540 268 18:47:19 17:27:01 5399528 13002148 2944332 17.97 249700 7207964 3747336 21.50 5142120 5177608 200 18:47:19 17:28:01 5359856 12962752 2983716 18.21 249732 7208208 3747336 21.50 5180756 5177844 316 18:47:19 17:29:01 6188436 13794020 2152872 13.14 252108 7208412 2967184 17.02 4357112 5177040 36 18:47:19 17:30:01 5088488 12761640 3184548 19.44 255440 7268596 4326920 24.82 5390460 5236160 972 18:47:19 17:31:01 4738336 12411696 3534216 21.57 255468 7268776 4456044 25.57 5737572 5236316 48 18:47:19 17:32:01 4738228 12411604 3534296 21.58 255484 7268776 4456044 25.57 5737340 5236316 76 18:47:19 17:33:01 4737928 12411344 3534536 21.58 255512 7268780 4456044 25.57 5737832 5236320 240 18:47:19 17:34:01 4737368 12410808 3535072 21.58 255528 7268788 4456044 25.57 5738404 5236328 120 18:47:19 17:35:01 4737180 12410636 3535352 21.58 255536 7268792 4456044 25.57 5738496 5236332 68 18:47:19 17:36:01 4736928 12410396 3535568 21.58 255552 7268788 4456044 25.57 5738560 5236332 64 18:47:19 17:37:01 6399280 14073252 1873572 11.44 255880 7268964 3401408 19.51 4088644 5231412 552 18:47:19 17:38:01 4664444 12340416 3605612 22.01 257400 7269368 4918964 28.22 5825900 5222564 132 18:47:19 17:39:01 4016244 11693456 4252244 25.96 258328 7269656 5132660 29.45 6470960 5222852 60 18:47:19 17:40:01 6390108 14067688 1879128 11.47 258508 7269840 2826600 16.22 4106516 5222824 584 18:47:19 17:41:01 6335844 14015428 1931464 11.79 260048 7270244 2856940 16.39 4161976 5222476 500 18:47:19 17:42:01 6138048 13818552 2128108 12.99 260884 7270308 2954128 16.95 4358152 5222532 108 18:47:19 17:43:01 5607904 13289740 2656680 16.22 261880 7270616 3664508 21.02 4886332 5222756 404 18:47:19 17:44:01 6085812 13768880 2177832 13.29 262560 7271136 2969112 17.03 4409080 5223220 92 18:47:19 17:45:01 6213212 13896536 2050116 12.51 262576 7271372 3460312 19.85 4281888 5223444 624 18:47:19 17:46:01 5267444 12951976 2994120 18.28 263444 7271676 3812288 21.87 5223724 5223752 48 18:47:19 17:47:01 5262876 12947472 2998592 18.30 263460 7271724 3812288 21.87 5228400 5223796 48 18:47:19 17:48:01 5263288 12947900 2998168 18.30 263476 7271724 3812288 21.87 5226656 5223796 220 18:47:19 17:49:01 5262752 12947368 2998700 18.31 263476 7271728 3812288 21.87 5226908 5223800 256 18:47:19 17:50:01 4519992 12205252 3740424 22.83 263964 7271992 4931868 28.30 5968400 5224064 212 18:47:19 17:51:01 3924632 11610312 4334924 26.46 263968 7272408 5181428 29.73 6560656 5224468 264 18:47:19 17:52:01 3913732 11599692 4345628 26.53 263972 7272688 5197448 29.82 6570456 5224748 148 18:47:19 17:53:01 3912668 11598664 4346680 26.53 263976 7272712 5197448 29.82 6570948 5224772 120 18:47:19 17:54:01 3912544 11598540 4346772 26.53 263976 7272712 5197448 29.82 6570696 5224772 64 18:47:19 17:55:01 3912584 11598588 4346692 26.53 263980 7272716 5197448 29.82 6570340 5224776 60 18:47:19 17:56:01 4501604 12188536 3757100 22.94 264744 7272844 4961812 28.47 5985748 5224872 316 18:47:19 17:57:01 3854928 11542452 4402608 26.88 264752 7273420 5229820 30.00 6628160 5225448 116 18:47:19 17:58:01 3825964 11513812 4431328 27.05 264776 7273728 5245820 30.10 6656428 5225748 100 18:47:19 17:59:01 3813772 11501784 4443292 27.12 264812 7273832 5261844 30.19 6668464 5225860 144 18:47:19 18:00:01 3800944 11489228 4455936 27.20 264824 7274088 5261844 30.19 6680936 5226116 152 18:47:19 18:01:01 3787588 11476240 4468860 27.28 264828 7274460 5261844 30.19 6694516 5226480 224 18:47:19 18:02:01 3749984 11438844 4506232 27.51 264828 7274660 5294428 30.38 6731488 5226684 204 18:47:19 18:03:01 3729092 11418180 4526780 27.63 264832 7274932 5311068 30.47 6751124 5226908 540 18:47:19 18:04:01 5164596 12853732 3092260 18.88 264852 7274932 4825808 27.69 5323308 5226848 608 18:47:19 18:05:01 3891128 11581372 4363632 26.64 265208 7275676 5202432 29.85 6590380 5227580 136 18:47:19 18:06:01 3885356 11575904 4369152 26.67 265216 7275972 5218476 29.94 6594780 5227880 324 18:47:19 18:07:01 3867912 11559080 4386064 26.77 265220 7276600 5218476 29.94 6612104 5228496 40 18:47:19 18:08:01 3846680 11538128 4406976 26.90 265228 7276872 5218476 29.94 6631648 5228768 152 18:47:19 18:09:01 3835688 11527656 4417392 26.97 265240 7277396 5218476 29.94 6642112 5229272 324 18:47:19 18:10:01 3813236 11505864 4439072 27.10 265248 7278060 5266480 30.22 6664624 5229924 316 18:47:19 18:11:01 7359828 15053028 894252 5.46 265268 7278536 1748676 10.03 3133976 5230356 444 18:47:19 18:12:01 2775548 10468980 5475640 33.43 265784 7278236 6515388 37.38 7702876 5230040 556 18:47:19 18:13:01 2480680 10174452 5769948 35.22 265788 7278572 6628308 38.03 7996024 5230380 340 18:47:19 18:14:01 2285344 9979668 5964484 36.41 265804 7279108 6742952 38.69 8189096 5230916 444 18:47:19 18:15:01 2263208 9957720 5986424 36.54 265808 7279296 6758940 38.78 8210832 5231100 264 18:47:19 18:16:01 2241196 9935892 6008240 36.68 265828 7279456 6791020 38.96 8230000 5231268 492 18:47:19 18:17:01 2208380 9903460 6040524 36.87 265840 7279828 6791020 38.96 8262896 5231636 372 18:47:19 18:18:01 2199284 9894928 6049040 36.93 265848 7280376 6807684 39.06 8271032 5232160 100 18:47:19 18:19:02 2172124 9867932 6076136 37.09 265856 7280532 6823792 39.15 8298792 5232316 380 18:47:19 18:20:01 3141268 10837264 5107488 31.18 266308 7280200 6443376 36.97 7333176 5231968 140 18:47:19 18:21:01 2376360 10072844 5871656 35.84 266324 7280672 6678444 38.32 8096852 5232436 116 18:47:19 18:22:01 2256812 9954032 5990156 36.57 266348 7281388 6776464 38.88 8216296 5233152 444 18:47:19 18:23:01 2241820 9939280 6004924 36.66 266360 7281608 6776464 38.88 8230660 5233372 360 18:47:19 18:24:01 2228880 9926444 6017700 36.74 266364 7281708 6776464 38.88 8243060 5233472 168 18:47:19 18:25:01 2217932 9915696 6028308 36.80 266380 7281896 6792496 38.97 8252908 5233660 380 18:47:19 18:26:01 2214412 9912384 6031616 36.82 266380 7282108 6792496 38.97 8257216 5233864 264 18:47:19 18:27:01 2201968 9900088 6043840 36.89 266392 7282236 6792496 38.97 8269100 5234004 348 18:47:19 18:28:01 2166348 9864752 6079064 37.11 266396 7282532 6841860 39.25 8303744 5234264 576 18:47:19 18:29:01 2130360 9829048 6114784 37.33 266400 7282792 6890388 39.53 8339576 5234544 288 18:47:19 18:30:01 3926624 11866748 4078188 24.90 272796 7508936 5149568 29.54 6367804 5405544 2776 18:47:19 18:31:01 3517176 11457964 4486740 27.39 272812 7509692 5302824 30.42 6777920 5404004 184 18:47:19 18:32:01 6039016 14001968 1941920 11.85 273312 7529788 3120412 17.90 4263096 5402240 2068 18:47:19 18:33:01 3307944 11271516 4670720 28.51 273692 7529996 5504100 31.58 6986548 5398952 112 18:47:19 18:34:01 3283356 11247108 4695076 28.66 273692 7530160 5504100 31.58 7010064 5398956 308 18:47:19 18:35:01 3250692 11214716 4727452 28.86 273696 7530440 5504100 31.58 7043152 5399216 232 18:47:19 18:36:01 3246840 11211012 4731148 28.88 273704 7530572 5504100 31.58 7046588 5399356 176 18:47:19 18:37:01 3219624 11184248 4757884 29.04 273708 7531016 5552968 31.86 7071988 5399804 368 18:47:19 18:38:01 3199528 11164480 4777648 29.17 273712 7531340 5552968 31.86 7092372 5400108 244 18:47:19 18:39:01 6839052 14804372 1139828 6.96 273716 7531632 2019936 11.59 3480440 5388624 320 18:47:19 18:40:01 2841568 10807004 5134804 31.35 274040 7531464 6003124 34.44 7463436 5388384 48 18:47:19 18:41:01 2713172 10679272 5262356 32.12 274044 7532032 6072400 34.84 7590520 5388796 76 18:47:19 18:42:01 2636304 10603208 5338364 32.59 274060 7532816 6088444 34.93 7666696 5389580 320 18:47:19 18:43:01 2601128 10568704 5372864 32.80 274076 7533460 6104448 35.02 7700920 5390224 328 18:47:19 18:44:01 2600184 10567780 5373892 32.80 274076 7533480 6104448 35.02 7701624 5390244 64 18:47:19 18:45:01 2599688 10567292 5374496 32.81 274076 7533488 6104448 35.02 7701684 5390252 256 18:47:19 18:46:01 2596476 10564084 5377704 32.83 274080 7533488 6104448 35.02 7704436 5390252 64 18:47:19 18:47:01 7170488 15367496 577236 3.52 279432 7742540 1385620 7.95 2950584 5573908 16428 18:47:19 Average: 4070420 11723513 4222053 25.77 255780 7253777 5134408 29.46 6390799 5254641 39594 18:47:19 18:47:19 17:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:47:19 17:08:01 ens3 86.31 71.46 918.88 9.64 0.00 0.00 0.00 0.00 18:47:19 17:08:01 lo 0.95 0.95 0.09 0.09 0.00 0.00 0.00 0.00 18:47:19 17:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:09:01 ens3 485.29 395.20 7660.81 43.05 0.00 0.00 0.00 0.00 18:47:19 17:09:01 lo 6.33 6.33 0.64 0.64 0.00 0.00 0.00 0.00 18:47:19 17:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:10:01 ens3 365.04 253.77 5642.58 25.76 0.00 0.00 0.00 0.00 18:47:19 17:10:01 lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 18:47:19 17:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:11:01 ens3 68.04 31.96 1781.67 5.95 0.00 0.00 0.00 0.00 18:47:19 17:11:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 18:47:19 17:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:12:01 ens3 146.57 85.42 2101.47 6.04 0.00 0.00 0.00 0.00 18:47:19 17:12:01 lo 2.82 2.82 0.31 0.31 0.00 0.00 0.00 0.00 18:47:19 17:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:13:01 ens3 2.45 1.28 0.23 0.18 0.00 0.00 0.00 0.00 18:47:19 17:13:01 lo 6.42 6.42 13.74 13.74 0.00 0.00 0.00 0.00 18:47:19 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:14:01 ens3 1.38 1.57 0.27 0.26 0.00 0.00 0.00 0.00 18:47:19 17:14:01 lo 52.47 52.47 40.34 40.34 0.00 0.00 0.00 0.00 18:47:19 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:15:01 ens3 1.37 1.70 0.25 0.27 0.00 0.00 0.00 0.00 18:47:19 17:15:01 lo 36.56 36.56 18.22 18.22 0.00 0.00 0.00 0.00 18:47:19 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:16:01 ens3 2.02 2.08 0.82 0.71 0.00 0.00 0.00 0.00 18:47:19 17:16:01 lo 3.18 3.18 1.01 1.01 0.00 0.00 0.00 0.00 18:47:19 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:17:01 ens3 0.73 0.57 0.39 0.32 0.00 0.00 0.00 0.00 18:47:19 17:17:01 lo 6.70 6.70 6.33 6.33 0.00 0.00 0.00 0.00 18:47:19 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:18:01 ens3 0.18 0.05 0.02 0.01 0.00 0.00 0.00 0.00 18:47:19 17:18:01 lo 0.22 0.22 0.01 0.01 0.00 0.00 0.00 0.00 18:47:19 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:19:01 ens3 0.83 0.57 0.08 0.07 0.00 0.00 0.00 0.00 18:47:19 17:19:01 lo 3.92 3.92 0.43 0.43 0.00 0.00 0.00 0.00 18:47:19 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:20:01 ens3 0.77 0.70 0.16 0.14 0.00 0.00 0.00 0.00 18:47:19 17:20:01 lo 31.86 31.86 27.02 27.02 0.00 0.00 0.00 0.00 18:47:19 17:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:21:01 ens3 0.65 0.25 0.17 0.04 0.00 0.00 0.00 0.00 18:47:19 17:21:01 lo 10.53 10.53 5.31 5.31 0.00 0.00 0.00 0.00 18:47:19 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:22:01 ens3 0.42 0.27 0.12 0.10 0.00 0.00 0.00 0.00 18:47:19 17:22:01 lo 31.71 31.71 11.18 11.18 0.00 0.00 0.00 0.00 18:47:19 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:23:01 ens3 12.25 10.68 3.03 6.88 0.00 0.00 0.00 0.00 18:47:19 17:23:01 lo 4.07 4.07 0.54 0.54 0.00 0.00 0.00 0.00 18:47:19 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:24:01 ens3 1.00 0.87 0.18 0.17 0.00 0.00 0.00 0.00 18:47:19 17:24:01 lo 17.35 17.35 21.18 21.18 0.00 0.00 0.00 0.00 18:47:19 17:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:25:01 ens3 1.48 1.30 0.27 0.24 0.00 0.00 0.00 0.00 18:47:19 17:25:01 lo 25.10 25.10 8.32 8.32 0.00 0.00 0.00 0.00 18:47:19 17:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:26:01 ens3 1.17 1.55 0.23 0.26 0.00 0.00 0.00 0.00 18:47:19 17:26:01 lo 22.21 22.21 6.80 6.80 0.00 0.00 0.00 0.00 18:47:19 17:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:27:01 ens3 1.78 1.58 0.53 0.43 0.00 0.00 0.00 0.00 18:47:19 17:27:01 lo 18.10 18.10 11.56 11.56 0.00 0.00 0.00 0.00 18:47:19 17:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:28:01 ens3 1.13 1.42 0.23 0.23 0.00 0.00 0.00 0.00 18:47:19 17:28:01 lo 41.48 41.48 13.78 13.78 0.00 0.00 0.00 0.00 18:47:19 17:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:29:01 ens3 0.93 1.13 0.16 0.17 0.00 0.00 0.00 0.00 18:47:19 17:29:01 lo 26.38 26.38 11.46 11.46 0.00 0.00 0.00 0.00 18:47:19 17:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:30:01 ens3 2.25 2.65 1.09 0.97 0.00 0.00 0.00 0.00 18:47:19 17:30:01 lo 3.62 3.62 0.48 0.48 0.00 0.00 0.00 0.00 18:47:19 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:31:01 ens3 1.17 1.05 0.23 0.21 0.00 0.00 0.00 0.00 18:47:19 17:31:01 lo 14.01 14.01 9.95 9.95 0.00 0.00 0.00 0.00 18:47:19 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:32:01 ens3 0.98 0.13 0.20 0.07 0.00 0.00 0.00 0.00 18:47:19 17:32:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:47:19 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:33:01 ens3 1.15 0.38 0.60 0.42 0.00 0.00 0.00 0.00 18:47:19 17:33:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 18:47:19 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:34:01 ens3 0.22 0.12 0.03 0.02 0.00 0.00 0.00 0.00 18:47:19 17:34:01 lo 0.68 0.68 0.08 0.08 0.00 0.00 0.00 0.00 18:47:19 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:35:01 ens3 0.27 0.10 0.02 0.01 0.00 0.00 0.00 0.00 18:47:19 17:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:47:19 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:36:01 ens3 0.17 0.00 0.01 0.00 0.00 0.00 0.00 0.00 18:47:19 17:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:37:01 ens3 0.63 0.50 0.14 0.12 0.00 0.00 0.00 0.00 18:47:19 17:37:01 lo 1.63 1.63 0.15 0.15 0.00 0.00 0.00 0.00 18:47:19 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:38:01 ens3 0.77 0.68 0.11 0.10 0.00 0.00 0.00 0.00 18:47:19 17:38:01 lo 13.48 13.48 4.65 4.65 0.00 0.00 0.00 0.00 18:47:19 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:39:01 ens3 1.02 0.95 0.20 0.19 0.00 0.00 0.00 0.00 18:47:19 17:39:01 lo 21.28 21.28 10.15 10.15 0.00 0.00 0.00 0.00 18:47:19 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:40:01 ens3 1.05 0.87 0.18 0.17 0.00 0.00 0.00 0.00 18:47:19 17:40:01 lo 10.58 10.58 3.90 3.90 0.00 0.00 0.00 0.00 18:47:19 17:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:41:01 ens3 0.85 0.70 0.14 0.12 0.00 0.00 0.00 0.00 18:47:19 17:41:01 lo 5.58 5.58 6.27 6.27 0.00 0.00 0.00 0.00 18:47:19 17:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:42:01 ens3 0.65 0.43 0.32 0.13 0.00 0.00 0.00 0.00 18:47:19 17:42:01 lo 8.17 8.17 3.21 3.21 0.00 0.00 0.00 0.00 18:47:19 17:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:43:01 ens3 0.67 0.58 0.10 0.09 0.00 0.00 0.00 0.00 18:47:19 17:43:01 lo 3.95 3.95 0.58 0.58 0.00 0.00 0.00 0.00 18:47:19 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:44:01 ens3 0.80 0.73 0.14 0.14 0.00 0.00 0.00 0.00 18:47:19 17:44:01 lo 33.39 33.39 17.01 17.01 0.00 0.00 0.00 0.00 18:47:19 17:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:45:01 ens3 1.08 0.95 0.19 0.17 0.00 0.00 0.00 0.00 18:47:19 17:45:01 lo 17.08 17.08 6.24 6.24 0.00 0.00 0.00 0.00 18:47:19 17:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:46:01 ens3 0.57 0.47 0.11 0.09 0.00 0.00 0.00 0.00 18:47:19 17:46:01 lo 19.78 19.78 19.65 19.65 0.00 0.00 0.00 0.00 18:47:19 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:47:01 ens3 0.62 0.47 0.15 0.13 0.00 0.00 0.00 0.00 18:47:19 17:47:01 lo 2.17 2.17 0.51 0.51 0.00 0.00 0.00 0.00 18:47:19 17:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:48:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:49:01 ens3 0.92 0.35 0.36 0.21 0.00 0.00 0.00 0.00 18:47:19 17:49:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:47:19 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:50:01 ens3 0.55 0.50 0.07 0.07 0.00 0.00 0.00 0.00 18:47:19 17:50:01 lo 3.13 3.13 1.19 1.19 0.00 0.00 0.00 0.00 18:47:19 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:51:01 ens3 0.83 0.72 0.15 0.15 0.00 0.00 0.00 0.00 18:47:19 17:51:01 lo 44.89 44.89 17.27 17.27 0.00 0.00 0.00 0.00 18:47:19 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:52:01 ens3 0.80 0.65 0.20 0.18 0.00 0.00 0.00 0.00 18:47:19 17:52:01 lo 42.01 42.01 12.20 12.20 0.00 0.00 0.00 0.00 18:47:19 17:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:53:01 ens3 0.27 0.13 0.03 0.02 0.00 0.00 0.00 0.00 18:47:19 17:53:01 lo 0.92 0.92 0.08 0.08 0.00 0.00 0.00 0.00 18:47:19 17:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:54:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:54:01 lo 0.40 0.40 0.05 0.05 0.00 0.00 0.00 0.00 18:47:19 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:55:01 ens3 0.25 0.17 0.07 0.01 0.00 0.00 0.00 0.00 18:47:19 17:55:01 lo 0.47 0.47 0.03 0.03 0.00 0.00 0.00 0.00 18:47:19 17:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:56:01 ens3 0.67 0.55 0.09 0.08 0.00 0.00 0.00 0.00 18:47:19 17:56:01 lo 5.48 5.48 1.55 1.55 0.00 0.00 0.00 0.00 18:47:19 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:57:01 ens3 1.05 1.13 0.24 0.24 0.00 0.00 0.00 0.00 18:47:19 17:57:01 lo 31.58 31.58 22.66 22.66 0.00 0.00 0.00 0.00 18:47:19 17:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:58:01 ens3 0.53 0.58 0.09 0.10 0.00 0.00 0.00 0.00 18:47:19 17:58:01 lo 10.05 10.05 6.64 6.64 0.00 0.00 0.00 0.00 18:47:19 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 17:59:01 ens3 0.85 1.03 0.16 0.16 0.00 0.00 0.00 0.00 18:47:19 17:59:01 lo 14.61 14.61 7.19 7.19 0.00 0.00 0.00 0.00 18:47:19 17:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:00:01 ens3 0.42 0.47 0.07 0.07 0.00 0.00 0.00 0.00 18:47:19 18:00:01 lo 22.30 22.30 8.60 8.60 0.00 0.00 0.00 0.00 18:47:19 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:01:01 ens3 0.55 0.63 0.09 0.10 0.00 0.00 0.00 0.00 18:47:19 18:01:01 lo 17.70 17.70 8.03 8.03 0.00 0.00 0.00 0.00 18:47:19 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:02:01 ens3 0.70 0.87 0.19 0.18 0.00 0.00 0.00 0.00 18:47:19 18:02:01 lo 18.66 18.66 8.01 8.01 0.00 0.00 0.00 0.00 18:47:19 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:03:01 ens3 0.52 0.63 0.19 0.09 0.00 0.00 0.00 0.00 18:47:19 18:03:01 lo 23.65 23.65 9.03 9.03 0.00 0.00 0.00 0.00 18:47:19 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:04:01 ens3 0.68 0.75 0.10 0.11 0.00 0.00 0.00 0.00 18:47:19 18:04:01 lo 4.20 4.20 1.39 1.39 0.00 0.00 0.00 0.00 18:47:19 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:05:01 ens3 0.90 1.10 0.16 0.17 0.00 0.00 0.00 0.00 18:47:19 18:05:01 lo 48.79 48.79 18.46 18.46 0.00 0.00 0.00 0.00 18:47:19 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:06:01 ens3 0.40 0.42 0.07 0.07 0.00 0.00 0.00 0.00 18:47:19 18:06:01 lo 25.36 25.36 7.38 7.38 0.00 0.00 0.00 0.00 18:47:19 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:07:01 ens3 0.63 0.68 0.16 0.15 0.00 0.00 0.00 0.00 18:47:19 18:07:01 lo 39.71 39.71 12.60 12.60 0.00 0.00 0.00 0.00 18:47:19 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:08:01 ens3 0.32 0.30 0.06 0.06 0.00 0.00 0.00 0.00 18:47:19 18:08:01 lo 25.06 25.06 7.14 7.14 0.00 0.00 0.00 0.00 18:47:19 18:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:09:01 ens3 0.25 0.12 0.02 0.01 0.00 0.00 0.00 0.00 18:47:19 18:09:01 lo 29.40 29.40 8.57 8.57 0.00 0.00 0.00 0.00 18:47:19 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:10:01 ens3 0.12 0.07 0.01 0.01 0.00 0.00 0.00 0.00 18:47:19 18:10:01 lo 53.12 53.12 15.97 15.97 0.00 0.00 0.00 0.00 18:47:19 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:11:01 ens3 0.57 0.42 0.07 0.07 0.00 0.00 0.00 0.00 18:47:19 18:11:01 lo 42.44 42.44 12.84 12.84 0.00 0.00 0.00 0.00 18:47:19 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:12:01 ens3 1.10 0.65 0.20 0.14 0.00 0.00 0.00 0.00 18:47:19 18:12:01 lo 12.28 12.28 18.15 18.15 0.00 0.00 0.00 0.00 18:47:19 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:13:01 ens3 1.18 0.87 0.40 0.33 0.00 0.00 0.00 0.00 18:47:19 18:13:01 lo 29.68 29.68 11.20 11.20 0.00 0.00 0.00 0.00 18:47:19 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:14:01 ens3 0.52 0.45 0.10 0.09 0.00 0.00 0.00 0.00 18:47:19 18:14:01 lo 29.90 29.90 14.15 14.15 0.00 0.00 0.00 0.00 18:47:19 18:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:15:01 ens3 1.10 0.47 0.16 0.09 0.00 0.00 0.00 0.00 18:47:19 18:15:01 lo 11.60 11.60 4.81 4.81 0.00 0.00 0.00 0.00 18:47:19 18:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:16:01 ens3 1.43 1.07 0.43 0.38 0.00 0.00 0.00 0.00 18:47:19 18:16:01 lo 23.33 23.33 9.68 9.68 0.00 0.00 0.00 0.00 18:47:19 18:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:17:01 ens3 0.60 0.68 0.15 0.15 0.00 0.00 0.00 0.00 18:47:19 18:17:01 lo 33.59 33.59 10.75 10.75 0.00 0.00 0.00 0.00 18:47:19 18:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:18:01 ens3 0.52 0.62 0.10 0.10 0.00 0.00 0.00 0.00 18:47:19 18:18:01 lo 22.33 22.33 9.74 9.74 0.00 0.00 0.00 0.00 18:47:19 18:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:19:02 ens3 0.65 0.78 0.12 0.12 0.00 0.00 0.00 0.00 18:47:19 18:19:02 lo 18.63 18.63 8.00 8.00 0.00 0.00 0.00 0.00 18:47:19 18:19:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:20:01 ens3 0.71 0.69 0.09 0.09 0.00 0.00 0.00 0.00 18:47:19 18:20:01 lo 3.44 3.44 0.94 0.94 0.00 0.00 0.00 0.00 18:47:19 18:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:21:01 ens3 0.78 1.02 0.15 0.15 0.00 0.00 0.00 0.00 18:47:19 18:21:01 lo 22.95 22.95 22.04 22.04 0.00 0.00 0.00 0.00 18:47:19 18:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:22:01 ens3 1.08 0.75 0.22 0.17 0.00 0.00 0.00 0.00 18:47:19 18:22:01 lo 45.14 45.14 19.89 19.89 0.00 0.00 0.00 0.00 18:47:19 18:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:23:01 ens3 1.20 1.22 0.59 0.32 0.00 0.00 0.00 0.00 18:47:19 18:23:01 lo 12.43 12.43 8.08 8.08 0.00 0.00 0.00 0.00 18:47:19 18:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:24:01 ens3 0.60 0.68 0.11 0.11 0.00 0.00 0.00 0.00 18:47:19 18:24:01 lo 14.08 14.08 6.40 6.40 0.00 0.00 0.00 0.00 18:47:19 18:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:25:01 ens3 1.10 0.95 0.19 0.15 0.00 0.00 0.00 0.00 18:47:19 18:25:01 lo 16.30 16.30 10.48 10.48 0.00 0.00 0.00 0.00 18:47:19 18:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:26:01 ens3 0.93 0.87 0.37 0.32 0.00 0.00 0.00 0.00 18:47:19 18:26:01 lo 11.40 11.40 5.95 5.95 0.00 0.00 0.00 0.00 18:47:19 18:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:27:01 ens3 1.73 0.87 0.51 0.37 0.00 0.00 0.00 0.00 18:47:19 18:27:01 lo 20.34 20.34 9.85 9.85 0.00 0.00 0.00 0.00 18:47:19 18:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:28:01 ens3 0.95 0.55 0.37 0.30 0.00 0.00 0.00 0.00 18:47:19 18:28:01 lo 26.03 26.03 11.76 11.76 0.00 0.00 0.00 0.00 18:47:19 18:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:29:01 ens3 0.67 0.57 0.16 0.10 0.00 0.00 0.00 0.00 18:47:19 18:29:01 lo 20.56 20.56 7.57 7.57 0.00 0.00 0.00 0.00 18:47:19 18:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:30:01 ens3 2.15 2.33 1.05 0.92 0.00 0.00 0.00 0.00 18:47:19 18:30:01 lo 11.66 11.66 20.70 20.70 0.00 0.00 0.00 0.00 18:47:19 18:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:31:01 ens3 1.13 1.03 0.23 0.21 0.00 0.00 0.00 0.00 18:47:19 18:31:01 lo 39.31 39.31 19.00 19.00 0.00 0.00 0.00 0.00 18:47:19 18:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:32:01 ens3 3.37 2.68 17.04 0.35 0.00 0.00 0.00 0.00 18:47:19 18:32:01 lo 25.48 25.48 8.16 8.16 0.00 0.00 0.00 0.00 18:47:19 18:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:33:01 ens3 1.25 0.88 0.38 0.30 0.00 0.00 0.00 0.00 18:47:19 18:33:01 lo 33.81 33.81 17.45 17.45 0.00 0.00 0.00 0.00 18:47:19 18:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:34:01 ens3 0.73 0.87 0.15 0.15 0.00 0.00 0.00 0.00 18:47:19 18:34:01 lo 11.33 11.33 4.62 4.62 0.00 0.00 0.00 0.00 18:47:19 18:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:35:01 ens3 0.73 0.90 0.13 0.14 0.00 0.00 0.00 0.00 18:47:19 18:35:01 lo 26.83 26.83 10.40 10.40 0.00 0.00 0.00 0.00 18:47:19 18:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:36:01 ens3 0.90 1.13 0.22 0.18 0.00 0.00 0.00 0.00 18:47:19 18:36:01 lo 13.16 13.16 5.55 5.55 0.00 0.00 0.00 0.00 18:47:19 18:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:37:01 ens3 0.55 0.52 0.13 0.12 0.00 0.00 0.00 0.00 18:47:19 18:37:01 lo 32.93 32.93 10.63 10.63 0.00 0.00 0.00 0.00 18:47:19 18:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:38:01 ens3 0.52 0.67 0.10 0.11 0.00 0.00 0.00 0.00 18:47:19 18:38:01 lo 20.71 20.71 7.93 7.93 0.00 0.00 0.00 0.00 18:47:19 18:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:39:01 ens3 1.18 1.42 0.21 0.22 0.00 0.00 0.00 0.00 18:47:19 18:39:01 lo 38.07 38.07 12.18 12.18 0.00 0.00 0.00 0.00 18:47:19 18:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:40:01 ens3 0.92 0.95 0.13 0.14 0.00 0.00 0.00 0.00 18:47:19 18:40:01 lo 38.93 38.93 20.12 20.12 0.00 0.00 0.00 0.00 18:47:19 18:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:41:01 ens3 0.97 1.13 0.18 0.18 0.00 0.00 0.00 0.00 18:47:19 18:41:01 lo 40.86 40.86 15.12 15.12 0.00 0.00 0.00 0.00 18:47:19 18:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:42:01 ens3 0.30 0.33 0.10 0.10 0.00 0.00 0.00 0.00 18:47:19 18:42:01 lo 61.14 61.14 20.68 20.68 0.00 0.00 0.00 0.00 18:47:19 18:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:43:01 ens3 1.25 1.20 0.14 6.68 0.00 0.00 0.00 0.00 18:47:19 18:43:01 lo 75.22 75.22 23.92 23.92 0.00 0.00 0.00 0.00 18:47:19 18:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:44:01 ens3 0.70 0.12 0.09 0.02 0.00 0.00 0.00 0.00 18:47:19 18:44:01 lo 2.47 2.47 1.01 1.01 0.00 0.00 0.00 0.00 18:47:19 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:45:01 ens3 0.88 0.78 0.29 4.66 0.00 0.00 0.00 0.00 18:47:19 18:45:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 18:47:19 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:46:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:46:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 18:47:19 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:47:01 ens3 166.01 125.40 2012.99 19.08 0.00 0.00 0.00 0.00 18:47:19 18:47:01 lo 1.48 1.48 0.14 0.14 0.00 0.00 0.00 0.00 18:47:19 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 Average: ens3 14.09 10.45 201.50 1.43 0.00 0.00 0.00 0.00 18:47:19 Average: lo 18.59 18.59 8.56 8.56 0.00 0.00 0.00 0.00 18:47:19 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:47:19 18:47:19 18:47:19 ---> sar -P ALL: 18:47:19 Linux 5.4.0-190-generic (prd-ubuntu2004-docker-4c-16g-2593) 10/29/24 _x86_64_ (4 CPU) 18:47:19 18:47:19 17:06:07 LINUX RESTART (4 CPU) 18:47:19 18:47:19 17:07:02 CPU %user %nice %system %iowait %steal %idle 18:47:19 17:08:01 all 19.86 8.31 6.94 3.42 0.09 61.38 18:47:19 17:08:01 0 8.55 10.04 7.31 2.91 0.09 71.10 18:47:19 17:08:01 1 24.45 8.31 7.47 5.50 0.10 54.16 18:47:19 17:08:01 2 28.21 8.55 7.41 2.24 0.09 53.50 18:47:19 17:08:01 3 18.22 6.36 5.57 3.03 0.08 66.74 18:47:19 17:09:01 all 76.20 0.00 4.59 4.88 0.10 14.23 18:47:19 17:09:01 0 74.13 0.00 4.71 6.33 0.10 14.73 18:47:19 17:09:01 1 76.43 0.00 4.02 4.73 0.10 14.72 18:47:19 17:09:01 2 82.35 0.00 4.41 2.69 0.10 10.44 18:47:19 17:09:01 3 71.91 0.00 5.23 5.75 0.08 17.03 18:47:19 17:10:01 all 54.74 0.00 2.70 3.36 0.13 39.07 18:47:19 17:10:01 0 48.76 0.00 3.47 5.35 0.15 42.26 18:47:19 17:10:01 1 77.94 0.00 3.07 2.86 0.12 16.01 18:47:19 17:10:01 2 53.40 0.00 1.97 0.77 0.13 43.72 18:47:19 17:10:01 3 38.74 0.00 2.32 4.45 0.12 54.37 18:47:19 17:11:01 all 76.96 0.00 3.77 12.21 0.12 6.93 18:47:19 17:11:01 0 73.46 0.00 4.08 20.36 0.12 1.98 18:47:19 17:11:01 1 77.48 0.00 4.28 6.25 0.12 11.86 18:47:19 17:11:01 2 75.68 0.00 3.45 13.31 0.14 7.42 18:47:19 17:11:01 3 81.21 0.00 3.27 8.90 0.12 6.50 18:47:19 17:12:01 all 68.78 0.00 4.01 19.31 0.23 7.68 18:47:19 17:12:01 0 66.69 0.00 4.26 26.36 0.33 2.36 18:47:19 17:12:01 1 68.34 0.00 3.58 23.37 0.19 4.52 18:47:19 17:12:01 2 71.16 0.00 3.58 11.51 0.19 13.57 18:47:19 17:12:01 3 68.88 0.00 4.64 16.07 0.21 10.20 18:47:19 17:13:01 all 68.44 0.00 2.52 0.67 0.16 28.22 18:47:19 17:13:01 0 67.41 0.00 2.04 0.02 0.15 30.38 18:47:19 17:13:01 1 67.12 0.00 2.42 0.02 0.15 30.29 18:47:19 17:13:01 2 69.07 0.00 3.28 1.75 0.17 25.73 18:47:19 17:13:01 3 70.14 0.00 2.32 0.89 0.17 26.48 18:47:19 17:14:01 all 42.41 0.00 1.90 0.99 0.14 54.56 18:47:19 17:14:01 0 42.15 0.00 1.76 0.03 0.12 55.94 18:47:19 17:14:01 1 42.35 0.00 1.78 1.81 0.15 53.91 18:47:19 17:14:01 2 41.21 0.00 2.04 1.81 0.12 54.82 18:47:19 17:14:01 3 43.91 0.00 2.04 0.30 0.17 53.58 18:47:19 17:15:01 all 26.96 0.00 1.27 0.42 0.13 71.21 18:47:19 17:15:01 0 27.67 0.00 1.24 0.03 0.10 70.95 18:47:19 17:15:01 1 26.79 0.00 1.14 0.15 0.12 71.80 18:47:19 17:15:01 2 27.12 0.00 1.40 1.07 0.18 70.22 18:47:19 17:15:01 3 26.25 0.00 1.31 0.44 0.12 71.88 18:47:19 17:16:01 all 48.33 0.00 2.05 1.16 0.12 48.33 18:47:19 17:16:01 0 45.53 0.00 2.10 1.57 0.10 50.69 18:47:19 17:16:01 1 50.72 0.00 2.34 0.35 0.17 46.42 18:47:19 17:16:01 2 46.19 0.00 1.87 2.26 0.12 49.55 18:47:19 17:16:01 3 50.88 0.00 1.89 0.47 0.10 46.66 18:47:19 17:17:01 all 5.84 0.00 0.54 0.82 0.12 92.68 18:47:19 17:17:01 0 5.82 0.00 0.64 0.15 0.13 93.26 18:47:19 17:17:01 1 6.42 0.00 0.57 2.42 0.10 90.48 18:47:19 17:17:01 2 5.35 0.00 0.52 0.69 0.12 93.33 18:47:19 17:17:01 3 5.76 0.00 0.45 0.02 0.12 93.65 18:47:19 17:18:01 all 1.04 0.00 0.44 0.01 0.10 98.41 18:47:19 17:18:01 0 0.91 0.00 0.47 0.02 0.12 98.49 18:47:19 17:18:01 1 0.85 0.00 0.38 0.02 0.10 98.64 18:47:19 17:18:01 2 1.38 0.00 0.45 0.00 0.08 98.08 18:47:19 17:18:01 3 1.02 0.00 0.45 0.00 0.08 98.44 18:47:19 18:47:19 17:18:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 17:19:01 all 64.52 0.00 2.16 0.29 0.10 32.93 18:47:19 17:19:01 0 68.05 0.00 3.00 0.23 0.10 28.61 18:47:19 17:19:01 1 64.48 0.00 1.74 0.12 0.10 33.57 18:47:19 17:19:01 2 62.55 0.00 1.82 0.18 0.12 35.33 18:47:19 17:19:01 3 62.99 0.00 2.08 0.64 0.10 34.19 18:47:19 17:20:01 all 17.36 0.00 0.57 0.04 0.11 81.92 18:47:19 17:20:01 0 17.98 0.00 0.64 0.00 0.13 81.25 18:47:19 17:20:01 1 16.69 0.00 0.60 0.00 0.10 82.61 18:47:19 17:20:01 2 16.88 0.00 0.54 0.05 0.10 82.43 18:47:19 17:20:01 3 17.90 0.00 0.50 0.10 0.10 81.40 18:47:19 17:21:01 all 4.18 0.00 0.35 0.05 0.11 95.31 18:47:19 17:21:01 0 3.87 0.00 0.35 0.00 0.08 95.70 18:47:19 17:21:01 1 3.64 0.00 0.35 0.13 0.12 95.75 18:47:19 17:21:01 2 4.65 0.00 0.39 0.03 0.12 94.81 18:47:19 17:21:01 3 4.56 0.00 0.30 0.03 0.12 94.99 18:47:19 17:22:01 all 4.12 0.00 0.40 0.02 0.10 95.37 18:47:19 17:22:01 0 4.43 0.00 0.45 0.00 0.10 95.02 18:47:19 17:22:01 1 3.95 0.00 0.40 0.03 0.12 95.49 18:47:19 17:22:01 2 3.92 0.00 0.44 0.00 0.08 95.56 18:47:19 17:22:01 3 4.15 0.00 0.30 0.03 0.08 95.43 18:47:19 17:23:01 all 30.63 0.00 1.43 0.29 0.11 67.54 18:47:19 17:23:01 0 28.03 0.00 1.09 0.03 0.12 70.72 18:47:19 17:23:01 1 31.87 0.00 1.35 0.55 0.10 66.13 18:47:19 17:23:01 2 26.79 0.00 1.24 0.00 0.13 71.83 18:47:19 17:23:01 3 35.81 0.00 2.03 0.55 0.10 61.51 18:47:19 17:24:01 all 38.10 0.00 1.17 1.08 0.10 59.54 18:47:19 17:24:01 0 39.36 0.00 1.22 2.61 0.08 56.73 18:47:19 17:24:01 1 39.54 0.00 1.70 0.58 0.10 58.07 18:47:19 17:24:01 2 33.34 0.00 1.03 1.10 0.10 64.42 18:47:19 17:24:01 3 40.19 0.00 0.72 0.05 0.12 58.93 18:47:19 17:25:01 all 4.13 0.00 0.31 0.01 0.10 95.46 18:47:19 17:25:01 0 3.37 0.00 0.25 0.00 0.10 96.28 18:47:19 17:25:01 1 3.60 0.00 0.35 0.00 0.10 95.96 18:47:19 17:25:01 2 5.81 0.00 0.33 0.00 0.08 93.78 18:47:19 17:25:01 3 3.71 0.00 0.30 0.03 0.10 95.86 18:47:19 17:26:01 all 8.15 0.00 0.62 0.02 0.10 91.12 18:47:19 17:26:01 0 8.15 0.00 0.47 0.02 0.08 91.28 18:47:19 17:26:01 1 8.44 0.00 0.58 0.00 0.10 90.87 18:47:19 17:26:01 2 8.58 0.00 0.81 0.02 0.10 90.49 18:47:19 17:26:01 3 7.42 0.00 0.60 0.03 0.10 91.85 18:47:19 17:27:01 all 32.65 0.00 0.82 0.32 0.10 66.11 18:47:19 17:27:01 0 33.60 0.00 0.75 0.47 0.12 65.06 18:47:19 17:27:01 1 33.15 0.00 0.99 0.00 0.12 65.75 18:47:19 17:27:01 2 29.70 0.00 0.67 0.32 0.08 69.23 18:47:19 17:27:01 3 34.14 0.00 0.89 0.50 0.08 64.39 18:47:19 17:28:01 all 5.03 0.00 0.26 0.01 0.08 94.62 18:47:19 17:28:01 0 5.13 0.00 0.30 0.02 0.08 94.47 18:47:19 17:28:01 1 5.10 0.00 0.28 0.00 0.10 94.52 18:47:19 17:28:01 2 4.90 0.00 0.17 0.02 0.07 94.85 18:47:19 17:28:01 3 4.98 0.00 0.30 0.00 0.07 94.65 18:47:19 17:29:01 all 31.60 0.00 1.09 0.36 0.10 66.84 18:47:19 17:29:01 0 29.86 0.00 0.76 0.02 0.12 69.25 18:47:19 17:29:01 1 31.80 0.00 1.09 0.03 0.10 66.98 18:47:19 17:29:01 2 32.62 0.00 1.06 1.39 0.08 64.85 18:47:19 17:29:01 3 32.12 0.00 1.46 0.00 0.12 66.30 18:47:19 18:47:19 17:29:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 17:30:01 all 35.39 0.00 1.26 0.49 0.10 62.77 18:47:19 17:30:01 0 40.50 0.00 1.49 0.20 0.10 57.72 18:47:19 17:30:01 1 31.39 0.00 1.15 0.03 0.10 67.34 18:47:19 17:30:01 2 33.58 0.00 1.29 1.41 0.10 63.62 18:47:19 17:30:01 3 36.11 0.00 1.10 0.32 0.08 62.39 18:47:19 17:31:01 all 7.97 0.00 0.35 0.03 0.08 91.57 18:47:19 17:31:01 0 7.85 0.00 0.35 0.00 0.07 91.73 18:47:19 17:31:01 1 8.04 0.00 0.37 0.00 0.08 91.50 18:47:19 17:31:01 2 8.05 0.00 0.42 0.13 0.10 91.30 18:47:19 17:31:01 3 7.93 0.00 0.27 0.00 0.07 91.74 18:47:19 17:32:01 all 0.46 0.00 0.19 0.00 0.08 99.26 18:47:19 17:32:01 0 0.22 0.00 0.17 0.00 0.07 99.55 18:47:19 17:32:01 1 0.52 0.00 0.23 0.00 0.08 99.17 18:47:19 17:32:01 2 0.53 0.00 0.12 0.02 0.10 99.23 18:47:19 17:32:01 3 0.58 0.00 0.23 0.00 0.08 99.10 18:47:19 17:33:01 all 0.53 0.00 0.23 0.01 0.08 99.16 18:47:19 17:33:01 0 0.50 0.00 0.22 0.00 0.07 99.22 18:47:19 17:33:01 1 0.70 0.00 0.33 0.00 0.08 98.88 18:47:19 17:33:01 2 0.49 0.00 0.22 0.03 0.08 99.18 18:47:19 17:33:01 3 0.42 0.00 0.15 0.00 0.07 99.37 18:47:19 17:34:01 all 0.51 0.00 0.22 0.00 0.07 99.21 18:47:19 17:34:01 0 0.80 0.00 0.35 0.00 0.08 98.77 18:47:19 17:34:01 1 0.47 0.00 0.28 0.00 0.07 99.18 18:47:19 17:34:01 2 0.32 0.00 0.15 0.02 0.07 99.45 18:47:19 17:34:01 3 0.43 0.00 0.08 0.00 0.05 99.43 18:47:19 17:35:01 all 0.38 0.00 0.22 0.01 0.07 99.32 18:47:19 17:35:01 0 0.53 0.00 0.30 0.00 0.07 99.10 18:47:19 17:35:01 1 0.32 0.00 0.18 0.00 0.08 99.42 18:47:19 17:35:01 2 0.27 0.00 0.07 0.05 0.07 99.55 18:47:19 17:35:01 3 0.42 0.00 0.32 0.00 0.07 99.20 18:47:19 17:36:01 all 0.36 0.00 0.18 0.00 0.07 99.39 18:47:19 17:36:01 0 0.47 0.00 0.23 0.00 0.08 99.22 18:47:19 17:36:01 1 0.33 0.00 0.18 0.00 0.07 99.42 18:47:19 17:36:01 2 0.45 0.00 0.22 0.02 0.07 99.25 18:47:19 17:36:01 3 0.18 0.00 0.10 0.00 0.05 99.67 18:47:19 17:37:01 all 22.46 0.00 0.82 0.04 0.09 76.59 18:47:19 17:37:01 0 22.70 0.00 0.98 0.03 0.07 76.21 18:47:19 17:37:01 1 21.91 0.00 0.82 0.00 0.10 77.17 18:47:19 17:37:01 2 23.23 0.00 0.74 0.10 0.10 75.83 18:47:19 17:37:01 3 21.99 0.00 0.74 0.02 0.10 77.16 18:47:19 17:38:01 all 47.53 0.00 1.63 0.32 0.10 50.43 18:47:19 17:38:01 0 45.93 0.00 1.81 0.28 0.10 51.88 18:47:19 17:38:01 1 48.18 0.00 1.48 0.00 0.10 50.24 18:47:19 17:38:01 2 46.19 0.00 1.82 0.94 0.10 50.95 18:47:19 17:38:01 3 49.83 0.00 1.39 0.05 0.10 48.63 18:47:19 17:39:01 all 13.25 0.00 0.39 0.25 0.08 86.03 18:47:19 17:39:01 0 13.50 0.00 0.37 0.00 0.08 86.05 18:47:19 17:39:01 1 13.15 0.00 0.47 0.23 0.08 86.06 18:47:19 17:39:01 2 12.99 0.00 0.27 0.02 0.07 86.66 18:47:19 17:39:01 3 13.37 0.00 0.45 0.76 0.08 85.34 18:47:19 17:40:01 all 23.76 0.00 0.82 0.03 0.09 75.30 18:47:19 17:40:01 0 22.50 0.00 0.65 0.00 0.07 76.79 18:47:19 17:40:01 1 25.92 0.00 0.85 0.02 0.10 73.11 18:47:19 17:40:01 2 22.74 0.00 1.00 0.05 0.10 76.11 18:47:19 17:40:01 3 23.89 0.00 0.77 0.05 0.08 75.20 18:47:19 18:47:19 17:40:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 17:41:01 all 27.79 0.00 0.91 0.27 0.10 70.93 18:47:19 17:41:01 0 28.30 0.00 1.07 0.03 0.10 70.50 18:47:19 17:41:01 1 25.50 0.00 0.83 0.37 0.08 73.21 18:47:19 17:41:01 2 29.01 0.00 0.84 0.05 0.10 70.00 18:47:19 17:41:01 3 28.36 0.00 0.90 0.64 0.10 70.00 18:47:19 17:42:01 all 6.27 0.00 0.25 0.33 0.08 93.07 18:47:19 17:42:01 0 6.47 0.00 0.25 0.02 0.07 93.20 18:47:19 17:42:01 1 5.89 0.00 0.25 0.00 0.10 93.76 18:47:19 17:42:01 2 6.42 0.00 0.15 0.00 0.08 93.35 18:47:19 17:42:01 3 6.29 0.00 0.35 1.31 0.08 91.97 18:47:19 17:43:01 all 29.48 0.00 1.04 0.28 0.09 69.11 18:47:19 17:43:01 0 25.36 0.00 1.04 0.00 0.08 73.51 18:47:19 17:43:01 1 30.75 0.00 0.74 0.65 0.08 67.78 18:47:19 17:43:01 2 31.69 0.00 1.15 0.43 0.10 66.62 18:47:19 17:43:01 3 30.11 0.00 1.24 0.02 0.08 68.56 18:47:19 17:44:01 all 40.45 0.00 1.25 0.31 0.10 57.90 18:47:19 17:44:01 0 42.41 0.00 0.87 0.02 0.10 56.60 18:47:19 17:44:01 1 38.20 0.00 1.46 1.19 0.10 59.05 18:47:19 17:44:01 2 41.08 0.00 1.46 0.02 0.08 57.37 18:47:19 17:44:01 3 40.10 0.00 1.22 0.00 0.10 58.57 18:47:19 17:45:01 all 27.16 0.00 0.84 0.05 0.09 71.85 18:47:19 17:45:01 0 24.87 0.00 0.63 0.00 0.07 74.43 18:47:19 17:45:01 1 27.75 0.00 1.07 0.03 0.10 71.04 18:47:19 17:45:01 2 28.52 0.00 0.74 0.03 0.10 70.60 18:47:19 17:45:01 3 27.52 0.00 0.91 0.15 0.10 71.32 18:47:19 17:46:01 all 17.61 0.00 0.58 0.28 0.09 81.45 18:47:19 17:46:01 0 15.81 0.00 0.52 0.00 0.08 83.59 18:47:19 17:46:01 1 17.87 0.00 0.47 0.62 0.08 80.96 18:47:19 17:46:01 2 18.71 0.00 0.53 0.07 0.12 80.57 18:47:19 17:46:01 3 18.03 0.00 0.80 0.42 0.08 80.67 18:47:19 17:47:01 all 1.14 0.00 0.22 0.01 0.09 98.54 18:47:19 17:47:01 0 0.83 0.00 0.22 0.00 0.08 98.87 18:47:19 17:47:01 1 1.02 0.00 0.17 0.00 0.10 98.71 18:47:19 17:47:01 2 1.42 0.00 0.15 0.02 0.07 98.35 18:47:19 17:47:01 3 1.27 0.00 0.35 0.02 0.12 98.24 18:47:19 17:48:01 all 0.57 0.00 0.23 0.00 0.08 99.12 18:47:19 17:48:01 0 0.78 0.00 0.38 0.00 0.10 98.74 18:47:19 17:48:01 1 0.27 0.00 0.10 0.00 0.05 99.58 18:47:19 17:48:01 2 0.68 0.00 0.15 0.00 0.10 99.07 18:47:19 17:48:01 3 0.55 0.00 0.27 0.02 0.07 99.10 18:47:19 17:49:01 all 0.46 0.00 0.21 0.01 0.07 99.25 18:47:19 17:49:01 0 0.47 0.00 0.22 0.00 0.07 99.25 18:47:19 17:49:01 1 0.52 0.00 0.17 0.02 0.07 99.23 18:47:19 17:49:01 2 0.63 0.00 0.35 0.02 0.08 98.92 18:47:19 17:49:01 3 0.22 0.00 0.10 0.02 0.07 99.60 18:47:19 17:50:01 all 41.14 0.00 1.34 0.31 0.10 57.11 18:47:19 17:50:01 0 40.28 0.00 1.26 0.05 0.10 58.31 18:47:19 17:50:01 1 42.89 0.00 1.49 0.03 0.08 55.51 18:47:19 17:50:01 2 40.63 0.00 1.10 0.00 0.12 58.15 18:47:19 17:50:01 3 40.77 0.00 1.53 1.14 0.08 56.48 18:47:19 17:51:01 all 13.51 0.00 0.42 0.03 0.09 85.96 18:47:19 17:51:01 0 12.84 0.00 0.45 0.00 0.10 86.61 18:47:19 17:51:01 1 14.15 0.00 0.47 0.00 0.08 85.30 18:47:19 17:51:01 2 13.82 0.00 0.33 0.07 0.08 85.70 18:47:19 17:51:01 3 13.23 0.00 0.42 0.03 0.10 86.22 18:47:19 18:47:19 17:51:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 17:52:01 all 4.26 0.00 0.26 0.00 0.10 95.38 18:47:19 17:52:01 0 3.85 0.00 0.27 0.00 0.08 95.80 18:47:19 17:52:01 1 5.11 0.00 0.28 0.00 0.12 94.49 18:47:19 17:52:01 2 3.94 0.00 0.30 0.00 0.12 95.64 18:47:19 17:52:01 3 4.14 0.00 0.18 0.02 0.07 95.59 18:47:19 17:53:01 all 0.47 0.00 0.09 0.01 0.08 99.34 18:47:19 17:53:01 0 0.55 0.00 0.10 0.00 0.10 99.24 18:47:19 17:53:01 1 0.80 0.00 0.12 0.03 0.10 98.95 18:47:19 17:53:01 2 0.30 0.00 0.07 0.00 0.05 99.58 18:47:19 17:53:01 3 0.23 0.00 0.07 0.02 0.08 99.60 18:47:19 17:54:01 all 0.21 0.00 0.10 0.00 0.08 99.61 18:47:19 17:54:01 0 0.25 0.00 0.08 0.00 0.10 99.56 18:47:19 17:54:01 1 0.27 0.00 0.17 0.00 0.08 99.48 18:47:19 17:54:01 2 0.20 0.00 0.05 0.00 0.08 99.67 18:47:19 17:54:01 3 0.12 0.00 0.08 0.02 0.03 99.75 18:47:19 17:55:01 all 0.23 0.00 0.12 0.01 0.10 99.54 18:47:19 17:55:01 0 0.30 0.00 0.10 0.00 0.12 99.48 18:47:19 17:55:01 1 0.22 0.00 0.08 0.02 0.07 99.62 18:47:19 17:55:01 2 0.27 0.00 0.15 0.00 0.12 99.46 18:47:19 17:55:01 3 0.13 0.00 0.13 0.03 0.08 99.62 18:47:19 17:56:01 all 38.41 0.00 1.33 0.32 0.09 59.85 18:47:19 17:56:01 0 35.63 0.00 1.22 0.02 0.08 63.05 18:47:19 17:56:01 1 39.57 0.00 1.10 0.02 0.08 59.23 18:47:19 17:56:01 2 38.02 0.00 1.09 0.03 0.10 60.76 18:47:19 17:56:01 3 40.41 0.00 1.92 1.20 0.10 56.36 18:47:19 17:57:01 all 15.90 0.00 0.44 0.02 0.09 83.55 18:47:19 17:57:01 0 15.73 0.00 0.45 0.00 0.08 83.73 18:47:19 17:57:01 1 16.39 0.00 0.52 0.00 0.10 82.99 18:47:19 17:57:01 2 15.10 0.00 0.52 0.03 0.08 84.26 18:47:19 17:57:01 3 16.39 0.00 0.27 0.03 0.08 83.22 18:47:19 17:58:01 all 2.74 0.00 0.15 0.01 0.08 97.03 18:47:19 17:58:01 0 2.79 0.00 0.12 0.00 0.07 97.02 18:47:19 17:58:01 1 2.58 0.00 0.15 0.02 0.08 97.17 18:47:19 17:58:01 2 2.69 0.00 0.15 0.00 0.08 97.08 18:47:19 17:58:01 3 2.88 0.00 0.17 0.02 0.08 96.85 18:47:19 17:59:01 all 2.14 0.00 0.20 0.01 0.09 97.56 18:47:19 17:59:01 0 1.99 0.00 0.30 0.00 0.10 97.61 18:47:19 17:59:01 1 2.33 0.00 0.12 0.02 0.08 97.45 18:47:19 17:59:01 2 2.15 0.00 0.17 0.00 0.07 97.62 18:47:19 17:59:01 3 2.10 0.00 0.20 0.03 0.10 97.57 18:47:19 18:00:01 all 2.02 0.00 0.16 0.02 0.09 97.72 18:47:19 18:00:01 0 2.04 0.00 0.18 0.00 0.08 97.69 18:47:19 18:00:01 1 2.06 0.00 0.18 0.02 0.07 97.68 18:47:19 18:00:01 2 2.07 0.00 0.08 0.02 0.10 97.72 18:47:19 18:00:01 3 1.91 0.00 0.18 0.03 0.10 97.77 18:47:19 18:01:01 all 1.84 0.00 0.17 0.02 0.10 97.88 18:47:19 18:01:01 0 1.84 0.00 0.20 0.00 0.10 97.86 18:47:19 18:01:01 1 1.77 0.00 0.17 0.03 0.10 97.92 18:47:19 18:01:01 2 1.96 0.00 0.18 0.00 0.08 97.77 18:47:19 18:01:01 3 1.78 0.00 0.12 0.03 0.10 97.97 18:47:19 18:02:01 all 2.15 0.00 0.18 0.05 0.10 97.53 18:47:19 18:02:01 0 1.89 0.00 0.20 0.00 0.07 97.85 18:47:19 18:02:01 1 2.73 0.00 0.17 0.00 0.12 96.98 18:47:19 18:02:01 2 1.85 0.00 0.20 0.00 0.12 97.83 18:47:19 18:02:01 3 2.14 0.00 0.13 0.18 0.08 97.45 18:47:19 18:47:19 18:02:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 18:03:01 all 2.13 0.00 0.16 0.01 0.08 97.61 18:47:19 18:03:01 0 2.19 0.00 0.20 0.00 0.08 97.53 18:47:19 18:03:01 1 2.60 0.00 0.13 0.03 0.07 97.17 18:47:19 18:03:01 2 1.81 0.00 0.15 0.00 0.08 97.95 18:47:19 18:03:01 3 1.91 0.00 0.17 0.02 0.10 97.81 18:47:19 18:04:01 all 32.32 0.00 1.25 0.04 0.09 66.30 18:47:19 18:04:01 0 35.05 0.00 1.32 0.02 0.08 63.53 18:47:19 18:04:01 1 30.88 0.00 1.44 0.03 0.12 67.54 18:47:19 18:04:01 2 32.03 0.00 0.92 0.00 0.08 66.97 18:47:19 18:04:01 3 31.33 0.00 1.31 0.12 0.07 67.18 18:47:19 18:05:01 all 22.79 0.00 0.68 0.32 0.10 76.12 18:47:19 18:05:01 0 23.36 0.00 0.65 0.02 0.10 75.87 18:47:19 18:05:01 1 21.64 0.00 0.67 0.00 0.10 77.59 18:47:19 18:05:01 2 22.92 0.00 0.47 0.00 0.10 76.51 18:47:19 18:05:01 3 23.24 0.00 0.92 1.25 0.10 74.49 18:47:19 18:06:01 all 3.26 0.00 0.30 0.01 0.08 96.34 18:47:19 18:06:01 0 2.89 0.00 0.32 0.02 0.08 96.70 18:47:19 18:06:01 1 3.77 0.00 0.47 0.00 0.10 95.66 18:47:19 18:06:01 2 3.32 0.00 0.23 0.00 0.08 96.36 18:47:19 18:06:01 3 3.06 0.00 0.18 0.03 0.07 96.65 18:47:19 18:07:01 all 4.11 0.00 0.28 0.02 0.09 95.50 18:47:19 18:07:01 0 3.43 0.00 0.20 0.03 0.08 96.25 18:47:19 18:07:01 1 4.39 0.00 0.40 0.00 0.10 95.11 18:47:19 18:07:01 2 3.94 0.00 0.20 0.00 0.07 95.79 18:47:19 18:07:01 3 4.68 0.00 0.33 0.03 0.10 94.86 18:47:19 18:08:01 all 2.60 0.00 0.25 0.01 0.08 97.05 18:47:19 18:08:01 0 2.00 0.00 0.17 0.02 0.07 97.75 18:47:19 18:08:01 1 2.30 0.00 0.32 0.00 0.10 97.28 18:47:19 18:08:01 2 2.16 0.00 0.28 0.00 0.08 97.47 18:47:19 18:08:01 3 3.90 0.00 0.25 0.03 0.08 95.74 18:47:19 18:09:01 all 2.84 0.00 0.31 0.01 0.09 96.75 18:47:19 18:09:01 0 2.99 0.00 0.30 0.02 0.08 96.61 18:47:19 18:09:01 1 2.20 0.00 0.37 0.00 0.08 97.35 18:47:19 18:09:01 2 2.42 0.00 0.25 0.00 0.10 97.22 18:47:19 18:09:01 3 3.74 0.00 0.33 0.03 0.08 95.81 18:47:19 18:10:01 all 3.48 0.00 0.30 0.01 0.08 96.13 18:47:19 18:10:01 0 3.18 0.00 0.28 0.03 0.07 96.44 18:47:19 18:10:01 1 3.64 0.00 0.35 0.00 0.08 95.93 18:47:19 18:10:01 2 3.67 0.00 0.32 0.00 0.10 95.91 18:47:19 18:10:01 3 3.44 0.00 0.23 0.02 0.08 96.23 18:47:19 18:11:01 all 8.37 0.00 0.63 0.02 0.08 90.90 18:47:19 18:11:01 0 8.48 0.00 0.65 0.03 0.07 90.78 18:47:19 18:11:01 1 7.79 0.00 0.62 0.00 0.10 91.49 18:47:19 18:11:01 2 8.36 0.00 0.60 0.02 0.08 90.94 18:47:19 18:11:01 3 8.85 0.00 0.65 0.03 0.08 90.38 18:47:19 18:12:01 all 53.68 0.00 1.50 0.25 0.10 44.47 18:47:19 18:12:01 0 54.74 0.00 1.56 0.03 0.10 43.57 18:47:19 18:12:01 1 55.69 0.00 1.62 0.05 0.10 42.54 18:47:19 18:12:01 2 53.98 0.00 1.30 0.15 0.08 44.48 18:47:19 18:12:01 3 50.29 0.00 1.53 0.76 0.10 47.32 18:47:19 18:13:01 all 8.06 0.00 0.33 0.03 0.10 91.49 18:47:19 18:13:01 0 7.88 0.00 0.34 0.02 0.10 91.67 18:47:19 18:13:01 1 8.32 0.00 0.25 0.03 0.08 91.32 18:47:19 18:13:01 2 7.99 0.00 0.32 0.00 0.10 91.59 18:47:19 18:13:01 3 8.06 0.00 0.42 0.05 0.10 91.37 18:47:19 18:47:19 18:13:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 18:14:01 all 7.42 0.00 0.30 0.01 0.09 92.17 18:47:19 18:14:01 0 7.63 0.00 0.39 0.00 0.08 91.90 18:47:19 18:14:01 1 6.96 0.00 0.25 0.03 0.10 92.66 18:47:19 18:14:01 2 7.57 0.00 0.20 0.02 0.08 92.12 18:47:19 18:14:01 3 7.52 0.00 0.37 0.00 0.10 92.01 18:47:19 18:15:01 all 3.22 0.00 0.19 0.01 0.09 96.50 18:47:19 18:15:01 0 3.05 0.00 0.22 0.00 0.08 96.65 18:47:19 18:15:01 1 2.48 0.00 0.13 0.02 0.08 97.29 18:47:19 18:15:01 2 3.89 0.00 0.17 0.03 0.08 95.83 18:47:19 18:15:01 3 3.44 0.00 0.23 0.00 0.10 96.22 18:47:19 18:16:01 all 3.21 0.00 0.23 0.01 0.09 96.45 18:47:19 18:16:01 0 3.41 0.00 0.20 0.02 0.10 96.27 18:47:19 18:16:01 1 3.23 0.00 0.30 0.03 0.12 96.31 18:47:19 18:16:01 2 2.79 0.00 0.25 0.00 0.08 96.87 18:47:19 18:16:01 3 3.41 0.00 0.17 0.00 0.07 96.36 18:47:19 18:17:01 all 2.93 0.00 0.23 0.03 0.10 96.72 18:47:19 18:17:01 0 2.71 0.00 0.27 0.03 0.12 96.87 18:47:19 18:17:01 1 3.25 0.00 0.15 0.07 0.08 96.45 18:47:19 18:17:01 2 2.92 0.00 0.22 0.00 0.08 96.78 18:47:19 18:17:01 3 2.85 0.00 0.27 0.00 0.12 96.77 18:47:19 18:18:01 all 2.11 0.00 0.20 0.02 0.10 97.58 18:47:19 18:18:01 0 1.92 0.00 0.23 0.00 0.08 97.76 18:47:19 18:18:01 1 1.85 0.00 0.15 0.07 0.08 97.85 18:47:19 18:18:01 2 2.21 0.00 0.18 0.00 0.10 97.51 18:47:19 18:18:01 3 2.44 0.00 0.22 0.00 0.12 97.22 18:47:19 18:19:02 all 1.63 0.00 0.24 0.01 0.08 98.04 18:47:19 18:19:02 0 1.61 0.00 0.35 0.00 0.10 97.94 18:47:19 18:19:02 1 1.43 0.00 0.20 0.05 0.07 98.25 18:47:19 18:19:02 2 1.62 0.00 0.18 0.00 0.08 98.11 18:47:19 18:19:02 3 1.85 0.00 0.22 0.00 0.08 97.84 18:47:19 18:20:01 all 50.97 0.00 1.74 0.29 0.09 46.91 18:47:19 18:20:01 0 53.70 0.00 2.02 0.00 0.10 44.17 18:47:19 18:20:01 1 50.77 0.00 2.02 0.66 0.09 46.46 18:47:19 18:20:01 2 47.43 0.00 1.34 0.47 0.10 50.66 18:47:19 18:20:01 3 52.01 0.00 1.58 0.02 0.09 46.31 18:47:19 18:21:01 all 13.40 0.00 0.45 0.01 0.09 86.05 18:47:19 18:21:01 0 13.42 0.00 0.40 0.00 0.08 86.09 18:47:19 18:21:01 1 13.70 0.00 0.50 0.03 0.10 85.66 18:47:19 18:21:01 2 12.99 0.00 0.39 0.02 0.08 86.52 18:47:19 18:21:01 3 13.49 0.00 0.50 0.00 0.10 85.91 18:47:19 18:22:01 all 10.68 0.00 0.37 0.01 0.10 88.84 18:47:19 18:22:01 0 11.01 0.00 0.38 0.00 0.12 88.49 18:47:19 18:22:01 1 11.33 0.00 0.47 0.03 0.12 88.05 18:47:19 18:22:01 2 9.96 0.00 0.29 0.00 0.08 89.67 18:47:19 18:22:01 3 10.41 0.00 0.35 0.00 0.08 89.16 18:47:19 18:23:01 all 3.26 0.00 0.28 0.02 0.09 96.35 18:47:19 18:23:01 0 3.30 0.00 0.30 0.00 0.08 96.32 18:47:19 18:23:01 1 3.09 0.00 0.23 0.05 0.10 96.52 18:47:19 18:23:01 2 3.52 0.00 0.32 0.02 0.10 96.05 18:47:19 18:23:01 3 3.12 0.00 0.28 0.00 0.08 96.51 18:47:19 18:24:01 all 2.65 0.00 0.23 0.01 0.08 97.02 18:47:19 18:24:01 0 1.98 0.00 0.10 0.00 0.07 97.85 18:47:19 18:24:01 1 2.69 0.00 0.23 0.05 0.08 96.95 18:47:19 18:24:01 2 3.05 0.00 0.18 0.00 0.08 96.68 18:47:19 18:24:01 3 2.86 0.00 0.42 0.00 0.10 96.62 18:47:19 18:47:19 18:24:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 18:25:01 all 2.10 0.00 0.28 0.02 0.09 97.52 18:47:19 18:25:01 0 1.94 0.00 0.23 0.00 0.08 97.75 18:47:19 18:25:01 1 2.10 0.00 0.20 0.07 0.08 97.54 18:47:19 18:25:01 2 2.25 0.00 0.30 0.00 0.08 97.37 18:47:19 18:25:01 3 2.12 0.00 0.37 0.00 0.10 97.41 18:47:19 18:26:01 all 1.55 0.00 0.24 0.01 0.08 98.12 18:47:19 18:26:01 0 1.32 0.00 0.22 0.00 0.08 98.38 18:47:19 18:26:01 1 1.39 0.00 0.13 0.05 0.07 98.36 18:47:19 18:26:01 2 1.49 0.00 0.20 0.00 0.08 98.22 18:47:19 18:26:01 3 2.00 0.00 0.40 0.00 0.10 97.50 18:47:19 18:27:01 all 2.32 0.00 0.26 0.02 0.08 97.32 18:47:19 18:27:01 0 1.54 0.00 0.18 0.00 0.05 98.23 18:47:19 18:27:01 1 1.72 0.00 0.22 0.07 0.07 97.93 18:47:19 18:27:01 2 3.70 0.00 0.21 0.00 0.10 95.98 18:47:19 18:27:01 3 2.32 0.00 0.43 0.00 0.10 97.15 18:47:19 18:28:01 all 2.66 0.00 0.30 0.03 0.07 96.93 18:47:19 18:28:01 0 2.55 0.00 0.18 0.00 0.07 97.20 18:47:19 18:28:01 1 2.22 0.00 0.30 0.12 0.08 97.28 18:47:19 18:28:01 2 2.94 0.00 0.41 0.00 0.07 96.58 18:47:19 18:28:01 3 2.94 0.00 0.32 0.00 0.07 96.68 18:47:19 18:29:01 all 2.09 0.00 0.31 0.02 0.09 97.50 18:47:19 18:29:01 0 2.00 0.00 0.30 0.00 0.07 97.63 18:47:19 18:29:01 1 2.55 0.00 0.40 0.07 0.10 96.88 18:47:19 18:29:01 2 1.84 0.00 0.18 0.00 0.08 97.90 18:47:19 18:29:01 3 1.96 0.00 0.35 0.00 0.10 97.59 18:47:19 18:30:01 all 51.88 0.00 1.76 0.85 0.09 45.42 18:47:19 18:30:01 0 52.77 0.00 1.67 1.02 0.10 44.43 18:47:19 18:30:01 1 50.41 0.00 1.87 0.92 0.08 46.71 18:47:19 18:30:01 2 49.27 0.00 1.86 1.34 0.08 47.44 18:47:19 18:30:01 3 55.06 0.00 1.64 0.10 0.08 43.12 18:47:19 18:31:01 all 11.35 0.00 0.38 0.02 0.10 88.15 18:47:19 18:31:01 0 11.24 0.00 0.40 0.03 0.10 88.23 18:47:19 18:31:01 1 10.78 0.00 0.54 0.02 0.10 88.56 18:47:19 18:31:01 2 12.05 0.00 0.25 0.03 0.08 87.59 18:47:19 18:31:01 3 11.34 0.00 0.32 0.00 0.10 88.25 18:47:19 18:32:01 all 23.59 0.00 0.99 0.16 0.09 75.17 18:47:19 18:32:01 0 25.03 0.00 1.01 0.05 0.08 73.83 18:47:19 18:32:01 1 24.47 0.00 0.98 0.30 0.10 74.15 18:47:19 18:32:01 2 21.82 0.00 1.07 0.18 0.12 76.81 18:47:19 18:32:01 3 23.05 0.00 0.89 0.10 0.07 75.89 18:47:19 18:33:01 all 34.03 0.00 0.84 0.29 0.10 64.74 18:47:19 18:33:01 0 32.86 0.00 1.10 0.40 0.10 65.54 18:47:19 18:33:01 1 34.67 0.00 0.82 0.77 0.10 63.64 18:47:19 18:33:01 2 32.73 0.00 0.84 0.00 0.12 66.32 18:47:19 18:33:01 3 35.87 0.00 0.60 0.00 0.08 63.45 18:47:19 18:34:01 all 3.20 0.00 0.18 0.01 0.08 96.54 18:47:19 18:34:01 0 3.07 0.00 0.20 0.00 0.08 96.65 18:47:19 18:34:01 1 3.56 0.00 0.17 0.02 0.08 96.17 18:47:19 18:34:01 2 3.40 0.00 0.17 0.02 0.03 96.38 18:47:19 18:34:01 3 2.77 0.00 0.18 0.00 0.10 96.95 18:47:19 18:35:01 all 3.46 0.00 0.24 0.02 0.08 96.21 18:47:19 18:35:01 0 3.46 0.00 0.22 0.00 0.07 96.25 18:47:19 18:35:01 1 3.74 0.00 0.25 0.03 0.10 95.88 18:47:19 18:35:01 2 3.15 0.00 0.27 0.03 0.07 96.48 18:47:19 18:35:01 3 3.48 0.00 0.22 0.00 0.08 96.22 18:47:19 18:47:19 18:35:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 18:36:01 all 1.51 0.00 0.17 0.01 0.10 98.21 18:47:19 18:36:01 0 1.96 0.00 0.20 0.00 0.10 97.74 18:47:19 18:36:01 1 1.41 0.00 0.23 0.02 0.12 98.22 18:47:19 18:36:01 2 1.29 0.00 0.10 0.02 0.07 98.53 18:47:19 18:36:01 3 1.40 0.00 0.13 0.02 0.10 98.34 18:47:19 18:37:01 all 3.27 0.00 0.19 0.02 0.08 96.44 18:47:19 18:37:01 0 3.43 0.00 0.17 0.00 0.08 96.32 18:47:19 18:37:01 1 3.02 0.00 0.25 0.03 0.07 96.63 18:47:19 18:37:01 2 3.38 0.00 0.13 0.03 0.07 96.39 18:47:19 18:37:01 3 3.26 0.00 0.20 0.00 0.10 96.44 18:47:19 18:38:01 all 1.99 0.00 0.20 0.01 0.09 97.72 18:47:19 18:38:01 0 2.16 0.00 0.25 0.00 0.08 97.50 18:47:19 18:38:01 1 1.94 0.00 0.17 0.02 0.07 97.80 18:47:19 18:38:01 2 1.91 0.00 0.17 0.02 0.10 97.81 18:47:19 18:38:01 3 1.94 0.00 0.20 0.00 0.10 97.76 18:47:19 18:39:01 all 14.89 0.00 0.71 0.03 0.08 84.29 18:47:19 18:39:01 0 16.44 0.00 0.85 0.05 0.08 82.57 18:47:19 18:39:01 1 11.18 0.00 0.69 0.05 0.08 88.00 18:47:19 18:39:01 2 16.01 0.00 0.43 0.00 0.08 83.47 18:47:19 18:39:01 3 15.91 0.00 0.87 0.00 0.07 83.15 18:47:19 18:40:01 all 49.08 0.00 1.36 0.32 0.11 49.12 18:47:19 18:40:01 0 48.76 0.00 1.29 0.02 0.12 49.82 18:47:19 18:40:01 1 46.10 0.00 1.32 0.84 0.13 51.60 18:47:19 18:40:01 2 49.88 0.00 1.57 0.02 0.10 48.43 18:47:19 18:40:01 3 51.57 0.00 1.28 0.40 0.10 46.64 18:47:19 18:41:01 all 7.75 0.00 0.38 0.02 0.10 91.75 18:47:19 18:41:01 0 8.05 0.00 0.53 0.02 0.08 91.32 18:47:19 18:41:01 1 7.66 0.00 0.36 0.08 0.12 91.78 18:47:19 18:41:01 2 7.64 0.00 0.23 0.00 0.08 92.04 18:47:19 18:41:01 3 7.65 0.00 0.38 0.00 0.10 91.87 18:47:19 18:42:01 all 6.77 0.00 0.43 0.02 0.09 92.69 18:47:19 18:42:01 0 7.65 0.00 0.41 0.02 0.10 91.83 18:47:19 18:42:01 1 6.46 0.00 0.40 0.05 0.07 93.02 18:47:19 18:42:01 2 6.63 0.00 0.50 0.00 0.10 92.78 18:47:19 18:42:01 3 6.36 0.00 0.40 0.00 0.08 93.16 18:47:19 18:43:01 all 5.14 0.00 0.42 0.02 0.09 94.33 18:47:19 18:43:01 0 5.14 0.00 0.52 0.00 0.10 94.24 18:47:19 18:43:01 1 4.74 0.00 0.38 0.07 0.08 94.73 18:47:19 18:43:01 2 5.03 0.00 0.43 0.00 0.10 94.44 18:47:19 18:43:01 3 5.65 0.00 0.37 0.00 0.08 93.90 18:47:19 18:44:01 all 0.66 0.00 0.23 0.01 0.08 99.02 18:47:19 18:44:01 0 0.72 0.00 0.28 0.00 0.08 98.92 18:47:19 18:44:01 1 0.35 0.00 0.10 0.05 0.07 99.43 18:47:19 18:44:01 2 1.01 0.00 0.33 0.00 0.08 98.57 18:47:19 18:44:01 3 0.57 0.00 0.18 0.00 0.08 99.17 18:47:19 18:45:01 all 0.41 0.00 0.26 0.01 0.08 99.24 18:47:19 18:45:01 0 0.57 0.00 0.35 0.00 0.08 99.00 18:47:19 18:45:01 1 0.28 0.00 0.22 0.05 0.05 99.40 18:47:19 18:45:01 2 0.45 0.00 0.20 0.00 0.10 99.25 18:47:19 18:45:01 3 0.33 0.00 0.27 0.00 0.08 99.32 18:47:19 18:46:01 all 0.64 0.00 0.20 0.01 0.07 99.08 18:47:19 18:46:01 0 0.68 0.00 0.23 0.00 0.07 99.02 18:47:19 18:46:01 1 0.30 0.00 0.15 0.03 0.07 99.45 18:47:19 18:46:01 2 0.79 0.00 0.23 0.00 0.07 98.91 18:47:19 18:46:01 3 0.80 0.00 0.18 0.00 0.08 98.93 18:47:19 18:47:19 18:46:01 CPU %user %nice %system %iowait %steal %idle 18:47:19 18:47:01 all 23.77 0.00 1.54 0.78 0.09 73.82 18:47:19 18:47:01 0 14.97 0.00 1.34 0.43 0.08 83.17 18:47:19 18:47:01 1 35.25 0.00 2.05 2.12 0.08 60.50 18:47:19 18:47:01 2 27.99 0.00 1.27 0.27 0.12 70.35 18:47:19 18:47:01 3 16.85 0.00 1.50 0.28 0.07 81.29 18:47:19 Average: all 16.53 0.08 0.79 0.56 0.09 81.95 18:47:19 Average: 0 16.17 0.10 0.81 0.68 0.09 82.14 18:47:19 Average: 1 16.87 0.08 0.80 0.59 0.09 81.57 18:47:19 Average: 2 16.53 0.08 0.75 0.47 0.09 82.07 18:47:19 Average: 3 16.55 0.06 0.78 0.52 0.09 82.00 18:47:19 18:47:19 18:47:19