02:49:28 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/114581 02:49:28 Running as SYSTEM 02:49:28 [EnvInject] - Loading node environment variables. 02:49:28 Building remotely on prd-ubuntu2004-docker-4c-16g-12099 (ubuntu2004-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 02:49:29 [ssh-agent] Looking for ssh-agent implementation... 02:49:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:49:29 $ ssh-agent 02:49:29 SSH_AUTH_SOCK=/tmp/ssh-IkM8zmG5Omzf/agent.12508 02:49:29 SSH_AGENT_PID=12510 02:49:29 [ssh-agent] Started. 02:49:29 Running ssh-add (command line suppressed) 02:49:29 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_11866081715572477520.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_11866081715572477520.key) 02:49:29 [ssh-agent] Using credentials jenkins (jenkins-ssh) 02:49:29 The recommended git tool is: NONE 02:49:32 using credential jenkins-ssh 02:49:43 Wiping out workspace first. 02:49:43 Cloning the remote Git repository 02:49:43 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 02:49:43 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 02:49:43 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 02:49:43 > git --version # timeout=10 02:49:43 > git --version # 'git version 2.25.1' 02:49:43 using GIT_SSH to set credentials jenkins-ssh 02:49:43 Verifying host key using known hosts file 02:49:43 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. 02:49:43 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:48 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 02:49:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:48 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 02:49:48 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 02:49:48 using GIT_SSH to set credentials jenkins-ssh 02:49:48 Verifying host key using known hosts file 02:49:48 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. 02:49:48 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/81/114581/3 # timeout=10 02:49:48 > git rev-parse 0a064102f31dcde730a95b256598c00f7a011651^{commit} # timeout=10 02:49:48 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 02:49:48 Checking out Revision 0a064102f31dcde730a95b256598c00f7a011651 (refs/changes/81/114581/3) 02:49:48 > git config core.sparsecheckout # timeout=10 02:49:48 > git checkout -f 0a064102f31dcde730a95b256598c00f7a011651 # timeout=10 02:49:49 Commit message: "Enhancements for discovering OpenConfig XPDRs." 02:49:49 > git rev-parse FETCH_HEAD^{commit} # timeout=10 02:49:49 > git rev-list --no-walk 14a38aa83db06d38e73ac00c316ac3db70ebc64f # timeout=10 02:49:49 > git remote # timeout=10 02:49:49 > git submodule init # timeout=10 02:49:49 > git submodule sync # timeout=10 02:49:49 > git config --get remote.origin.url # timeout=10 02:49:49 > git submodule init # timeout=10 02:49:49 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 02:49:49 ERROR: No submodules found. 02:49:52 provisioning config files... 02:49:52 copy managed file [npmrc] to file:/home/jenkins/.npmrc 02:49:52 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 02:49:52 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins3351529185118701479.sh 02:49:52 ---> python-tools-install.sh 02:49:52 Setup pyenv: 02:49:53 * system (set by /opt/pyenv/version) 02:49:53 * 3.8.20 (set by /opt/pyenv/version) 02:49:53 * 3.9.20 (set by /opt/pyenv/version) 02:49:53 * 3.10.15 (set by /opt/pyenv/version) 02:49:53 * 3.11.10 (set by /opt/pyenv/version) 02:49:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-16rB 02:49:58 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 02:50:00 lf-activate-venv(): INFO: Installing: lftools 02:50:33 lf-activate-venv(): INFO: Adding /tmp/venv-16rB/bin to PATH 02:50:33 Generating Requirements File 02:50:56 Python 3.11.10 02:50:57 pip 24.3.1 from /tmp/venv-16rB/lib/python3.11/site-packages/pip (python 3.11) 02:50:57 appdirs==1.4.4 02:50:57 argcomplete==3.5.1 02:50:57 aspy.yaml==1.3.0 02:50:57 attrs==24.2.0 02:50:57 autopage==0.5.2 02:50:57 beautifulsoup4==4.12.3 02:50:57 boto3==1.35.71 02:50:57 botocore==1.35.71 02:50:57 bs4==0.0.2 02:50:57 cachetools==5.5.0 02:50:57 certifi==2024.8.30 02:50:57 cffi==1.17.1 02:50:57 cfgv==3.4.0 02:50:57 chardet==5.2.0 02:50:57 charset-normalizer==3.4.0 02:50:57 click==8.1.7 02:50:57 cliff==4.8.0 02:50:57 cmd2==2.5.7 02:50:57 cryptography==3.3.2 02:50:57 debtcollector==3.0.0 02:50:57 decorator==5.1.1 02:50:57 defusedxml==0.7.1 02:50:57 Deprecated==1.2.15 02:50:57 distlib==0.3.9 02:50:57 dnspython==2.7.0 02:50:57 docker==4.2.2 02:50:57 dogpile.cache==1.3.3 02:50:57 durationpy==0.9 02:50:57 email_validator==2.2.0 02:50:57 filelock==3.16.1 02:50:57 future==1.0.0 02:50:57 gitdb==4.0.11 02:50:57 GitPython==3.1.43 02:50:57 google-auth==2.36.0 02:50:57 httplib2==0.22.0 02:50:57 identify==2.6.3 02:50:57 idna==3.10 02:50:57 importlib-resources==1.5.0 02:50:57 iso8601==2.1.0 02:50:57 Jinja2==3.1.4 02:50:57 jmespath==1.0.1 02:50:57 jsonpatch==1.33 02:50:57 jsonpointer==3.0.0 02:50:57 jsonschema==4.23.0 02:50:57 jsonschema-specifications==2024.10.1 02:50:57 keystoneauth1==5.9.1 02:50:57 kubernetes==31.0.0 02:50:57 lftools==0.37.10 02:50:57 lxml==5.3.0 02:50:57 MarkupSafe==3.0.2 02:50:57 msgpack==1.1.0 02:50:57 multi_key_dict==2.0.3 02:50:57 munch==4.0.0 02:50:57 netaddr==1.3.0 02:50:57 netifaces==0.11.0 02:50:57 niet==1.4.2 02:50:57 nodeenv==1.9.1 02:50:57 oauth2client==4.1.3 02:50:57 oauthlib==3.2.2 02:50:57 openstacksdk==4.1.0 02:50:57 os-client-config==2.1.0 02:50:57 os-service-types==1.7.0 02:50:57 osc-lib==3.2.0 02:50:57 oslo.config==9.7.0 02:50:57 oslo.context==5.7.0 02:50:57 oslo.i18n==6.5.0 02:50:57 oslo.log==6.2.0 02:50:57 oslo.serialization==5.6.0 02:50:57 oslo.utils==7.4.0 02:50:57 packaging==24.2 02:50:57 pbr==6.1.0 02:50:57 platformdirs==4.3.6 02:50:57 prettytable==3.12.0 02:50:57 psutil==6.1.0 02:50:57 pyasn1==0.6.1 02:50:57 pyasn1_modules==0.4.1 02:50:57 pycparser==2.22 02:50:57 pygerrit2==2.0.15 02:50:57 PyGithub==2.5.0 02:50:57 PyJWT==2.10.1 02:50:57 PyNaCl==1.5.0 02:50:57 pyparsing==2.4.7 02:50:57 pyperclip==1.9.0 02:50:57 pyrsistent==0.20.0 02:50:57 python-cinderclient==9.6.0 02:50:57 python-dateutil==2.9.0.post0 02:50:57 python-heatclient==4.0.0 02:50:57 python-jenkins==1.8.2 02:50:57 python-keystoneclient==5.5.0 02:50:57 python-magnumclient==4.7.0 02:50:57 python-openstackclient==7.2.1 02:50:57 python-swiftclient==4.6.0 02:50:57 PyYAML==6.0.2 02:50:57 referencing==0.35.1 02:50:57 requests==2.32.3 02:50:57 requests-oauthlib==2.0.0 02:50:57 requestsexceptions==1.4.0 02:50:57 rfc3986==2.0.0 02:50:57 rpds-py==0.21.0 02:50:57 rsa==4.9 02:50:57 ruamel.yaml==0.18.6 02:50:57 ruamel.yaml.clib==0.2.12 02:50:57 s3transfer==0.10.4 02:50:57 simplejson==3.19.3 02:50:57 six==1.16.0 02:50:57 smmap==5.0.1 02:50:57 soupsieve==2.6 02:50:57 stevedore==5.4.0 02:50:57 tabulate==0.9.0 02:50:57 toml==0.10.2 02:50:57 tomlkit==0.13.2 02:50:57 tqdm==4.67.1 02:50:57 typing_extensions==4.12.2 02:50:57 tzdata==2024.2 02:50:57 urllib3==1.26.20 02:50:57 virtualenv==20.28.0 02:50:57 wcwidth==0.2.13 02:50:57 websocket-client==1.8.0 02:50:57 wrapt==1.17.0 02:50:57 xdg==6.0.0 02:50:57 xmltodict==0.14.2 02:50:57 yq==3.4.3 02:50:57 [EnvInject] - Injecting environment variables from a build step. 02:50:57 [EnvInject] - Injecting as environment variables the properties content 02:50:57 PYTHON=python3 02:50:57 02:50:57 [EnvInject] - Variables injected successfully. 02:50:57 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins13324017034157860761.sh 02:50:57 ---> tox-install.sh 02:50:57 + source /home/jenkins/lf-env.sh 02:50:57 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:50:57 ++ mktemp -d /tmp/venv-XXXX 02:50:57 + lf_venv=/tmp/venv-fR9a 02:50:57 + local venv_file=/tmp/.os_lf_venv 02:50:57 + local python=python3 02:50:57 + local options 02:50:57 + local set_path=true 02:50:57 + local install_args= 02:50:57 ++ 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 02:50:57 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:50:57 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:50:57 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:50:57 + true 02:50:57 + case $1 in 02:50:57 + venv_file=/tmp/.toxenv 02:50:57 + shift 2 02:50:57 + true 02:50:57 + case $1 in 02:50:57 + shift 02:50:57 + break 02:50:57 + case $python in 02:50:57 + local pkg_list= 02:50:57 + [[ -d /opt/pyenv ]] 02:50:57 + echo 'Setup pyenv:' 02:50:57 Setup pyenv: 02:50:57 + export PYENV_ROOT=/opt/pyenv 02:50:57 + PYENV_ROOT=/opt/pyenv 02:50:57 + 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 02:50:57 + 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 02:50:57 + pyenv versions 02:50:57 system 02:50:57 3.8.20 02:50:57 3.9.20 02:50:57 3.10.15 02:50:57 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 02:50:57 + command -v pyenv 02:50:57 ++ pyenv init - --no-rehash 02:50:57 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 02:50:57 for i in ${!paths[@]}; do 02:50:57 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 02:50:57 fi; done; 02:50:57 echo "${paths[*]}"'\'')" 02:50:57 export PATH="/opt/pyenv/shims:${PATH}" 02:50:57 export PYENV_SHELL=bash 02:50:57 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:50:57 pyenv() { 02:50:57 local command 02:50:57 command="${1:-}" 02:50:57 if [ "$#" -gt 0 ]; then 02:50:57 shift 02:50:57 fi 02:50:57 02:50:57 case "$command" in 02:50:57 rehash|shell) 02:50:57 eval "$(pyenv "sh-$command" "$@")" 02:50:57 ;; 02:50:57 *) 02:50:57 command pyenv "$command" "$@" 02:50:57 ;; 02:50:57 esac 02:50:57 }' 02:50:57 +++ bash --norc -ec 'IFS=:; paths=($PATH); 02:50:57 for i in ${!paths[@]}; do 02:50:57 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 02:50:57 fi; done; 02:50:57 echo "${paths[*]}"' 02:50:57 ++ 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 02:50:57 ++ 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 02:50:57 ++ 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 02:50:57 ++ export PYENV_SHELL=bash 02:50:57 ++ PYENV_SHELL=bash 02:50:57 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:50:57 +++ complete -F _pyenv pyenv 02:50:57 ++ lf-pyver python3 02:50:57 ++ local py_version_xy=python3 02:50:57 ++ local py_version_xyz= 02:50:57 ++ pyenv versions 02:50:57 ++ local command 02:50:57 ++ sed 's/^[ *]* //' 02:50:57 ++ command=versions 02:50:57 ++ '[' 1 -gt 0 ']' 02:50:57 ++ shift 02:50:57 ++ case "$command" in 02:50:57 ++ command pyenv versions 02:50:57 ++ pyenv versions 02:50:57 ++ awk '{ print $1 }' 02:50:57 ++ grep -E '^[0-9.]*[0-9]$' 02:50:57 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:50:57 +++ sort -V 02:50:57 +++ tail -n 1 02:50:57 +++ grep '^3' /tmp/.pyenv_versions 02:50:57 ++ py_version_xyz=3.11.10 02:50:57 ++ [[ -z 3.11.10 ]] 02:50:57 ++ echo 3.11.10 02:50:57 ++ return 0 02:50:57 + pyenv local 3.11.10 02:50:57 + local command 02:50:57 + command=local 02:50:57 + '[' 2 -gt 0 ']' 02:50:57 + shift 02:50:57 + case "$command" in 02:50:57 + command pyenv local 3.11.10 02:50:57 + pyenv local 3.11.10 02:50:57 + for arg in "$@" 02:50:57 + case $arg in 02:50:57 + pkg_list+='tox ' 02:50:57 + for arg in "$@" 02:50:57 + case $arg in 02:50:57 + pkg_list+='virtualenv ' 02:50:57 + for arg in "$@" 02:50:57 + case $arg in 02:50:57 + pkg_list+='urllib3~=1.26.15 ' 02:50:57 + [[ -f /tmp/.toxenv ]] 02:50:57 + [[ ! -f /tmp/.toxenv ]] 02:50:57 + [[ -n '' ]] 02:50:57 + python3 -m venv /tmp/venv-fR9a 02:51:02 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fR9a' 02:51:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-fR9a 02:51:02 + echo /tmp/venv-fR9a 02:51:02 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 02:51:02 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 02:51:02 + /tmp/venv-fR9a/bin/python3 -m pip install --upgrade --quiet pip virtualenv 02:51:04 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:51:04 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 02:51:04 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 02:51:04 + /tmp/venv-fR9a/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 02:51:07 + type python3 02:51:07 + true 02:51:07 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-fR9a/bin to PATH' 02:51:07 lf-activate-venv(): INFO: Adding /tmp/venv-fR9a/bin to PATH 02:51:07 + PATH=/tmp/venv-fR9a/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 02:51:07 + return 0 02:51:07 + python3 --version 02:51:07 Python 3.11.10 02:51:07 + python3 -m pip --version 02:51:07 pip 24.3.1 from /tmp/venv-fR9a/lib/python3.11/site-packages/pip (python 3.11) 02:51:07 + python3 -m pip freeze 02:51:08 cachetools==5.5.0 02:51:08 chardet==5.2.0 02:51:08 colorama==0.4.6 02:51:08 distlib==0.3.9 02:51:08 filelock==3.16.1 02:51:08 packaging==24.2 02:51:08 platformdirs==4.3.6 02:51:08 pluggy==1.5.0 02:51:08 pyproject-api==1.8.0 02:51:08 tox==4.23.2 02:51:08 urllib3==1.26.20 02:51:08 virtualenv==20.28.0 02:51:08 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins13200924719039906643.sh 02:51:08 [EnvInject] - Injecting environment variables from a build step. 02:51:08 [EnvInject] - Injecting as environment variables the properties content 02:51:08 PARALLEL=True 02:51:08 02:51:08 [EnvInject] - Variables injected successfully. 02:51:08 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins18029944449908186056.sh 02:51:08 ---> tox-run.sh 02:51:08 + 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 02:51:08 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 02:51:08 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 02:51:08 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 02:51:08 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 02:51:08 + source /home/jenkins/lf-env.sh 02:51:08 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 02:51:08 ++ mktemp -d /tmp/venv-XXXX 02:51:08 + lf_venv=/tmp/venv-eHXD 02:51:08 + local venv_file=/tmp/.os_lf_venv 02:51:08 + local python=python3 02:51:08 + local options 02:51:08 + local set_path=true 02:51:08 + local install_args= 02:51:08 ++ 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 02:51:08 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:51:08 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 02:51:08 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 02:51:08 + true 02:51:08 + case $1 in 02:51:08 + venv_file=/tmp/.toxenv 02:51:08 + shift 2 02:51:08 + true 02:51:08 + case $1 in 02:51:08 + shift 02:51:08 + break 02:51:08 + case $python in 02:51:08 + local pkg_list= 02:51:08 + [[ -d /opt/pyenv ]] 02:51:08 + echo 'Setup pyenv:' 02:51:08 Setup pyenv: 02:51:08 + export PYENV_ROOT=/opt/pyenv 02:51:08 + PYENV_ROOT=/opt/pyenv 02:51:08 + 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 02:51:08 + 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 02:51:08 + pyenv versions 02:51:08 system 02:51:08 3.8.20 02:51:08 3.9.20 02:51:08 3.10.15 02:51:08 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 02:51:08 + command -v pyenv 02:51:08 ++ pyenv init - --no-rehash 02:51:08 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 02:51:08 for i in ${!paths[@]}; do 02:51:08 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 02:51:08 fi; done; 02:51:08 echo "${paths[*]}"'\'')" 02:51:08 export PATH="/opt/pyenv/shims:${PATH}" 02:51:08 export PYENV_SHELL=bash 02:51:08 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 02:51:08 pyenv() { 02:51:08 local command 02:51:08 command="${1:-}" 02:51:08 if [ "$#" -gt 0 ]; then 02:51:08 shift 02:51:08 fi 02:51:08 02:51:08 case "$command" in 02:51:08 rehash|shell) 02:51:08 eval "$(pyenv "sh-$command" "$@")" 02:51:08 ;; 02:51:08 *) 02:51:08 command pyenv "$command" "$@" 02:51:08 ;; 02:51:08 esac 02:51:08 }' 02:51:08 +++ bash --norc -ec 'IFS=:; paths=($PATH); 02:51:08 for i in ${!paths[@]}; do 02:51:08 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 02:51:08 fi; done; 02:51:08 echo "${paths[*]}"' 02:51:08 ++ 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 02:51:08 ++ 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 02:51:08 ++ 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 02:51:08 ++ export PYENV_SHELL=bash 02:51:08 ++ PYENV_SHELL=bash 02:51:08 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 02:51:08 +++ complete -F _pyenv pyenv 02:51:08 ++ lf-pyver python3 02:51:08 ++ local py_version_xy=python3 02:51:08 ++ local py_version_xyz= 02:51:08 ++ pyenv versions 02:51:08 ++ local command 02:51:08 ++ command=versions 02:51:08 ++ '[' 1 -gt 0 ']' 02:51:08 ++ shift 02:51:08 ++ case "$command" in 02:51:08 ++ command pyenv versions 02:51:08 ++ pyenv versions 02:51:08 ++ sed 's/^[ *]* //' 02:51:08 ++ grep -E '^[0-9.]*[0-9]$' 02:51:08 ++ awk '{ print $1 }' 02:51:08 ++ [[ ! -s /tmp/.pyenv_versions ]] 02:51:08 +++ grep '^3' /tmp/.pyenv_versions 02:51:08 +++ sort -V 02:51:08 +++ tail -n 1 02:51:08 ++ py_version_xyz=3.11.10 02:51:08 ++ [[ -z 3.11.10 ]] 02:51:08 ++ echo 3.11.10 02:51:08 ++ return 0 02:51:08 + pyenv local 3.11.10 02:51:08 + local command 02:51:08 + command=local 02:51:08 + '[' 2 -gt 0 ']' 02:51:08 + shift 02:51:08 + case "$command" in 02:51:08 + command pyenv local 3.11.10 02:51:08 + pyenv local 3.11.10 02:51:08 + for arg in "$@" 02:51:08 + case $arg in 02:51:08 + pkg_list+='tox ' 02:51:08 + for arg in "$@" 02:51:08 + case $arg in 02:51:08 + pkg_list+='virtualenv ' 02:51:08 + for arg in "$@" 02:51:08 + case $arg in 02:51:08 + pkg_list+='urllib3~=1.26.15 ' 02:51:08 + [[ -f /tmp/.toxenv ]] 02:51:08 ++ cat /tmp/.toxenv 02:51:08 + lf_venv=/tmp/venv-fR9a 02:51:08 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fR9a from' file:/tmp/.toxenv 02:51:08 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-fR9a from file:/tmp/.toxenv 02:51:08 + /tmp/venv-fR9a/bin/python3 -m pip install --upgrade --quiet pip virtualenv 02:51:09 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 02:51:09 + echo 'lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 ' 02:51:09 lf-activate-venv(): INFO: Installing: tox virtualenv urllib3~=1.26.15 02:51:09 + /tmp/venv-fR9a/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 02:51:10 + type python3 02:51:10 + true 02:51:10 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-fR9a/bin to PATH' 02:51:10 lf-activate-venv(): INFO: Adding /tmp/venv-fR9a/bin to PATH 02:51:10 + PATH=/tmp/venv-fR9a/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 02:51:10 + return 0 02:51:10 + [[ -d /opt/pyenv ]] 02:51:10 + echo '---> Setting up pyenv' 02:51:10 ---> Setting up pyenv 02:51:10 + export PYENV_ROOT=/opt/pyenv 02:51:10 + PYENV_ROOT=/opt/pyenv 02:51:10 + export PATH=/opt/pyenv/bin:/tmp/venv-fR9a/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 02:51:10 + PATH=/opt/pyenv/bin:/tmp/venv-fR9a/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 02:51:10 ++ pwd 02:51:10 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 02:51:10 + export PYTHONPATH 02:51:10 + export TOX_TESTENV_PASSENV=PYTHONPATH 02:51:10 + TOX_TESTENV_PASSENV=PYTHONPATH 02:51:10 + tox --version 02:51:10 4.23.2 from /tmp/venv-fR9a/lib/python3.11/site-packages/tox/__init__.py 02:51:10 + PARALLEL=True 02:51:10 + TOX_OPTIONS_LIST= 02:51:10 + [[ -n '' ]] 02:51:10 + case ${PARALLEL,,} in 02:51:10 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 02:51:10 + tox --parallel auto --parallel-live 02:51:10 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 02:51:12 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 02:51:12 docs: install_deps> python -I -m pip install -r docs/requirements.txt 02:51:12 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 02:51:12 checkbashisms: freeze> python -m pip freeze --all 02:51:13 checkbashisms: pip==24.3.1,setuptools==75.6.0,wheel==0.45.1 02:51:13 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 02:51:13 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)' 02:51:13 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 02:51:14 script ./reflectwarn.sh does not appear to have a #! interpreter line; 02:51:14 you may get strange results 02:51:14 checkbashisms: OK ✔ in 3.22 seconds 02:51:14 pre-commit: install_deps> python -I -m pip install pre-commit 02:51:17 pre-commit: freeze> python -m pip freeze --all 02:51:17 pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.16.1,identify==2.6.3,nodeenv==1.9.1,pip==24.3.1,platformdirs==4.3.6,pre_commit==4.0.1,PyYAML==6.0.2,setuptools==75.6.0,virtualenv==20.28.0,wheel==0.45.1 02:51:17 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 02:51:17 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)' 02:51:17 /usr/bin/cpan 02:51:17 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 02:51:17 [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. 02:51:17 [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. 02:51:17 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 02:51:18 [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. 02:51:18 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 02:51:18 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 02:51:19 buildcontroller: freeze> python -m pip freeze --all 02:51:19 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 02:51:19 buildcontroller: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:51:19 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 02:51:19 + update-java-alternatives -l 02:51:19 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 02:51:19 java-1.12.0-openjdk-amd64 1211 /usr/lib/jvm/java-1.12.0-openjdk-amd64 02:51:19 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 02:51:19 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 02:51:19 java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 02:51:19 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 02:51:19 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-autopep8. 02:51:19 + java -version 02:51:19 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 02:51:19 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 02:51:20 + JAVA_VER=21 02:51:20 + echo 21 02:51:20 21 02:51:20 + javac -version 02:51:20 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 02:51:20 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 02:51:20 [INFO] Once installed this environment will be reused. 02:51:20 [INFO] This may take a few minutes... 02:51:20 21 02:51:20 + JAVAC_VER=21 02:51:20 + echo 21 02:51:20 + [ 21 -ge 21 ] 02:51:20 + [ 21 -ge 21 ] 02:51:20 + echo ok, java is 21 or newer 02:51:20 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz -P /tmp 02:51:20 ok, java is 21 or newer 02:51:21 2024-12-02 02:51:21 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] 02:51:21 + sudo mkdir -p /opt 02:51:21 + sudo tar xf /tmp/apache-maven-3.9.8-bin.tar.gz -C /opt 02:51:21 + sudo ln -s /opt/apache-maven-3.9.8 /opt/maven 02:51:21 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 02:51:21 + mvn --version 02:51:22 Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) 02:51:22 Maven home: /opt/maven 02:51:22 Java version: 21.0.5, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 02:51:22 Default locale: en, platform encoding: UTF-8 02:51:22 OS name: "linux", version: "5.4.0-200-generic", arch: "amd64", family: "unix" 02:51:22 NOTE: Picked up JDK_JAVA_OPTIONS: 02:51:22 --add-opens=java.base/java.io=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.lang=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.net=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.nio=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.util=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:51:22 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:51:22 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:51:22 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:51:22 -Xlog:disable 02:51:24 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 02:51:24 [INFO] Once installed this environment will be reused. 02:51:24 [INFO] This may take a few minutes... 02:51:32 [INFO] Installing environment for https://github.com/pre-commit/mirrors-autopep8. 02:51:32 [INFO] Once installed this environment will be reused. 02:51:32 [INFO] This may take a few minutes... 02:51:36 [INFO] Installing environment for https://github.com/perltidy/perltidy. 02:51:36 [INFO] Once installed this environment will be reused. 02:51:36 [INFO] This may take a few minutes... 02:51:43 docs-linkcheck: freeze> python -m pip freeze --all 02:51:43 docs: freeze> python -m pip freeze --all 02:51:43 docs-linkcheck: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.1.3,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 02:51:43 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 02:51:44 docs: alabaster==1.0.0,attrs==24.2.0,babel==2.16.0,blockdiag==3.0.0,certifi==2024.8.30,charset-normalizer==3.4.0,contourpy==1.3.1,cycler==0.12.1,docutils==0.21.2,fonttools==4.55.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.10,imagesize==1.4.1,Jinja2==3.1.4,jsonschema==3.2.0,kiwisolver==1.4.7,lfdocs-conf==0.9.0,MarkupSafe==3.0.2,matplotlib==3.9.3,numpy==2.1.3,nwdiag==3.0.0,packaging==24.2,pillow==11.0.0,pip==24.3.1,Pygments==2.18.0,pyparsing==3.2.0,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.2,requests==2.32.3,requests-file==1.5.1,seqdiag==3.0.0,setuptools==75.6.0,six==1.16.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-rtd-theme==3.0.2,sphinx-tabs==3.4.7,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-blockdiag==3.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-needs==0.7.9,sphinxcontrib-nwdiag==2.0.0,sphinxcontrib-plantuml==0.30,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.2.3,webcolors==24.11.1,wheel==0.45.1 02:51:44 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 02:51:47 docs: OK ✔ in 35.9 seconds 02:51:47 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 02:51:48 trim trailing whitespace.................................................Passed 02:51:48 Tabs remover.............................................................Failed 02:51:48 - hook id: remove-tabs 02:51:48 - exit code: 1 02:51:48 - files were modified by this hook 02:51:48 02:51:48 Substituting tabs in: tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml by 4 whitespaces 02:51:48 02:51:48 Tabs have been successfully removed. Now aborting the commit. 02:51:48 You can check the changes made. Then simply "git add --update ." and re-commit 02:51:48 02:51:49 autopep8.................................................................docs-linkcheck: OK ✔ in 37.81 seconds 02:51:52 pylint: freeze> python -m pip freeze --all 02:51:52 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.2,setuptools==75.6.0,tomlkit==0.13.2,wheel==0.45.1 02:51:52 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}$' '{}' + 02:51:53 Failed 02:51:53 - hook id: autopep8 02:51:53 - files were modified by this hook 02:51:53 perltidy.................................................................Passed 02:51:54 pre-commit hook(s) made changes. 02:51:54 If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. 02:51:54 To run `pre-commit` as part of git workflow, use `pre-commit install`. 02:51:54 All changes made by hooks: 02:51:54 diff --git a/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml b/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml 02:51:54 index 147cc8ff..0b00d31d 100644 02:51:54 --- a/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml 02:51:54 +++ b/tests/sample_configs/openroadm/OC/sample-openconfig-mpdr.xml 02:51:54 @@ -12,7 +12,7 @@ 02:51:54 02:51:54 02:51:54 02:51:54 - 02:51:54 + 02:51:54 24300101 02:51:54 02:51:54 24300101 02:51:54 diff --git a/tests/transportpce_tests/OC/test01_portmapping.py b/tests/transportpce_tests/OC/test01_portmapping.py 02:51:54 index 21783e39..463a1839 100644 02:51:54 --- a/tests/transportpce_tests/OC/test01_portmapping.py 02:51:54 +++ b/tests/transportpce_tests/OC/test01_portmapping.py 02:51:54 @@ -122,7 +122,8 @@ class TransportpceOCPortMappingTesting(unittest.TestCase): 02:51:54 len(response['switching-pool-lcp'][0]['non-blocking-list'])) 02:51:54 actual_lcp_list = response['switching-pool-lcp'][0]['non-blocking-list'][0]['lcp-list'] 02:51:54 sorted_actual_lcp_list = sorted(actual_lcp_list) 02:51:54 - expected_lcp_list = sorted(['XPDR1-CLIENT4', 'XPDR1-CLIENT3', 'XPDR1-NETWORK5', 'XPDR1-CLIENT2', 'XPDR1-CLIENT1']) 02:51:54 + expected_lcp_list = sorted(['XPDR1-CLIENT4', 'XPDR1-CLIENT3', 02:51:54 + 'XPDR1-NETWORK5', 'XPDR1-CLIENT2', 'XPDR1-CLIENT1']) 02:51:54 self.assertEqual(sorted_actual_lcp_list, expected_lcp_list) 02:51:54 02:51:54 def test_09_check_mccapprofile(self): 02:51:54 @@ -137,6 +138,5 @@ class TransportpceOCPortMappingTesting(unittest.TestCase): 02:51:54 self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) 02:51:54 02:51:54 02:51:54 - 02:51:54 if __name__ == '__main__': 02:51:54 unittest.main(verbosity=2) 02:51:54 diff --git a/tests/transportpce_tests/common/test_utils.py b/tests/transportpce_tests/common/test_utils.py 02:51:54 index 40a07a09..08a543e3 100644 02:51:54 --- a/tests/transportpce_tests/common/test_utils.py 02:51:54 +++ b/tests/transportpce_tests/common/test_utils.py 02:51:54 @@ -366,6 +366,7 @@ def mount_device(node: str, sim: str): 02:51:54 # TODO an else-clause to abort test would probably be nice here 02:51:54 return response 02:51:54 02:51:54 + 02:51:54 def metadata_input(): 02:51:54 url = {'rfc8040': '{}/data/open-terminal-meta-data:open-terminal-meta-data', 02:51:54 'draft-bierman02': '{}/config/data/open-terminal-meta-data:open-terminal-meta-data'} 02:51:54 @@ -460,6 +461,7 @@ def metadata_input(): 02:51:54 response = put_request(url[RESTCONF_VERSION], body) 02:51:54 return response 02:51:54 02:51:54 + 02:51:54 def catlog_input(): 02:51:54 url = {'rfc8040': '{}/operations/org-openroadm-service:add-specific-operational-modes-to-catalog', 02:51:54 'draft-bierman02': '{}/config/operations/org-openroadm-service:add-specific-operational-modes-to-catalog'} 02:51:54 @@ -680,12 +682,14 @@ def del_portmapping(): 02:51:54 response = delete_request(url[RESTCONF_VERSION].format('{}')) 02:51:54 return {'status_code': response.status_code} 02:51:54 02:51:54 + 02:51:54 def del_metadata(): 02:51:54 url = {'rfc8040': '{}/data/open-terminal-meta-data:open-terminal-meta-data', 02:51:54 'draft-bierman02': '{}/config/data/open-terminal-meta-data:open-terminal-meta-data'} 02:51:54 response = delete_request(url[RESTCONF_VERSION].format('{}')) 02:51:54 return {'status_code': response.status_code} 02:51:54 02:51:54 + 02:51:54 def get_portmapping_node_attr(node: str, attr: str, value: str): 02:51:54 # pylint: disable=consider-using-f-string 02:51:54 url = {'rfc8040': '{}/data/transportpce-portmapping:network/nodes={}', 02:51:54 pre-commit: exit 1 (36.68 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure pid=29145 02:52:13 ************* Module common.test_utils 02:52:13 transportpce_tests/common/test_utils.py:1:0: C0302: Too many lines in module (1013/1000) (too-many-lines) 02:52:13 ************* Module OC 02:52:13 transportpce_tests/OC/__init__.py:1:0: C0103: Module name "OC" doesn't conform to '([a-z0-9_]+$)|([0-9.]{1,30}$)' pattern (invalid-name) 02:52:13 02:52:13 ------------------------------------ 02:52:13 Your code has been rated at 10.00/10 02:52:13 02:52:15 pre-commit: FAIL ✖ in 40.27 seconds 02:52:15 pylint: exit 1 (22.87 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> find transportpce_tests/ -name '*.py' -exec pylint --fail-under=10 --max-line-length=120 --disable=missing-docstring,import-error --disable=fixme --disable=duplicate-code '--module-rgx=([a-z0-9_]+$)|([0-9.]{1,30}$)' '--method-rgx=(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$' '--variable-rgx=[a-zA-Z_][a-zA-Z0-9_]{1,30}$' '{}' + pid=30050 02:53:06 pylint: FAIL ✖ in 28.71 seconds 02:53:06 buildcontroller: OK ✔ in 1 minute 54.35 seconds 02:53:06 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 02:53:06 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 02:53:06 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 02:53:06 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 02:53:13 build_karaf_tests221: freeze> python -m pip freeze --all 02:53:13 build_karaf_tests121: freeze> python -m pip freeze --all 02:53:13 sims: freeze> python -m pip freeze --all 02:53:13 build_karaf_tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:53:13 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 02:53:13 NOTE: Picked up JDK_JAVA_OPTIONS: 02:53:13 --add-opens=java.base/java.io=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.net=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:53:13 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:53:13 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:53:13 -Xlog:disable 02:53:13 build_karaf_tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:53:13 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 02:53:13 NOTE: Picked up JDK_JAVA_OPTIONS: 02:53:13 --add-opens=java.base/java.io=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.net=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:53:13 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:53:13 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:53:13 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:53:13 -Xlog:disable 02:53:13 sims: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:53:13 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 02:53:13 Using lighynode version 20.1.0.2 02:53:13 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 02:53:19 sims: OK ✔ in 13.38 seconds 02:53:19 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 02:53:32 build_karaf_tests71: freeze> python -m pip freeze --all 02:53:32 build_karaf_tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:53:32 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 02:53:33 NOTE: Picked up JDK_JAVA_OPTIONS: 02:53:33 --add-opens=java.base/java.io=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.lang=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.net=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.nio=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.util=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:53:33 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:53:33 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:53:33 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:53:33 -Xlog:disable 02:54:09 build_karaf_tests221: OK ✔ in 1 minute 2.27 seconds 02:54:09 sims190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 02:54:10 build_karaf_tests121: OK ✔ in 1 minute 4.52 seconds 02:54:10 build_karaf_tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 02:54:20 build_karaf_tests71: OK ✔ in 1 minute 1.22 seconds 02:54:20 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 02:54:23 build_karaf_tests190: freeze> python -m pip freeze --all 02:54:23 sims190: freeze> python -m pip freeze --all 02:54:24 build_karaf_tests190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:54:24 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 02:54:24 NOTE: Picked up JDK_JAVA_OPTIONS: 02:54:24 --add-opens=java.base/java.io=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.lang=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.net=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.nio=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.util=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:54:24 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:54:24 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:54:24 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:54:24 -Xlog:disable 02:54:24 sims190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:54:24 sims190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_sims.sh 02:54:24 Using lighynode version 20.1.0.2 02:54:24 lightynode simulator in version 20.1.0.2 is alreay installed 02:54:26 sims190: OK ✔ in 16.52 seconds 02:54:26 build_karaf_tests_hybrid: freeze> python -m pip freeze --all 02:54:27 build_karaf_tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:54:27 build_karaf_tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 02:54:27 NOTE: Picked up JDK_JAVA_OPTIONS: 02:54:27 --add-opens=java.base/java.io=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.lang=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.net=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.nio=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.nio.file=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.util=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.util.jar=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.util.stream=ALL-UNNAMED 02:54:27 --add-opens=java.base/java.util.zip=ALL-UNNAMED 02:54:27 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 02:54:27 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 02:54:27 -Xlog:disable 02:54:59 testsPCE: freeze> python -m pip freeze --all 02:54:59 testsPCE: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,click==8.1.7,contourpy==1.3.1,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.6,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.55.0,gnpy4tpce==2.4.7,idna==3.10,iniconfig==2.0.0,injector==0.22.0,itsdangerous==2.2.0,Jinja2==3.1.4,kiwisolver==1.4.7,lxml==5.3.0,MarkupSafe==3.0.2,matplotlib==3.9.3,netconf-client==3.1.2,networkx==2.8.8,numpy==1.26.4,packaging==24.2,pandas==1.5.3,paramiko==3.5.0,pbr==5.11.1,pillow==11.0.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pyparsing==3.2.0,pytest==8.3.4,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,scipy==1.14.1,setuptools==50.3.2,six==1.16.0,urllib3==2.2.3,Werkzeug==2.0.3,wheel==0.45.1,xlrd==1.2.0 02:54:59 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 02:54:59 pytest -q transportpce_tests/pce/test01_pce.py 02:55:10 build_karaf_tests190: OK ✔ in 1 minute 0.27 seconds 02:55:10 tests190: install_deps> python -I -m pip install 'setuptools>=7.0' -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/requirements.txt -r /w/workspace/transportpce-tox-verify-transportpce-master/tests/test-requirements.txt 02:55:28 build_karaf_tests_hybrid: OK ✔ in 55.15 seconds 02:55:28 tests190: freeze> python -m pip freeze --all 02:55:28 tests190: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:55:28 tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 02:55:28 Using lighynode version 20.1.0.2 02:55:28 lightynode simulator in version 20.1.0.2 is alreay installed 02:55:28 tests190: commands[1] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh OC 02:55:28 using environment variables from ./karafOC.env 02:55:28 pytest -q transportpce_tests/OC/test01_portmapping.py 02:55:52 .....FF............... [100%] 02:56:56 20 passed in 119.73s (0:01:59) 02:56:56 pytest -q transportpce_tests/pce/test02_pce_400G.py 02:57:15 ......... [100%] 02:57:37 9 passed in 41.05s 02:57:37 pytest -q transportpce_tests/pce/test03_gnpy.py 02:57:56 ........ [100%] 02:58:17 8 passed in 40.17s 02:58:17 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 02:58:51 ... [100%] 02:58:56 3 passed in 37.94s 02:58:56 testsPCE: OK ✔ in 5 minutes 50.81 seconds 02:58:56 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 02:59:04 tests_tapi: freeze> python -m pip freeze --all 02:59:04 tests_tapi: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 02:59:04 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 02:59:04 using environment variables from ./karaf221.env 02:59:04 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 02:59:06 FFFFFFFFE [100%] 02:59:14 ==================================== ERRORS ==================================== 02:59:14 _ ERROR at teardown of TransportpceOCPortMappingTesting.test_10_xpdr_device_disconnection _ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 > sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:14 raise err 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:14 socket_options = [(6, 1, 1)] 02:59:14 02:59:14 def create_connection( 02:59:14 address: tuple[str, int], 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 source_address: tuple[str, int] | None = None, 02:59:14 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:14 ) -> socket.socket: 02:59:14 """Connect to *address* and return the socket object. 02:59:14 02:59:14 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:14 port)``) and return the socket object. Passing the optional 02:59:14 *timeout* parameter will set the timeout on the socket instance 02:59:14 before attempting to connect. If no *timeout* is supplied, the 02:59:14 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:14 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:14 for the socket to bind as a source address before making the connection. 02:59:14 An host of '' or port 0 tells the OS to use the default. 02:59:14 """ 02:59:14 02:59:14 host, port = address 02:59:14 if host.startswith("["): 02:59:14 host = host.strip("[]") 02:59:14 err = None 02:59:14 02:59:14 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:14 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:14 # The original create_connection function always returns all records. 02:59:14 family = allowed_gai_family() 02:59:14 02:59:14 try: 02:59:14 host.encode("idna") 02:59:14 except UnicodeError: 02:59:14 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:14 02:59:14 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:14 af, socktype, proto, canonname, sa = res 02:59:14 sock = None 02:59:14 try: 02:59:14 sock = socket.socket(af, socktype, proto) 02:59:14 02:59:14 # If provided, set socket level options before connecting. 02:59:14 _set_socket_options(sock, socket_options) 02:59:14 02:59:14 if timeout is not _DEFAULT_TIMEOUT: 02:59:14 sock.settimeout(timeout) 02:59:14 if source_address: 02:59:14 sock.bind(source_address) 02:59:14 > sock.connect(sa) 02:59:14 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 method = 'DELETE' 02:59:14 url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data', body = None 02:59:14 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='} 02:59:14 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 redirect = False, assert_same_host = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:14 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:14 decode_content = False, response_kw = {} 02:59:14 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/open-terminal-meta-data:open-terminal-meta-data', query=None, fragment=None) 02:59:14 destination_scheme = None, conn = None, release_this_conn = True 02:59:14 http_tunnel_required = False, err = None, clean_exit = False 02:59:14 02:59:14 def urlopen( # type: ignore[override] 02:59:14 self, 02:59:14 method: str, 02:59:14 url: str, 02:59:14 body: _TYPE_BODY | None = None, 02:59:14 headers: typing.Mapping[str, str] | None = None, 02:59:14 retries: Retry | bool | int | None = None, 02:59:14 redirect: bool = True, 02:59:14 assert_same_host: bool = True, 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 pool_timeout: int | None = None, 02:59:14 release_conn: bool | None = None, 02:59:14 chunked: bool = False, 02:59:14 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:14 preload_content: bool = True, 02:59:14 decode_content: bool = True, 02:59:14 **response_kw: typing.Any, 02:59:14 ) -> BaseHTTPResponse: 02:59:14 """ 02:59:14 Get a connection from the pool and perform an HTTP request. This is the 02:59:14 lowest level call for making a request, so you'll need to specify all 02:59:14 the raw details. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 More commonly, it's appropriate to use a convenience method 02:59:14 such as :meth:`request`. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 `release_conn` will only behave as expected if 02:59:14 `preload_content=False` because we want to make 02:59:14 `preload_content=False` the default behaviour someday soon without 02:59:14 breaking backwards compatibility. 02:59:14 02:59:14 :param method: 02:59:14 HTTP request method (such as GET, POST, PUT, etc.) 02:59:14 02:59:14 :param url: 02:59:14 The URL to perform the request on. 02:59:14 02:59:14 :param body: 02:59:14 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:14 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:14 02:59:14 :param headers: 02:59:14 Dictionary of custom headers to send, such as User-Agent, 02:59:14 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:14 these headers completely replace any pool-specific headers. 02:59:14 02:59:14 :param retries: 02:59:14 Configure the number of retries to allow before raising a 02:59:14 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:14 02:59:14 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:14 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:14 over different types of retries. 02:59:14 Pass an integer number to retry connection errors that many times, 02:59:14 but no other types of errors. Pass zero to never retry. 02:59:14 02:59:14 If ``False``, then retries are disabled and any exception is raised 02:59:14 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:14 the redirect response will be returned. 02:59:14 02:59:14 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:14 02:59:14 :param redirect: 02:59:14 If True, automatically handle redirects (status codes 301, 302, 02:59:14 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:14 will disable redirect, too. 02:59:14 02:59:14 :param assert_same_host: 02:59:14 If ``True``, will make sure that the host of the pool requests is 02:59:14 consistent else will raise HostChangedError. When ``False``, you can 02:59:14 use the pool on an HTTP proxy and request foreign hosts. 02:59:14 02:59:14 :param timeout: 02:59:14 If specified, overrides the default timeout for this one 02:59:14 request. It may be a float (in seconds) or an instance of 02:59:14 :class:`urllib3.util.Timeout`. 02:59:14 02:59:14 :param pool_timeout: 02:59:14 If set and the pool is set to block=True, then this method will 02:59:14 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:14 connection is available within the time period. 02:59:14 02:59:14 :param bool preload_content: 02:59:14 If True, the response's body will be preloaded into memory. 02:59:14 02:59:14 :param bool decode_content: 02:59:14 If True, will attempt to decode the body based on the 02:59:14 'content-encoding' header. 02:59:14 02:59:14 :param release_conn: 02:59:14 If False, then the urlopen call will not release the connection 02:59:14 back into the pool once a response is received (but will release if 02:59:14 you read the entire contents of the response such as when 02:59:14 `preload_content=True`). This is useful if you're not preloading 02:59:14 the response's content immediately. You will need to call 02:59:14 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:14 back into the pool. If None, it takes the value of ``preload_content`` 02:59:14 which defaults to ``True``. 02:59:14 02:59:14 :param bool chunked: 02:59:14 If True, urllib3 will send the body using chunked transfer 02:59:14 encoding. Otherwise, urllib3 will send the body using the standard 02:59:14 content-length form. Defaults to False. 02:59:14 02:59:14 :param int body_pos: 02:59:14 Position to seek to in file-like body in the event of a retry or 02:59:14 redirect. Typically this won't need to be set because urllib3 will 02:59:14 auto-populate the value when needed. 02:59:14 """ 02:59:14 parsed_url = parse_url(url) 02:59:14 destination_scheme = parsed_url.scheme 02:59:14 02:59:14 if headers is None: 02:59:14 headers = self.headers 02:59:14 02:59:14 if not isinstance(retries, Retry): 02:59:14 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:14 02:59:14 if release_conn is None: 02:59:14 release_conn = preload_content 02:59:14 02:59:14 # Check host 02:59:14 if assert_same_host and not self.is_same_host(url): 02:59:14 raise HostChangedError(self, url, retries) 02:59:14 02:59:14 # Ensure that the URL we're connecting to is properly encoded 02:59:14 if url.startswith("/"): 02:59:14 url = to_str(_encode_target(url)) 02:59:14 else: 02:59:14 url = to_str(parsed_url.url) 02:59:14 02:59:14 conn = None 02:59:14 02:59:14 # Track whether `conn` needs to be released before 02:59:14 # returning/raising/recursing. Update this variable if necessary, and 02:59:14 # leave `release_conn` constant throughout the function. That way, if 02:59:14 # the function recurses, the original value of `release_conn` will be 02:59:14 # passed down into the recursive call, and its value will be respected. 02:59:14 # 02:59:14 # See issue #651 [1] for details. 02:59:14 # 02:59:14 # [1] 02:59:14 release_this_conn = release_conn 02:59:14 02:59:14 http_tunnel_required = connection_requires_http_tunnel( 02:59:14 self.proxy, self.proxy_config, destination_scheme 02:59:14 ) 02:59:14 02:59:14 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:14 # have to copy the headers dict so we can safely change it without those 02:59:14 # changes being reflected in anyone else's copy. 02:59:14 if not http_tunnel_required: 02:59:14 headers = headers.copy() # type: ignore[attr-defined] 02:59:14 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:14 02:59:14 # Must keep the exception bound to a separate variable or else Python 3 02:59:14 # complains about UnboundLocalError. 02:59:14 err = None 02:59:14 02:59:14 # Keep track of whether we cleanly exited the except block. This 02:59:14 # ensures we do proper cleanup in finally. 02:59:14 clean_exit = False 02:59:14 02:59:14 # Rewind body position, if needed. Record current position 02:59:14 # for future rewinds in the event of a redirect/retry. 02:59:14 body_pos = set_file_position(body, body_pos) 02:59:14 02:59:14 try: 02:59:14 # Request a connection from the queue. 02:59:14 timeout_obj = self._get_timeout(timeout) 02:59:14 conn = self._get_conn(timeout=pool_timeout) 02:59:14 02:59:14 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:14 02:59:14 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:14 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:14 try: 02:59:14 self._prepare_proxy(conn) 02:59:14 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:14 self._raise_timeout( 02:59:14 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:14 ) 02:59:14 raise 02:59:14 02:59:14 # If we're going to release the connection in ``finally:``, then 02:59:14 # the response doesn't need to know about the connection. Otherwise 02:59:14 # it will also try to release it and we'll have a double-release 02:59:14 # mess. 02:59:14 response_conn = conn if not release_conn else None 02:59:14 02:59:14 # Make the request on the HTTPConnection object 02:59:14 > response = self._make_request( 02:59:14 conn, 02:59:14 method, 02:59:14 url, 02:59:14 timeout=timeout_obj, 02:59:14 body=body, 02:59:14 headers=headers, 02:59:14 chunked=chunked, 02:59:14 retries=retries, 02:59:14 response_conn=response_conn, 02:59:14 preload_content=preload_content, 02:59:14 decode_content=decode_content, 02:59:14 **response_kw, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:14 conn.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:14 self.endheaders() 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:14 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:14 self.send(msg) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:14 self.connect() 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:14 self.sock = self._new_conn() 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 except socket.gaierror as e: 02:59:14 raise NameResolutionError(self.host, self, e) from e 02:59:14 except SocketTimeout as e: 02:59:14 raise ConnectTimeoutError( 02:59:14 self, 02:59:14 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:14 ) from e 02:59:14 02:59:14 except OSError as e: 02:59:14 > raise NewConnectionError( 02:59:14 self, f"Failed to establish a new connection: {e}" 02:59:14 ) from e 02:59:14 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 > resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:14 retries = retries.increment( 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 method = 'DELETE' 02:59:14 url = '/rests/data/open-terminal-meta-data:open-terminal-meta-data' 02:59:14 response = None 02:59:14 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:14 _pool = 02:59:14 _stacktrace = 02:59:14 02:59:14 def increment( 02:59:14 self, 02:59:14 method: str | None = None, 02:59:14 url: str | None = None, 02:59:14 response: BaseHTTPResponse | None = None, 02:59:14 error: Exception | None = None, 02:59:14 _pool: ConnectionPool | None = None, 02:59:14 _stacktrace: TracebackType | None = None, 02:59:14 ) -> Self: 02:59:14 """Return a new Retry object with incremented retry counters. 02:59:14 02:59:14 :param response: A response object, or None, if the server did not 02:59:14 return a response. 02:59:14 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:14 :param Exception error: An error encountered during the request, or 02:59:14 None if the response was received successfully. 02:59:14 02:59:14 :return: A new ``Retry`` object. 02:59:14 """ 02:59:14 if self.total is False and error: 02:59:14 # Disabled, indicate to re-raise the error. 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 02:59:14 total = self.total 02:59:14 if total is not None: 02:59:14 total -= 1 02:59:14 02:59:14 connect = self.connect 02:59:14 read = self.read 02:59:14 redirect = self.redirect 02:59:14 status_count = self.status 02:59:14 other = self.other 02:59:14 cause = "unknown" 02:59:14 status = None 02:59:14 redirect_location = None 02:59:14 02:59:14 if error and self._is_connection_error(error): 02:59:14 # Connect retry? 02:59:14 if connect is False: 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif connect is not None: 02:59:14 connect -= 1 02:59:14 02:59:14 elif error and self._is_read_error(error): 02:59:14 # Read retry? 02:59:14 if read is False or method is None or not self._is_method_retryable(method): 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif read is not None: 02:59:14 read -= 1 02:59:14 02:59:14 elif error: 02:59:14 # Other retry? 02:59:14 if other is not None: 02:59:14 other -= 1 02:59:14 02:59:14 elif response and response.get_redirect_location(): 02:59:14 # Redirect retry? 02:59:14 if redirect is not None: 02:59:14 redirect -= 1 02:59:14 cause = "too many redirects" 02:59:14 response_redirect_location = response.get_redirect_location() 02:59:14 if response_redirect_location: 02:59:14 redirect_location = response_redirect_location 02:59:14 status = response.status 02:59:14 02:59:14 else: 02:59:14 # Incrementing because of a server error like a 500 in 02:59:14 # status_forcelist and the given method is in the allowed_methods 02:59:14 cause = ResponseError.GENERIC_ERROR 02:59:14 if response and response.status: 02:59:14 if status_count is not None: 02:59:14 status_count -= 1 02:59:14 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:14 status = response.status 02:59:14 02:59:14 history = self.history + ( 02:59:14 RequestHistory(method, url, error, status, redirect_location), 02:59:14 ) 02:59:14 02:59:14 new_retry = self.new( 02:59:14 total=total, 02:59:14 connect=connect, 02:59:14 read=read, 02:59:14 redirect=redirect, 02:59:14 status=status_count, 02:59:14 other=other, 02:59:14 history=history, 02:59:14 ) 02:59:14 02:59:14 if new_retry.is_exhausted(): 02:59:14 reason = error or ResponseError(cause) 02:59:14 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:14 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/open-terminal-meta-data:open-terminal-meta-data (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:14 02:59:14 During handling of the above exception, another exception occurred: 02:59:14 02:59:14 cls = 02:59:14 02:59:14 @classmethod 02:59:14 def tearDownClass(cls): 02:59:14 # pylint: disable=not-an-iterable 02:59:14 > test_utils.del_metadata() 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:37: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 transportpce_tests/common/test_utils.py:689: in del_metadata 02:59:14 response = delete_request(url[RESTCONF_VERSION].format('{}')) 02:59:14 transportpce_tests/common/test_utils.py:133: in delete_request 02:59:14 return requests.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:14 return session.request(method=method, url=url, **kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:14 resp = self.send(prep, **send_kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:14 r = adapter.send(request, **kwargs) 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 except (ProtocolError, OSError) as err: 02:59:14 raise ConnectionError(err, request=request) 02:59:14 02:59:14 except MaxRetryError as e: 02:59:14 if isinstance(e.reason, ConnectTimeoutError): 02:59:14 # TODO: Remove this in 3.0.0: see #2811 02:59:14 if not isinstance(e.reason, NewConnectionError): 02:59:14 raise ConnectTimeout(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, ResponseError): 02:59:14 raise RetryError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _ProxyError): 02:59:14 raise ProxyError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _SSLError): 02:59:14 # This branch is for urllib3 v1.22 and later. 02:59:14 raise SSLError(e, request=request) 02:59:14 02:59:14 > raise ConnectionError(e, request=request) 02:59:14 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/open-terminal-meta-data:open-terminal-meta-data (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_10_xpdr_device_disconnection 02:59:14 =================================== FAILURES =================================== 02:59:14 _________ TransportpceOCPortMappingTesting.test_01_meta_data_insertion _________ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def test_01_meta_data_insertion(self): 02:59:14 response = test_utils.metadata_input() 02:59:14 > self.assertEqual(response.status_code, requests.codes.created, 02:59:14 test_utils.CODE_SHOULD_BE_201) 02:59:14 E AssertionError: 404 != 201 : Http status code should be 201 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:49: AssertionError 02:59:14 ---------------------------- Captured stdout setup ----------------------------- 02:59:14 starting OpenDaylight... 02:59:14 starting KARAF TransportPCE build... 02:59:14 Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! 02:59:14 starting simulator sample-openconfig-mpdr in OpenROADM device version OC... 02:59:14 Searching for patterns in sample-openconfig-mpdr.log... Pattern found! simulator for sample-openconfig-mpdr started 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_01_meta_data_insertion 02:59:14 _______ TransportpceOCPortMappingTesting.test_02_catlog_input_insertion ________ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def test_02_catlog_input_insertion(self): 02:59:14 response = test_utils.catlog_input() 02:59:14 > self.assertEqual(response.status_code, requests.codes.ok, 02:59:14 test_utils.CODE_SHOULD_BE_200) 02:59:14 E AssertionError: 404 != 200 : Http status code should be 200 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:54: AssertionError 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_02_catlog_input_insertion 02:59:14 _______ TransportpceOCPortMappingTesting.test_03_xpdr_device_connection ________ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def test_03_xpdr_device_connection(self): 02:59:14 response = test_utils.mount_device("XPDR-OC", 02:59:14 ('sample-openconfig-mpdr', self.NODE_VERSION)) 02:59:14 > self.assertEqual(response.status_code, requests.codes.created, 02:59:14 test_utils.CODE_SHOULD_BE_201) 02:59:14 E AssertionError: 404 != 201 : Http status code should be 201 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:60: AssertionError 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_03_xpdr_device_connection 02:59:14 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not added to tpce topology... 02:59:14 ________ TransportpceOCPortMappingTesting.test_04_xpdr_device_connected ________ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 > sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:14 raise err 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:14 socket_options = [(6, 1, 1)] 02:59:14 02:59:14 def create_connection( 02:59:14 address: tuple[str, int], 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 source_address: tuple[str, int] | None = None, 02:59:14 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:14 ) -> socket.socket: 02:59:14 """Connect to *address* and return the socket object. 02:59:14 02:59:14 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:14 port)``) and return the socket object. Passing the optional 02:59:14 *timeout* parameter will set the timeout on the socket instance 02:59:14 before attempting to connect. If no *timeout* is supplied, the 02:59:14 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:14 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:14 for the socket to bind as a source address before making the connection. 02:59:14 An host of '' or port 0 tells the OS to use the default. 02:59:14 """ 02:59:14 02:59:14 host, port = address 02:59:14 if host.startswith("["): 02:59:14 host = host.strip("[]") 02:59:14 err = None 02:59:14 02:59:14 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:14 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:14 # The original create_connection function always returns all records. 02:59:14 family = allowed_gai_family() 02:59:14 02:59:14 try: 02:59:14 host.encode("idna") 02:59:14 except UnicodeError: 02:59:14 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:14 02:59:14 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:14 af, socktype, proto, canonname, sa = res 02:59:14 sock = None 02:59:14 try: 02:59:14 sock = socket.socket(af, socktype, proto) 02:59:14 02:59:14 # If provided, set socket level options before connecting. 02:59:14 _set_socket_options(sock, socket_options) 02:59:14 02:59:14 if timeout is not _DEFAULT_TIMEOUT: 02:59:14 sock.settimeout(timeout) 02:59:14 if source_address: 02:59:14 sock.bind(source_address) 02:59:14 > sock.connect(sa) 02:59:14 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 method = 'GET' 02:59:14 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig' 02:59:14 body = None 02:59:14 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='} 02:59:14 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 redirect = False, assert_same_host = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:14 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:14 decode_content = False, response_kw = {} 02:59:14 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC', query='content=nonconfig', fragment=None) 02:59:14 destination_scheme = None, conn = None, release_this_conn = True 02:59:14 http_tunnel_required = False, err = None, clean_exit = False 02:59:14 02:59:14 def urlopen( # type: ignore[override] 02:59:14 self, 02:59:14 method: str, 02:59:14 url: str, 02:59:14 body: _TYPE_BODY | None = None, 02:59:14 headers: typing.Mapping[str, str] | None = None, 02:59:14 retries: Retry | bool | int | None = None, 02:59:14 redirect: bool = True, 02:59:14 assert_same_host: bool = True, 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 pool_timeout: int | None = None, 02:59:14 release_conn: bool | None = None, 02:59:14 chunked: bool = False, 02:59:14 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:14 preload_content: bool = True, 02:59:14 decode_content: bool = True, 02:59:14 **response_kw: typing.Any, 02:59:14 ) -> BaseHTTPResponse: 02:59:14 """ 02:59:14 Get a connection from the pool and perform an HTTP request. This is the 02:59:14 lowest level call for making a request, so you'll need to specify all 02:59:14 the raw details. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 More commonly, it's appropriate to use a convenience method 02:59:14 such as :meth:`request`. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 `release_conn` will only behave as expected if 02:59:14 `preload_content=False` because we want to make 02:59:14 `preload_content=False` the default behaviour someday soon without 02:59:14 breaking backwards compatibility. 02:59:14 02:59:14 :param method: 02:59:14 HTTP request method (such as GET, POST, PUT, etc.) 02:59:14 02:59:14 :param url: 02:59:14 The URL to perform the request on. 02:59:14 02:59:14 :param body: 02:59:14 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:14 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:14 02:59:14 :param headers: 02:59:14 Dictionary of custom headers to send, such as User-Agent, 02:59:14 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:14 these headers completely replace any pool-specific headers. 02:59:14 02:59:14 :param retries: 02:59:14 Configure the number of retries to allow before raising a 02:59:14 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:14 02:59:14 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:14 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:14 over different types of retries. 02:59:14 Pass an integer number to retry connection errors that many times, 02:59:14 but no other types of errors. Pass zero to never retry. 02:59:14 02:59:14 If ``False``, then retries are disabled and any exception is raised 02:59:14 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:14 the redirect response will be returned. 02:59:14 02:59:14 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:14 02:59:14 :param redirect: 02:59:14 If True, automatically handle redirects (status codes 301, 302, 02:59:14 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:14 will disable redirect, too. 02:59:14 02:59:14 :param assert_same_host: 02:59:14 If ``True``, will make sure that the host of the pool requests is 02:59:14 consistent else will raise HostChangedError. When ``False``, you can 02:59:14 use the pool on an HTTP proxy and request foreign hosts. 02:59:14 02:59:14 :param timeout: 02:59:14 If specified, overrides the default timeout for this one 02:59:14 request. It may be a float (in seconds) or an instance of 02:59:14 :class:`urllib3.util.Timeout`. 02:59:14 02:59:14 :param pool_timeout: 02:59:14 If set and the pool is set to block=True, then this method will 02:59:14 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:14 connection is available within the time period. 02:59:14 02:59:14 :param bool preload_content: 02:59:14 If True, the response's body will be preloaded into memory. 02:59:14 02:59:14 :param bool decode_content: 02:59:14 If True, will attempt to decode the body based on the 02:59:14 'content-encoding' header. 02:59:14 02:59:14 :param release_conn: 02:59:14 If False, then the urlopen call will not release the connection 02:59:14 back into the pool once a response is received (but will release if 02:59:14 you read the entire contents of the response such as when 02:59:14 `preload_content=True`). This is useful if you're not preloading 02:59:14 the response's content immediately. You will need to call 02:59:14 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:14 back into the pool. If None, it takes the value of ``preload_content`` 02:59:14 which defaults to ``True``. 02:59:14 02:59:14 :param bool chunked: 02:59:14 If True, urllib3 will send the body using chunked transfer 02:59:14 encoding. Otherwise, urllib3 will send the body using the standard 02:59:14 content-length form. Defaults to False. 02:59:14 02:59:14 :param int body_pos: 02:59:14 Position to seek to in file-like body in the event of a retry or 02:59:14 redirect. Typically this won't need to be set because urllib3 will 02:59:14 auto-populate the value when needed. 02:59:14 """ 02:59:14 parsed_url = parse_url(url) 02:59:14 destination_scheme = parsed_url.scheme 02:59:14 02:59:14 if headers is None: 02:59:14 headers = self.headers 02:59:14 02:59:14 if not isinstance(retries, Retry): 02:59:14 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:14 02:59:14 if release_conn is None: 02:59:14 release_conn = preload_content 02:59:14 02:59:14 # Check host 02:59:14 if assert_same_host and not self.is_same_host(url): 02:59:14 raise HostChangedError(self, url, retries) 02:59:14 02:59:14 # Ensure that the URL we're connecting to is properly encoded 02:59:14 if url.startswith("/"): 02:59:14 url = to_str(_encode_target(url)) 02:59:14 else: 02:59:14 url = to_str(parsed_url.url) 02:59:14 02:59:14 conn = None 02:59:14 02:59:14 # Track whether `conn` needs to be released before 02:59:14 # returning/raising/recursing. Update this variable if necessary, and 02:59:14 # leave `release_conn` constant throughout the function. That way, if 02:59:14 # the function recurses, the original value of `release_conn` will be 02:59:14 # passed down into the recursive call, and its value will be respected. 02:59:14 # 02:59:14 # See issue #651 [1] for details. 02:59:14 # 02:59:14 # [1] 02:59:14 release_this_conn = release_conn 02:59:14 02:59:14 http_tunnel_required = connection_requires_http_tunnel( 02:59:14 self.proxy, self.proxy_config, destination_scheme 02:59:14 ) 02:59:14 02:59:14 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:14 # have to copy the headers dict so we can safely change it without those 02:59:14 # changes being reflected in anyone else's copy. 02:59:14 if not http_tunnel_required: 02:59:14 headers = headers.copy() # type: ignore[attr-defined] 02:59:14 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:14 02:59:14 # Must keep the exception bound to a separate variable or else Python 3 02:59:14 # complains about UnboundLocalError. 02:59:14 err = None 02:59:14 02:59:14 # Keep track of whether we cleanly exited the except block. This 02:59:14 # ensures we do proper cleanup in finally. 02:59:14 clean_exit = False 02:59:14 02:59:14 # Rewind body position, if needed. Record current position 02:59:14 # for future rewinds in the event of a redirect/retry. 02:59:14 body_pos = set_file_position(body, body_pos) 02:59:14 02:59:14 try: 02:59:14 # Request a connection from the queue. 02:59:14 timeout_obj = self._get_timeout(timeout) 02:59:14 conn = self._get_conn(timeout=pool_timeout) 02:59:14 02:59:14 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:14 02:59:14 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:14 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:14 try: 02:59:14 self._prepare_proxy(conn) 02:59:14 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:14 self._raise_timeout( 02:59:14 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:14 ) 02:59:14 raise 02:59:14 02:59:14 # If we're going to release the connection in ``finally:``, then 02:59:14 # the response doesn't need to know about the connection. Otherwise 02:59:14 # it will also try to release it and we'll have a double-release 02:59:14 # mess. 02:59:14 response_conn = conn if not release_conn else None 02:59:14 02:59:14 # Make the request on the HTTPConnection object 02:59:14 > response = self._make_request( 02:59:14 conn, 02:59:14 method, 02:59:14 url, 02:59:14 timeout=timeout_obj, 02:59:14 body=body, 02:59:14 headers=headers, 02:59:14 chunked=chunked, 02:59:14 retries=retries, 02:59:14 response_conn=response_conn, 02:59:14 preload_content=preload_content, 02:59:14 decode_content=decode_content, 02:59:14 **response_kw, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:14 conn.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:14 self.endheaders() 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:14 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:14 self.send(msg) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:14 self.connect() 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:14 self.sock = self._new_conn() 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 except socket.gaierror as e: 02:59:14 raise NameResolutionError(self.host, self, e) from e 02:59:14 except SocketTimeout as e: 02:59:14 raise ConnectTimeoutError( 02:59:14 self, 02:59:14 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:14 ) from e 02:59:14 02:59:14 except OSError as e: 02:59:14 > raise NewConnectionError( 02:59:14 self, f"Failed to establish a new connection: {e}" 02:59:14 ) from e 02:59:14 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 > resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:14 retries = retries.increment( 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 method = 'GET' 02:59:14 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig' 02:59:14 response = None 02:59:14 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:14 _pool = 02:59:14 _stacktrace = 02:59:14 02:59:14 def increment( 02:59:14 self, 02:59:14 method: str | None = None, 02:59:14 url: str | None = None, 02:59:14 response: BaseHTTPResponse | None = None, 02:59:14 error: Exception | None = None, 02:59:14 _pool: ConnectionPool | None = None, 02:59:14 _stacktrace: TracebackType | None = None, 02:59:14 ) -> Self: 02:59:14 """Return a new Retry object with incremented retry counters. 02:59:14 02:59:14 :param response: A response object, or None, if the server did not 02:59:14 return a response. 02:59:14 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:14 :param Exception error: An error encountered during the request, or 02:59:14 None if the response was received successfully. 02:59:14 02:59:14 :return: A new ``Retry`` object. 02:59:14 """ 02:59:14 if self.total is False and error: 02:59:14 # Disabled, indicate to re-raise the error. 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 02:59:14 total = self.total 02:59:14 if total is not None: 02:59:14 total -= 1 02:59:14 02:59:14 connect = self.connect 02:59:14 read = self.read 02:59:14 redirect = self.redirect 02:59:14 status_count = self.status 02:59:14 other = self.other 02:59:14 cause = "unknown" 02:59:14 status = None 02:59:14 redirect_location = None 02:59:14 02:59:14 if error and self._is_connection_error(error): 02:59:14 # Connect retry? 02:59:14 if connect is False: 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif connect is not None: 02:59:14 connect -= 1 02:59:14 02:59:14 elif error and self._is_read_error(error): 02:59:14 # Read retry? 02:59:14 if read is False or method is None or not self._is_method_retryable(method): 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif read is not None: 02:59:14 read -= 1 02:59:14 02:59:14 elif error: 02:59:14 # Other retry? 02:59:14 if other is not None: 02:59:14 other -= 1 02:59:14 02:59:14 elif response and response.get_redirect_location(): 02:59:14 # Redirect retry? 02:59:14 if redirect is not None: 02:59:14 redirect -= 1 02:59:14 cause = "too many redirects" 02:59:14 response_redirect_location = response.get_redirect_location() 02:59:14 if response_redirect_location: 02:59:14 redirect_location = response_redirect_location 02:59:14 status = response.status 02:59:14 02:59:14 else: 02:59:14 # Incrementing because of a server error like a 500 in 02:59:14 # status_forcelist and the given method is in the allowed_methods 02:59:14 cause = ResponseError.GENERIC_ERROR 02:59:14 if response and response.status: 02:59:14 if status_count is not None: 02:59:14 status_count -= 1 02:59:14 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:14 status = response.status 02:59:14 02:59:14 history = self.history + ( 02:59:14 RequestHistory(method, url, error, status, redirect_location), 02:59:14 ) 02:59:14 02:59:14 new_retry = self.new( 02:59:14 total=total, 02:59:14 connect=connect, 02:59:14 read=read, 02:59:14 redirect=redirect, 02:59:14 status=status_count, 02:59:14 other=other, 02:59:14 history=history, 02:59:14 ) 02:59:14 02:59:14 if new_retry.is_exhausted(): 02:59:14 reason = error or ResponseError(cause) 02:59:14 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:14 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:14 02:59:14 During handling of the above exception, another exception occurred: 02:59:14 02:59:14 self = 02:59:14 02:59:14 def test_04_xpdr_device_connected(self): 02:59:14 > response = test_utils.check_device_connection("XPDR-OC") 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:64: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 transportpce_tests/common/test_utils.py:596: in check_device_connection 02:59:14 response = get_request(url[RESTCONF_VERSION].format('{}', node)) 02:59:14 transportpce_tests/common/test_utils.py:116: in get_request 02:59:14 return requests.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:14 return session.request(method=method, url=url, **kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:14 resp = self.send(prep, **send_kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:14 r = adapter.send(request, **kwargs) 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 except (ProtocolError, OSError) as err: 02:59:14 raise ConnectionError(err, request=request) 02:59:14 02:59:14 except MaxRetryError as e: 02:59:14 if isinstance(e.reason, ConnectTimeoutError): 02:59:14 # TODO: Remove this in 3.0.0: see #2811 02:59:14 if not isinstance(e.reason, NewConnectionError): 02:59:14 raise ConnectTimeout(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, ResponseError): 02:59:14 raise RetryError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _ProxyError): 02:59:14 raise ProxyError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _SSLError): 02:59:14 # This branch is for urllib3 v1.22 and later. 02:59:14 raise SSLError(e, request=request) 02:59:14 02:59:14 > raise ConnectionError(e, request=request) 02:59:14 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC?content=nonconfig (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_04_xpdr_device_connected 02:59:14 ________ TransportpceOCPortMappingTesting.test_05_xpdr_portmapping_info ________ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 > sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:14 raise err 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:14 socket_options = [(6, 1, 1)] 02:59:14 02:59:14 def create_connection( 02:59:14 address: tuple[str, int], 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 source_address: tuple[str, int] | None = None, 02:59:14 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:14 ) -> socket.socket: 02:59:14 """Connect to *address* and return the socket object. 02:59:14 02:59:14 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:14 port)``) and return the socket object. Passing the optional 02:59:14 *timeout* parameter will set the timeout on the socket instance 02:59:14 before attempting to connect. If no *timeout* is supplied, the 02:59:14 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:14 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:14 for the socket to bind as a source address before making the connection. 02:59:14 An host of '' or port 0 tells the OS to use the default. 02:59:14 """ 02:59:14 02:59:14 host, port = address 02:59:14 if host.startswith("["): 02:59:14 host = host.strip("[]") 02:59:14 err = None 02:59:14 02:59:14 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:14 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:14 # The original create_connection function always returns all records. 02:59:14 family = allowed_gai_family() 02:59:14 02:59:14 try: 02:59:14 host.encode("idna") 02:59:14 except UnicodeError: 02:59:14 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:14 02:59:14 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:14 af, socktype, proto, canonname, sa = res 02:59:14 sock = None 02:59:14 try: 02:59:14 sock = socket.socket(af, socktype, proto) 02:59:14 02:59:14 # If provided, set socket level options before connecting. 02:59:14 _set_socket_options(sock, socket_options) 02:59:14 02:59:14 if timeout is not _DEFAULT_TIMEOUT: 02:59:14 sock.settimeout(timeout) 02:59:14 if source_address: 02:59:14 sock.bind(source_address) 02:59:14 > sock.connect(sa) 02:59:14 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 method = 'GET' 02:59:14 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info' 02:59:14 body = None 02:59:14 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='} 02:59:14 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 redirect = False, assert_same_host = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:14 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:14 decode_content = False, response_kw = {} 02:59:14 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info', query=None, fragment=None) 02:59:14 destination_scheme = None, conn = None, release_this_conn = True 02:59:14 http_tunnel_required = False, err = None, clean_exit = False 02:59:14 02:59:14 def urlopen( # type: ignore[override] 02:59:14 self, 02:59:14 method: str, 02:59:14 url: str, 02:59:14 body: _TYPE_BODY | None = None, 02:59:14 headers: typing.Mapping[str, str] | None = None, 02:59:14 retries: Retry | bool | int | None = None, 02:59:14 redirect: bool = True, 02:59:14 assert_same_host: bool = True, 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 pool_timeout: int | None = None, 02:59:14 release_conn: bool | None = None, 02:59:14 chunked: bool = False, 02:59:14 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:14 preload_content: bool = True, 02:59:14 decode_content: bool = True, 02:59:14 **response_kw: typing.Any, 02:59:14 ) -> BaseHTTPResponse: 02:59:14 """ 02:59:14 Get a connection from the pool and perform an HTTP request. This is the 02:59:14 lowest level call for making a request, so you'll need to specify all 02:59:14 the raw details. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 More commonly, it's appropriate to use a convenience method 02:59:14 such as :meth:`request`. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 `release_conn` will only behave as expected if 02:59:14 `preload_content=False` because we want to make 02:59:14 `preload_content=False` the default behaviour someday soon without 02:59:14 breaking backwards compatibility. 02:59:14 02:59:14 :param method: 02:59:14 HTTP request method (such as GET, POST, PUT, etc.) 02:59:14 02:59:14 :param url: 02:59:14 The URL to perform the request on. 02:59:14 02:59:14 :param body: 02:59:14 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:14 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:14 02:59:14 :param headers: 02:59:14 Dictionary of custom headers to send, such as User-Agent, 02:59:14 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:14 these headers completely replace any pool-specific headers. 02:59:14 02:59:14 :param retries: 02:59:14 Configure the number of retries to allow before raising a 02:59:14 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:14 02:59:14 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:14 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:14 over different types of retries. 02:59:14 Pass an integer number to retry connection errors that many times, 02:59:14 but no other types of errors. Pass zero to never retry. 02:59:14 02:59:14 If ``False``, then retries are disabled and any exception is raised 02:59:14 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:14 the redirect response will be returned. 02:59:14 02:59:14 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:14 02:59:14 :param redirect: 02:59:14 If True, automatically handle redirects (status codes 301, 302, 02:59:14 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:14 will disable redirect, too. 02:59:14 02:59:14 :param assert_same_host: 02:59:14 If ``True``, will make sure that the host of the pool requests is 02:59:14 consistent else will raise HostChangedError. When ``False``, you can 02:59:14 use the pool on an HTTP proxy and request foreign hosts. 02:59:14 02:59:14 :param timeout: 02:59:14 If specified, overrides the default timeout for this one 02:59:14 request. It may be a float (in seconds) or an instance of 02:59:14 :class:`urllib3.util.Timeout`. 02:59:14 02:59:14 :param pool_timeout: 02:59:14 If set and the pool is set to block=True, then this method will 02:59:14 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:14 connection is available within the time period. 02:59:14 02:59:14 :param bool preload_content: 02:59:14 If True, the response's body will be preloaded into memory. 02:59:14 02:59:14 :param bool decode_content: 02:59:14 If True, will attempt to decode the body based on the 02:59:14 'content-encoding' header. 02:59:14 02:59:14 :param release_conn: 02:59:14 If False, then the urlopen call will not release the connection 02:59:14 back into the pool once a response is received (but will release if 02:59:14 you read the entire contents of the response such as when 02:59:14 `preload_content=True`). This is useful if you're not preloading 02:59:14 the response's content immediately. You will need to call 02:59:14 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:14 back into the pool. If None, it takes the value of ``preload_content`` 02:59:14 which defaults to ``True``. 02:59:14 02:59:14 :param bool chunked: 02:59:14 If True, urllib3 will send the body using chunked transfer 02:59:14 encoding. Otherwise, urllib3 will send the body using the standard 02:59:14 content-length form. Defaults to False. 02:59:14 02:59:14 :param int body_pos: 02:59:14 Position to seek to in file-like body in the event of a retry or 02:59:14 redirect. Typically this won't need to be set because urllib3 will 02:59:14 auto-populate the value when needed. 02:59:14 """ 02:59:14 parsed_url = parse_url(url) 02:59:14 destination_scheme = parsed_url.scheme 02:59:14 02:59:14 if headers is None: 02:59:14 headers = self.headers 02:59:14 02:59:14 if not isinstance(retries, Retry): 02:59:14 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:14 02:59:14 if release_conn is None: 02:59:14 release_conn = preload_content 02:59:14 02:59:14 # Check host 02:59:14 if assert_same_host and not self.is_same_host(url): 02:59:14 raise HostChangedError(self, url, retries) 02:59:14 02:59:14 # Ensure that the URL we're connecting to is properly encoded 02:59:14 if url.startswith("/"): 02:59:14 url = to_str(_encode_target(url)) 02:59:14 else: 02:59:14 url = to_str(parsed_url.url) 02:59:14 02:59:14 conn = None 02:59:14 02:59:14 # Track whether `conn` needs to be released before 02:59:14 # returning/raising/recursing. Update this variable if necessary, and 02:59:14 # leave `release_conn` constant throughout the function. That way, if 02:59:14 # the function recurses, the original value of `release_conn` will be 02:59:14 # passed down into the recursive call, and its value will be respected. 02:59:14 # 02:59:14 # See issue #651 [1] for details. 02:59:14 # 02:59:14 # [1] 02:59:14 release_this_conn = release_conn 02:59:14 02:59:14 http_tunnel_required = connection_requires_http_tunnel( 02:59:14 self.proxy, self.proxy_config, destination_scheme 02:59:14 ) 02:59:14 02:59:14 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:14 # have to copy the headers dict so we can safely change it without those 02:59:14 # changes being reflected in anyone else's copy. 02:59:14 if not http_tunnel_required: 02:59:14 headers = headers.copy() # type: ignore[attr-defined] 02:59:14 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:14 02:59:14 # Must keep the exception bound to a separate variable or else Python 3 02:59:14 # complains about UnboundLocalError. 02:59:14 err = None 02:59:14 02:59:14 # Keep track of whether we cleanly exited the except block. This 02:59:14 # ensures we do proper cleanup in finally. 02:59:14 clean_exit = False 02:59:14 02:59:14 # Rewind body position, if needed. Record current position 02:59:14 # for future rewinds in the event of a redirect/retry. 02:59:14 body_pos = set_file_position(body, body_pos) 02:59:14 02:59:14 try: 02:59:14 # Request a connection from the queue. 02:59:14 timeout_obj = self._get_timeout(timeout) 02:59:14 conn = self._get_conn(timeout=pool_timeout) 02:59:14 02:59:14 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:14 02:59:14 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:14 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:14 try: 02:59:14 self._prepare_proxy(conn) 02:59:14 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:14 self._raise_timeout( 02:59:14 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:14 ) 02:59:14 raise 02:59:14 02:59:14 # If we're going to release the connection in ``finally:``, then 02:59:14 # the response doesn't need to know about the connection. Otherwise 02:59:14 # it will also try to release it and we'll have a double-release 02:59:14 # mess. 02:59:14 response_conn = conn if not release_conn else None 02:59:14 02:59:14 # Make the request on the HTTPConnection object 02:59:14 > response = self._make_request( 02:59:14 conn, 02:59:14 method, 02:59:14 url, 02:59:14 timeout=timeout_obj, 02:59:14 body=body, 02:59:14 headers=headers, 02:59:14 chunked=chunked, 02:59:14 retries=retries, 02:59:14 response_conn=response_conn, 02:59:14 preload_content=preload_content, 02:59:14 decode_content=decode_content, 02:59:14 **response_kw, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:14 conn.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:14 self.endheaders() 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:14 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:14 self.send(msg) 02:59:14 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:14 self.connect() 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:14 self.sock = self._new_conn() 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 except socket.gaierror as e: 02:59:14 raise NameResolutionError(self.host, self, e) from e 02:59:14 except SocketTimeout as e: 02:59:14 raise ConnectTimeoutError( 02:59:14 self, 02:59:14 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:14 ) from e 02:59:14 02:59:14 except OSError as e: 02:59:14 > raise NewConnectionError( 02:59:14 self, f"Failed to establish a new connection: {e}" 02:59:14 ) from e 02:59:14 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 > resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:14 retries = retries.increment( 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 method = 'GET' 02:59:14 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info' 02:59:14 response = None 02:59:14 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:14 _pool = 02:59:14 _stacktrace = 02:59:14 02:59:14 def increment( 02:59:14 self, 02:59:14 method: str | None = None, 02:59:14 url: str | None = None, 02:59:14 response: BaseHTTPResponse | None = None, 02:59:14 error: Exception | None = None, 02:59:14 _pool: ConnectionPool | None = None, 02:59:14 _stacktrace: TracebackType | None = None, 02:59:14 ) -> Self: 02:59:14 """Return a new Retry object with incremented retry counters. 02:59:14 02:59:14 :param response: A response object, or None, if the server did not 02:59:14 return a response. 02:59:14 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:14 :param Exception error: An error encountered during the request, or 02:59:14 None if the response was received successfully. 02:59:14 02:59:14 :return: A new ``Retry`` object. 02:59:14 """ 02:59:14 if self.total is False and error: 02:59:14 # Disabled, indicate to re-raise the error. 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 02:59:14 total = self.total 02:59:14 if total is not None: 02:59:14 total -= 1 02:59:14 02:59:14 connect = self.connect 02:59:14 read = self.read 02:59:14 redirect = self.redirect 02:59:14 status_count = self.status 02:59:14 other = self.other 02:59:14 cause = "unknown" 02:59:14 status = None 02:59:14 redirect_location = None 02:59:14 02:59:14 if error and self._is_connection_error(error): 02:59:14 # Connect retry? 02:59:14 if connect is False: 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif connect is not None: 02:59:14 connect -= 1 02:59:14 02:59:14 elif error and self._is_read_error(error): 02:59:14 # Read retry? 02:59:14 if read is False or method is None or not self._is_method_retryable(method): 02:59:14 raise reraise(type(error), error, _stacktrace) 02:59:14 elif read is not None: 02:59:14 read -= 1 02:59:14 02:59:14 elif error: 02:59:14 # Other retry? 02:59:14 if other is not None: 02:59:14 other -= 1 02:59:14 02:59:14 elif response and response.get_redirect_location(): 02:59:14 # Redirect retry? 02:59:14 if redirect is not None: 02:59:14 redirect -= 1 02:59:14 cause = "too many redirects" 02:59:14 response_redirect_location = response.get_redirect_location() 02:59:14 if response_redirect_location: 02:59:14 redirect_location = response_redirect_location 02:59:14 status = response.status 02:59:14 02:59:14 else: 02:59:14 # Incrementing because of a server error like a 500 in 02:59:14 # status_forcelist and the given method is in the allowed_methods 02:59:14 cause = ResponseError.GENERIC_ERROR 02:59:14 if response and response.status: 02:59:14 if status_count is not None: 02:59:14 status_count -= 1 02:59:14 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:14 status = response.status 02:59:14 02:59:14 history = self.history + ( 02:59:14 RequestHistory(method, url, error, status, redirect_location), 02:59:14 ) 02:59:14 02:59:14 new_retry = self.new( 02:59:14 total=total, 02:59:14 connect=connect, 02:59:14 read=read, 02:59:14 redirect=redirect, 02:59:14 status=status_count, 02:59:14 other=other, 02:59:14 history=history, 02:59:14 ) 02:59:14 02:59:14 if new_retry.is_exhausted(): 02:59:14 reason = error or ResponseError(cause) 02:59:14 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:14 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:14 02:59:14 During handling of the above exception, another exception occurred: 02:59:14 02:59:14 self = 02:59:14 02:59:14 def test_05_xpdr_portmapping_info(self): 02:59:14 > response = test_utils.get_portmapping_node_attr("XPDR-OC", "node-info", None) 02:59:14 02:59:14 transportpce_tests/OC/test01_portmapping.py:69: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr 02:59:14 response = get_request(target_url) 02:59:14 transportpce_tests/common/test_utils.py:116: in get_request 02:59:14 return requests.request( 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:14 return session.request(method=method, url=url, **kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:14 resp = self.send(prep, **send_kwargs) 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:14 r = adapter.send(request, **kwargs) 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 self = 02:59:14 request = , stream = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:14 proxies = OrderedDict() 02:59:14 02:59:14 def send( 02:59:14 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:14 ): 02:59:14 """Sends PreparedRequest object. Returns Response object. 02:59:14 02:59:14 :param request: The :class:`PreparedRequest ` being sent. 02:59:14 :param stream: (optional) Whether to stream the request content. 02:59:14 :param timeout: (optional) How long to wait for the server to send 02:59:14 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:14 read timeout) ` tuple. 02:59:14 :type timeout: float or tuple or urllib3 Timeout object 02:59:14 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:14 we verify the server's TLS certificate, or a string, in which case it 02:59:14 must be a path to a CA bundle to use 02:59:14 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:14 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:14 :rtype: requests.Response 02:59:14 """ 02:59:14 02:59:14 try: 02:59:14 conn = self.get_connection_with_tls_context( 02:59:14 request, verify, proxies=proxies, cert=cert 02:59:14 ) 02:59:14 except LocationValueError as e: 02:59:14 raise InvalidURL(e, request=request) 02:59:14 02:59:14 self.cert_verify(conn, request.url, verify, cert) 02:59:14 url = self.request_url(request, proxies) 02:59:14 self.add_headers( 02:59:14 request, 02:59:14 stream=stream, 02:59:14 timeout=timeout, 02:59:14 verify=verify, 02:59:14 cert=cert, 02:59:14 proxies=proxies, 02:59:14 ) 02:59:14 02:59:14 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:14 02:59:14 if isinstance(timeout, tuple): 02:59:14 try: 02:59:14 connect, read = timeout 02:59:14 timeout = TimeoutSauce(connect=connect, read=read) 02:59:14 except ValueError: 02:59:14 raise ValueError( 02:59:14 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:14 f"or a single float to set both timeouts to the same value." 02:59:14 ) 02:59:14 elif isinstance(timeout, TimeoutSauce): 02:59:14 pass 02:59:14 else: 02:59:14 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:14 02:59:14 try: 02:59:14 resp = conn.urlopen( 02:59:14 method=request.method, 02:59:14 url=url, 02:59:14 body=request.body, 02:59:14 headers=request.headers, 02:59:14 redirect=False, 02:59:14 assert_same_host=False, 02:59:14 preload_content=False, 02:59:14 decode_content=False, 02:59:14 retries=self.max_retries, 02:59:14 timeout=timeout, 02:59:14 chunked=chunked, 02:59:14 ) 02:59:14 02:59:14 except (ProtocolError, OSError) as err: 02:59:14 raise ConnectionError(err, request=request) 02:59:14 02:59:14 except MaxRetryError as e: 02:59:14 if isinstance(e.reason, ConnectTimeoutError): 02:59:14 # TODO: Remove this in 3.0.0: see #2811 02:59:14 if not isinstance(e.reason, NewConnectionError): 02:59:14 raise ConnectTimeout(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, ResponseError): 02:59:14 raise RetryError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _ProxyError): 02:59:14 raise ProxyError(e, request=request) 02:59:14 02:59:14 if isinstance(e.reason, _SSLError): 02:59:14 # This branch is for urllib3 v1.22 and later. 02:59:14 raise SSLError(e, request=request) 02:59:14 02:59:14 > raise ConnectionError(e, request=request) 02:59:14 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/node-info (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:14 ----------------------------- Captured stdout call ----------------------------- 02:59:14 execution of test_05_xpdr_portmapping_info 02:59:14 ______ TransportpceOCPortMappingTesting.test_06_mpdr_portmapping_NETWORK1 ______ 02:59:14 02:59:14 self = 02:59:14 02:59:14 def _new_conn(self) -> socket.socket: 02:59:14 """Establish a socket connection and set nodelay settings on it. 02:59:14 02:59:14 :return: New socket connection. 02:59:14 """ 02:59:14 try: 02:59:14 > sock = connection.create_connection( 02:59:14 (self._dns_host, self.port), 02:59:14 self.timeout, 02:59:14 source_address=self.source_address, 02:59:14 socket_options=self.socket_options, 02:59:14 ) 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:14 raise err 02:59:14 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:14 02:59:14 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:14 socket_options = [(6, 1, 1)] 02:59:14 02:59:14 def create_connection( 02:59:14 address: tuple[str, int], 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 source_address: tuple[str, int] | None = None, 02:59:14 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:14 ) -> socket.socket: 02:59:14 """Connect to *address* and return the socket object. 02:59:14 02:59:14 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:14 port)``) and return the socket object. Passing the optional 02:59:14 *timeout* parameter will set the timeout on the socket instance 02:59:14 before attempting to connect. If no *timeout* is supplied, the 02:59:14 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:14 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:14 for the socket to bind as a source address before making the connection. 02:59:14 An host of '' or port 0 tells the OS to use the default. 02:59:14 """ 02:59:14 02:59:14 host, port = address 02:59:14 if host.startswith("["): 02:59:14 host = host.strip("[]") 02:59:14 err = None 02:59:14 02:59:14 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:14 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:14 # The original create_connection function always returns all records. 02:59:14 family = allowed_gai_family() 02:59:14 02:59:14 try: 02:59:14 host.encode("idna") 02:59:14 except UnicodeError: 02:59:14 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:14 02:59:14 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:14 af, socktype, proto, canonname, sa = res 02:59:14 sock = None 02:59:14 try: 02:59:14 sock = socket.socket(af, socktype, proto) 02:59:14 02:59:14 # If provided, set socket level options before connecting. 02:59:14 _set_socket_options(sock, socket_options) 02:59:14 02:59:14 if timeout is not _DEFAULT_TIMEOUT: 02:59:14 sock.settimeout(timeout) 02:59:14 if source_address: 02:59:14 sock.bind(source_address) 02:59:14 > sock.connect(sa) 02:59:14 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:14 02:59:14 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:14 02:59:14 The above exception was the direct cause of the following exception: 02:59:14 02:59:14 self = 02:59:14 method = 'GET' 02:59:14 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5' 02:59:14 body = None 02:59:14 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='} 02:59:14 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:14 redirect = False, assert_same_host = False 02:59:14 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:14 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:14 decode_content = False, response_kw = {} 02:59:14 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5', query=None, fragment=None) 02:59:14 destination_scheme = None, conn = None, release_this_conn = True 02:59:14 http_tunnel_required = False, err = None, clean_exit = False 02:59:14 02:59:14 def urlopen( # type: ignore[override] 02:59:14 self, 02:59:14 method: str, 02:59:14 url: str, 02:59:14 body: _TYPE_BODY | None = None, 02:59:14 headers: typing.Mapping[str, str] | None = None, 02:59:14 retries: Retry | bool | int | None = None, 02:59:14 redirect: bool = True, 02:59:14 assert_same_host: bool = True, 02:59:14 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:14 pool_timeout: int | None = None, 02:59:14 release_conn: bool | None = None, 02:59:14 chunked: bool = False, 02:59:14 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:14 preload_content: bool = True, 02:59:14 decode_content: bool = True, 02:59:14 **response_kw: typing.Any, 02:59:14 ) -> BaseHTTPResponse: 02:59:14 """ 02:59:14 Get a connection from the pool and perform an HTTP request. This is the 02:59:14 lowest level call for making a request, so you'll need to specify all 02:59:14 the raw details. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 More commonly, it's appropriate to use a convenience method 02:59:14 such as :meth:`request`. 02:59:14 02:59:14 .. note:: 02:59:14 02:59:14 `release_conn` will only behave as expected if 02:59:14 `preload_content=False` because we want to make 02:59:14 `preload_content=False` the default behaviour someday soon without 02:59:14 breaking backwards compatibility. 02:59:14 02:59:14 :param method: 02:59:14 HTTP request method (such as GET, POST, PUT, etc.) 02:59:14 02:59:14 :param url: 02:59:14 The URL to perform the request on. 02:59:14 02:59:14 :param body: 02:59:14 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:14 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:14 02:59:14 :param headers: 02:59:14 Dictionary of custom headers to send, such as User-Agent, 02:59:14 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:14 these headers completely replace any pool-specific headers. 02:59:14 02:59:14 :param retries: 02:59:14 Configure the number of retries to allow before raising a 02:59:14 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:14 02:59:14 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:14 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:14 over different types of retries. 02:59:14 Pass an integer number to retry connection errors that many times, 02:59:14 but no other types of errors. Pass zero to never retry. 02:59:14 02:59:14 If ``False``, then retries are disabled and any exception is raised 02:59:14 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:14 the redirect response will be returned. 02:59:14 02:59:14 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:14 02:59:14 :param redirect: 02:59:14 If True, automatically handle redirects (status codes 301, 302, 02:59:14 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:14 will disable redirect, too. 02:59:14 02:59:14 :param assert_same_host: 02:59:14 If ``True``, will make sure that the host of the pool requests is 02:59:14 consistent else will raise HostChangedError. When ``False``, you can 02:59:14 use the pool on an HTTP proxy and request foreign hosts. 02:59:14 02:59:14 :param timeout: 02:59:14 If specified, overrides the default timeout for this one 02:59:14 request. It may be a float (in seconds) or an instance of 02:59:14 :class:`urllib3.util.Timeout`. 02:59:14 02:59:14 :param pool_timeout: 02:59:14 If set and the pool is set to block=True, then this method will 02:59:14 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:14 connection is available within the time period. 02:59:14 02:59:14 :param bool preload_content: 02:59:14 If True, the response's body will be preloaded into memory. 02:59:14 02:59:14 :param bool decode_content: 02:59:14 If True, will attempt to decode the body based on the 02:59:14 'content-encoding' header. 02:59:14 02:59:14 :param release_conn: 02:59:14 If False, then the urlopen call will not release the connection 02:59:14 back into the pool once a response is received (but will release if 02:59:14 you read the entire contents of the response such as when 02:59:14 `preload_content=True`). This is useful if you're not preloading 02:59:14 the response's content immediately. You will need to call 02:59:14 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:14 back into the pool. If None, it takes the value of ``preload_content`` 02:59:14 which defaults to ``True``. 02:59:14 02:59:14 :param bool chunked: 02:59:14 If True, urllib3 will send the body using chunked transfer 02:59:14 encoding. Otherwise, urllib3 will send the body using the standard 02:59:14 content-length form. Defaults to False. 02:59:14 02:59:14 :param int body_pos: 02:59:14 Position to seek to in file-like body in the event of a retry or 02:59:14 redirect. Typically this won't need to be set because urllib3 will 02:59:14 auto-populate the value when needed. 02:59:14 """ 02:59:14 parsed_url = parse_url(url) 02:59:14 destination_scheme = parsed_url.scheme 02:59:14 02:59:14 if headers is None: 02:59:14 headers = self.headers 02:59:14 02:59:14 if not isinstance(retries, Retry): 02:59:14 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:14 02:59:14 if release_conn is None: 02:59:14 release_conn = preload_content 02:59:14 02:59:14 # Check host 02:59:14 if assert_same_host and not self.is_same_host(url): 02:59:14 raise HostChangedError(self, url, retries) 02:59:14 02:59:14 # Ensure that the URL we're connecting to is properly encoded 02:59:14 if url.startswith("/"): 02:59:14 url = to_str(_encode_target(url)) 02:59:14 else: 02:59:14 url = to_str(parsed_url.url) 02:59:14 02:59:14 conn = None 02:59:14 02:59:14 # Track whether `conn` needs to be released before 02:59:14 # returning/raising/recursing. Update this variable if necessary, and 02:59:14 # leave `release_conn` constant throughout the function. That way, if 02:59:14 # the function recurses, the original value of `release_conn` will be 02:59:14 # passed down into the recursive call, and its value will be respected. 02:59:14 # 02:59:14 # See issue #651 [1] for details. 02:59:14 # 02:59:14 # [1] 02:59:14 release_this_conn = release_conn 02:59:14 02:59:14 http_tunnel_required = connection_requires_http_tunnel( 02:59:14 self.proxy, self.proxy_config, destination_scheme 02:59:14 ) 02:59:14 02:59:14 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:14 # have to copy the headers dict so we can safely change it without those 02:59:14 # changes being reflected in anyone else's copy. 02:59:14 if not http_tunnel_required: 02:59:14 headers = headers.copy() # type: ignore[attr-defined] 02:59:14 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:14 02:59:14 # Must keep the exception bound to a separate variable or else Python 3 02:59:14 # complains about UnboundLocalError. 02:59:14 err = None 02:59:14 02:59:14 # Keep track of whether we cleanly exited the except block. This 02:59:14 # ensures we do proper cleanup in finally. 02:59:14 clean_exit = False 02:59:14 02:59:14 # Rewind body position, if needed. Record current position 02:59:14 # for future rewinds in the event of a redirect/retry. 02:59:14 body_pos = set_file_position(body, body_pos) 02:59:14 02:59:14 try: 02:59:14 # Request a connection from the queue. 02:59:14 timeout_obj = self._get_timeout(timeout) 02:59:14 conn = self._get_conn(timeout=pool_timeout) 02:59:14 02:59:14 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:14 02:59:14 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:15 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:15 try: 02:59:15 self._prepare_proxy(conn) 02:59:15 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:15 self._raise_timeout( 02:59:15 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:15 ) 02:59:15 raise 02:59:15 02:59:15 # If we're going to release the connection in ``finally:``, then 02:59:15 # the response doesn't need to know about the connection. Otherwise 02:59:15 # it will also try to release it and we'll have a double-release 02:59:15 # mess. 02:59:15 response_conn = conn if not release_conn else None 02:59:15 02:59:15 # Make the request on the HTTPConnection object 02:59:15 > response = self._make_request( 02:59:15 conn, 02:59:15 method, 02:59:15 url, 02:59:15 timeout=timeout_obj, 02:59:15 body=body, 02:59:15 headers=headers, 02:59:15 chunked=chunked, 02:59:15 retries=retries, 02:59:15 response_conn=response_conn, 02:59:15 preload_content=preload_content, 02:59:15 decode_content=decode_content, 02:59:15 **response_kw, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:15 conn.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:15 self.endheaders() 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:15 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:15 self.send(msg) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:15 self.connect() 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:15 self.sock = self._new_conn() 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 except socket.gaierror as e: 02:59:15 raise NameResolutionError(self.host, self, e) from e 02:59:15 except SocketTimeout as e: 02:59:15 raise ConnectTimeoutError( 02:59:15 self, 02:59:15 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:15 ) from e 02:59:15 02:59:15 except OSError as e: 02:59:15 > raise NewConnectionError( 02:59:15 self, f"Failed to establish a new connection: {e}" 02:59:15 ) from e 02:59:15 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 > resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:15 retries = retries.increment( 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5' 02:59:15 response = None 02:59:15 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:15 _pool = 02:59:15 _stacktrace = 02:59:15 02:59:15 def increment( 02:59:15 self, 02:59:15 method: str | None = None, 02:59:15 url: str | None = None, 02:59:15 response: BaseHTTPResponse | None = None, 02:59:15 error: Exception | None = None, 02:59:15 _pool: ConnectionPool | None = None, 02:59:15 _stacktrace: TracebackType | None = None, 02:59:15 ) -> Self: 02:59:15 """Return a new Retry object with incremented retry counters. 02:59:15 02:59:15 :param response: A response object, or None, if the server did not 02:59:15 return a response. 02:59:15 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:15 :param Exception error: An error encountered during the request, or 02:59:15 None if the response was received successfully. 02:59:15 02:59:15 :return: A new ``Retry`` object. 02:59:15 """ 02:59:15 if self.total is False and error: 02:59:15 # Disabled, indicate to re-raise the error. 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 02:59:15 total = self.total 02:59:15 if total is not None: 02:59:15 total -= 1 02:59:15 02:59:15 connect = self.connect 02:59:15 read = self.read 02:59:15 redirect = self.redirect 02:59:15 status_count = self.status 02:59:15 other = self.other 02:59:15 cause = "unknown" 02:59:15 status = None 02:59:15 redirect_location = None 02:59:15 02:59:15 if error and self._is_connection_error(error): 02:59:15 # Connect retry? 02:59:15 if connect is False: 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif connect is not None: 02:59:15 connect -= 1 02:59:15 02:59:15 elif error and self._is_read_error(error): 02:59:15 # Read retry? 02:59:15 if read is False or method is None or not self._is_method_retryable(method): 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif read is not None: 02:59:15 read -= 1 02:59:15 02:59:15 elif error: 02:59:15 # Other retry? 02:59:15 if other is not None: 02:59:15 other -= 1 02:59:15 02:59:15 elif response and response.get_redirect_location(): 02:59:15 # Redirect retry? 02:59:15 if redirect is not None: 02:59:15 redirect -= 1 02:59:15 cause = "too many redirects" 02:59:15 response_redirect_location = response.get_redirect_location() 02:59:15 if response_redirect_location: 02:59:15 redirect_location = response_redirect_location 02:59:15 status = response.status 02:59:15 02:59:15 else: 02:59:15 # Incrementing because of a server error like a 500 in 02:59:15 # status_forcelist and the given method is in the allowed_methods 02:59:15 cause = ResponseError.GENERIC_ERROR 02:59:15 if response and response.status: 02:59:15 if status_count is not None: 02:59:15 status_count -= 1 02:59:15 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:15 status = response.status 02:59:15 02:59:15 history = self.history + ( 02:59:15 RequestHistory(method, url, error, status, redirect_location), 02:59:15 ) 02:59:15 02:59:15 new_retry = self.new( 02:59:15 total=total, 02:59:15 connect=connect, 02:59:15 read=read, 02:59:15 redirect=redirect, 02:59:15 status=status_count, 02:59:15 other=other, 02:59:15 history=history, 02:59:15 ) 02:59:15 02:59:15 if new_retry.is_exhausted(): 02:59:15 reason = error or ResponseError(cause) 02:59:15 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:15 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:15 02:59:15 During handling of the above exception, another exception occurred: 02:59:15 02:59:15 self = 02:59:15 02:59:15 def test_06_mpdr_portmapping_NETWORK1(self): 02:59:15 > response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") 02:59:15 02:59:15 transportpce_tests/OC/test01_portmapping.py:82: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr 02:59:15 response = get_request(target_url) 02:59:15 transportpce_tests/common/test_utils.py:116: in get_request 02:59:15 return requests.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:15 return session.request(method=method, url=url, **kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:15 resp = self.send(prep, **send_kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:15 r = adapter.send(request, **kwargs) 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 except (ProtocolError, OSError) as err: 02:59:15 raise ConnectionError(err, request=request) 02:59:15 02:59:15 except MaxRetryError as e: 02:59:15 if isinstance(e.reason, ConnectTimeoutError): 02:59:15 # TODO: Remove this in 3.0.0: see #2811 02:59:15 if not isinstance(e.reason, NewConnectionError): 02:59:15 raise ConnectTimeout(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, ResponseError): 02:59:15 raise RetryError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _ProxyError): 02:59:15 raise ProxyError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _SSLError): 02:59:15 # This branch is for urllib3 v1.22 and later. 02:59:15 raise SSLError(e, request=request) 02:59:15 02:59:15 > raise ConnectionError(e, request=request) 02:59:15 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-NETWORK5 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:15 ----------------------------- Captured stdout call ----------------------------- 02:59:15 execution of test_06_mpdr_portmapping_NETWORK1 02:59:15 ______ TransportpceOCPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 _______ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 > sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:15 raise err 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:15 socket_options = [(6, 1, 1)] 02:59:15 02:59:15 def create_connection( 02:59:15 address: tuple[str, int], 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 source_address: tuple[str, int] | None = None, 02:59:15 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:15 ) -> socket.socket: 02:59:15 """Connect to *address* and return the socket object. 02:59:15 02:59:15 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:15 port)``) and return the socket object. Passing the optional 02:59:15 *timeout* parameter will set the timeout on the socket instance 02:59:15 before attempting to connect. If no *timeout* is supplied, the 02:59:15 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:15 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:15 for the socket to bind as a source address before making the connection. 02:59:15 An host of '' or port 0 tells the OS to use the default. 02:59:15 """ 02:59:15 02:59:15 host, port = address 02:59:15 if host.startswith("["): 02:59:15 host = host.strip("[]") 02:59:15 err = None 02:59:15 02:59:15 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:15 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:15 # The original create_connection function always returns all records. 02:59:15 family = allowed_gai_family() 02:59:15 02:59:15 try: 02:59:15 host.encode("idna") 02:59:15 except UnicodeError: 02:59:15 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:15 02:59:15 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:15 af, socktype, proto, canonname, sa = res 02:59:15 sock = None 02:59:15 try: 02:59:15 sock = socket.socket(af, socktype, proto) 02:59:15 02:59:15 # If provided, set socket level options before connecting. 02:59:15 _set_socket_options(sock, socket_options) 02:59:15 02:59:15 if timeout is not _DEFAULT_TIMEOUT: 02:59:15 sock.settimeout(timeout) 02:59:15 if source_address: 02:59:15 sock.bind(source_address) 02:59:15 > sock.connect(sa) 02:59:15 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1' 02:59:15 body = None 02:59:15 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='} 02:59:15 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 redirect = False, assert_same_host = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:15 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:15 decode_content = False, response_kw = {} 02:59:15 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1', query=None, fragment=None) 02:59:15 destination_scheme = None, conn = None, release_this_conn = True 02:59:15 http_tunnel_required = False, err = None, clean_exit = False 02:59:15 02:59:15 def urlopen( # type: ignore[override] 02:59:15 self, 02:59:15 method: str, 02:59:15 url: str, 02:59:15 body: _TYPE_BODY | None = None, 02:59:15 headers: typing.Mapping[str, str] | None = None, 02:59:15 retries: Retry | bool | int | None = None, 02:59:15 redirect: bool = True, 02:59:15 assert_same_host: bool = True, 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 pool_timeout: int | None = None, 02:59:15 release_conn: bool | None = None, 02:59:15 chunked: bool = False, 02:59:15 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:15 preload_content: bool = True, 02:59:15 decode_content: bool = True, 02:59:15 **response_kw: typing.Any, 02:59:15 ) -> BaseHTTPResponse: 02:59:15 """ 02:59:15 Get a connection from the pool and perform an HTTP request. This is the 02:59:15 lowest level call for making a request, so you'll need to specify all 02:59:15 the raw details. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 More commonly, it's appropriate to use a convenience method 02:59:15 such as :meth:`request`. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 `release_conn` will only behave as expected if 02:59:15 `preload_content=False` because we want to make 02:59:15 `preload_content=False` the default behaviour someday soon without 02:59:15 breaking backwards compatibility. 02:59:15 02:59:15 :param method: 02:59:15 HTTP request method (such as GET, POST, PUT, etc.) 02:59:15 02:59:15 :param url: 02:59:15 The URL to perform the request on. 02:59:15 02:59:15 :param body: 02:59:15 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:15 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:15 02:59:15 :param headers: 02:59:15 Dictionary of custom headers to send, such as User-Agent, 02:59:15 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:15 these headers completely replace any pool-specific headers. 02:59:15 02:59:15 :param retries: 02:59:15 Configure the number of retries to allow before raising a 02:59:15 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:15 02:59:15 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:15 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:15 over different types of retries. 02:59:15 Pass an integer number to retry connection errors that many times, 02:59:15 but no other types of errors. Pass zero to never retry. 02:59:15 02:59:15 If ``False``, then retries are disabled and any exception is raised 02:59:15 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:15 the redirect response will be returned. 02:59:15 02:59:15 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:15 02:59:15 :param redirect: 02:59:15 If True, automatically handle redirects (status codes 301, 302, 02:59:15 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:15 will disable redirect, too. 02:59:15 02:59:15 :param assert_same_host: 02:59:15 If ``True``, will make sure that the host of the pool requests is 02:59:15 consistent else will raise HostChangedError. When ``False``, you can 02:59:15 use the pool on an HTTP proxy and request foreign hosts. 02:59:15 02:59:15 :param timeout: 02:59:15 If specified, overrides the default timeout for this one 02:59:15 request. It may be a float (in seconds) or an instance of 02:59:15 :class:`urllib3.util.Timeout`. 02:59:15 02:59:15 :param pool_timeout: 02:59:15 If set and the pool is set to block=True, then this method will 02:59:15 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:15 connection is available within the time period. 02:59:15 02:59:15 :param bool preload_content: 02:59:15 If True, the response's body will be preloaded into memory. 02:59:15 02:59:15 :param bool decode_content: 02:59:15 If True, will attempt to decode the body based on the 02:59:15 'content-encoding' header. 02:59:15 02:59:15 :param release_conn: 02:59:15 If False, then the urlopen call will not release the connection 02:59:15 back into the pool once a response is received (but will release if 02:59:15 you read the entire contents of the response such as when 02:59:15 `preload_content=True`). This is useful if you're not preloading 02:59:15 the response's content immediately. You will need to call 02:59:15 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:15 back into the pool. If None, it takes the value of ``preload_content`` 02:59:15 which defaults to ``True``. 02:59:15 02:59:15 :param bool chunked: 02:59:15 If True, urllib3 will send the body using chunked transfer 02:59:15 encoding. Otherwise, urllib3 will send the body using the standard 02:59:15 content-length form. Defaults to False. 02:59:15 02:59:15 :param int body_pos: 02:59:15 Position to seek to in file-like body in the event of a retry or 02:59:15 redirect. Typically this won't need to be set because urllib3 will 02:59:15 auto-populate the value when needed. 02:59:15 """ 02:59:15 parsed_url = parse_url(url) 02:59:15 destination_scheme = parsed_url.scheme 02:59:15 02:59:15 if headers is None: 02:59:15 headers = self.headers 02:59:15 02:59:15 if not isinstance(retries, Retry): 02:59:15 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:15 02:59:15 if release_conn is None: 02:59:15 release_conn = preload_content 02:59:15 02:59:15 # Check host 02:59:15 if assert_same_host and not self.is_same_host(url): 02:59:15 raise HostChangedError(self, url, retries) 02:59:15 02:59:15 # Ensure that the URL we're connecting to is properly encoded 02:59:15 if url.startswith("/"): 02:59:15 url = to_str(_encode_target(url)) 02:59:15 else: 02:59:15 url = to_str(parsed_url.url) 02:59:15 02:59:15 conn = None 02:59:15 02:59:15 # Track whether `conn` needs to be released before 02:59:15 # returning/raising/recursing. Update this variable if necessary, and 02:59:15 # leave `release_conn` constant throughout the function. That way, if 02:59:15 # the function recurses, the original value of `release_conn` will be 02:59:15 # passed down into the recursive call, and its value will be respected. 02:59:15 # 02:59:15 # See issue #651 [1] for details. 02:59:15 # 02:59:15 # [1] 02:59:15 release_this_conn = release_conn 02:59:15 02:59:15 http_tunnel_required = connection_requires_http_tunnel( 02:59:15 self.proxy, self.proxy_config, destination_scheme 02:59:15 ) 02:59:15 02:59:15 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:15 # have to copy the headers dict so we can safely change it without those 02:59:15 # changes being reflected in anyone else's copy. 02:59:15 if not http_tunnel_required: 02:59:15 headers = headers.copy() # type: ignore[attr-defined] 02:59:15 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:15 02:59:15 # Must keep the exception bound to a separate variable or else Python 3 02:59:15 # complains about UnboundLocalError. 02:59:15 err = None 02:59:15 02:59:15 # Keep track of whether we cleanly exited the except block. This 02:59:15 # ensures we do proper cleanup in finally. 02:59:15 clean_exit = False 02:59:15 02:59:15 # Rewind body position, if needed. Record current position 02:59:15 # for future rewinds in the event of a redirect/retry. 02:59:15 body_pos = set_file_position(body, body_pos) 02:59:15 02:59:15 try: 02:59:15 # Request a connection from the queue. 02:59:15 timeout_obj = self._get_timeout(timeout) 02:59:15 conn = self._get_conn(timeout=pool_timeout) 02:59:15 02:59:15 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:15 02:59:15 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:15 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:15 try: 02:59:15 self._prepare_proxy(conn) 02:59:15 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:15 self._raise_timeout( 02:59:15 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:15 ) 02:59:15 raise 02:59:15 02:59:15 # If we're going to release the connection in ``finally:``, then 02:59:15 # the response doesn't need to know about the connection. Otherwise 02:59:15 # it will also try to release it and we'll have a double-release 02:59:15 # mess. 02:59:15 response_conn = conn if not release_conn else None 02:59:15 02:59:15 # Make the request on the HTTPConnection object 02:59:15 > response = self._make_request( 02:59:15 conn, 02:59:15 method, 02:59:15 url, 02:59:15 timeout=timeout_obj, 02:59:15 body=body, 02:59:15 headers=headers, 02:59:15 chunked=chunked, 02:59:15 retries=retries, 02:59:15 response_conn=response_conn, 02:59:15 preload_content=preload_content, 02:59:15 decode_content=decode_content, 02:59:15 **response_kw, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:15 conn.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:15 self.endheaders() 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:15 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:15 self.send(msg) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:15 self.connect() 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:15 self.sock = self._new_conn() 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 except socket.gaierror as e: 02:59:15 raise NameResolutionError(self.host, self, e) from e 02:59:15 except SocketTimeout as e: 02:59:15 raise ConnectTimeoutError( 02:59:15 self, 02:59:15 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:15 ) from e 02:59:15 02:59:15 except OSError as e: 02:59:15 > raise NewConnectionError( 02:59:15 self, f"Failed to establish a new connection: {e}" 02:59:15 ) from e 02:59:15 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 > resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:15 retries = retries.increment( 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1' 02:59:15 response = None 02:59:15 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:15 _pool = 02:59:15 _stacktrace = 02:59:15 02:59:15 def increment( 02:59:15 self, 02:59:15 method: str | None = None, 02:59:15 url: str | None = None, 02:59:15 response: BaseHTTPResponse | None = None, 02:59:15 error: Exception | None = None, 02:59:15 _pool: ConnectionPool | None = None, 02:59:15 _stacktrace: TracebackType | None = None, 02:59:15 ) -> Self: 02:59:15 """Return a new Retry object with incremented retry counters. 02:59:15 02:59:15 :param response: A response object, or None, if the server did not 02:59:15 return a response. 02:59:15 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:15 :param Exception error: An error encountered during the request, or 02:59:15 None if the response was received successfully. 02:59:15 02:59:15 :return: A new ``Retry`` object. 02:59:15 """ 02:59:15 if self.total is False and error: 02:59:15 # Disabled, indicate to re-raise the error. 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 02:59:15 total = self.total 02:59:15 if total is not None: 02:59:15 total -= 1 02:59:15 02:59:15 connect = self.connect 02:59:15 read = self.read 02:59:15 redirect = self.redirect 02:59:15 status_count = self.status 02:59:15 other = self.other 02:59:15 cause = "unknown" 02:59:15 status = None 02:59:15 redirect_location = None 02:59:15 02:59:15 if error and self._is_connection_error(error): 02:59:15 # Connect retry? 02:59:15 if connect is False: 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif connect is not None: 02:59:15 connect -= 1 02:59:15 02:59:15 elif error and self._is_read_error(error): 02:59:15 # Read retry? 02:59:15 if read is False or method is None or not self._is_method_retryable(method): 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif read is not None: 02:59:15 read -= 1 02:59:15 02:59:15 elif error: 02:59:15 # Other retry? 02:59:15 if other is not None: 02:59:15 other -= 1 02:59:15 02:59:15 elif response and response.get_redirect_location(): 02:59:15 # Redirect retry? 02:59:15 if redirect is not None: 02:59:15 redirect -= 1 02:59:15 cause = "too many redirects" 02:59:15 response_redirect_location = response.get_redirect_location() 02:59:15 if response_redirect_location: 02:59:15 redirect_location = response_redirect_location 02:59:15 status = response.status 02:59:15 02:59:15 else: 02:59:15 # Incrementing because of a server error like a 500 in 02:59:15 # status_forcelist and the given method is in the allowed_methods 02:59:15 cause = ResponseError.GENERIC_ERROR 02:59:15 if response and response.status: 02:59:15 if status_count is not None: 02:59:15 status_count -= 1 02:59:15 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:15 status = response.status 02:59:15 02:59:15 history = self.history + ( 02:59:15 RequestHistory(method, url, error, status, redirect_location), 02:59:15 ) 02:59:15 02:59:15 new_retry = self.new( 02:59:15 total=total, 02:59:15 connect=connect, 02:59:15 read=read, 02:59:15 redirect=redirect, 02:59:15 status=status_count, 02:59:15 other=other, 02:59:15 history=history, 02:59:15 ) 02:59:15 02:59:15 if new_retry.is_exhausted(): 02:59:15 reason = error or ResponseError(cause) 02:59:15 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:15 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:15 02:59:15 During handling of the above exception, another exception occurred: 02:59:15 02:59:15 self = 02:59:15 02:59:15 def test_07_mpdr_portmapping_CLIENT1(self): 02:59:15 > response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") 02:59:15 02:59:15 transportpce_tests/OC/test01_portmapping.py:100: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr 02:59:15 response = get_request(target_url) 02:59:15 transportpce_tests/common/test_utils.py:116: in get_request 02:59:15 return requests.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:15 return session.request(method=method, url=url, **kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:15 resp = self.send(prep, **send_kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:15 r = adapter.send(request, **kwargs) 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 except (ProtocolError, OSError) as err: 02:59:15 raise ConnectionError(err, request=request) 02:59:15 02:59:15 except MaxRetryError as e: 02:59:15 if isinstance(e.reason, ConnectTimeoutError): 02:59:15 # TODO: Remove this in 3.0.0: see #2811 02:59:15 if not isinstance(e.reason, NewConnectionError): 02:59:15 raise ConnectTimeout(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, ResponseError): 02:59:15 raise RetryError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _ProxyError): 02:59:15 raise ProxyError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _SSLError): 02:59:15 # This branch is for urllib3 v1.22 and later. 02:59:15 raise SSLError(e, request=request) 02:59:15 02:59:15 > raise ConnectionError(e, request=request) 02:59:15 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mapping=XPDR1-CLIENT1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:15 ----------------------------- Captured stdout call ----------------------------- 02:59:15 execution of test_07_mpdr_portmapping_CLIENT1 02:59:15 _________ TransportpceOCPortMappingTesting.test_08_mpdr_switching_pool _________ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 > sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:15 raise err 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:15 socket_options = [(6, 1, 1)] 02:59:15 02:59:15 def create_connection( 02:59:15 address: tuple[str, int], 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 source_address: tuple[str, int] | None = None, 02:59:15 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:15 ) -> socket.socket: 02:59:15 """Connect to *address* and return the socket object. 02:59:15 02:59:15 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:15 port)``) and return the socket object. Passing the optional 02:59:15 *timeout* parameter will set the timeout on the socket instance 02:59:15 before attempting to connect. If no *timeout* is supplied, the 02:59:15 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:15 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:15 for the socket to bind as a source address before making the connection. 02:59:15 An host of '' or port 0 tells the OS to use the default. 02:59:15 """ 02:59:15 02:59:15 host, port = address 02:59:15 if host.startswith("["): 02:59:15 host = host.strip("[]") 02:59:15 err = None 02:59:15 02:59:15 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:15 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:15 # The original create_connection function always returns all records. 02:59:15 family = allowed_gai_family() 02:59:15 02:59:15 try: 02:59:15 host.encode("idna") 02:59:15 except UnicodeError: 02:59:15 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:15 02:59:15 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:15 af, socktype, proto, canonname, sa = res 02:59:15 sock = None 02:59:15 try: 02:59:15 sock = socket.socket(af, socktype, proto) 02:59:15 02:59:15 # If provided, set socket level options before connecting. 02:59:15 _set_socket_options(sock, socket_options) 02:59:15 02:59:15 if timeout is not _DEFAULT_TIMEOUT: 02:59:15 sock.settimeout(timeout) 02:59:15 if source_address: 02:59:15 sock.bind(source_address) 02:59:15 > sock.connect(sa) 02:59:15 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1' 02:59:15 body = None 02:59:15 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='} 02:59:15 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 redirect = False, assert_same_host = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:15 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:15 decode_content = False, response_kw = {} 02:59:15 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1', query=None, fragment=None) 02:59:15 destination_scheme = None, conn = None, release_this_conn = True 02:59:15 http_tunnel_required = False, err = None, clean_exit = False 02:59:15 02:59:15 def urlopen( # type: ignore[override] 02:59:15 self, 02:59:15 method: str, 02:59:15 url: str, 02:59:15 body: _TYPE_BODY | None = None, 02:59:15 headers: typing.Mapping[str, str] | None = None, 02:59:15 retries: Retry | bool | int | None = None, 02:59:15 redirect: bool = True, 02:59:15 assert_same_host: bool = True, 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 pool_timeout: int | None = None, 02:59:15 release_conn: bool | None = None, 02:59:15 chunked: bool = False, 02:59:15 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:15 preload_content: bool = True, 02:59:15 decode_content: bool = True, 02:59:15 **response_kw: typing.Any, 02:59:15 ) -> BaseHTTPResponse: 02:59:15 """ 02:59:15 Get a connection from the pool and perform an HTTP request. This is the 02:59:15 lowest level call for making a request, so you'll need to specify all 02:59:15 the raw details. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 More commonly, it's appropriate to use a convenience method 02:59:15 such as :meth:`request`. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 `release_conn` will only behave as expected if 02:59:15 `preload_content=False` because we want to make 02:59:15 `preload_content=False` the default behaviour someday soon without 02:59:15 breaking backwards compatibility. 02:59:15 02:59:15 :param method: 02:59:15 HTTP request method (such as GET, POST, PUT, etc.) 02:59:15 02:59:15 :param url: 02:59:15 The URL to perform the request on. 02:59:15 02:59:15 :param body: 02:59:15 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:15 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:15 02:59:15 :param headers: 02:59:15 Dictionary of custom headers to send, such as User-Agent, 02:59:15 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:15 these headers completely replace any pool-specific headers. 02:59:15 02:59:15 :param retries: 02:59:15 Configure the number of retries to allow before raising a 02:59:15 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:15 02:59:15 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:15 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:15 over different types of retries. 02:59:15 Pass an integer number to retry connection errors that many times, 02:59:15 but no other types of errors. Pass zero to never retry. 02:59:15 02:59:15 If ``False``, then retries are disabled and any exception is raised 02:59:15 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:15 the redirect response will be returned. 02:59:15 02:59:15 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:15 02:59:15 :param redirect: 02:59:15 If True, automatically handle redirects (status codes 301, 302, 02:59:15 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:15 will disable redirect, too. 02:59:15 02:59:15 :param assert_same_host: 02:59:15 If ``True``, will make sure that the host of the pool requests is 02:59:15 consistent else will raise HostChangedError. When ``False``, you can 02:59:15 use the pool on an HTTP proxy and request foreign hosts. 02:59:15 02:59:15 :param timeout: 02:59:15 If specified, overrides the default timeout for this one 02:59:15 request. It may be a float (in seconds) or an instance of 02:59:15 :class:`urllib3.util.Timeout`. 02:59:15 02:59:15 :param pool_timeout: 02:59:15 If set and the pool is set to block=True, then this method will 02:59:15 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:15 connection is available within the time period. 02:59:15 02:59:15 :param bool preload_content: 02:59:15 If True, the response's body will be preloaded into memory. 02:59:15 02:59:15 :param bool decode_content: 02:59:15 If True, will attempt to decode the body based on the 02:59:15 'content-encoding' header. 02:59:15 02:59:15 :param release_conn: 02:59:15 If False, then the urlopen call will not release the connection 02:59:15 back into the pool once a response is received (but will release if 02:59:15 you read the entire contents of the response such as when 02:59:15 `preload_content=True`). This is useful if you're not preloading 02:59:15 the response's content immediately. You will need to call 02:59:15 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:15 back into the pool. If None, it takes the value of ``preload_content`` 02:59:15 which defaults to ``True``. 02:59:15 02:59:15 :param bool chunked: 02:59:15 If True, urllib3 will send the body using chunked transfer 02:59:15 encoding. Otherwise, urllib3 will send the body using the standard 02:59:15 content-length form. Defaults to False. 02:59:15 02:59:15 :param int body_pos: 02:59:15 Position to seek to in file-like body in the event of a retry or 02:59:15 redirect. Typically this won't need to be set because urllib3 will 02:59:15 auto-populate the value when needed. 02:59:15 """ 02:59:15 parsed_url = parse_url(url) 02:59:15 destination_scheme = parsed_url.scheme 02:59:15 02:59:15 if headers is None: 02:59:15 headers = self.headers 02:59:15 02:59:15 if not isinstance(retries, Retry): 02:59:15 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:15 02:59:15 if release_conn is None: 02:59:15 release_conn = preload_content 02:59:15 02:59:15 # Check host 02:59:15 if assert_same_host and not self.is_same_host(url): 02:59:15 raise HostChangedError(self, url, retries) 02:59:15 02:59:15 # Ensure that the URL we're connecting to is properly encoded 02:59:15 if url.startswith("/"): 02:59:15 url = to_str(_encode_target(url)) 02:59:15 else: 02:59:15 url = to_str(parsed_url.url) 02:59:15 02:59:15 conn = None 02:59:15 02:59:15 # Track whether `conn` needs to be released before 02:59:15 # returning/raising/recursing. Update this variable if necessary, and 02:59:15 # leave `release_conn` constant throughout the function. That way, if 02:59:15 # the function recurses, the original value of `release_conn` will be 02:59:15 # passed down into the recursive call, and its value will be respected. 02:59:15 # 02:59:15 # See issue #651 [1] for details. 02:59:15 # 02:59:15 # [1] 02:59:15 release_this_conn = release_conn 02:59:15 02:59:15 http_tunnel_required = connection_requires_http_tunnel( 02:59:15 self.proxy, self.proxy_config, destination_scheme 02:59:15 ) 02:59:15 02:59:15 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:15 # have to copy the headers dict so we can safely change it without those 02:59:15 # changes being reflected in anyone else's copy. 02:59:15 if not http_tunnel_required: 02:59:15 headers = headers.copy() # type: ignore[attr-defined] 02:59:15 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:15 02:59:15 # Must keep the exception bound to a separate variable or else Python 3 02:59:15 # complains about UnboundLocalError. 02:59:15 err = None 02:59:15 02:59:15 # Keep track of whether we cleanly exited the except block. This 02:59:15 # ensures we do proper cleanup in finally. 02:59:15 clean_exit = False 02:59:15 02:59:15 # Rewind body position, if needed. Record current position 02:59:15 # for future rewinds in the event of a redirect/retry. 02:59:15 body_pos = set_file_position(body, body_pos) 02:59:15 02:59:15 try: 02:59:15 # Request a connection from the queue. 02:59:15 timeout_obj = self._get_timeout(timeout) 02:59:15 conn = self._get_conn(timeout=pool_timeout) 02:59:15 02:59:15 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:15 02:59:15 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:15 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:15 try: 02:59:15 self._prepare_proxy(conn) 02:59:15 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:15 self._raise_timeout( 02:59:15 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:15 ) 02:59:15 raise 02:59:15 02:59:15 # If we're going to release the connection in ``finally:``, then 02:59:15 # the response doesn't need to know about the connection. Otherwise 02:59:15 # it will also try to release it and we'll have a double-release 02:59:15 # mess. 02:59:15 response_conn = conn if not release_conn else None 02:59:15 02:59:15 # Make the request on the HTTPConnection object 02:59:15 > response = self._make_request( 02:59:15 conn, 02:59:15 method, 02:59:15 url, 02:59:15 timeout=timeout_obj, 02:59:15 body=body, 02:59:15 headers=headers, 02:59:15 chunked=chunked, 02:59:15 retries=retries, 02:59:15 response_conn=response_conn, 02:59:15 preload_content=preload_content, 02:59:15 decode_content=decode_content, 02:59:15 **response_kw, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:15 conn.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:15 self.endheaders() 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:15 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:15 self.send(msg) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:15 self.connect() 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:15 self.sock = self._new_conn() 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 except socket.gaierror as e: 02:59:15 raise NameResolutionError(self.host, self, e) from e 02:59:15 except SocketTimeout as e: 02:59:15 raise ConnectTimeoutError( 02:59:15 self, 02:59:15 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:15 ) from e 02:59:15 02:59:15 except OSError as e: 02:59:15 > raise NewConnectionError( 02:59:15 self, f"Failed to establish a new connection: {e}" 02:59:15 ) from e 02:59:15 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 > resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:15 retries = retries.increment( 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1' 02:59:15 response = None 02:59:15 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:15 _pool = 02:59:15 _stacktrace = 02:59:15 02:59:15 def increment( 02:59:15 self, 02:59:15 method: str | None = None, 02:59:15 url: str | None = None, 02:59:15 response: BaseHTTPResponse | None = None, 02:59:15 error: Exception | None = None, 02:59:15 _pool: ConnectionPool | None = None, 02:59:15 _stacktrace: TracebackType | None = None, 02:59:15 ) -> Self: 02:59:15 """Return a new Retry object with incremented retry counters. 02:59:15 02:59:15 :param response: A response object, or None, if the server did not 02:59:15 return a response. 02:59:15 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:15 :param Exception error: An error encountered during the request, or 02:59:15 None if the response was received successfully. 02:59:15 02:59:15 :return: A new ``Retry`` object. 02:59:15 """ 02:59:15 if self.total is False and error: 02:59:15 # Disabled, indicate to re-raise the error. 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 02:59:15 total = self.total 02:59:15 if total is not None: 02:59:15 total -= 1 02:59:15 02:59:15 connect = self.connect 02:59:15 read = self.read 02:59:15 redirect = self.redirect 02:59:15 status_count = self.status 02:59:15 other = self.other 02:59:15 cause = "unknown" 02:59:15 status = None 02:59:15 redirect_location = None 02:59:15 02:59:15 if error and self._is_connection_error(error): 02:59:15 # Connect retry? 02:59:15 if connect is False: 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif connect is not None: 02:59:15 connect -= 1 02:59:15 02:59:15 elif error and self._is_read_error(error): 02:59:15 # Read retry? 02:59:15 if read is False or method is None or not self._is_method_retryable(method): 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif read is not None: 02:59:15 read -= 1 02:59:15 02:59:15 elif error: 02:59:15 # Other retry? 02:59:15 if other is not None: 02:59:15 other -= 1 02:59:15 02:59:15 elif response and response.get_redirect_location(): 02:59:15 # Redirect retry? 02:59:15 if redirect is not None: 02:59:15 redirect -= 1 02:59:15 cause = "too many redirects" 02:59:15 response_redirect_location = response.get_redirect_location() 02:59:15 if response_redirect_location: 02:59:15 redirect_location = response_redirect_location 02:59:15 status = response.status 02:59:15 02:59:15 else: 02:59:15 # Incrementing because of a server error like a 500 in 02:59:15 # status_forcelist and the given method is in the allowed_methods 02:59:15 cause = ResponseError.GENERIC_ERROR 02:59:15 if response and response.status: 02:59:15 if status_count is not None: 02:59:15 status_count -= 1 02:59:15 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:15 status = response.status 02:59:15 02:59:15 history = self.history + ( 02:59:15 RequestHistory(method, url, error, status, redirect_location), 02:59:15 ) 02:59:15 02:59:15 new_retry = self.new( 02:59:15 total=total, 02:59:15 connect=connect, 02:59:15 read=read, 02:59:15 redirect=redirect, 02:59:15 status=status_count, 02:59:15 other=other, 02:59:15 history=history, 02:59:15 ) 02:59:15 02:59:15 if new_retry.is_exhausted(): 02:59:15 reason = error or ResponseError(cause) 02:59:15 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:15 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:15 02:59:15 During handling of the above exception, another exception occurred: 02:59:15 02:59:15 self = 02:59:15 02:59:15 def test_08_mpdr_switching_pool(self): 02:59:15 > response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") 02:59:15 02:59:15 transportpce_tests/OC/test01_portmapping.py:117: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr 02:59:15 response = get_request(target_url) 02:59:15 transportpce_tests/common/test_utils.py:116: in get_request 02:59:15 return requests.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:15 return session.request(method=method, url=url, **kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:15 resp = self.send(prep, **send_kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:15 r = adapter.send(request, **kwargs) 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 except (ProtocolError, OSError) as err: 02:59:15 raise ConnectionError(err, request=request) 02:59:15 02:59:15 except MaxRetryError as e: 02:59:15 if isinstance(e.reason, ConnectTimeoutError): 02:59:15 # TODO: Remove this in 3.0.0: see #2811 02:59:15 if not isinstance(e.reason, NewConnectionError): 02:59:15 raise ConnectTimeout(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, ResponseError): 02:59:15 raise RetryError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _ProxyError): 02:59:15 raise ProxyError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _SSLError): 02:59:15 # This branch is for urllib3 v1.22 and later. 02:59:15 raise SSLError(e, request=request) 02:59:15 02:59:15 > raise ConnectionError(e, request=request) 02:59:15 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/switching-pool-lcp=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:15 ----------------------------- Captured stdout call ----------------------------- 02:59:15 execution of test_08_mpdr_switching_pool 02:59:15 _________ TransportpceOCPortMappingTesting.test_09_check_mccapprofile __________ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 > sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:15 raise err 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:15 socket_options = [(6, 1, 1)] 02:59:15 02:59:15 def create_connection( 02:59:15 address: tuple[str, int], 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 source_address: tuple[str, int] | None = None, 02:59:15 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:15 ) -> socket.socket: 02:59:15 """Connect to *address* and return the socket object. 02:59:15 02:59:15 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:15 port)``) and return the socket object. Passing the optional 02:59:15 *timeout* parameter will set the timeout on the socket instance 02:59:15 before attempting to connect. If no *timeout* is supplied, the 02:59:15 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:15 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:15 for the socket to bind as a source address before making the connection. 02:59:15 An host of '' or port 0 tells the OS to use the default. 02:59:15 """ 02:59:15 02:59:15 host, port = address 02:59:15 if host.startswith("["): 02:59:15 host = host.strip("[]") 02:59:15 err = None 02:59:15 02:59:15 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:15 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:15 # The original create_connection function always returns all records. 02:59:15 family = allowed_gai_family() 02:59:15 02:59:15 try: 02:59:15 host.encode("idna") 02:59:15 except UnicodeError: 02:59:15 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:15 02:59:15 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:15 af, socktype, proto, canonname, sa = res 02:59:15 sock = None 02:59:15 try: 02:59:15 sock = socket.socket(af, socktype, proto) 02:59:15 02:59:15 # If provided, set socket level options before connecting. 02:59:15 _set_socket_options(sock, socket_options) 02:59:15 02:59:15 if timeout is not _DEFAULT_TIMEOUT: 02:59:15 sock.settimeout(timeout) 02:59:15 if source_address: 02:59:15 sock.bind(source_address) 02:59:15 > sock.connect(sa) 02:59:15 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile' 02:59:15 body = None 02:59:15 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='} 02:59:15 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 redirect = False, assert_same_host = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:15 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:15 decode_content = False, response_kw = {} 02:59:15 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile', query=None, fragment=None) 02:59:15 destination_scheme = None, conn = None, release_this_conn = True 02:59:15 http_tunnel_required = False, err = None, clean_exit = False 02:59:15 02:59:15 def urlopen( # type: ignore[override] 02:59:15 self, 02:59:15 method: str, 02:59:15 url: str, 02:59:15 body: _TYPE_BODY | None = None, 02:59:15 headers: typing.Mapping[str, str] | None = None, 02:59:15 retries: Retry | bool | int | None = None, 02:59:15 redirect: bool = True, 02:59:15 assert_same_host: bool = True, 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 pool_timeout: int | None = None, 02:59:15 release_conn: bool | None = None, 02:59:15 chunked: bool = False, 02:59:15 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:15 preload_content: bool = True, 02:59:15 decode_content: bool = True, 02:59:15 **response_kw: typing.Any, 02:59:15 ) -> BaseHTTPResponse: 02:59:15 """ 02:59:15 Get a connection from the pool and perform an HTTP request. This is the 02:59:15 lowest level call for making a request, so you'll need to specify all 02:59:15 the raw details. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 More commonly, it's appropriate to use a convenience method 02:59:15 such as :meth:`request`. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 `release_conn` will only behave as expected if 02:59:15 `preload_content=False` because we want to make 02:59:15 `preload_content=False` the default behaviour someday soon without 02:59:15 breaking backwards compatibility. 02:59:15 02:59:15 :param method: 02:59:15 HTTP request method (such as GET, POST, PUT, etc.) 02:59:15 02:59:15 :param url: 02:59:15 The URL to perform the request on. 02:59:15 02:59:15 :param body: 02:59:15 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:15 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:15 02:59:15 :param headers: 02:59:15 Dictionary of custom headers to send, such as User-Agent, 02:59:15 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:15 these headers completely replace any pool-specific headers. 02:59:15 02:59:15 :param retries: 02:59:15 Configure the number of retries to allow before raising a 02:59:15 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:15 02:59:15 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:15 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:15 over different types of retries. 02:59:15 Pass an integer number to retry connection errors that many times, 02:59:15 but no other types of errors. Pass zero to never retry. 02:59:15 02:59:15 If ``False``, then retries are disabled and any exception is raised 02:59:15 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:15 the redirect response will be returned. 02:59:15 02:59:15 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:15 02:59:15 :param redirect: 02:59:15 If True, automatically handle redirects (status codes 301, 302, 02:59:15 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:15 will disable redirect, too. 02:59:15 02:59:15 :param assert_same_host: 02:59:15 If ``True``, will make sure that the host of the pool requests is 02:59:15 consistent else will raise HostChangedError. When ``False``, you can 02:59:15 use the pool on an HTTP proxy and request foreign hosts. 02:59:15 02:59:15 :param timeout: 02:59:15 If specified, overrides the default timeout for this one 02:59:15 request. It may be a float (in seconds) or an instance of 02:59:15 :class:`urllib3.util.Timeout`. 02:59:15 02:59:15 :param pool_timeout: 02:59:15 If set and the pool is set to block=True, then this method will 02:59:15 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:15 connection is available within the time period. 02:59:15 02:59:15 :param bool preload_content: 02:59:15 If True, the response's body will be preloaded into memory. 02:59:15 02:59:15 :param bool decode_content: 02:59:15 If True, will attempt to decode the body based on the 02:59:15 'content-encoding' header. 02:59:15 02:59:15 :param release_conn: 02:59:15 If False, then the urlopen call will not release the connection 02:59:15 back into the pool once a response is received (but will release if 02:59:15 you read the entire contents of the response such as when 02:59:15 `preload_content=True`). This is useful if you're not preloading 02:59:15 the response's content immediately. You will need to call 02:59:15 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:15 back into the pool. If None, it takes the value of ``preload_content`` 02:59:15 which defaults to ``True``. 02:59:15 02:59:15 :param bool chunked: 02:59:15 If True, urllib3 will send the body using chunked transfer 02:59:15 encoding. Otherwise, urllib3 will send the body using the standard 02:59:15 content-length form. Defaults to False. 02:59:15 02:59:15 :param int body_pos: 02:59:15 Position to seek to in file-like body in the event of a retry or 02:59:15 redirect. Typically this won't need to be set because urllib3 will 02:59:15 auto-populate the value when needed. 02:59:15 """ 02:59:15 parsed_url = parse_url(url) 02:59:15 destination_scheme = parsed_url.scheme 02:59:15 02:59:15 if headers is None: 02:59:15 headers = self.headers 02:59:15 02:59:15 if not isinstance(retries, Retry): 02:59:15 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:15 02:59:15 if release_conn is None: 02:59:15 release_conn = preload_content 02:59:15 02:59:15 # Check host 02:59:15 if assert_same_host and not self.is_same_host(url): 02:59:15 raise HostChangedError(self, url, retries) 02:59:15 02:59:15 # Ensure that the URL we're connecting to is properly encoded 02:59:15 if url.startswith("/"): 02:59:15 url = to_str(_encode_target(url)) 02:59:15 else: 02:59:15 url = to_str(parsed_url.url) 02:59:15 02:59:15 conn = None 02:59:15 02:59:15 # Track whether `conn` needs to be released before 02:59:15 # returning/raising/recursing. Update this variable if necessary, and 02:59:15 # leave `release_conn` constant throughout the function. That way, if 02:59:15 # the function recurses, the original value of `release_conn` will be 02:59:15 # passed down into the recursive call, and its value will be respected. 02:59:15 # 02:59:15 # See issue #651 [1] for details. 02:59:15 # 02:59:15 # [1] 02:59:15 release_this_conn = release_conn 02:59:15 02:59:15 http_tunnel_required = connection_requires_http_tunnel( 02:59:15 self.proxy, self.proxy_config, destination_scheme 02:59:15 ) 02:59:15 02:59:15 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:15 # have to copy the headers dict so we can safely change it without those 02:59:15 # changes being reflected in anyone else's copy. 02:59:15 if not http_tunnel_required: 02:59:15 headers = headers.copy() # type: ignore[attr-defined] 02:59:15 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:15 02:59:15 # Must keep the exception bound to a separate variable or else Python 3 02:59:15 # complains about UnboundLocalError. 02:59:15 err = None 02:59:15 02:59:15 # Keep track of whether we cleanly exited the except block. This 02:59:15 # ensures we do proper cleanup in finally. 02:59:15 clean_exit = False 02:59:15 02:59:15 # Rewind body position, if needed. Record current position 02:59:15 # for future rewinds in the event of a redirect/retry. 02:59:15 body_pos = set_file_position(body, body_pos) 02:59:15 02:59:15 try: 02:59:15 # Request a connection from the queue. 02:59:15 timeout_obj = self._get_timeout(timeout) 02:59:15 conn = self._get_conn(timeout=pool_timeout) 02:59:15 02:59:15 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:15 02:59:15 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:15 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:15 try: 02:59:15 self._prepare_proxy(conn) 02:59:15 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:15 self._raise_timeout( 02:59:15 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:15 ) 02:59:15 raise 02:59:15 02:59:15 # If we're going to release the connection in ``finally:``, then 02:59:15 # the response doesn't need to know about the connection. Otherwise 02:59:15 # it will also try to release it and we'll have a double-release 02:59:15 # mess. 02:59:15 response_conn = conn if not release_conn else None 02:59:15 02:59:15 # Make the request on the HTTPConnection object 02:59:15 > response = self._make_request( 02:59:15 conn, 02:59:15 method, 02:59:15 url, 02:59:15 timeout=timeout_obj, 02:59:15 body=body, 02:59:15 headers=headers, 02:59:15 chunked=chunked, 02:59:15 retries=retries, 02:59:15 response_conn=response_conn, 02:59:15 preload_content=preload_content, 02:59:15 decode_content=decode_content, 02:59:15 **response_kw, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:15 conn.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:15 self.endheaders() 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:15 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:15 self.send(msg) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:15 self.connect() 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:15 self.sock = self._new_conn() 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 except socket.gaierror as e: 02:59:15 raise NameResolutionError(self.host, self, e) from e 02:59:15 except SocketTimeout as e: 02:59:15 raise ConnectTimeoutError( 02:59:15 self, 02:59:15 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:15 ) from e 02:59:15 02:59:15 except OSError as e: 02:59:15 > raise NewConnectionError( 02:59:15 self, f"Failed to establish a new connection: {e}" 02:59:15 ) from e 02:59:15 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 > resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:15 retries = retries.increment( 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 method = 'GET' 02:59:15 url = '/rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile' 02:59:15 response = None 02:59:15 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:15 _pool = 02:59:15 _stacktrace = 02:59:15 02:59:15 def increment( 02:59:15 self, 02:59:15 method: str | None = None, 02:59:15 url: str | None = None, 02:59:15 response: BaseHTTPResponse | None = None, 02:59:15 error: Exception | None = None, 02:59:15 _pool: ConnectionPool | None = None, 02:59:15 _stacktrace: TracebackType | None = None, 02:59:15 ) -> Self: 02:59:15 """Return a new Retry object with incremented retry counters. 02:59:15 02:59:15 :param response: A response object, or None, if the server did not 02:59:15 return a response. 02:59:15 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:15 :param Exception error: An error encountered during the request, or 02:59:15 None if the response was received successfully. 02:59:15 02:59:15 :return: A new ``Retry`` object. 02:59:15 """ 02:59:15 if self.total is False and error: 02:59:15 # Disabled, indicate to re-raise the error. 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 02:59:15 total = self.total 02:59:15 if total is not None: 02:59:15 total -= 1 02:59:15 02:59:15 connect = self.connect 02:59:15 read = self.read 02:59:15 redirect = self.redirect 02:59:15 status_count = self.status 02:59:15 other = self.other 02:59:15 cause = "unknown" 02:59:15 status = None 02:59:15 redirect_location = None 02:59:15 02:59:15 if error and self._is_connection_error(error): 02:59:15 # Connect retry? 02:59:15 if connect is False: 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif connect is not None: 02:59:15 connect -= 1 02:59:15 02:59:15 elif error and self._is_read_error(error): 02:59:15 # Read retry? 02:59:15 if read is False or method is None or not self._is_method_retryable(method): 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif read is not None: 02:59:15 read -= 1 02:59:15 02:59:15 elif error: 02:59:15 # Other retry? 02:59:15 if other is not None: 02:59:15 other -= 1 02:59:15 02:59:15 elif response and response.get_redirect_location(): 02:59:15 # Redirect retry? 02:59:15 if redirect is not None: 02:59:15 redirect -= 1 02:59:15 cause = "too many redirects" 02:59:15 response_redirect_location = response.get_redirect_location() 02:59:15 if response_redirect_location: 02:59:15 redirect_location = response_redirect_location 02:59:15 status = response.status 02:59:15 02:59:15 else: 02:59:15 # Incrementing because of a server error like a 500 in 02:59:15 # status_forcelist and the given method is in the allowed_methods 02:59:15 cause = ResponseError.GENERIC_ERROR 02:59:15 if response and response.status: 02:59:15 if status_count is not None: 02:59:15 status_count -= 1 02:59:15 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:15 status = response.status 02:59:15 02:59:15 history = self.history + ( 02:59:15 RequestHistory(method, url, error, status, redirect_location), 02:59:15 ) 02:59:15 02:59:15 new_retry = self.new( 02:59:15 total=total, 02:59:15 connect=connect, 02:59:15 read=read, 02:59:15 redirect=redirect, 02:59:15 status=status_count, 02:59:15 other=other, 02:59:15 history=history, 02:59:15 ) 02:59:15 02:59:15 if new_retry.is_exhausted(): 02:59:15 reason = error or ResponseError(cause) 02:59:15 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:15 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:15 02:59:15 During handling of the above exception, another exception occurred: 02:59:15 02:59:15 self = 02:59:15 02:59:15 def test_09_check_mccapprofile(self): 02:59:15 > res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") 02:59:15 02:59:15 transportpce_tests/OC/test01_portmapping.py:130: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 transportpce_tests/common/test_utils.py:705: in get_portmapping_node_attr 02:59:15 response = get_request(target_url) 02:59:15 transportpce_tests/common/test_utils.py:116: in get_request 02:59:15 return requests.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:15 return session.request(method=method, url=url, **kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:15 resp = self.send(prep, **send_kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:15 r = adapter.send(request, **kwargs) 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 except (ProtocolError, OSError) as err: 02:59:15 raise ConnectionError(err, request=request) 02:59:15 02:59:15 except MaxRetryError as e: 02:59:15 if isinstance(e.reason, ConnectTimeoutError): 02:59:15 # TODO: Remove this in 3.0.0: see #2811 02:59:15 if not isinstance(e.reason, NewConnectionError): 02:59:15 raise ConnectTimeout(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, ResponseError): 02:59:15 raise RetryError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _ProxyError): 02:59:15 raise ProxyError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _SSLError): 02:59:15 # This branch is for urllib3 v1.22 and later. 02:59:15 raise SSLError(e, request=request) 02:59:15 02:59:15 > raise ConnectionError(e, request=request) 02:59:15 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/transportpce-portmapping:network/nodes=XPDR-OC/mc-capabilities=XPDR-mcprofile (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:15 ----------------------------- Captured stdout call ----------------------------- 02:59:15 execution of test_09_check_mccapprofile 02:59:15 ______ TransportpceOCPortMappingTesting.test_10_xpdr_device_disconnection ______ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 > sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:199: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:85: in create_connection 02:59:15 raise err 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 address = ('localhost', 8182), timeout = 10, source_address = None 02:59:15 socket_options = [(6, 1, 1)] 02:59:15 02:59:15 def create_connection( 02:59:15 address: tuple[str, int], 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 source_address: tuple[str, int] | None = None, 02:59:15 socket_options: _TYPE_SOCKET_OPTIONS | None = None, 02:59:15 ) -> socket.socket: 02:59:15 """Connect to *address* and return the socket object. 02:59:15 02:59:15 Convenience function. Connect to *address* (a 2-tuple ``(host, 02:59:15 port)``) and return the socket object. Passing the optional 02:59:15 *timeout* parameter will set the timeout on the socket instance 02:59:15 before attempting to connect. If no *timeout* is supplied, the 02:59:15 global default timeout setting returned by :func:`socket.getdefaulttimeout` 02:59:15 is used. If *source_address* is set it must be a tuple of (host, port) 02:59:15 for the socket to bind as a source address before making the connection. 02:59:15 An host of '' or port 0 tells the OS to use the default. 02:59:15 """ 02:59:15 02:59:15 host, port = address 02:59:15 if host.startswith("["): 02:59:15 host = host.strip("[]") 02:59:15 err = None 02:59:15 02:59:15 # Using the value from allowed_gai_family() in the context of getaddrinfo lets 02:59:15 # us select whether to work with IPv4 DNS records, IPv6 records, or both. 02:59:15 # The original create_connection function always returns all records. 02:59:15 family = allowed_gai_family() 02:59:15 02:59:15 try: 02:59:15 host.encode("idna") 02:59:15 except UnicodeError: 02:59:15 raise LocationParseError(f"'{host}', label empty or too long") from None 02:59:15 02:59:15 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 02:59:15 af, socktype, proto, canonname, sa = res 02:59:15 sock = None 02:59:15 try: 02:59:15 sock = socket.socket(af, socktype, proto) 02:59:15 02:59:15 # If provided, set socket level options before connecting. 02:59:15 _set_socket_options(sock, socket_options) 02:59:15 02:59:15 if timeout is not _DEFAULT_TIMEOUT: 02:59:15 sock.settimeout(timeout) 02:59:15 if source_address: 02:59:15 sock.bind(source_address) 02:59:15 > sock.connect(sa) 02:59:15 E ConnectionRefusedError: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 method = 'DELETE' 02:59:15 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC' 02:59:15 body = None 02:59:15 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='} 02:59:15 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 redirect = False, assert_same_host = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), pool_timeout = None 02:59:15 release_conn = False, chunked = False, body_pos = None, preload_content = False 02:59:15 decode_content = False, response_kw = {} 02:59:15 parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC', query=None, fragment=None) 02:59:15 destination_scheme = None, conn = None, release_this_conn = True 02:59:15 http_tunnel_required = False, err = None, clean_exit = False 02:59:15 02:59:15 def urlopen( # type: ignore[override] 02:59:15 self, 02:59:15 method: str, 02:59:15 url: str, 02:59:15 body: _TYPE_BODY | None = None, 02:59:15 headers: typing.Mapping[str, str] | None = None, 02:59:15 retries: Retry | bool | int | None = None, 02:59:15 redirect: bool = True, 02:59:15 assert_same_host: bool = True, 02:59:15 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 02:59:15 pool_timeout: int | None = None, 02:59:15 release_conn: bool | None = None, 02:59:15 chunked: bool = False, 02:59:15 body_pos: _TYPE_BODY_POSITION | None = None, 02:59:15 preload_content: bool = True, 02:59:15 decode_content: bool = True, 02:59:15 **response_kw: typing.Any, 02:59:15 ) -> BaseHTTPResponse: 02:59:15 """ 02:59:15 Get a connection from the pool and perform an HTTP request. This is the 02:59:15 lowest level call for making a request, so you'll need to specify all 02:59:15 the raw details. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 More commonly, it's appropriate to use a convenience method 02:59:15 such as :meth:`request`. 02:59:15 02:59:15 .. note:: 02:59:15 02:59:15 `release_conn` will only behave as expected if 02:59:15 `preload_content=False` because we want to make 02:59:15 `preload_content=False` the default behaviour someday soon without 02:59:15 breaking backwards compatibility. 02:59:15 02:59:15 :param method: 02:59:15 HTTP request method (such as GET, POST, PUT, etc.) 02:59:15 02:59:15 :param url: 02:59:15 The URL to perform the request on. 02:59:15 02:59:15 :param body: 02:59:15 Data to send in the request body, either :class:`str`, :class:`bytes`, 02:59:15 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 02:59:15 02:59:15 :param headers: 02:59:15 Dictionary of custom headers to send, such as User-Agent, 02:59:15 If-None-Match, etc. If None, pool headers are used. If provided, 02:59:15 these headers completely replace any pool-specific headers. 02:59:15 02:59:15 :param retries: 02:59:15 Configure the number of retries to allow before raising a 02:59:15 :class:`~urllib3.exceptions.MaxRetryError` exception. 02:59:15 02:59:15 If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a 02:59:15 :class:`~urllib3.util.retry.Retry` object for fine-grained control 02:59:15 over different types of retries. 02:59:15 Pass an integer number to retry connection errors that many times, 02:59:15 but no other types of errors. Pass zero to never retry. 02:59:15 02:59:15 If ``False``, then retries are disabled and any exception is raised 02:59:15 immediately. Also, instead of raising a MaxRetryError on redirects, 02:59:15 the redirect response will be returned. 02:59:15 02:59:15 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 02:59:15 02:59:15 :param redirect: 02:59:15 If True, automatically handle redirects (status codes 301, 302, 02:59:15 303, 307, 308). Each redirect counts as a retry. Disabling retries 02:59:15 will disable redirect, too. 02:59:15 02:59:15 :param assert_same_host: 02:59:15 If ``True``, will make sure that the host of the pool requests is 02:59:15 consistent else will raise HostChangedError. When ``False``, you can 02:59:15 use the pool on an HTTP proxy and request foreign hosts. 02:59:15 02:59:15 :param timeout: 02:59:15 If specified, overrides the default timeout for this one 02:59:15 request. It may be a float (in seconds) or an instance of 02:59:15 :class:`urllib3.util.Timeout`. 02:59:15 02:59:15 :param pool_timeout: 02:59:15 If set and the pool is set to block=True, then this method will 02:59:15 block for ``pool_timeout`` seconds and raise EmptyPoolError if no 02:59:15 connection is available within the time period. 02:59:15 02:59:15 :param bool preload_content: 02:59:15 If True, the response's body will be preloaded into memory. 02:59:15 02:59:15 :param bool decode_content: 02:59:15 If True, will attempt to decode the body based on the 02:59:15 'content-encoding' header. 02:59:15 02:59:15 :param release_conn: 02:59:15 If False, then the urlopen call will not release the connection 02:59:15 back into the pool once a response is received (but will release if 02:59:15 you read the entire contents of the response such as when 02:59:15 `preload_content=True`). This is useful if you're not preloading 02:59:15 the response's content immediately. You will need to call 02:59:15 ``r.release_conn()`` on the response ``r`` to return the connection 02:59:15 back into the pool. If None, it takes the value of ``preload_content`` 02:59:15 which defaults to ``True``. 02:59:15 02:59:15 :param bool chunked: 02:59:15 If True, urllib3 will send the body using chunked transfer 02:59:15 encoding. Otherwise, urllib3 will send the body using the standard 02:59:15 content-length form. Defaults to False. 02:59:15 02:59:15 :param int body_pos: 02:59:15 Position to seek to in file-like body in the event of a retry or 02:59:15 redirect. Typically this won't need to be set because urllib3 will 02:59:15 auto-populate the value when needed. 02:59:15 """ 02:59:15 parsed_url = parse_url(url) 02:59:15 destination_scheme = parsed_url.scheme 02:59:15 02:59:15 if headers is None: 02:59:15 headers = self.headers 02:59:15 02:59:15 if not isinstance(retries, Retry): 02:59:15 retries = Retry.from_int(retries, redirect=redirect, default=self.retries) 02:59:15 02:59:15 if release_conn is None: 02:59:15 release_conn = preload_content 02:59:15 02:59:15 # Check host 02:59:15 if assert_same_host and not self.is_same_host(url): 02:59:15 raise HostChangedError(self, url, retries) 02:59:15 02:59:15 # Ensure that the URL we're connecting to is properly encoded 02:59:15 if url.startswith("/"): 02:59:15 url = to_str(_encode_target(url)) 02:59:15 else: 02:59:15 url = to_str(parsed_url.url) 02:59:15 02:59:15 conn = None 02:59:15 02:59:15 # Track whether `conn` needs to be released before 02:59:15 # returning/raising/recursing. Update this variable if necessary, and 02:59:15 # leave `release_conn` constant throughout the function. That way, if 02:59:15 # the function recurses, the original value of `release_conn` will be 02:59:15 # passed down into the recursive call, and its value will be respected. 02:59:15 # 02:59:15 # See issue #651 [1] for details. 02:59:15 # 02:59:15 # [1] 02:59:15 release_this_conn = release_conn 02:59:15 02:59:15 http_tunnel_required = connection_requires_http_tunnel( 02:59:15 self.proxy, self.proxy_config, destination_scheme 02:59:15 ) 02:59:15 02:59:15 # Merge the proxy headers. Only done when not using HTTP CONNECT. We 02:59:15 # have to copy the headers dict so we can safely change it without those 02:59:15 # changes being reflected in anyone else's copy. 02:59:15 if not http_tunnel_required: 02:59:15 headers = headers.copy() # type: ignore[attr-defined] 02:59:15 headers.update(self.proxy_headers) # type: ignore[union-attr] 02:59:15 02:59:15 # Must keep the exception bound to a separate variable or else Python 3 02:59:15 # complains about UnboundLocalError. 02:59:15 err = None 02:59:15 02:59:15 # Keep track of whether we cleanly exited the except block. This 02:59:15 # ensures we do proper cleanup in finally. 02:59:15 clean_exit = False 02:59:15 02:59:15 # Rewind body position, if needed. Record current position 02:59:15 # for future rewinds in the event of a redirect/retry. 02:59:15 body_pos = set_file_position(body, body_pos) 02:59:15 02:59:15 try: 02:59:15 # Request a connection from the queue. 02:59:15 timeout_obj = self._get_timeout(timeout) 02:59:15 conn = self._get_conn(timeout=pool_timeout) 02:59:15 02:59:15 conn.timeout = timeout_obj.connect_timeout # type: ignore[assignment] 02:59:15 02:59:15 # Is this a closed/new connection that requires CONNECT tunnelling? 02:59:15 if self.proxy is not None and http_tunnel_required and conn.is_closed: 02:59:15 try: 02:59:15 self._prepare_proxy(conn) 02:59:15 except (BaseSSLError, OSError, SocketTimeout) as e: 02:59:15 self._raise_timeout( 02:59:15 err=e, url=self.proxy.url, timeout_value=conn.timeout 02:59:15 ) 02:59:15 raise 02:59:15 02:59:15 # If we're going to release the connection in ``finally:``, then 02:59:15 # the response doesn't need to know about the connection. Otherwise 02:59:15 # it will also try to release it and we'll have a double-release 02:59:15 # mess. 02:59:15 response_conn = conn if not release_conn else None 02:59:15 02:59:15 # Make the request on the HTTPConnection object 02:59:15 > response = self._make_request( 02:59:15 conn, 02:59:15 method, 02:59:15 url, 02:59:15 timeout=timeout_obj, 02:59:15 body=body, 02:59:15 headers=headers, 02:59:15 chunked=chunked, 02:59:15 retries=retries, 02:59:15 response_conn=response_conn, 02:59:15 preload_content=preload_content, 02:59:15 decode_content=decode_content, 02:59:15 **response_kw, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:789: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:495: in _make_request 02:59:15 conn.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:441: in request 02:59:15 self.endheaders() 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1298: in endheaders 02:59:15 self._send_output(message_body, encode_chunked=encode_chunked) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1058: in _send_output 02:59:15 self.send(msg) 02:59:15 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:996: in send 02:59:15 self.connect() 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:279: in connect 02:59:15 self.sock = self._new_conn() 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 02:59:15 def _new_conn(self) -> socket.socket: 02:59:15 """Establish a socket connection and set nodelay settings on it. 02:59:15 02:59:15 :return: New socket connection. 02:59:15 """ 02:59:15 try: 02:59:15 sock = connection.create_connection( 02:59:15 (self._dns_host, self.port), 02:59:15 self.timeout, 02:59:15 source_address=self.source_address, 02:59:15 socket_options=self.socket_options, 02:59:15 ) 02:59:15 except socket.gaierror as e: 02:59:15 raise NameResolutionError(self.host, self, e) from e 02:59:15 except SocketTimeout as e: 02:59:15 raise ConnectTimeoutError( 02:59:15 self, 02:59:15 f"Connection to {self.host} timed out. (connect timeout={self.timeout})", 02:59:15 ) from e 02:59:15 02:59:15 except OSError as e: 02:59:15 > raise NewConnectionError( 02:59:15 self, f"Failed to establish a new connection: {e}" 02:59:15 ) from e 02:59:15 E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connection.py:214: NewConnectionError 02:59:15 02:59:15 The above exception was the direct cause of the following exception: 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 > resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:667: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/connectionpool.py:843: in urlopen 02:59:15 retries = retries.increment( 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = Retry(total=0, connect=None, read=False, redirect=None, status=None) 02:59:15 method = 'DELETE' 02:59:15 url = '/rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC' 02:59:15 response = None 02:59:15 error = NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused') 02:59:15 _pool = 02:59:15 _stacktrace = 02:59:15 02:59:15 def increment( 02:59:15 self, 02:59:15 method: str | None = None, 02:59:15 url: str | None = None, 02:59:15 response: BaseHTTPResponse | None = None, 02:59:15 error: Exception | None = None, 02:59:15 _pool: ConnectionPool | None = None, 02:59:15 _stacktrace: TracebackType | None = None, 02:59:15 ) -> Self: 02:59:15 """Return a new Retry object with incremented retry counters. 02:59:15 02:59:15 :param response: A response object, or None, if the server did not 02:59:15 return a response. 02:59:15 :type response: :class:`~urllib3.response.BaseHTTPResponse` 02:59:15 :param Exception error: An error encountered during the request, or 02:59:15 None if the response was received successfully. 02:59:15 02:59:15 :return: A new ``Retry`` object. 02:59:15 """ 02:59:15 if self.total is False and error: 02:59:15 # Disabled, indicate to re-raise the error. 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 02:59:15 total = self.total 02:59:15 if total is not None: 02:59:15 total -= 1 02:59:15 02:59:15 connect = self.connect 02:59:15 read = self.read 02:59:15 redirect = self.redirect 02:59:15 status_count = self.status 02:59:15 other = self.other 02:59:15 cause = "unknown" 02:59:15 status = None 02:59:15 redirect_location = None 02:59:15 02:59:15 if error and self._is_connection_error(error): 02:59:15 # Connect retry? 02:59:15 if connect is False: 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif connect is not None: 02:59:15 connect -= 1 02:59:15 02:59:15 elif error and self._is_read_error(error): 02:59:15 # Read retry? 02:59:15 if read is False or method is None or not self._is_method_retryable(method): 02:59:15 raise reraise(type(error), error, _stacktrace) 02:59:15 elif read is not None: 02:59:15 read -= 1 02:59:15 02:59:15 elif error: 02:59:15 # Other retry? 02:59:15 if other is not None: 02:59:15 other -= 1 02:59:15 02:59:15 elif response and response.get_redirect_location(): 02:59:15 # Redirect retry? 02:59:15 if redirect is not None: 02:59:15 redirect -= 1 02:59:15 cause = "too many redirects" 02:59:15 response_redirect_location = response.get_redirect_location() 02:59:15 if response_redirect_location: 02:59:15 redirect_location = response_redirect_location 02:59:15 status = response.status 02:59:15 02:59:15 else: 02:59:15 # Incrementing because of a server error like a 500 in 02:59:15 # status_forcelist and the given method is in the allowed_methods 02:59:15 cause = ResponseError.GENERIC_ERROR 02:59:15 if response and response.status: 02:59:15 if status_count is not None: 02:59:15 status_count -= 1 02:59:15 cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status) 02:59:15 status = response.status 02:59:15 02:59:15 history = self.history + ( 02:59:15 RequestHistory(method, url, error, status, redirect_location), 02:59:15 ) 02:59:15 02:59:15 new_retry = self.new( 02:59:15 total=total, 02:59:15 connect=connect, 02:59:15 read=read, 02:59:15 redirect=redirect, 02:59:15 status=status_count, 02:59:15 other=other, 02:59:15 history=history, 02:59:15 ) 02:59:15 02:59:15 if new_retry.is_exhausted(): 02:59:15 reason = error or ResponseError(cause) 02:59:15 > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 02:59:15 E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/urllib3/util/retry.py:519: MaxRetryError 02:59:15 02:59:15 During handling of the above exception, another exception occurred: 02:59:15 02:59:15 self = 02:59:15 02:59:15 def test_10_xpdr_device_disconnection(self): 02:59:15 > response = test_utils.unmount_device("XPDR-OC") 02:59:15 02:59:15 transportpce_tests/OC/test01_portmapping.py:137: 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 transportpce_tests/common/test_utils.py:585: in unmount_device 02:59:15 response = delete_request(url[RESTCONF_VERSION].format('{}', node)) 02:59:15 transportpce_tests/common/test_utils.py:133: in delete_request 02:59:15 return requests.request( 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/api.py:59: in request 02:59:15 return session.request(method=method, url=url, **kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:589: in request 02:59:15 resp = self.send(prep, **send_kwargs) 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/sessions.py:703: in send 02:59:15 r = adapter.send(request, **kwargs) 02:59:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 02:59:15 02:59:15 self = 02:59:15 request = , stream = False 02:59:15 timeout = Timeout(connect=10, read=10, total=None), verify = True, cert = None 02:59:15 proxies = OrderedDict() 02:59:15 02:59:15 def send( 02:59:15 self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None 02:59:15 ): 02:59:15 """Sends PreparedRequest object. Returns Response object. 02:59:15 02:59:15 :param request: The :class:`PreparedRequest ` being sent. 02:59:15 :param stream: (optional) Whether to stream the request content. 02:59:15 :param timeout: (optional) How long to wait for the server to send 02:59:15 data before giving up, as a float, or a :ref:`(connect timeout, 02:59:15 read timeout) ` tuple. 02:59:15 :type timeout: float or tuple or urllib3 Timeout object 02:59:15 :param verify: (optional) Either a boolean, in which case it controls whether 02:59:15 we verify the server's TLS certificate, or a string, in which case it 02:59:15 must be a path to a CA bundle to use 02:59:15 :param cert: (optional) Any user-provided SSL certificate to be trusted. 02:59:15 :param proxies: (optional) The proxies dictionary to apply to the request. 02:59:15 :rtype: requests.Response 02:59:15 """ 02:59:15 02:59:15 try: 02:59:15 conn = self.get_connection_with_tls_context( 02:59:15 request, verify, proxies=proxies, cert=cert 02:59:15 ) 02:59:15 except LocationValueError as e: 02:59:15 raise InvalidURL(e, request=request) 02:59:15 02:59:15 self.cert_verify(conn, request.url, verify, cert) 02:59:15 url = self.request_url(request, proxies) 02:59:15 self.add_headers( 02:59:15 request, 02:59:15 stream=stream, 02:59:15 timeout=timeout, 02:59:15 verify=verify, 02:59:15 cert=cert, 02:59:15 proxies=proxies, 02:59:15 ) 02:59:15 02:59:15 chunked = not (request.body is None or "Content-Length" in request.headers) 02:59:15 02:59:15 if isinstance(timeout, tuple): 02:59:15 try: 02:59:15 connect, read = timeout 02:59:15 timeout = TimeoutSauce(connect=connect, read=read) 02:59:15 except ValueError: 02:59:15 raise ValueError( 02:59:15 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 02:59:15 f"or a single float to set both timeouts to the same value." 02:59:15 ) 02:59:15 elif isinstance(timeout, TimeoutSauce): 02:59:15 pass 02:59:15 else: 02:59:15 timeout = TimeoutSauce(connect=timeout, read=timeout) 02:59:15 02:59:15 try: 02:59:15 resp = conn.urlopen( 02:59:15 method=request.method, 02:59:15 url=url, 02:59:15 body=request.body, 02:59:15 headers=request.headers, 02:59:15 redirect=False, 02:59:15 assert_same_host=False, 02:59:15 preload_content=False, 02:59:15 decode_content=False, 02:59:15 retries=self.max_retries, 02:59:15 timeout=timeout, 02:59:15 chunked=chunked, 02:59:15 ) 02:59:15 02:59:15 except (ProtocolError, OSError) as err: 02:59:15 raise ConnectionError(err, request=request) 02:59:15 02:59:15 except MaxRetryError as e: 02:59:15 if isinstance(e.reason, ConnectTimeoutError): 02:59:15 # TODO: Remove this in 3.0.0: see #2811 02:59:15 if not isinstance(e.reason, NewConnectionError): 02:59:15 raise ConnectTimeout(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, ResponseError): 02:59:15 raise RetryError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _ProxyError): 02:59:15 raise ProxyError(e, request=request) 02:59:15 02:59:15 if isinstance(e.reason, _SSLError): 02:59:15 # This branch is for urllib3 v1.22 and later. 02:59:15 raise SSLError(e, request=request) 02:59:15 02:59:15 > raise ConnectionError(e, request=request) 02:59:15 E requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /rests/data/network-topology:network-topology/topology=topology-netconf/node=XPDR-OC (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 02:59:15 02:59:15 ../.tox/tests190/lib/python3.11/site-packages/requests/adapters.py:700: ConnectionError 02:59:15 ----------------------------- Captured stdout call ----------------------------- 02:59:15 execution of test_10_xpdr_device_disconnection 02:59:15 =========================== short test summary info ============================ 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_01_meta_data_insertion 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_02_catlog_input_insertion 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_03_xpdr_device_connection 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_04_xpdr_device_connected 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_05_xpdr_portmapping_info 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_06_mpdr_portmapping_NETWORK1 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_08_mpdr_switching_pool 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_09_check_mccapprofile 02:59:15 FAILED transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_10_xpdr_device_disconnection 02:59:15 ERROR transportpce_tests/OC/test01_portmapping.py::TransportpceOCPortMappingTesting::test_10_xpdr_device_disconnection 02:59:15 10 failed, 1 error in 226.11s (0:03:46) 02:59:15 tests190: exit 1 (226.50 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh OC pid=32043 03:00:33 ................................................... [100%] 03:05:45 51 passed in 400.53s (0:06:40) 03:05:45 pytest -q transportpce_tests/tapi/test02_full_topology.py 03:06:55 ............................... [100%] 03:13:38 31 passed in 472.68s (0:07:52) 03:13:38 pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py 03:14:39 ....................................................................... [100%] 03:18:25 71 passed in 287.28s (0:04:47) 03:18:25 pytest -q transportpce_tests/tapi/test04_topo_extension.py 03:19:30 ................... [100%] 03:20:47 19 passed in 141.82s (0:02:21) 03:20:47 tests190: FAIL ✖ in 4 minutes 5.15 seconds 03:20:47 tests_tapi: OK ✔ in 21 minutes 51.63 seconds 03:20:47 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 03:20:53 tests71: freeze> python -m pip freeze --all 03:20:53 tests71: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 03:20:53 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 03:20:53 using environment variables from ./karaf71.env 03:20:53 pytest -q transportpce_tests/7.1/test01_portmapping.py 03:21:24 ............ [100%] 03:21:37 12 passed in 43.33s 03:21:37 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 03:22:03 .............................................................. [100%] 03:24:12 62 passed in 155.24s (0:02:35) 03:24:12 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 03:24:45 ................................................ [100%] 03:26:29 48 passed in 136.87s (0:02:16) 03:26:30 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 03:26:56 ...................... [100%] 03:27:44 22 passed in 74.34s (0:01:14) 03:27:44 tests71: OK ✔ in 6 minutes 56.88 seconds 03:27:44 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 03:27:50 tests221: freeze> python -m pip freeze --all 03:27:51 tests221: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 03:27:51 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 03:27:51 using environment variables from ./karaf221.env 03:27:51 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 03:28:28 ................................... [100%] 03:29:08 35 passed in 76.67s (0:01:16) 03:29:08 pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py 03:29:40 ...... [100%] 03:29:54 6 passed in 46.32s 03:29:54 pytest -q transportpce_tests/2.2.1/test03_topology.py 03:30:41 ............................................ [100%] 03:32:15 44 passed in 140.46s (0:02:20) 03:32:15 pytest -q transportpce_tests/2.2.1/test04_otn_topology.py 03:32:50 ............ [100%] 03:33:14 12 passed in 58.87s 03:33:14 pytest -q transportpce_tests/2.2.1/test05_flex_grid.py 03:33:41 ................ [100%] 03:35:11 16 passed in 115.44s (0:01:55) 03:35:11 pytest -q transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py 03:35:39 ............................... [100%] 03:38:45 31 passed in 214.83s (0:03:34) 03:38:45 pytest -q transportpce_tests/2.2.1/test07_otn_renderer.py 03:39:20 .......................... [100%] 03:40:15 26 passed in 90.19s (0:01:30) 03:40:15 pytest -q transportpce_tests/2.2.1/test08_otn_sh_renderer.py 03:40:51 ...................... [100%] 03:41:54 22 passed in 99.08s (0:01:39) 03:41:55 pytest -q transportpce_tests/2.2.1/test09_olm.py 03:42:34 ........................................ [100%] 03:44:55 40 passed in 180.65s (0:03:00) 03:44:55 pytest -q transportpce_tests/2.2.1/test11_otn_end2end.py 03:45:36 ........................................................................ [ 74%] 03:51:12 ......................... [100%] 03:56:04 97 passed in 668.52s (0:11:08) 03:56:04 pytest -q transportpce_tests/2.2.1/test12_end2end.py 03:56:46 ...................................................... [100%] 04:06:33 54 passed in 628.86s (0:10:28) 04:06:33 pytest -q transportpce_tests/2.2.1/test14_otn_switch_end2end.py 04:07:27 ........................................................................ [ 71%] 04:12:36 ............................. [100%] 04:17:45 101 passed in 671.34s (0:11:11) 04:17:45 pytest -q transportpce_tests/2.2.1/test15_otn_end2end_with_intermediate_switch.py 04:18:38 ........................................................................ [ 67%] 04:24:24 ................................... [100%] 04:27:44 107 passed in 599.36s (0:09:59) 04:27:45 tests221: OK ✔ in 1 hour 0.27 seconds 04:27:45 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 04:27:50 tests121: freeze> python -m pip freeze --all 04:27:51 tests121: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 04:27:51 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 04:27:51 using environment variables from ./karaf121.env 04:27:51 pytest -q transportpce_tests/1.2.1/test01_portmapping.py 04:28:26 ..................... [100%] 04:29:16 21 passed in 85.19s (0:01:25) 04:29:16 pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py 04:29:47 ...... [100%] 04:30:01 6 passed in 44.36s 04:30:01 pytest -q transportpce_tests/1.2.1/test03_topology.py 04:30:43 ............................................ [100%] 04:32:18 44 passed in 137.25s (0:02:17) 04:32:18 pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py 04:32:49 ........................ [100%] 04:33:40 24 passed in 82.04s (0:01:22) 04:33:40 pytest -q transportpce_tests/1.2.1/test05_olm.py 04:34:19 ........................................ [100%] 04:36:41 40 passed in 180.35s (0:03:00) 04:36:41 pytest -q transportpce_tests/1.2.1/test06_end2end.py 04:37:19 ...................................................... [100%] 04:45:34 54 passed in 533.33s (0:08:53) 04:45:35 tests121: OK ✔ in 17 minutes 50.14 seconds 04:45:35 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 04:45:40 tests_hybrid: freeze> python -m pip freeze --all 04:45:40 tests_hybrid: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 04:45:40 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 04:45:40 using environment variables from ./karaf121.env 04:45:40 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 04:46:31 ................................................... [100%] 04:48:18 51 passed in 157.48s (0:02:37) 04:48:18 pytest -q transportpce_tests/hybrid/test02_B100G_end2end.py 04:49:07 ........................................................................ [ 66%] 04:53:27 ..................................... [100%] 04:55:34 109 passed in 435.66s (0:07:15) 04:55:34 pytest -q transportpce_tests/hybrid/test03_autonomous_reroute.py 04:56:29 ..................................................... [100%] 05:00:03 53 passed in 268.89s (0:04:28) 05:00:03 tests_hybrid: OK ✔ in 14 minutes 28.31 seconds 05:00:03 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 05:00:10 buildlighty: freeze> python -m pip freeze --all 05:00:10 buildlighty: bcrypt==4.2.1,certifi==2024.8.30,cffi==1.17.1,charset-normalizer==3.4.0,cryptography==44.0.0,dict2xml==1.7.6,idna==3.10,iniconfig==2.0.0,lxml==5.3.0,netconf-client==3.1.2,packaging==24.2,paramiko==3.5.0,pip==24.3.1,pluggy==1.5.0,psutil==6.1.0,pycparser==2.22,PyNaCl==1.5.0,pytest==8.3.4,requests==2.32.3,setuptools==75.6.0,urllib3==2.2.3,wheel==0.45.1 05:00:10 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 05:00:10 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 05:00:29 buildcontroller: OK (114.35=setup[8.34]+cmd[106.01] seconds) 05:00:29 testsPCE: OK (350.81=setup[110.88]+cmd[239.93] seconds) 05:00:29 sims: OK (13.38=setup[8.64]+cmd[4.74] seconds) 05:00:29 build_karaf_tests121: OK (64.52=setup[8.61]+cmd[55.91] seconds) 05:00:29 tests121: OK (1070.14=setup[6.22]+cmd[1063.91] seconds) 05:00:29 build_karaf_tests221: OK (62.27=setup[8.57]+cmd[53.70] seconds) 05:00:29 tests_tapi: OK (1311.63=setup[8.29]+cmd[1303.34] seconds) 05:00:29 tests221: OK (3600.27=setup[6.65]+cmd[3593.62] seconds) 05:00:29 build_karaf_tests71: OK (61.22=setup[14.23]+cmd[46.98] seconds) 05:00:29 tests71: OK (416.88=setup[6.12]+cmd[410.75] seconds) 05:00:29 sims190: OK (16.52=setup[16.52]+cmd[0.01] seconds) 05:00:29 build_karaf_tests190: OK (60.27=setup[14.20]+cmd[46.07] seconds) 05:00:29 tests190: FAIL code 1 (245.15=setup[18.63]+cmd[0.02,226.50] seconds) 05:00:29 build_karaf_tests_hybrid: OK (55.15=setup[7.20]+cmd[47.96] seconds) 05:00:29 tests_hybrid: OK (868.31=setup[5.47]+cmd[862.84] seconds) 05:00:29 buildlighty: OK (26.52=setup[7.07]+cmd[19.44] seconds) 05:00:29 docs: OK (35.90=setup[33.35]+cmd[2.55] seconds) 05:00:29 docs-linkcheck: OK (37.81=setup[32.95]+cmd[4.85] seconds) 05:00:29 checkbashisms: OK (3.21=setup[2.24]+cmd[0.03,0.06,0.89] seconds) 05:00:29 pre-commit: FAIL code 1 (40.27=setup[3.57]+cmd[0.00,0.01,36.68] seconds) 05:00:29 pylint: FAIL code 1 (28.71=setup[5.84]+cmd[22.87] seconds) 05:00:29 evaluation failed :( (7758.99 seconds) 05:00:29 + tox_status=255 05:00:29 + echo '---> Completed tox runs' 05:00:29 ---> Completed tox runs 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/build_karaf_tests121/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=build_karaf_tests121 05:00:29 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/build_karaf_tests190/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=build_karaf_tests190 05:00:29 + cp -r .tox/build_karaf_tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests190 05:00:29 + for i in .tox/*/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 ++ echo .tox/build_karaf_tests221/log 05:00:29 + tox_env=build_karaf_tests221 05:00:29 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/build_karaf_tests71/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=build_karaf_tests71 05:00:29 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/build_karaf_tests_hybrid/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=build_karaf_tests_hybrid 05:00:29 + cp -r .tox/build_karaf_tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests_hybrid 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/buildcontroller/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=buildcontroller 05:00:29 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/buildlighty/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=buildlighty 05:00:29 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/checkbashisms/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=checkbashisms 05:00:29 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/docs-linkcheck/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=docs-linkcheck 05:00:29 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/docs/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=docs 05:00:29 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/pre-commit/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=pre-commit 05:00:29 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/pylint/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=pylint 05:00:29 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/sims/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=sims 05:00:29 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/sims190/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=sims190 05:00:29 + cp -r .tox/sims190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims190 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/tests121/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=tests121 05:00:29 + cp -r .tox/tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests121 05:00:29 + for i in .tox/*/log 05:00:29 ++ echo .tox/tests190/log 05:00:29 ++ awk -F/ '{print $2}' 05:00:29 + tox_env=tests190 05:00:29 + cp -r .tox/tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests190 05:00:30 + for i in .tox/*/log 05:00:30 ++ echo .tox/tests221/log 05:00:30 ++ awk -F/ '{print $2}' 05:00:30 + tox_env=tests221 05:00:30 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 05:00:30 + for i in .tox/*/log 05:00:30 ++ echo .tox/tests71/log 05:00:30 ++ awk -F/ '{print $2}' 05:00:30 + tox_env=tests71 05:00:30 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 05:00:30 + for i in .tox/*/log 05:00:30 ++ echo .tox/testsPCE/log 05:00:30 ++ awk -F/ '{print $2}' 05:00:30 + tox_env=testsPCE 05:00:30 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 05:00:30 + for i in .tox/*/log 05:00:30 ++ echo .tox/tests_hybrid/log 05:00:30 ++ awk -F/ '{print $2}' 05:00:30 + tox_env=tests_hybrid 05:00:30 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 05:00:30 + for i in .tox/*/log 05:00:30 ++ echo .tox/tests_tapi/log 05:00:30 ++ awk -F/ '{print $2}' 05:00:30 + tox_env=tests_tapi 05:00:30 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 05:00:30 + DOC_DIR=docs/_build/html 05:00:30 + [[ -d docs/_build/html ]] 05:00:30 + echo '---> Archiving generated docs' 05:00:30 ---> Archiving generated docs 05:00:30 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 05:00:30 + echo '---> tox-run.sh ends' 05:00:30 ---> tox-run.sh ends 05:00:30 + test 255 -eq 0 05:00:30 + exit 255 05:00:30 ++ '[' 1 = 1 ']' 05:00:30 ++ '[' -x /usr/bin/clear_console ']' 05:00:30 ++ /usr/bin/clear_console -q 05:00:30 Build step 'Execute shell' marked build as failure 05:00:30 $ ssh-agent -k 05:00:30 unset SSH_AUTH_SOCK; 05:00:30 unset SSH_AGENT_PID; 05:00:30 echo Agent pid 12510 killed; 05:00:30 [ssh-agent] Stopped. 05:00:30 [PostBuildScript] - [INFO] Executing post build scripts. 05:00:30 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins6710390327355797210.sh 05:00:30 ---> sysstat.sh 05:00:30 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins6248427396305043205.sh 05:00:30 ---> package-listing.sh 05:00:30 ++ tr '[:upper:]' '[:lower:]' 05:00:30 ++ facter osfamily 05:00:31 + OS_FAMILY=debian 05:00:31 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 05:00:31 + START_PACKAGES=/tmp/packages_start.txt 05:00:31 + END_PACKAGES=/tmp/packages_end.txt 05:00:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:00:31 + PACKAGES=/tmp/packages_start.txt 05:00:31 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 05:00:31 + PACKAGES=/tmp/packages_end.txt 05:00:31 + case "${OS_FAMILY}" in 05:00:31 + dpkg -l 05:00:31 + grep '^ii' 05:00:31 + '[' -f /tmp/packages_start.txt ']' 05:00:31 + '[' -f /tmp/packages_end.txt ']' 05:00:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:00:31 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 05:00:31 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 05:00:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 05:00:31 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins11102110409960738084.sh 05:00:31 ---> capture-instance-metadata.sh 05:00:31 Setup pyenv: 05:00:31 system 05:00:31 3.8.20 05:00:31 3.9.20 05:00:31 3.10.15 05:00:31 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 05:00:31 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-16rB from file:/tmp/.os_lf_venv 05:00:32 lf-activate-venv(): INFO: Installing: lftools 05:00:44 lf-activate-venv(): INFO: Adding /tmp/venv-16rB/bin to PATH 05:00:44 INFO: Running in OpenStack, capturing instance metadata 05:00:45 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins7046641915368554978.sh 05:00:45 provisioning config files... 05:00:45 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #2280 05:00:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config8779252356198265237tmp 05:00:45 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 05:00:45 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 05:00:45 provisioning config files... 05:00:45 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 05:00:45 [EnvInject] - Injecting environment variables from a build step. 05:00:45 [EnvInject] - Injecting as environment variables the properties content 05:00:45 SERVER_ID=logs 05:00:45 05:00:45 [EnvInject] - Variables injected successfully. 05:00:45 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16250016742206662437.sh 05:00:45 ---> create-netrc.sh 05:00:45 WARN: Log server credential not found. 05:00:45 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8635985574440392190.sh 05:00:45 ---> python-tools-install.sh 05:00:45 Setup pyenv: 05:00:45 system 05:00:45 3.8.20 05:00:45 3.9.20 05:00:45 3.10.15 05:00:45 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 05:00:46 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-16rB from file:/tmp/.os_lf_venv 05:00:47 lf-activate-venv(): INFO: Installing: lftools 05:00:56 lf-activate-venv(): INFO: Adding /tmp/venv-16rB/bin to PATH 05:00:56 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins11360013846810184934.sh 05:00:56 ---> sudo-logs.sh 05:00:56 Archiving 'sudo' log.. 05:00:56 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5085862798671584386.sh 05:00:56 ---> job-cost.sh 05:00:56 Setup pyenv: 05:00:56 system 05:00:56 3.8.20 05:00:56 3.9.20 05:00:56 3.10.15 05:00:56 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 05:00:56 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-16rB from file:/tmp/.os_lf_venv 05:00:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 05:01:06 lf-activate-venv(): INFO: Adding /tmp/venv-16rB/bin to PATH 05:01:06 INFO: No Stack... 05:01:07 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:07 INFO: Archiving Costs 05:01:07 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins10969068876768546502.sh 05:01:07 ---> logs-deploy.sh 05:01:07 Setup pyenv: 05:01:07 system 05:01:07 3.8.20 05:01:07 3.9.20 05:01:07 3.10.15 05:01:07 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 05:01:07 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-16rB from file:/tmp/.os_lf_venv 05:01:08 lf-activate-venv(): INFO: Installing: lftools 05:01:19 lf-activate-venv(): INFO: Adding /tmp/venv-16rB/bin to PATH 05:01:19 WARNING: Nexus logging server not set 05:01:19 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/2280/ 05:01:19 INFO: archiving logs to S3 05:01:21 ---> uname -a: 05:01:21 Linux prd-ubuntu2004-docker-4c-16g-12099 5.4.0-200-generic #220-Ubuntu SMP Fri Sep 27 13:19:16 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 05:01:21 05:01:21 05:01:21 ---> lscpu: 05:01:21 Architecture: x86_64 05:01:21 CPU op-mode(s): 32-bit, 64-bit 05:01:21 Byte Order: Little Endian 05:01:21 Address sizes: 40 bits physical, 48 bits virtual 05:01:21 CPU(s): 4 05:01:21 On-line CPU(s) list: 0-3 05:01:21 Thread(s) per core: 1 05:01:21 Core(s) per socket: 1 05:01:21 Socket(s): 4 05:01:21 NUMA node(s): 1 05:01:21 Vendor ID: AuthenticAMD 05:01:21 CPU family: 23 05:01:21 Model: 49 05:01:21 Model name: AMD EPYC-Rome Processor 05:01:21 Stepping: 0 05:01:21 CPU MHz: 2799.998 05:01:21 BogoMIPS: 5599.99 05:01:21 Virtualization: AMD-V 05:01:21 Hypervisor vendor: KVM 05:01:21 Virtualization type: full 05:01:21 L1d cache: 128 KiB 05:01:21 L1i cache: 128 KiB 05:01:21 L2 cache: 2 MiB 05:01:21 L3 cache: 64 MiB 05:01:21 NUMA node0 CPU(s): 0-3 05:01:21 Vulnerability Gather data sampling: Not affected 05:01:21 Vulnerability Itlb multihit: Not affected 05:01:21 Vulnerability L1tf: Not affected 05:01:21 Vulnerability Mds: Not affected 05:01:21 Vulnerability Meltdown: Not affected 05:01:21 Vulnerability Mmio stale data: Not affected 05:01:21 Vulnerability Retbleed: Vulnerable 05:01:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:01:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:01:21 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 05:01:21 Vulnerability Srbds: Not affected 05:01:21 Vulnerability Tsx async abort: Not affected 05:01:21 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 05:01:21 05:01:21 05:01:21 ---> nproc: 05:01:21 4 05:01:21 05:01:21 05:01:21 ---> df -h: 05:01:21 Filesystem Size Used Avail Use% Mounted on 05:01:21 udev 7.8G 0 7.8G 0% /dev 05:01:21 tmpfs 1.6G 1.1M 1.6G 1% /run 05:01:21 /dev/vda1 78G 18G 60G 24% / 05:01:21 tmpfs 7.9G 0 7.9G 0% /dev/shm 05:01:21 tmpfs 5.0M 0 5.0M 0% /run/lock 05:01:21 tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup 05:01:21 /dev/loop0 62M 62M 0 100% /snap/core20/1405 05:01:21 /dev/loop1 68M 68M 0 100% /snap/lxd/22753 05:01:21 /dev/vda15 105M 6.1M 99M 6% /boot/efi 05:01:21 tmpfs 1.6G 0 1.6G 0% /run/user/1001 05:01:21 /dev/loop3 45M 45M 0 100% /snap/snapd/23258 05:01:21 /dev/loop4 64M 64M 0 100% /snap/core20/2434 05:01:21 /dev/loop5 92M 92M 0 100% /snap/lxd/29619 05:01:21 05:01:21 05:01:21 ---> free -m: 05:01:21 total used free shared buff/cache available 05:01:21 Mem: 15997 2232 4898 1 8866 13425 05:01:21 Swap: 1023 0 1023 05:01:21 05:01:21 05:01:21 ---> ip addr: 05:01:21 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 05:01:21 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:01:21 inet 127.0.0.1/8 scope host lo 05:01:21 valid_lft forever preferred_lft forever 05:01:21 inet6 ::1/128 scope host 05:01:21 valid_lft forever preferred_lft forever 05:01:21 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 05:01:21 link/ether fa:16:3e:1b:0b:94 brd ff:ff:ff:ff:ff:ff 05:01:21 inet 10.30.171.211/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 05:01:21 valid_lft 78449sec preferred_lft 78449sec 05:01:21 inet6 fe80::f816:3eff:fe1b:b94/64 scope link 05:01:21 valid_lft forever preferred_lft forever 05:01:21 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 05:01:21 link/ether 02:42:f5:f0:5d:a0 brd ff:ff:ff:ff:ff:ff 05:01:21 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:01:21 valid_lft forever preferred_lft forever 05:01:21 05:01:21 05:01:21 ---> sar -b -r -n DEV: 05:01:21 Linux 5.4.0-200-generic (prd-ubuntu2004-docker-4c-16g-12099) 12/02/24 _x86_64_ (4 CPU) 05:01:21 05:01:21 02:48:52 LINUX RESTART (4 CPU) 05:01:21 05:01:21 02:49:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:01:21 02:50:01 317.13 152.04 165.09 0.00 11940.54 45214.46 0.00 05:01:21 02:51:01 107.53 37.92 69.61 0.00 1284.77 9220.41 0.00 05:01:21 02:52:01 203.25 38.20 165.04 0.00 2548.62 27640.39 0.00 05:01:21 02:53:01 91.74 5.78 85.95 0.00 248.72 38818.26 0.00 05:01:21 02:54:01 119.81 0.87 118.94 0.00 56.11 86875.63 0.00 05:01:21 02:55:01 158.97 4.98 153.99 0.00 4488.85 113167.27 0.00 05:01:21 02:56:01 197.60 17.50 180.10 0.00 760.14 76046.13 0.00 05:01:21 02:57:01 23.13 0.05 23.08 0.00 0.67 6231.23 0.00 05:01:21 02:58:01 130.76 0.07 130.69 0.00 3.60 2358.14 0.00 05:01:21 02:59:01 65.07 0.03 65.04 0.00 0.53 1175.27 0.00 05:01:21 03:00:01 80.70 0.33 80.37 0.00 25.46 11086.55 0.00 05:01:21 03:01:01 54.30 4.28 50.02 0.00 513.62 960.11 0.00 05:01:21 03:02:01 3.68 0.08 3.59 0.00 1.49 121.20 0.00 05:01:21 03:03:01 1.98 0.00 1.98 0.00 0.00 42.80 0.00 05:01:21 03:04:01 2.03 0.00 2.03 0.00 0.00 26.26 0.00 05:01:21 03:05:01 3.07 1.15 1.92 0.00 32.93 24.93 0.00 05:01:21 03:06:01 81.64 1.53 80.10 0.00 157.71 2390.00 0.00 05:01:21 03:07:01 82.29 0.07 82.22 0.00 1.73 2248.83 0.00 05:01:21 03:08:01 2.85 0.00 2.85 0.00 0.00 81.05 0.00 05:01:21 03:09:01 2.90 0.02 2.88 0.00 0.27 49.33 0.00 05:01:21 03:10:01 2.62 0.00 2.62 0.00 0.00 53.06 0.00 05:01:21 03:11:01 2.95 0.00 2.95 0.00 0.00 39.06 0.00 05:01:21 03:12:01 1.57 0.00 1.57 0.00 0.00 19.33 0.00 05:01:21 03:13:01 2.13 0.00 2.13 0.00 0.00 24.26 0.00 05:01:21 03:14:01 101.62 0.00 101.62 0.00 0.00 2560.51 0.00 05:01:21 03:15:01 92.47 0.00 92.47 0.00 0.00 1998.73 0.00 05:01:21 03:16:01 2.82 0.77 2.05 0.00 21.33 53.59 0.00 05:01:21 03:17:01 3.28 0.05 3.23 0.00 1.07 52.79 0.00 05:01:21 03:18:01 2.20 0.02 2.18 0.00 0.13 48.52 0.00 05:01:21 03:19:01 125.71 0.00 125.71 0.00 0.00 3234.66 0.00 05:01:21 03:20:01 66.12 0.00 66.12 0.00 0.00 1269.92 0.00 05:01:21 03:21:01 79.99 0.28 79.70 0.00 9.60 2036.33 0.00 05:01:21 03:22:01 160.76 2.97 157.79 0.00 69.19 11608.73 0.00 05:01:21 03:23:01 3.72 0.67 3.05 0.00 18.80 54.13 0.00 05:01:21 03:24:01 1.62 0.02 1.60 0.00 1.33 33.33 0.00 05:01:21 03:25:01 69.01 0.00 69.01 0.00 0.00 1179.94 0.00 05:01:21 03:26:01 2.68 0.00 2.68 0.00 0.00 53.99 0.00 05:01:21 03:27:01 73.38 0.00 73.38 0.00 0.00 1238.53 0.00 05:01:21 03:28:01 23.74 0.02 23.73 0.00 0.13 1242.92 0.00 05:01:21 03:29:01 59.84 0.00 59.84 0.00 0.00 2481.45 0.00 05:01:21 03:30:01 79.49 0.00 79.49 0.00 0.00 1503.37 0.00 05:01:21 03:31:01 42.66 0.02 42.64 0.00 0.27 765.07 0.00 05:01:21 03:32:01 2.82 0.00 2.82 0.00 0.00 44.13 0.00 05:01:21 03:33:01 65.12 0.00 65.12 0.00 0.00 989.70 0.00 05:01:21 03:34:01 69.22 0.00 69.22 0.00 0.00 1039.03 0.00 05:01:21 03:35:01 1.70 0.00 1.70 0.00 0.00 28.93 0.00 05:01:21 03:36:01 72.25 0.00 72.25 0.00 0.00 1085.55 0.00 05:01:21 03:37:01 1.40 0.00 1.40 0.00 0.00 20.80 0.00 05:01:21 03:38:01 1.60 0.00 1.60 0.00 0.00 19.86 0.00 05:01:21 03:39:01 17.01 0.00 17.01 0.00 0.00 297.15 0.00 05:01:21 03:40:01 55.33 0.00 55.33 0.00 0.00 786.80 0.00 05:01:21 03:41:01 69.70 0.00 69.70 0.00 0.00 1055.60 0.00 05:01:21 03:42:01 16.08 0.00 16.08 0.00 0.00 291.37 0.00 05:01:21 03:43:01 73.70 0.00 73.70 0.00 0.00 1047.29 0.00 05:01:21 03:44:01 2.43 0.00 2.43 0.00 0.00 50.79 0.00 05:01:21 03:45:01 16.26 0.00 16.26 0.00 0.00 292.62 0.00 05:01:21 03:46:01 73.27 0.00 73.27 0.00 0.00 999.17 0.00 05:01:21 03:47:01 2.18 0.00 2.18 0.00 0.00 44.53 0.00 05:01:21 03:48:01 2.12 0.00 2.12 0.00 0.00 37.86 0.00 05:01:21 03:49:01 2.48 0.00 2.48 0.00 0.00 39.46 0.00 05:01:21 03:50:01 2.47 0.00 2.47 0.00 0.00 46.79 0.00 05:01:21 03:51:01 2.25 0.00 2.25 0.00 0.00 53.32 0.00 05:01:21 03:52:01 2.07 0.00 2.07 0.00 0.00 31.99 0.00 05:01:21 03:53:01 1.68 0.00 1.68 0.00 0.00 37.86 0.00 05:01:21 03:54:01 2.22 0.00 2.22 0.00 0.00 30.93 0.00 05:01:21 03:55:01 1.53 0.00 1.53 0.00 0.00 19.33 0.00 05:01:21 03:56:01 1.75 0.00 1.75 0.00 0.00 22.26 0.00 05:01:21 03:57:01 85.57 0.00 85.57 0.00 0.00 1219.13 0.00 05:01:21 03:58:01 2.50 0.00 2.50 0.00 0.00 61.86 0.00 05:01:21 03:59:01 2.72 0.00 2.72 0.00 0.00 59.72 0.00 05:01:21 04:00:01 2.52 0.00 2.52 0.00 0.00 51.86 0.00 05:01:21 04:01:01 2.25 0.00 2.25 0.00 0.00 49.86 0.00 05:01:21 04:02:01 2.68 0.00 2.68 0.00 0.00 53.99 0.00 05:01:21 04:03:01 2.60 0.00 2.60 0.00 0.00 68.92 0.00 05:01:21 04:04:01 2.38 0.00 2.38 0.00 0.00 42.93 0.00 05:01:21 04:05:01 1.78 0.00 1.78 0.00 0.00 21.46 0.00 05:01:21 04:06:01 1.70 0.00 1.70 0.00 0.00 21.33 0.00 05:01:21 04:07:01 28.09 0.00 28.09 0.00 0.00 581.41 0.00 05:01:21 04:08:01 61.37 0.00 61.37 0.00 0.00 831.33 0.00 05:01:21 04:09:01 3.77 0.00 3.77 0.00 0.00 76.27 0.00 05:01:21 04:10:01 1.98 0.00 1.98 0.00 0.00 30.79 0.00 05:01:21 04:11:01 2.25 0.00 2.25 0.00 0.00 47.99 0.00 05:01:21 04:12:01 2.82 0.00 2.82 0.00 0.00 51.46 0.00 05:01:21 04:13:01 2.83 0.00 2.83 0.00 0.00 53.72 0.00 05:01:21 04:14:01 2.73 0.00 2.73 0.00 0.00 52.38 0.00 05:01:21 04:15:01 1.80 0.00 1.80 0.00 0.00 27.60 0.00 05:01:21 04:16:01 2.32 0.00 2.32 0.00 0.00 29.46 0.00 05:01:21 04:17:01 2.57 0.00 2.57 0.00 0.00 30.66 0.00 05:01:21 04:18:01 39.68 0.00 39.68 0.00 0.00 532.98 0.00 05:01:21 04:19:01 62.99 0.00 62.99 0.00 0.00 853.19 0.00 05:01:21 04:20:01 2.78 0.00 2.78 0.00 0.00 56.39 0.00 05:01:21 04:21:01 3.47 0.00 3.47 0.00 0.00 63.32 0.00 05:01:21 04:22:01 2.47 0.00 2.47 0.00 0.00 42.13 0.00 05:01:21 04:23:01 2.20 0.00 2.20 0.00 0.00 40.53 0.00 05:01:21 04:24:01 2.40 0.00 2.40 0.00 0.00 39.46 0.00 05:01:21 04:25:01 1.88 0.00 1.88 0.00 0.00 37.06 0.00 05:01:21 04:26:01 2.38 0.00 2.38 0.00 0.00 42.13 0.00 05:01:21 04:27:01 2.93 0.00 2.93 0.00 0.00 58.66 0.00 05:01:21 04:28:01 9.13 0.12 9.01 0.00 1.33 1060.58 0.00 05:01:21 04:29:01 99.03 1.23 97.80 0.00 37.33 9861.02 0.00 05:01:21 04:30:01 80.69 0.00 80.69 0.00 0.00 1605.33 0.00 05:01:21 04:31:01 68.81 0.13 68.67 0.00 9.60 1310.31 0.00 05:01:21 04:32:01 3.08 0.00 3.08 0.00 0.00 49.33 0.00 05:01:21 04:33:01 78.74 0.22 78.52 0.00 7.87 1163.41 0.00 05:01:21 04:34:01 23.64 0.07 23.58 0.00 5.20 400.13 0.00 05:01:21 04:35:01 42.48 0.07 42.41 0.00 5.33 618.96 0.00 05:01:21 04:36:01 2.20 0.00 2.20 0.00 0.00 45.73 0.00 05:01:21 04:37:01 25.45 0.00 25.45 0.00 0.00 426.67 0.00 05:01:21 04:38:01 50.99 0.00 50.99 0.00 0.00 738.94 0.00 05:01:21 04:39:01 1.86 0.00 1.86 0.00 0.00 39.04 0.00 05:01:21 04:40:01 2.18 0.00 2.18 0.00 0.00 49.99 0.00 05:01:21 04:41:01 2.03 0.00 2.03 0.00 0.00 36.79 0.00 05:01:21 04:42:01 2.00 0.00 2.00 0.00 0.00 42.66 0.00 05:01:21 04:43:01 1.88 0.00 1.88 0.00 0.00 41.05 0.00 05:01:21 04:44:01 2.17 0.00 2.17 0.00 0.00 45.99 0.00 05:01:21 04:45:01 2.35 0.00 2.35 0.00 0.00 41.45 0.00 05:01:21 04:46:01 24.93 0.10 24.83 0.00 1.20 1568.68 0.00 05:01:21 04:47:01 87.37 0.00 87.37 0.00 0.00 9322.71 0.00 05:01:21 04:48:01 3.45 0.05 3.40 0.00 0.40 114.11 0.00 05:01:21 04:49:01 22.98 0.00 22.98 0.00 0.00 545.55 0.00 05:01:21 04:50:01 45.49 0.00 45.49 0.00 0.00 661.09 0.00 05:01:21 04:51:01 2.70 0.00 2.70 0.00 0.00 43.06 0.00 05:01:21 04:52:01 2.87 0.00 2.87 0.00 0.00 51.05 0.00 05:01:21 04:53:01 2.35 0.00 2.35 0.00 0.00 38.93 0.00 05:01:21 04:54:01 2.30 0.00 2.30 0.00 0.00 44.13 0.00 05:01:21 04:55:01 2.25 0.02 2.23 0.00 0.13 46.79 0.00 05:01:21 04:56:01 24.54 0.48 24.06 0.00 66.38 688.30 0.00 05:01:21 04:57:01 6.75 0.00 6.75 0.00 0.00 127.45 0.00 05:01:21 04:58:01 3.30 0.13 3.17 0.00 4.13 200.10 0.00 05:01:21 04:59:01 3.18 0.00 3.18 0.00 0.00 71.58 0.00 05:01:21 05:00:01 3.20 0.00 3.20 0.00 0.00 72.39 0.00 05:01:21 05:01:01 65.77 16.96 48.81 0.00 1244.06 24220.76 0.00 05:01:21 Average: 33.60 2.19 31.41 0.00 178.61 3973.69 0.00 05:01:21 05:01:21 02:49:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:01:21 02:50:01 13642564 15443260 552548 3.37 48236 1964284 1230692 7.06 748144 1746028 52776 05:01:21 02:51:01 13205364 15392620 581312 3.55 74956 2302244 1284912 7.37 849840 2037700 184624 05:01:21 02:52:01 10644872 14440536 1519408 9.28 131812 3736604 2245480 12.88 1976012 3338256 1000500 05:01:21 02:53:01 9248848 13903636 2055064 12.55 146788 4543464 2530660 14.52 2767208 3903012 696072 05:01:21 02:54:01 5380860 12831124 3125280 19.08 181112 7194628 3905504 22.41 4596588 5824880 828116 05:01:21 02:55:01 4174604 13777444 2167824 13.23 219604 9208468 2970084 17.04 4210888 7309004 845012 05:01:21 02:56:01 2344092 12727252 3214316 19.62 235616 9941284 4030396 23.12 5722688 7585832 175792 05:01:21 02:57:01 2931288 13314944 2626784 16.04 235708 9941732 3477028 19.95 5148240 7572612 820 05:01:21 02:58:01 2412384 12803180 3138204 19.16 241952 9942304 4233480 24.29 5685528 7552200 128 05:01:21 02:59:01 3212012 13644412 2296980 14.02 246376 9975992 3164108 18.15 4853900 7582828 33660 05:01:21 03:00:01 938204 11600904 4339304 26.49 252944 10188536 5870044 33.68 6983416 7710696 3516 05:01:21 03:01:01 164464 8033996 7904156 48.25 247228 7450500 8963604 51.43 10163808 5337668 1920 05:01:21 03:02:01 189744 8005820 7932636 48.42 247260 7397736 8996156 51.61 10180196 5297636 156 05:01:21 03:03:01 173752 7990288 7948212 48.52 247284 7398144 9012176 51.71 10195984 5297808 340 05:01:21 03:04:01 174044 7990604 7947896 48.52 247312 7398140 9012176 51.71 10195392 5297808 112 05:01:21 03:05:01 170636 7988260 7950192 48.53 247408 7399080 9036948 51.85 10199228 5295948 260 05:01:21 03:06:01 5920784 12769620 3171556 19.36 249508 6452044 4315228 24.76 5369068 4418460 1344 05:01:21 03:07:01 3292488 10145624 5794408 35.37 252084 6453752 6815668 39.10 7990388 4417424 792 05:01:21 03:08:01 2882444 9736200 6203412 37.87 252124 6454312 6995612 40.14 8395988 4417444 52 05:01:21 03:09:01 2866812 9720852 6218720 37.96 252152 6454568 6995612 40.14 8412788 4417592 108 05:01:21 03:10:01 2848724 9703148 6236436 38.07 252176 6454932 7011652 40.23 8429616 4417928 120 05:01:21 03:11:01 2848080 9702640 6236920 38.07 252228 6455004 7011652 40.23 8430256 4417980 8 05:01:21 03:12:01 2848112 9702720 6236804 38.07 252280 6455008 7011652 40.23 8429904 4417984 80 05:01:21 03:13:01 2845932 9700608 6239012 38.09 252320 6455016 7011652 40.23 8432624 4417992 40 05:01:21 03:14:01 5497812 12355524 3585524 21.89 254900 6455492 4670724 26.80 5801492 4409016 2076 05:01:21 03:15:01 3120664 9980576 5959340 36.38 256468 6456064 6859404 39.35 8170716 4408792 196 05:01:21 03:16:01 2867108 9728224 6211384 37.92 256488 6457252 7008272 40.21 8422616 4409236 112 05:01:21 03:17:01 2844908 9706372 6233232 38.05 256496 6457588 7043440 40.41 8443720 4409564 52 05:01:21 03:18:01 2816520 9678428 6261136 38.22 256512 6458016 7043440 40.41 8470756 4409984 292 05:01:21 03:19:01 5830876 12695596 3245620 19.81 258664 6458612 4201512 24.11 5469512 4410764 2028 05:01:21 03:20:01 2921836 9788204 6151460 37.55 259952 6458944 6968192 39.98 8367064 4410888 280 05:01:21 03:21:01 5740056 12851976 3089252 18.86 266896 6692428 4629148 26.56 5333372 4634072 237780 05:01:21 03:22:01 5065484 12192440 3748384 22.88 269008 6704688 4557540 26.15 6062828 4575244 600 05:01:21 03:23:01 4970696 12098388 3842236 23.45 269020 6705412 4622600 26.52 6157868 4573860 96 05:01:21 03:24:01 4957956 12085852 3854788 23.53 269052 6705584 4638648 26.61 6170412 4573980 168 05:01:21 03:25:01 4180560 11309232 4630952 28.27 269648 6705760 5404952 31.01 6955452 4562740 388 05:01:21 03:26:01 4164316 11293172 4646980 28.37 269648 6705940 5436948 31.19 6971836 4562904 104 05:01:21 03:27:01 4964940 12094664 3845956 23.48 270356 6706056 4648156 26.67 6174704 4561968 344 05:01:21 03:28:01 5955868 13152704 2788296 17.02 272520 6766928 3603912 20.68 5125612 4622032 46672 05:01:21 03:29:01 3505764 10703308 5236404 31.97 273056 6767108 6102008 35.01 7564556 4622180 228 05:01:21 03:30:01 6109196 13307384 2633568 16.08 273560 6767240 3454880 19.82 4986552 4607452 444 05:01:21 03:31:01 3011056 10210032 5729424 34.98 273992 6767588 6747416 38.71 8071696 4607712 404 05:01:21 03:32:01 2744328 9943368 5996012 36.60 273992 6767648 6829152 39.18 8337904 4607756 156 05:01:21 03:33:01 5011316 12210752 3729700 22.77 274288 6767740 4504936 25.85 6078940 4606544 124 05:01:21 03:34:01 4905312 12105460 3834980 23.41 274788 6767948 4604976 26.42 6186376 4606372 28 05:01:21 03:35:01 4895264 12095444 3844952 23.47 274792 6767972 4621436 26.51 6196660 4606380 256 05:01:21 03:36:01 4164912 11365884 4573868 27.92 275144 6768412 5415280 31.07 6921644 4606712 172 05:01:21 03:37:01 4165584 11366560 4573196 27.92 275144 6768412 5415280 31.07 6921096 4606712 172 05:01:21 03:38:01 4164844 11365836 4573908 27.92 275156 6768416 5415280 31.07 6921512 4606716 48 05:01:21 03:39:01 5352692 12553980 3386188 20.67 275176 6768624 4511524 25.88 5739876 4606752 724 05:01:21 03:40:01 4902384 12104084 3835988 23.42 275492 6768720 4625140 26.54 6187536 4606848 132 05:01:21 03:41:01 4171480 11373900 4565932 27.87 275788 6769112 5377872 30.85 6916896 4607032 248 05:01:21 03:42:01 6104104 13306724 2633944 16.08 275792 6769292 3456392 19.83 4991096 4607168 376 05:01:21 03:43:01 2842216 10045412 5893620 35.98 276148 6769496 6792868 38.97 8239056 4607276 324 05:01:21 03:44:01 2637056 9840588 6098316 37.23 276148 6769828 6859148 39.35 8443704 4607608 300 05:01:21 03:45:01 6109276 13312920 2627680 16.04 276168 6769920 3454684 19.82 4985948 4607688 496 05:01:21 03:46:01 2772696 9976896 5962152 36.40 276512 6770132 6799232 39.01 8307724 4607876 60 05:01:21 03:47:01 2620376 9824920 6113836 37.32 276512 6770472 6912776 39.66 8459632 4608216 348 05:01:21 03:48:01 2604028 9808676 6130040 37.42 276524 6770564 6912776 39.66 8475448 4608308 156 05:01:21 03:49:01 2591332 9796124 6142648 37.50 276528 6770708 6912776 39.66 8487164 4608448 308 05:01:21 03:50:01 2564060 9769268 6169384 37.66 276536 6771108 6945136 39.85 8514712 4608852 388 05:01:21 03:51:01 2559816 9765236 6173372 37.69 276536 6771320 6945136 39.85 8518804 4609060 392 05:01:21 03:52:01 2512132 9717652 6220956 37.98 276544 6771408 6977524 40.03 8565540 4609148 172 05:01:21 03:53:01 2508760 9714524 6224028 37.99 276548 6771664 7009736 40.22 8568152 4609388 432 05:01:21 03:54:01 2508872 9714652 6223896 37.99 276548 6771664 7009736 40.22 8567644 4609400 92 05:01:21 03:55:01 2505912 9711716 6226888 38.01 276548 6771668 7009736 40.22 8570216 4609404 248 05:01:21 03:56:01 2506068 9711872 6226732 38.01 276552 6771664 7009736 40.22 8571548 4609400 88 05:01:21 03:57:01 2891868 10097912 5841168 35.66 276820 6771640 6773176 38.86 8187188 4609272 428 05:01:21 03:58:01 2667940 9874564 6064160 37.02 276820 6772220 6904532 39.61 8409996 4609852 280 05:01:21 03:59:01 2632604 9839676 6099040 37.23 276832 6772660 6904532 39.61 8443412 4610288 332 05:01:21 04:00:01 2609232 9816780 6121920 37.37 276836 6773132 6904532 39.61 8467464 4610760 344 05:01:21 04:01:01 2602608 9810500 6128188 37.41 276840 6773468 6904532 39.61 8472692 4611092 368 05:01:21 04:02:01 2594608 9802892 6135792 37.46 276840 6773860 6920528 39.70 8481264 4611484 108 05:01:21 04:03:01 2583016 9792088 6146524 37.52 276840 6774640 6937024 39.80 8491836 4612268 296 05:01:21 04:04:01 2581408 9790720 6147892 37.53 276844 6774876 6937024 39.80 8492604 4612504 100 05:01:21 04:05:01 2581504 9790820 6147828 37.53 276848 6774880 6937024 39.80 8492040 4612508 212 05:01:21 04:06:01 2581608 9790936 6147784 37.53 276852 6774880 6937024 39.80 8492108 4612508 92 05:01:21 04:07:01 3967968 11177476 4762080 29.07 276892 6774952 6019444 34.54 7114036 4612532 684 05:01:21 04:08:01 1154628 8363664 7574428 46.24 277012 6774360 8368872 48.01 9919052 4611884 180 05:01:21 04:09:01 1024584 8234028 7703748 47.03 277012 6774768 8466204 48.57 10046180 4612288 244 05:01:21 04:10:01 995468 8205180 7732640 47.20 277012 6775036 8466204 48.57 10076044 4612556 420 05:01:21 04:11:01 980192 8190024 7747756 47.30 277016 6775152 8466204 48.57 10091312 4612672 352 05:01:21 04:12:01 948336 8158500 7779240 47.49 277024 6775476 8482232 48.66 10121976 4612996 228 05:01:21 04:13:01 933200 8143556 7794148 47.58 277032 6775660 8498220 48.76 10135912 4613176 248 05:01:21 04:14:01 922788 8133504 7804148 47.64 277032 6776016 8530256 48.94 10147452 4613520 116 05:01:21 04:15:01 894548 8105388 7832244 47.81 277032 6776140 8546808 49.04 10175888 4613636 300 05:01:21 04:16:01 894676 8105520 7832196 47.81 277032 6776144 8546808 49.04 10175464 4613636 88 05:01:21 04:17:01 894024 8104872 7832832 47.82 277036 6776148 8546808 49.04 10175548 4613636 236 05:01:21 04:18:01 5255252 12466112 3474024 21.21 277052 6776132 4597104 26.37 5830132 4613568 628 05:01:21 04:19:01 1273128 8484016 7454028 45.50 277268 6775892 8310344 47.68 9797036 4613312 212 05:01:21 04:20:01 1117696 8328956 7608844 46.45 277268 6776260 8407148 48.23 9951032 4613680 164 05:01:21 04:21:01 1026604 8238268 7699404 47.00 277272 6776660 8440660 48.43 10041716 4614080 40 05:01:21 04:22:01 1017280 8229044 7708592 47.06 277272 6776760 8456672 48.52 10050528 4614180 112 05:01:21 04:23:01 998640 8210588 7727000 47.17 277272 6776944 8472660 48.61 10068708 4614364 360 05:01:21 04:24:01 987064 8199084 7738612 47.24 277272 6777016 8488680 48.70 10080104 4614436 136 05:01:21 04:25:01 983788 8196000 7741664 47.26 277276 6777208 8488680 48.70 10083124 4614624 352 05:01:21 04:26:01 944656 8157040 7780552 47.50 277276 6777376 8488680 48.70 10122140 4614792 212 05:01:21 04:27:01 907888 8120656 7816888 47.72 277276 6777776 8537596 48.98 10158172 4615176 180 05:01:21 04:28:01 5649148 13113808 2826424 17.25 283340 7016916 3634480 20.85 5221056 4823136 240440 05:01:21 04:29:01 3951468 11421848 4517456 27.58 283656 7022220 5383904 30.89 6933156 4800504 252 05:01:21 04:30:01 6193172 13663928 2276124 13.89 283832 7022416 3363360 19.30 4732888 4769912 236 05:01:21 04:31:01 2822652 10294396 5644120 34.45 284052 7023152 6836052 39.22 8091044 4767948 480 05:01:21 04:32:01 2442420 9914232 6024168 36.77 284052 7023224 6918716 39.69 8470312 4767928 128 05:01:21 04:33:01 3876416 11348884 4590044 28.02 284268 7023664 5445876 31.24 7041388 4767744 356 05:01:21 04:34:01 4549220 12022116 3917236 23.91 284348 7024004 5169824 29.66 6372288 4767372 408 05:01:21 04:35:01 2585632 10059088 5879036 35.89 284476 7024436 6814072 39.09 8327572 4767436 468 05:01:21 04:36:01 2460012 9933672 6004408 36.65 284476 7024636 6830344 39.19 8452000 4767636 204 05:01:21 04:37:01 4577884 12051676 3887728 23.73 284496 7024748 5178268 29.71 6343764 4767468 756 05:01:21 04:38:01 2535412 10009540 5928624 36.19 284540 7025044 6830336 39.19 8378220 4767000 164 05:01:21 04:39:01 2365068 9839648 6098464 37.23 284548 7025484 6879476 39.47 8547528 4767424 576 05:01:21 04:40:01 2349468 9824376 6113696 37.32 284552 7025808 6879476 39.47 8561960 4767748 192 05:01:21 04:41:01 2307524 9782780 6155272 37.57 284552 7026156 6912588 39.66 8601760 4768096 236 05:01:21 04:42:01 2292704 9768464 6169472 37.66 284552 7026676 6928660 39.75 8616736 4768600 384 05:01:21 04:43:01 2289176 9765220 6172708 37.68 284552 7026944 6928660 39.75 8620644 4768884 200 05:01:21 04:44:01 2284836 9761196 6176596 37.71 284552 7027260 6928660 39.75 8624932 4769196 124 05:01:21 04:45:01 2276772 9753512 6184268 37.75 284552 7027652 6928660 39.75 8632156 4769576 504 05:01:21 04:46:01 5174340 12910080 3029456 18.49 290628 7273912 3858628 22.14 5542124 4968428 241836 05:01:21 04:47:01 2053164 9787720 6150172 37.54 290840 7272244 6992352 40.12 8667776 4953932 1992 05:01:21 04:48:01 1892488 9627348 6310484 38.52 290844 7272544 7131724 40.92 8825476 4954064 120 05:01:21 04:49:01 2528136 10263096 5675400 34.65 290880 7272560 6741824 38.68 8213612 4935172 212 05:01:21 04:50:01 2017316 9752824 6185048 37.76 290996 7272996 7003588 40.18 8724864 4932392 216 05:01:21 04:51:01 2008348 9744060 6193804 37.81 290996 7273196 7003588 40.18 8734616 4932540 324 05:01:21 04:52:01 1989212 9725096 6212760 37.93 290996 7273368 7019580 40.27 8752316 4932704 144 05:01:21 04:53:01 1980076 9716148 6221708 37.98 290996 7273556 7019580 40.27 8761280 4932892 116 05:01:21 04:54:01 1960704 9697156 6240748 38.10 291000 7273948 7019580 40.27 8780212 4933284 336 05:01:21 04:55:01 1944276 9681100 6256768 38.19 291000 7274320 7035600 40.37 8796776 4933644 312 05:01:21 04:56:01 4101028 11839444 4101564 25.04 291028 7276240 5154092 29.57 6695668 4885924 608 05:01:21 04:57:01 1403368 9141868 6797436 41.49 291028 7276324 7523456 43.16 9386212 4885936 216 05:01:21 04:58:01 1332764 9071976 6867192 41.92 291032 7277012 7593792 43.57 9453464 4886376 68 05:01:21 04:59:01 1253896 8993856 6945248 42.40 291036 7277744 7610016 43.66 9530808 4887116 92 05:01:21 05:00:01 2262360 10002996 5936064 36.24 291036 7278424 6699704 38.44 8524708 4887776 280 05:01:21 05:01:01 5107628 13806320 2134920 13.03 296020 8200048 2844216 16.32 4950776 5599096 234376 05:01:21 Average: 3148321 10461000 5479269 33.45 267457 6892814 6324474 36.29 7783830 4764790 36820 05:01:21 05:01:21 02:49:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:01:21 02:50:01 ens3 375.14 234.99 1370.20 69.72 0.00 0.00 0.00 0.00 05:01:21 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:50:01 lo 1.43 1.43 0.14 0.14 0.00 0.00 0.00 0.00 05:01:21 02:51:01 ens3 75.81 62.16 821.74 8.33 0.00 0.00 0.00 0.00 05:01:21 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:51:01 lo 0.80 0.80 0.07 0.07 0.00 0.00 0.00 0.00 05:01:21 02:52:01 ens3 456.33 361.13 7341.60 39.62 0.00 0.00 0.00 0.00 05:01:21 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:52:01 lo 6.06 6.06 0.62 0.62 0.00 0.00 0.00 0.00 05:01:21 02:53:01 ens3 245.70 202.37 3810.94 21.15 0.00 0.00 0.00 0.00 05:01:21 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:53:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:01:21 02:54:01 ens3 120.22 69.80 2237.57 9.21 0.00 0.00 0.00 0.00 05:01:21 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:54:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 05:01:21 02:55:01 ens3 189.15 90.47 4583.95 8.49 0.00 0.00 0.00 0.00 05:01:21 02:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:55:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 05:01:21 02:56:01 ens3 4.02 4.08 17.73 0.88 0.00 0.00 0.00 0.00 05:01:21 02:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:56:01 lo 3.45 3.45 1.14 1.14 0.00 0.00 0.00 0.00 05:01:21 02:57:01 ens3 1.08 1.15 0.18 0.18 0.00 0.00 0.00 0.00 05:01:21 02:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:57:01 lo 6.12 6.12 13.74 13.74 0.00 0.00 0.00 0.00 05:01:21 02:58:01 ens3 1.00 0.93 0.14 0.14 0.00 0.00 0.00 0.00 05:01:21 02:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:58:01 lo 4.50 4.50 3.34 3.34 0.00 0.00 0.00 0.00 05:01:21 02:59:01 ens3 1.95 2.03 0.80 0.70 0.00 0.00 0.00 0.00 05:01:21 02:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 02:59:01 lo 8.32 8.32 4.91 4.91 0.00 0.00 0.00 0.00 05:01:21 03:00:01 ens3 9.73 9.33 2.12 5.63 0.00 0.00 0.00 0.00 05:01:21 03:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:00:01 lo 4.47 4.47 0.44 0.44 0.00 0.00 0.00 0.00 05:01:21 03:01:01 ens3 1.18 1.23 0.18 0.18 0.00 0.00 0.00 0.00 05:01:21 03:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:01:01 lo 34.33 34.33 30.28 30.28 0.00 0.00 0.00 0.00 05:01:21 03:02:01 ens3 0.41 0.24 0.04 0.03 0.00 0.00 0.00 0.00 05:01:21 03:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:02:01 lo 19.66 19.66 12.18 12.18 0.00 0.00 0.00 0.00 05:01:21 03:03:01 ens3 0.57 0.30 0.05 0.04 0.00 0.00 0.00 0.00 05:01:21 03:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:03:01 lo 21.78 21.78 7.93 7.93 0.00 0.00 0.00 0.00 05:01:21 03:04:01 ens3 0.17 0.02 0.01 0.00 0.00 0.00 0.00 0.00 05:01:21 03:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:04:01 lo 0.32 0.32 0.03 0.03 0.00 0.00 0.00 0.00 05:01:21 03:05:01 ens3 0.47 0.32 0.15 0.08 0.00 0.00 0.00 0.00 05:01:21 03:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:05:01 lo 0.72 0.72 0.08 0.08 0.00 0.00 0.00 0.00 05:01:21 03:06:01 ens3 0.55 0.47 0.07 0.07 0.00 0.00 0.00 0.00 05:01:21 03:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:06:01 lo 3.85 3.85 0.45 0.45 0.00 0.00 0.00 0.00 05:01:21 03:07:01 ens3 0.82 0.62 0.08 0.07 0.00 0.00 0.00 0.00 05:01:21 03:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:07:01 lo 6.85 6.85 10.71 10.71 0.00 0.00 0.00 0.00 05:01:21 03:08:01 ens3 0.68 0.65 0.10 0.10 0.00 0.00 0.00 0.00 05:01:21 03:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:08:01 lo 28.16 28.16 15.64 15.64 0.00 0.00 0.00 0.00 05:01:21 03:09:01 ens3 0.77 0.40 0.12 0.06 0.00 0.00 0.00 0.00 05:01:21 03:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:09:01 lo 8.65 8.65 4.84 4.84 0.00 0.00 0.00 0.00 05:01:21 03:10:01 ens3 0.57 0.37 0.19 0.10 0.00 0.00 0.00 0.00 05:01:21 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:10:01 lo 31.19 31.19 11.02 11.02 0.00 0.00 0.00 0.00 05:01:21 03:11:01 ens3 0.58 0.27 0.06 0.05 0.00 0.00 0.00 0.00 05:01:21 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:11:01 lo 1.28 1.28 0.13 0.13 0.00 0.00 0.00 0.00 05:01:21 03:12:01 ens3 0.18 0.03 0.01 0.00 0.00 0.00 0.00 0.00 05:01:21 03:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:12:01 lo 0.18 0.18 0.02 0.02 0.00 0.00 0.00 0.00 05:01:21 03:13:01 ens3 0.50 0.08 0.03 0.01 0.00 0.00 0.00 0.00 05:01:21 03:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:13:01 lo 0.33 0.33 0.02 0.02 0.00 0.00 0.00 0.00 05:01:21 03:14:01 ens3 0.82 0.25 0.08 0.05 0.00 0.00 0.00 0.00 05:01:21 03:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:14:01 lo 3.27 3.27 0.40 0.40 0.00 0.00 0.00 0.00 05:01:21 03:15:01 ens3 1.23 1.13 0.27 0.20 0.00 0.00 0.00 0.00 05:01:21 03:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:15:01 lo 16.68 16.68 7.08 7.08 0.00 0.00 0.00 0.00 05:01:21 03:16:01 ens3 0.63 0.62 0.10 0.10 0.00 0.00 0.00 0.00 05:01:21 03:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:16:01 lo 24.23 24.23 9.09 9.09 0.00 0.00 0.00 0.00 05:01:21 03:17:01 ens3 1.25 1.47 0.21 0.26 0.00 0.00 0.00 0.00 05:01:21 03:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:17:01 lo 10.73 10.73 8.54 8.54 0.00 0.00 0.00 0.00 05:01:21 03:18:01 ens3 0.92 0.97 0.17 0.15 0.00 0.00 0.00 0.00 05:01:21 03:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:18:01 lo 28.54 28.54 11.41 11.41 0.00 0.00 0.00 0.00 05:01:21 03:19:01 ens3 1.00 0.78 0.12 0.10 0.00 0.00 0.00 0.00 05:01:21 03:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:19:01 lo 7.02 7.02 0.99 0.99 0.00 0.00 0.00 0.00 05:01:21 03:20:01 ens3 0.83 0.78 0.22 0.15 0.00 0.00 0.00 0.00 05:01:21 03:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:20:01 lo 16.21 16.21 15.73 15.73 0.00 0.00 0.00 0.00 05:01:21 03:21:01 ens3 2.32 2.50 0.92 0.79 0.00 0.00 0.00 0.00 05:01:21 03:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:21:01 lo 4.17 4.17 2.87 2.87 0.00 0.00 0.00 0.00 05:01:21 03:22:01 ens3 0.93 0.98 0.15 0.15 0.00 0.00 0.00 0.00 05:01:21 03:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:22:01 lo 10.83 10.83 15.97 15.97 0.00 0.00 0.00 0.00 05:01:21 03:23:01 ens3 1.83 1.75 0.52 0.44 0.00 0.00 0.00 0.00 05:01:21 03:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:23:01 lo 28.40 28.40 11.98 11.98 0.00 0.00 0.00 0.00 05:01:21 03:24:01 ens3 1.22 1.48 0.23 0.24 0.00 0.00 0.00 0.00 05:01:21 03:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:24:01 lo 25.23 25.23 8.20 8.20 0.00 0.00 0.00 0.00 05:01:21 03:25:01 ens3 1.30 1.28 0.29 0.28 0.00 0.00 0.00 0.00 05:01:21 03:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:25:01 lo 17.61 17.61 11.03 11.03 0.00 0.00 0.00 0.00 05:01:21 03:26:01 ens3 1.23 1.47 0.23 0.24 0.00 0.00 0.00 0.00 05:01:21 03:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:26:01 lo 30.96 30.96 10.38 10.38 0.00 0.00 0.00 0.00 05:01:21 03:27:01 ens3 0.93 1.12 0.16 0.17 0.00 0.00 0.00 0.00 05:01:21 03:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:27:01 lo 18.37 18.37 8.05 8.05 0.00 0.00 0.00 0.00 05:01:21 03:28:01 ens3 2.22 2.62 0.89 0.81 0.00 0.00 0.00 0.00 05:01:21 03:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:28:01 lo 24.13 24.13 7.92 7.92 0.00 0.00 0.00 0.00 05:01:21 03:29:01 ens3 1.60 1.88 0.27 0.30 0.00 0.00 0.00 0.00 05:01:21 03:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:29:01 lo 14.33 14.33 9.93 9.93 0.00 0.00 0.00 0.00 05:01:21 03:30:01 ens3 1.45 1.52 0.54 0.44 0.00 0.00 0.00 0.00 05:01:21 03:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:30:01 lo 14.58 14.58 4.72 4.72 0.00 0.00 0.00 0.00 05:01:21 03:31:01 ens3 0.78 0.85 0.12 0.12 0.00 0.00 0.00 0.00 05:01:21 03:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:31:01 lo 9.03 9.03 4.18 4.18 0.00 0.00 0.00 0.00 05:01:21 03:32:01 ens3 1.67 1.43 0.28 0.23 0.00 0.00 0.00 0.00 05:01:21 03:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:32:01 lo 20.28 20.28 9.14 9.14 0.00 0.00 0.00 0.00 05:01:21 03:33:01 ens3 1.23 1.32 0.44 0.39 0.00 0.00 0.00 0.00 05:01:21 03:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:33:01 lo 5.88 5.88 6.40 6.40 0.00 0.00 0.00 0.00 05:01:21 03:34:01 ens3 0.80 0.75 0.11 0.13 0.00 0.00 0.00 0.00 05:01:21 03:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:34:01 lo 7.73 7.73 2.86 2.86 0.00 0.00 0.00 0.00 05:01:21 03:35:01 ens3 0.95 0.92 0.26 0.20 0.00 0.00 0.00 0.00 05:01:21 03:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:35:01 lo 4.27 4.27 1.03 1.03 0.00 0.00 0.00 0.00 05:01:21 03:36:01 ens3 0.62 0.68 0.10 0.11 0.00 0.00 0.00 0.00 05:01:21 03:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:36:01 lo 28.25 28.25 9.56 9.56 0.00 0.00 0.00 0.00 05:01:21 03:37:01 ens3 0.37 0.08 0.02 0.01 0.00 0.00 0.00 0.00 05:01:21 03:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:01:21 03:38:01 ens3 0.17 0.02 0.01 0.00 0.00 0.00 0.00 0.00 05:01:21 03:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:39:01 ens3 0.45 0.37 0.05 0.05 0.00 0.00 0.00 0.00 05:01:21 03:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:39:01 lo 1.25 1.25 0.11 0.11 0.00 0.00 0.00 0.00 05:01:21 03:40:01 ens3 1.08 1.17 0.28 0.23 0.00 0.00 0.00 0.00 05:01:21 03:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:40:01 lo 16.23 16.23 11.49 11.49 0.00 0.00 0.00 0.00 05:01:21 03:41:01 ens3 0.88 0.80 0.12 0.11 0.00 0.00 0.00 0.00 05:01:21 03:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:41:01 lo 11.40 11.40 12.98 12.98 0.00 0.00 0.00 0.00 05:01:21 03:42:01 ens3 1.00 1.27 0.24 0.19 0.00 0.00 0.00 0.00 05:01:21 03:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:42:01 lo 18.76 18.76 10.35 10.35 0.00 0.00 0.00 0.00 05:01:21 03:43:01 ens3 1.10 1.02 0.15 0.14 0.00 0.00 0.00 0.00 05:01:21 03:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:43:01 lo 23.66 23.66 10.36 10.36 0.00 0.00 0.00 0.00 05:01:21 03:44:01 ens3 0.72 0.78 0.13 0.12 0.00 0.00 0.00 0.00 05:01:21 03:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:44:01 lo 45.43 45.43 14.35 14.35 0.00 0.00 0.00 0.00 05:01:21 03:45:01 ens3 1.07 0.92 0.27 0.22 0.00 0.00 0.00 0.00 05:01:21 03:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:45:01 lo 24.35 24.35 7.12 7.12 0.00 0.00 0.00 0.00 05:01:21 03:46:01 ens3 0.92 0.67 0.13 0.11 0.00 0.00 0.00 0.00 05:01:21 03:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:46:01 lo 16.25 16.25 15.60 15.60 0.00 0.00 0.00 0.00 05:01:21 03:47:01 ens3 0.58 0.45 0.10 0.08 0.00 0.00 0.00 0.00 05:01:21 03:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:47:01 lo 20.18 20.18 9.25 9.25 0.00 0.00 0.00 0.00 05:01:21 03:48:01 ens3 0.85 0.93 0.16 0.15 0.00 0.00 0.00 0.00 05:01:21 03:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:48:01 lo 9.13 9.13 5.91 5.91 0.00 0.00 0.00 0.00 05:01:21 03:49:01 ens3 0.48 0.58 0.09 0.09 0.00 0.00 0.00 0.00 05:01:21 03:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:49:01 lo 16.00 16.00 7.53 7.53 0.00 0.00 0.00 0.00 05:01:21 03:50:01 ens3 0.97 1.00 0.26 0.20 0.00 0.00 0.00 0.00 05:01:21 03:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:50:01 lo 29.93 29.93 12.15 12.15 0.00 0.00 0.00 0.00 05:01:21 03:51:01 ens3 1.05 0.28 0.13 0.04 0.00 0.00 0.00 0.00 05:01:21 03:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:51:01 lo 11.83 11.83 5.10 5.10 0.00 0.00 0.00 0.00 05:01:21 03:52:01 ens3 1.00 1.13 0.43 0.38 0.00 0.00 0.00 0.00 05:01:21 03:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:52:01 lo 15.18 15.18 6.44 6.44 0.00 0.00 0.00 0.00 05:01:21 03:53:01 ens3 1.22 0.37 0.17 0.06 0.00 0.00 0.00 0.00 05:01:21 03:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:53:01 lo 24.68 24.68 9.31 9.31 0.00 0.00 0.00 0.00 05:01:21 03:54:01 ens3 2.67 0.27 0.58 0.23 0.00 0.00 0.00 0.00 05:01:21 03:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:54:01 lo 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:01:21 03:55:01 ens3 0.85 0.43 0.45 0.30 0.00 0.00 0.00 0.00 05:01:21 03:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:55:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 05:01:21 03:56:01 ens3 0.32 0.07 0.02 0.01 0.00 0.00 0.00 0.00 05:01:21 03:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:56:01 lo 0.40 0.40 0.03 0.03 0.00 0.00 0.00 0.00 05:01:21 03:57:01 ens3 0.90 0.90 0.13 0.15 0.00 0.00 0.00 0.00 05:01:21 03:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:57:01 lo 16.15 16.15 6.90 6.90 0.00 0.00 0.00 0.00 05:01:21 03:58:01 ens3 7.77 0.83 0.97 0.15 0.00 0.00 0.00 0.00 05:01:21 03:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:58:01 lo 39.59 39.59 12.78 12.78 0.00 0.00 0.00 0.00 05:01:21 03:59:01 ens3 1.37 0.78 0.61 0.47 0.00 0.00 0.00 0.00 05:01:21 03:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 03:59:01 lo 45.96 45.96 13.68 13.68 0.00 0.00 0.00 0.00 05:01:21 04:00:01 ens3 1.45 0.57 0.28 0.16 0.00 0.00 0.00 0.00 05:01:21 04:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:00:01 lo 31.01 31.01 8.96 8.96 0.00 0.00 0.00 0.00 05:01:21 04:01:01 ens3 13.03 0.27 1.63 0.04 0.00 0.00 0.00 0.00 05:01:21 04:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:01:01 lo 22.58 22.58 6.95 6.95 0.00 0.00 0.00 0.00 05:01:21 04:02:01 ens3 1.40 0.00 0.08 0.00 0.00 0.00 0.00 0.00 05:01:21 04:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:02:01 lo 30.74 30.74 8.57 8.57 0.00 0.00 0.00 0.00 05:01:21 04:03:01 ens3 0.87 0.13 0.06 0.01 0.00 0.00 0.00 0.00 05:01:21 04:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:03:01 lo 58.24 58.24 18.65 18.65 0.00 0.00 0.00 0.00 05:01:21 04:04:01 ens3 0.35 0.15 0.04 0.02 0.00 0.00 0.00 0.00 05:01:21 04:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:04:01 lo 23.48 23.48 6.77 6.77 0.00 0.00 0.00 0.00 05:01:21 04:05:01 ens3 1.25 0.23 0.19 0.08 0.00 0.00 0.00 0.00 05:01:21 04:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:05:01 lo 0.33 0.33 0.02 0.02 0.00 0.00 0.00 0.00 05:01:21 04:06:01 ens3 0.30 0.02 0.02 0.00 0.00 0.00 0.00 0.00 05:01:21 04:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:06:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 05:01:21 04:07:01 ens3 1.18 0.50 0.11 0.07 0.00 0.00 0.00 0.00 05:01:21 04:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:07:01 lo 1.83 1.83 0.16 0.16 0.00 0.00 0.00 0.00 05:01:21 04:08:01 ens3 2.77 0.60 0.20 0.10 0.00 0.00 0.00 0.00 05:01:21 04:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:08:01 lo 22.33 22.33 22.35 22.35 0.00 0.00 0.00 0.00 05:01:21 04:09:01 ens3 1.78 0.57 0.17 0.11 0.00 0.00 0.00 0.00 05:01:21 04:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:09:01 lo 33.78 33.78 13.90 13.90 0.00 0.00 0.00 0.00 05:01:21 04:10:01 ens3 0.92 0.68 0.26 0.18 0.00 0.00 0.00 0.00 05:01:21 04:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:10:01 lo 16.93 16.93 7.50 7.50 0.00 0.00 0.00 0.00 05:01:21 04:11:01 ens3 4.02 0.70 0.48 0.13 0.00 0.00 0.00 0.00 05:01:21 04:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:11:01 lo 11.50 11.50 4.78 4.78 0.00 0.00 0.00 0.00 05:01:21 04:12:01 ens3 4.47 0.73 1.03 0.49 0.00 0.00 0.00 0.00 05:01:21 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:12:01 lo 36.19 36.19 14.18 14.18 0.00 0.00 0.00 0.00 05:01:21 04:13:01 ens3 0.92 0.77 0.15 0.13 0.00 0.00 0.00 0.00 05:01:21 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:13:01 lo 19.71 19.71 7.07 7.07 0.00 0.00 0.00 0.00 05:01:21 04:14:01 ens3 9.23 0.47 1.27 0.07 0.00 0.00 0.00 0.00 05:01:21 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:14:01 lo 23.29 23.29 9.52 9.52 0.00 0.00 0.00 0.00 05:01:21 04:15:01 ens3 2.52 0.58 0.36 0.13 0.00 0.00 0.00 0.00 05:01:21 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:15:01 lo 16.00 16.00 6.63 6.63 0.00 0.00 0.00 0.00 05:01:21 04:16:01 ens3 1.25 0.02 0.10 0.00 0.00 0.00 0.00 0.00 05:01:21 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:16:01 lo 0.40 0.40 0.05 0.05 0.00 0.00 0.00 0.00 05:01:21 04:17:01 ens3 0.82 0.38 0.28 0.21 0.00 0.00 0.00 0.00 05:01:21 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:17:01 lo 0.42 0.42 0.03 0.03 0.00 0.00 0.00 0.00 05:01:21 04:18:01 ens3 1.22 0.43 0.10 0.06 0.00 0.00 0.00 0.00 05:01:21 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:18:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 05:01:21 04:19:01 ens3 1.12 0.78 0.12 0.10 0.00 0.00 0.00 0.00 05:01:21 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:19:01 lo 22.15 22.15 22.32 22.32 0.00 0.00 0.00 0.00 05:01:21 04:20:01 ens3 1.37 1.07 0.29 0.21 0.00 0.00 0.00 0.00 05:01:21 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:20:01 lo 31.78 31.78 13.11 13.11 0.00 0.00 0.00 0.00 05:01:21 04:21:01 ens3 2.53 0.38 0.23 0.06 0.00 0.00 0.00 0.00 05:01:21 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:21:01 lo 21.08 21.08 10.55 10.55 0.00 0.00 0.00 0.00 05:01:21 04:22:01 ens3 2.07 0.90 0.47 0.34 0.00 0.00 0.00 0.00 05:01:21 04:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:22:01 lo 9.83 9.83 5.67 5.67 0.00 0.00 0.00 0.00 05:01:21 04:23:01 ens3 0.98 0.57 0.14 0.11 0.00 0.00 0.00 0.00 05:01:21 04:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:23:01 lo 24.53 24.53 12.62 12.62 0.00 0.00 0.00 0.00 05:01:21 04:24:01 ens3 2.17 0.43 0.28 0.09 0.00 0.00 0.00 0.00 05:01:21 04:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:24:01 lo 8.30 8.30 5.72 5.72 0.00 0.00 0.00 0.00 05:01:21 04:25:01 ens3 1.47 0.57 0.28 0.15 0.00 0.00 0.00 0.00 05:01:21 04:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:25:01 lo 11.56 11.56 5.79 5.79 0.00 0.00 0.00 0.00 05:01:21 04:26:01 ens3 1.00 0.50 0.36 0.26 0.00 0.00 0.00 0.00 05:01:21 04:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:26:01 lo 20.53 20.53 11.11 11.11 0.00 0.00 0.00 0.00 05:01:21 04:27:01 ens3 0.45 0.25 0.05 0.04 0.00 0.00 0.00 0.00 05:01:21 04:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:27:01 lo 40.26 40.26 13.99 13.99 0.00 0.00 0.00 0.00 05:01:21 04:28:01 ens3 2.13 1.98 0.85 0.74 0.00 0.00 0.00 0.00 05:01:21 04:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:28:01 lo 5.31 5.31 2.62 2.62 0.00 0.00 0.00 0.00 05:01:21 04:29:01 ens3 1.00 0.60 0.12 0.09 0.00 0.00 0.00 0.00 05:01:21 04:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:29:01 lo 10.95 10.95 10.24 10.24 0.00 0.00 0.00 0.00 05:01:21 04:30:01 ens3 1.83 1.50 0.60 0.47 0.00 0.00 0.00 0.00 05:01:21 04:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:30:01 lo 18.56 18.56 5.92 5.92 0.00 0.00 0.00 0.00 05:01:21 04:31:01 ens3 3.77 0.82 0.35 0.11 0.00 0.00 0.00 0.00 05:01:21 04:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:31:01 lo 9.60 9.60 5.19 5.19 0.00 0.00 0.00 0.00 05:01:21 04:32:01 ens3 8.42 1.82 1.01 0.48 0.00 0.00 0.00 0.00 05:01:21 04:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:32:01 lo 21.70 21.70 10.97 10.97 0.00 0.00 0.00 0.00 05:01:21 04:33:01 ens3 3.98 1.17 0.76 0.53 0.00 0.00 0.00 0.00 05:01:21 04:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:33:01 lo 14.61 14.61 6.68 6.68 0.00 0.00 0.00 0.00 05:01:21 04:34:01 ens3 2.97 0.92 0.41 0.17 0.00 0.00 0.00 0.00 05:01:21 04:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:34:01 lo 11.31 11.31 2.75 2.75 0.00 0.00 0.00 0.00 05:01:21 04:35:01 ens3 3.88 0.87 0.63 0.20 0.00 0.00 0.00 0.00 05:01:21 04:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:35:01 lo 31.24 31.24 14.05 14.05 0.00 0.00 0.00 0.00 05:01:21 04:36:01 ens3 1.15 0.48 0.14 0.10 0.00 0.00 0.00 0.00 05:01:21 04:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:36:01 lo 32.31 32.31 9.08 9.08 0.00 0.00 0.00 0.00 05:01:21 04:37:01 ens3 1.07 0.70 0.14 0.12 0.00 0.00 0.00 0.00 05:01:21 04:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:37:01 lo 16.77 16.77 4.85 4.85 0.00 0.00 0.00 0.00 05:01:21 04:38:01 ens3 1.08 0.70 0.16 0.13 0.00 0.00 0.00 0.00 05:01:21 04:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:38:01 lo 33.19 33.19 13.68 13.68 0.00 0.00 0.00 0.00 05:01:21 04:39:01 ens3 1.10 0.47 0.17 0.09 0.00 0.00 0.00 0.00 05:01:21 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:39:01 lo 32.99 32.99 9.74 9.74 0.00 0.00 0.00 0.00 05:01:21 04:40:01 ens3 0.82 0.37 0.21 0.12 0.00 0.00 0.00 0.00 05:01:21 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:40:01 lo 25.03 25.03 7.87 7.87 0.00 0.00 0.00 0.00 05:01:21 04:41:01 ens3 4.25 0.38 0.61 0.06 0.00 0.00 0.00 0.00 05:01:21 04:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:41:01 lo 24.50 24.50 6.81 6.81 0.00 0.00 0.00 0.00 05:01:21 04:42:01 ens3 4.38 1.68 0.86 7.61 0.00 0.00 0.00 0.00 05:01:21 04:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:42:01 lo 24.13 24.13 7.52 7.52 0.00 0.00 0.00 0.00 05:01:21 04:43:01 ens3 1.03 0.00 0.05 0.00 0.00 0.00 0.00 0.00 05:01:21 04:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:43:01 lo 18.44 18.44 4.98 4.98 0.00 0.00 0.00 0.00 05:01:21 04:44:01 ens3 2.20 0.13 0.32 0.01 0.00 0.00 0.00 0.00 05:01:21 04:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:44:01 lo 22.38 22.38 6.18 6.18 0.00 0.00 0.00 0.00 05:01:21 04:45:01 ens3 5.46 2.57 0.65 3.55 0.00 0.00 0.00 0.00 05:01:21 04:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:45:01 lo 22.24 22.24 6.37 6.37 0.00 0.00 0.00 0.00 05:01:21 04:46:01 ens3 2.10 1.95 0.81 0.70 0.00 0.00 0.00 0.00 05:01:21 04:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:46:01 lo 11.38 11.38 2.58 2.58 0.00 0.00 0.00 0.00 05:01:21 04:47:01 ens3 0.90 0.48 0.09 0.07 0.00 0.00 0.00 0.00 05:01:21 04:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:47:01 lo 34.74 34.74 32.61 32.61 0.00 0.00 0.00 0.00 05:01:21 04:48:01 ens3 2.00 1.65 0.33 0.32 0.00 0.00 0.00 0.00 05:01:21 04:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:48:01 lo 36.06 36.06 14.43 14.43 0.00 0.00 0.00 0.00 05:01:21 04:49:01 ens3 1.10 0.72 0.12 0.10 0.00 0.00 0.00 0.00 05:01:21 04:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:49:01 lo 3.57 3.57 0.81 0.81 0.00 0.00 0.00 0.00 05:01:21 04:50:01 ens3 1.68 1.50 0.35 0.29 0.00 0.00 0.00 0.00 05:01:21 04:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:50:01 lo 37.91 37.91 19.42 19.42 0.00 0.00 0.00 0.00 05:01:21 04:51:01 ens3 2.57 0.98 0.33 0.16 0.00 0.00 0.00 0.00 05:01:21 04:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:51:01 lo 12.43 12.43 5.48 5.48 0.00 0.00 0.00 0.00 05:01:21 04:52:01 ens3 3.48 0.98 0.59 0.34 0.00 0.00 0.00 0.00 05:01:21 04:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:52:01 lo 21.13 21.13 7.78 7.78 0.00 0.00 0.00 0.00 05:01:21 04:53:01 ens3 1.35 1.02 0.46 0.37 0.00 0.00 0.00 0.00 05:01:21 04:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:53:01 lo 17.60 17.60 7.44 7.44 0.00 0.00 0.00 0.00 05:01:21 04:54:01 ens3 4.00 0.80 0.60 0.17 0.00 0.00 0.00 0.00 05:01:21 04:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:54:01 lo 31.49 31.49 10.55 10.55 0.00 0.00 0.00 0.00 05:01:21 04:55:01 ens3 3.67 1.13 2.72 0.41 0.00 0.00 0.00 0.00 05:01:21 04:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:55:01 lo 37.11 37.11 13.11 13.11 0.00 0.00 0.00 0.00 05:01:21 04:56:01 ens3 1.30 1.07 0.17 0.17 0.00 0.00 0.00 0.00 05:01:21 04:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:56:01 lo 17.03 17.03 5.06 5.06 0.00 0.00 0.00 0.00 05:01:21 04:57:01 ens3 1.22 0.85 0.15 0.13 0.00 0.00 0.00 0.00 05:01:21 04:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:57:01 lo 41.01 41.01 20.60 20.60 0.00 0.00 0.00 0.00 05:01:21 04:58:01 ens3 1.27 1.18 0.19 0.19 0.00 0.00 0.00 0.00 05:01:21 04:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:58:01 lo 41.28 41.28 15.16 15.16 0.00 0.00 0.00 0.00 05:01:21 04:59:01 ens3 0.83 0.37 0.08 0.06 0.00 0.00 0.00 0.00 05:01:21 04:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 04:59:01 lo 58.96 58.96 20.14 20.14 0.00 0.00 0.00 0.00 05:01:21 05:00:01 ens3 1.13 1.02 0.26 0.20 0.00 0.00 0.00 0.00 05:01:21 05:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 05:00:01 lo 75.52 75.52 24.69 24.69 0.00 0.00 0.00 0.00 05:01:21 05:01:01 ens3 124.61 98.82 1610.39 16.60 0.00 0.00 0.00 0.00 05:01:21 05:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 05:01:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 05:01:21 Average: ens3 13.71 9.34 165.47 1.61 0.00 0.00 0.00 0.00 05:01:21 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:01:21 Average: lo 17.78 17.78 7.88 7.88 0.00 0.00 0.00 0.00 05:01:21 05:01:21 05:01:21 ---> sar -P ALL: 05:01:21 Linux 5.4.0-200-generic (prd-ubuntu2004-docker-4c-16g-12099) 12/02/24 _x86_64_ (4 CPU) 05:01:21 05:01:21 02:48:52 LINUX RESTART (4 CPU) 05:01:21 05:01:21 02:49:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 02:50:01 all 12.74 16.73 14.96 6.19 0.15 49.23 05:01:21 02:50:01 0 10.87 17.21 15.15 7.01 0.14 49.63 05:01:21 02:50:01 1 14.15 15.81 14.89 11.39 0.17 43.58 05:01:21 02:50:01 2 15.23 16.99 14.39 2.95 0.15 50.29 05:01:21 02:50:01 3 10.72 16.92 15.41 3.39 0.14 53.42 05:01:21 02:51:01 all 18.49 5.62 5.45 4.39 0.13 65.92 05:01:21 02:51:01 0 32.94 5.32 6.11 3.41 0.19 52.04 05:01:21 02:51:01 1 21.46 5.31 5.56 8.45 0.13 59.09 05:01:21 02:51:01 2 16.44 4.97 4.99 1.46 0.10 72.04 05:01:21 02:51:01 3 3.22 6.88 5.16 4.21 0.10 80.43 05:01:21 02:52:01 all 70.11 0.00 4.94 5.39 0.11 19.45 05:01:21 02:52:01 0 70.42 0.00 5.10 4.24 0.12 20.13 05:01:21 02:52:01 1 67.27 0.00 4.73 7.35 0.12 20.53 05:01:21 02:52:01 2 72.64 0.00 4.72 5.14 0.10 17.39 05:01:21 02:52:01 3 70.12 0.00 5.20 4.81 0.12 19.75 05:01:21 02:53:01 all 58.19 0.00 2.08 2.17 0.15 37.42 05:01:21 02:53:01 0 48.26 0.00 2.68 3.97 0.18 44.91 05:01:21 02:53:01 1 65.92 0.00 2.52 1.61 0.10 29.84 05:01:21 02:53:01 2 59.01 0.00 1.66 2.62 0.17 36.55 05:01:21 02:53:01 3 59.63 0.00 1.44 0.46 0.14 38.33 05:01:21 02:54:01 all 78.22 0.00 4.41 7.17 0.14 10.06 05:01:21 02:54:01 0 77.32 0.00 4.16 6.66 0.14 11.72 05:01:21 02:54:01 1 80.81 0.00 3.89 4.24 0.14 10.93 05:01:21 02:54:01 2 78.45 0.00 4.61 9.74 0.15 7.05 05:01:21 02:54:01 3 76.25 0.00 4.97 8.09 0.15 10.53 05:01:21 02:55:01 all 62.75 0.00 4.27 17.90 0.13 14.94 05:01:21 02:55:01 0 64.39 0.00 4.48 18.75 0.13 12.24 05:01:21 02:55:01 1 56.80 0.00 4.59 10.08 0.12 28.41 05:01:21 02:55:01 2 67.00 0.00 4.51 21.75 0.15 6.59 05:01:21 02:55:01 3 62.81 0.00 3.50 21.05 0.14 12.51 05:01:21 02:56:01 all 68.20 0.00 2.60 12.08 0.12 17.00 05:01:21 02:56:01 0 73.00 0.00 2.77 6.04 0.10 18.09 05:01:21 02:56:01 1 66.20 0.00 2.73 16.02 0.12 14.94 05:01:21 02:56:01 2 66.43 0.00 2.59 14.85 0.10 16.04 05:01:21 02:56:01 3 67.17 0.00 2.33 11.38 0.15 18.96 05:01:21 02:57:01 all 10.99 0.00 0.57 0.45 0.13 87.85 05:01:21 02:57:01 0 11.96 0.00 0.47 1.59 0.10 85.87 05:01:21 02:57:01 1 10.59 0.00 0.49 0.03 0.12 88.77 05:01:21 02:57:01 2 10.93 0.00 0.69 0.07 0.17 88.15 05:01:21 02:57:01 3 10.49 0.00 0.64 0.12 0.15 88.60 05:01:21 02:58:01 all 39.10 0.00 1.25 0.62 0.15 58.88 05:01:21 02:58:01 0 42.97 0.00 1.12 0.52 0.15 55.24 05:01:21 02:58:01 1 40.11 0.00 1.60 1.54 0.13 56.61 05:01:21 02:58:01 2 41.26 0.00 1.17 0.42 0.13 57.02 05:01:21 02:58:01 3 32.08 0.00 1.11 0.02 0.18 66.61 05:01:21 02:59:01 all 27.20 0.00 0.99 0.67 0.14 71.00 05:01:21 02:59:01 0 25.43 0.00 1.02 0.35 0.13 73.06 05:01:21 02:59:01 1 25.82 0.00 0.79 0.07 0.13 73.19 05:01:21 02:59:01 2 27.61 0.00 0.97 1.96 0.15 69.31 05:01:21 02:59:01 3 29.92 0.00 1.19 0.32 0.15 68.43 05:01:21 03:00:01 all 76.03 0.00 2.54 0.97 0.19 20.27 05:01:21 03:00:01 0 69.43 0.00 2.52 1.26 0.20 26.60 05:01:21 03:00:01 1 77.34 0.00 3.30 1.36 0.18 17.82 05:01:21 03:00:01 2 75.88 0.00 2.05 0.76 0.20 21.12 05:01:21 03:00:01 3 81.45 0.00 2.29 0.50 0.18 15.58 05:01:21 05:01:21 03:00:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:01:01 all 39.97 0.00 1.70 0.30 0.13 57.89 05:01:21 03:01:01 0 25.36 0.00 1.87 0.18 0.15 72.43 05:01:21 03:01:01 1 42.55 0.00 1.87 0.03 0.15 55.39 05:01:21 03:01:01 2 49.14 0.00 1.60 0.37 0.10 48.79 05:01:21 03:01:01 3 42.78 0.00 1.45 0.63 0.13 55.01 05:01:21 03:02:01 all 6.44 0.00 0.36 0.04 0.11 93.04 05:01:21 03:02:01 0 6.63 0.00 0.36 0.00 0.14 92.88 05:01:21 03:02:01 1 5.47 0.00 0.32 0.07 0.09 94.05 05:01:21 03:02:01 2 7.20 0.00 0.37 0.00 0.14 92.29 05:01:21 03:02:01 3 6.47 0.00 0.39 0.10 0.10 92.94 05:01:21 03:03:01 all 3.11 0.00 0.31 0.01 0.11 96.46 05:01:21 03:03:01 0 3.14 0.00 0.30 0.00 0.10 96.46 05:01:21 03:03:01 1 3.12 0.00 0.27 0.02 0.12 96.48 05:01:21 03:03:01 2 2.68 0.00 0.25 0.00 0.12 96.96 05:01:21 03:03:01 3 3.49 0.00 0.43 0.03 0.12 95.92 05:01:21 03:04:01 all 1.06 0.00 0.20 0.01 0.11 98.63 05:01:21 03:04:01 0 0.40 0.00 0.20 0.00 0.10 99.30 05:01:21 03:04:01 1 2.49 0.00 0.25 0.00 0.10 97.17 05:01:21 03:04:01 2 0.55 0.00 0.20 0.00 0.12 99.13 05:01:21 03:04:01 3 0.77 0.00 0.15 0.03 0.12 98.93 05:01:21 03:05:01 all 0.89 0.00 0.23 0.02 0.10 98.76 05:01:21 03:05:01 0 0.49 0.00 0.27 0.05 0.10 99.10 05:01:21 03:05:01 1 1.41 0.00 0.17 0.00 0.08 98.34 05:01:21 03:05:01 2 1.07 0.00 0.30 0.00 0.12 98.51 05:01:21 03:05:01 3 0.59 0.00 0.20 0.03 0.10 99.08 05:01:21 03:06:01 all 35.92 0.00 1.44 0.55 0.14 61.95 05:01:21 03:06:01 0 28.36 0.00 1.52 0.57 0.15 69.40 05:01:21 03:06:01 1 37.34 0.00 1.62 0.92 0.12 60.00 05:01:21 03:06:01 2 39.38 0.00 1.14 0.70 0.12 58.66 05:01:21 03:06:01 3 38.62 0.00 1.46 0.02 0.17 59.74 05:01:21 03:07:01 all 64.21 0.00 1.95 0.32 0.14 33.38 05:01:21 03:07:01 0 65.61 0.00 2.41 0.70 0.15 31.13 05:01:21 03:07:01 1 64.18 0.00 1.73 0.02 0.13 33.94 05:01:21 03:07:01 2 63.22 0.00 1.74 0.23 0.15 34.65 05:01:21 03:07:01 3 63.83 0.00 1.91 0.33 0.13 33.80 05:01:21 03:08:01 all 11.41 0.00 0.37 0.01 0.10 88.11 05:01:21 03:08:01 0 12.37 0.00 0.39 0.03 0.08 87.13 05:01:21 03:08:01 1 11.39 0.00 0.29 0.00 0.10 88.22 05:01:21 03:08:01 2 10.78 0.00 0.42 0.00 0.12 88.68 05:01:21 03:08:01 3 11.08 0.00 0.39 0.00 0.10 88.43 05:01:21 03:09:01 all 2.64 0.00 0.16 0.05 0.11 97.04 05:01:21 03:09:01 0 2.48 0.00 0.15 0.15 0.13 97.08 05:01:21 03:09:01 1 2.86 0.00 0.13 0.00 0.08 96.92 05:01:21 03:09:01 2 2.87 0.00 0.18 0.03 0.10 96.81 05:01:21 03:09:01 3 2.34 0.00 0.18 0.00 0.12 97.36 05:01:21 03:10:01 all 3.89 0.00 0.27 0.01 0.09 95.74 05:01:21 03:10:01 0 3.59 0.00 0.20 0.05 0.07 96.09 05:01:21 03:10:01 1 2.91 0.00 0.23 0.00 0.05 96.81 05:01:21 03:10:01 2 4.66 0.00 0.29 0.00 0.12 94.94 05:01:21 03:10:01 3 4.39 0.00 0.35 0.00 0.12 95.14 05:01:21 03:11:01 all 0.90 0.00 0.13 0.01 0.10 98.87 05:01:21 03:11:01 0 0.27 0.00 0.12 0.03 0.07 99.51 05:01:21 03:11:01 1 0.37 0.00 0.07 0.00 0.10 99.46 05:01:21 03:11:01 2 2.49 0.00 0.18 0.00 0.10 97.22 05:01:21 03:11:01 3 0.44 0.00 0.15 0.00 0.12 99.29 05:01:21 05:01:21 03:11:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:12:01 all 0.49 0.00 0.14 0.01 0.13 99.24 05:01:21 03:12:01 0 0.85 0.00 0.12 0.02 0.07 98.95 05:01:21 03:12:01 1 0.33 0.00 0.20 0.02 0.08 99.36 05:01:21 03:12:01 2 0.52 0.00 0.08 0.00 0.20 99.20 05:01:21 03:12:01 3 0.24 0.00 0.17 0.00 0.15 99.44 05:01:21 03:13:01 all 0.37 0.00 0.11 0.01 0.09 99.42 05:01:21 03:13:01 0 0.34 0.00 0.13 0.03 0.10 99.39 05:01:21 03:13:01 1 0.40 0.00 0.07 0.00 0.07 99.46 05:01:21 03:13:01 2 0.22 0.00 0.12 0.00 0.08 99.58 05:01:21 03:13:01 3 0.54 0.00 0.12 0.00 0.10 99.25 05:01:21 03:14:01 all 43.27 0.00 1.40 0.27 0.09 54.96 05:01:21 03:14:01 0 41.46 0.00 1.60 0.47 0.08 56.39 05:01:21 03:14:01 1 42.84 0.00 1.27 0.00 0.10 55.79 05:01:21 03:14:01 2 45.65 0.00 1.10 0.00 0.08 53.16 05:01:21 03:14:01 3 43.15 0.00 1.63 0.62 0.10 54.50 05:01:21 03:15:01 all 53.40 0.00 1.47 0.34 0.10 44.67 05:01:21 03:15:01 0 53.98 0.00 1.61 1.21 0.10 43.10 05:01:21 03:15:01 1 53.13 0.00 1.64 0.07 0.10 45.07 05:01:21 03:15:01 2 54.78 0.00 1.46 0.00 0.10 43.67 05:01:21 03:15:01 3 51.73 0.00 1.19 0.10 0.12 46.86 05:01:21 03:16:01 all 7.29 0.00 0.32 0.03 0.09 92.28 05:01:21 03:16:01 0 7.85 0.00 0.32 0.05 0.08 91.69 05:01:21 03:16:01 1 7.47 0.00 0.33 0.03 0.10 92.07 05:01:21 03:16:01 2 7.37 0.00 0.27 0.00 0.10 92.27 05:01:21 03:16:01 3 6.47 0.00 0.35 0.02 0.08 93.08 05:01:21 03:17:01 all 1.67 0.00 0.16 0.01 0.10 98.06 05:01:21 03:17:01 0 1.73 0.00 0.24 0.03 0.08 97.92 05:01:21 03:17:01 1 1.63 0.00 0.10 0.00 0.08 98.19 05:01:21 03:17:01 2 2.30 0.00 0.18 0.00 0.13 97.38 05:01:21 03:17:01 3 1.02 0.00 0.10 0.02 0.10 98.76 05:01:21 03:18:01 all 3.69 0.00 0.26 0.01 0.10 95.94 05:01:21 03:18:01 0 3.95 0.00 0.33 0.03 0.10 95.58 05:01:21 03:18:01 1 3.79 0.00 0.27 0.00 0.10 95.84 05:01:21 03:18:01 2 4.27 0.00 0.20 0.00 0.10 95.43 05:01:21 03:18:01 3 2.74 0.00 0.24 0.02 0.10 96.91 05:01:21 03:19:01 all 58.42 0.00 1.92 0.35 0.11 39.19 05:01:21 03:19:01 0 54.39 0.00 1.97 0.72 0.10 42.82 05:01:21 03:19:01 1 58.10 0.00 1.56 0.00 0.12 40.22 05:01:21 03:19:01 2 61.09 0.00 1.93 0.64 0.12 36.23 05:01:21 03:19:01 3 60.11 0.00 2.21 0.05 0.12 37.51 05:01:21 03:20:01 all 38.98 0.00 1.19 0.37 0.12 59.34 05:01:21 03:20:01 0 39.32 0.00 1.07 0.89 0.12 58.60 05:01:21 03:20:01 1 38.73 0.00 1.02 0.22 0.12 59.91 05:01:21 03:20:01 2 40.13 0.00 1.38 0.34 0.10 58.05 05:01:21 03:20:01 3 37.75 0.00 1.27 0.03 0.15 60.80 05:01:21 03:21:01 all 24.27 0.00 1.07 0.52 0.11 74.04 05:01:21 03:21:01 0 24.32 0.00 0.99 1.68 0.12 72.89 05:01:21 03:21:01 1 28.02 0.00 1.63 0.20 0.10 70.05 05:01:21 03:21:01 2 22.66 0.00 0.85 0.07 0.13 76.28 05:01:21 03:21:01 3 22.08 0.00 0.80 0.12 0.08 76.92 05:01:21 03:22:01 all 54.00 0.00 1.67 1.58 0.12 42.64 05:01:21 03:22:01 0 52.50 0.00 1.60 1.42 0.12 44.36 05:01:21 03:22:01 1 52.92 0.00 1.66 3.86 0.12 41.45 05:01:21 03:22:01 2 55.22 0.00 1.81 0.08 0.12 42.78 05:01:21 03:22:01 3 55.38 0.00 1.61 0.94 0.12 41.95 05:01:21 05:01:21 03:22:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:23:01 all 8.43 0.00 0.36 0.02 0.11 91.07 05:01:21 03:23:01 0 8.53 0.00 0.38 0.07 0.13 90.89 05:01:21 03:23:01 1 8.60 0.00 0.27 0.00 0.08 91.05 05:01:21 03:23:01 2 8.73 0.00 0.48 0.00 0.12 90.67 05:01:21 03:23:01 3 7.86 0.00 0.32 0.02 0.12 91.69 05:01:21 03:24:01 all 2.76 0.00 0.28 0.01 0.09 96.86 05:01:21 03:24:01 0 2.64 0.00 0.25 0.05 0.08 96.98 05:01:21 03:24:01 1 2.98 0.00 0.28 0.00 0.08 96.65 05:01:21 03:24:01 2 2.67 0.00 0.30 0.00 0.10 96.93 05:01:21 03:24:01 3 2.75 0.00 0.27 0.00 0.10 96.89 05:01:21 03:25:01 all 41.77 0.00 1.33 0.33 0.13 56.44 05:01:21 03:25:01 0 43.09 0.00 1.57 0.94 0.12 54.29 05:01:21 03:25:01 1 38.14 0.00 1.13 0.03 0.12 60.58 05:01:21 03:25:01 2 44.47 0.00 1.39 0.32 0.12 53.71 05:01:21 03:25:01 3 41.41 0.00 1.22 0.03 0.15 57.18 05:01:21 03:26:01 all 4.76 0.00 0.32 0.01 0.10 94.81 05:01:21 03:26:01 0 4.33 0.00 0.27 0.03 0.10 95.27 05:01:21 03:26:01 1 4.46 0.00 0.32 0.02 0.08 95.12 05:01:21 03:26:01 2 5.42 0.00 0.30 0.00 0.10 94.18 05:01:21 03:26:01 3 4.84 0.00 0.40 0.00 0.10 94.66 05:01:21 03:27:01 all 32.38 0.00 1.18 0.30 0.13 66.02 05:01:21 03:27:01 0 31.89 0.00 1.14 0.27 0.12 66.58 05:01:21 03:27:01 1 33.34 0.00 1.04 0.48 0.12 65.03 05:01:21 03:27:01 2 33.00 0.00 1.19 0.03 0.17 65.61 05:01:21 03:27:01 3 31.27 0.00 1.35 0.40 0.12 66.86 05:01:21 03:28:01 all 20.89 0.00 0.88 0.09 0.12 78.02 05:01:21 03:28:01 0 25.09 0.00 1.29 0.08 0.12 73.42 05:01:21 03:28:01 1 21.10 0.00 0.87 0.28 0.12 77.63 05:01:21 03:28:01 2 18.02 0.00 0.60 0.00 0.12 81.26 05:01:21 03:28:01 3 19.33 0.00 0.77 0.00 0.12 79.79 05:01:21 03:29:01 all 31.59 0.00 1.06 0.53 0.13 66.69 05:01:21 03:29:01 0 31.75 0.00 0.87 0.38 0.12 66.88 05:01:21 03:29:01 1 30.59 0.00 1.52 1.70 0.13 66.05 05:01:21 03:29:01 2 33.01 0.00 0.99 0.02 0.12 65.87 05:01:21 03:29:01 3 31.02 0.00 0.87 0.02 0.13 67.96 05:01:21 03:30:01 all 47.28 0.00 1.71 0.29 0.13 50.58 05:01:21 03:30:01 0 46.62 0.00 1.44 0.40 0.13 51.41 05:01:21 03:30:01 1 50.10 0.00 2.36 0.74 0.12 46.69 05:01:21 03:30:01 2 46.58 0.00 1.22 0.02 0.13 52.05 05:01:21 03:30:01 3 45.84 0.00 1.81 0.02 0.15 52.18 05:01:21 03:31:01 all 42.10 0.00 1.33 0.39 0.13 56.05 05:01:21 03:31:01 0 40.87 0.00 1.31 0.02 0.15 57.66 05:01:21 03:31:01 1 44.73 0.00 1.17 1.02 0.12 52.96 05:01:21 03:31:01 2 38.95 0.00 1.02 0.02 0.13 59.88 05:01:21 03:31:01 3 43.86 0.00 1.83 0.49 0.12 53.70 05:01:21 03:32:01 all 5.34 0.00 0.33 0.02 0.09 94.23 05:01:21 03:32:01 0 5.57 0.00 0.39 0.02 0.08 93.95 05:01:21 03:32:01 1 5.19 0.00 0.27 0.05 0.10 94.40 05:01:21 03:32:01 2 4.93 0.00 0.32 0.00 0.08 94.67 05:01:21 03:32:01 3 5.67 0.00 0.33 0.00 0.10 93.90 05:01:21 03:33:01 all 29.18 0.00 1.11 0.27 0.09 69.35 05:01:21 03:33:01 0 28.83 0.00 1.19 0.38 0.07 69.53 05:01:21 03:33:01 1 28.29 0.00 1.06 0.65 0.12 69.89 05:01:21 03:33:01 2 29.63 0.00 0.94 0.02 0.08 69.33 05:01:21 03:33:01 3 29.97 0.00 1.25 0.03 0.10 68.64 05:01:21 05:01:21 03:33:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:34:01 all 30.95 0.00 1.04 0.32 0.16 67.53 05:01:21 03:34:01 0 31.46 0.00 1.16 0.13 0.12 67.13 05:01:21 03:34:01 1 33.08 0.00 1.05 0.80 0.12 64.94 05:01:21 03:34:01 2 26.16 0.00 0.90 0.15 0.12 72.67 05:01:21 03:34:01 3 33.08 0.00 1.03 0.18 0.30 65.40 05:01:21 03:35:01 all 1.63 0.00 0.23 0.03 0.09 98.02 05:01:21 03:35:01 0 1.31 0.00 0.20 0.00 0.08 98.41 05:01:21 03:35:01 1 1.77 0.00 0.23 0.08 0.10 97.81 05:01:21 03:35:01 2 1.46 0.00 0.27 0.03 0.08 98.16 05:01:21 03:35:01 3 1.97 0.00 0.23 0.00 0.10 97.70 05:01:21 03:36:01 all 39.62 0.00 1.18 0.21 0.11 58.88 05:01:21 03:36:01 0 39.71 0.00 0.92 0.03 0.12 59.22 05:01:21 03:36:01 1 37.38 0.00 1.39 0.10 0.12 61.01 05:01:21 03:36:01 2 38.92 0.00 1.45 0.43 0.10 59.10 05:01:21 03:36:01 3 42.46 0.00 0.97 0.27 0.12 56.18 05:01:21 03:37:01 all 0.42 0.00 0.10 0.01 0.10 99.37 05:01:21 03:37:01 0 0.45 0.00 0.13 0.02 0.10 99.29 05:01:21 03:37:01 1 0.40 0.00 0.05 0.00 0.10 99.45 05:01:21 03:37:01 2 0.42 0.00 0.12 0.00 0.12 99.35 05:01:21 03:37:01 3 0.40 0.00 0.10 0.02 0.10 99.38 05:01:21 03:38:01 all 0.34 0.00 0.13 0.02 0.08 99.43 05:01:21 03:38:01 0 0.44 0.00 0.07 0.05 0.07 99.38 05:01:21 03:38:01 1 0.28 0.00 0.15 0.00 0.08 99.48 05:01:21 03:38:01 2 0.37 0.00 0.15 0.00 0.08 99.40 05:01:21 03:38:01 3 0.27 0.00 0.15 0.02 0.10 99.46 05:01:21 03:39:01 all 22.06 0.00 0.71 0.04 0.10 77.10 05:01:21 03:39:01 0 21.80 0.00 0.94 0.02 0.08 77.16 05:01:21 03:39:01 1 23.61 0.00 0.53 0.00 0.08 75.77 05:01:21 03:39:01 2 23.55 0.00 0.52 0.00 0.10 75.83 05:01:21 03:39:01 3 19.28 0.00 0.84 0.13 0.12 79.63 05:01:21 03:40:01 all 11.66 0.00 0.35 0.28 0.11 87.59 05:01:21 03:40:01 0 12.09 0.00 0.54 0.43 0.10 86.84 05:01:21 03:40:01 1 11.78 0.00 0.23 0.00 0.10 87.88 05:01:21 03:40:01 2 12.24 0.00 0.29 0.02 0.12 87.34 05:01:21 03:40:01 3 10.55 0.00 0.35 0.68 0.12 88.30 05:01:21 03:41:01 all 36.36 0.00 1.25 0.34 0.10 61.95 05:01:21 03:41:01 0 36.87 0.00 1.27 0.02 0.10 61.75 05:01:21 03:41:01 1 36.56 0.00 1.29 0.32 0.12 61.71 05:01:21 03:41:01 2 38.93 0.00 0.82 0.10 0.10 60.04 05:01:21 03:41:01 3 33.08 0.00 1.60 0.94 0.08 64.29 05:01:21 03:42:01 all 15.04 0.00 0.69 0.02 0.10 84.15 05:01:21 03:42:01 0 15.07 0.00 0.52 0.00 0.08 84.33 05:01:21 03:42:01 1 13.54 0.00 0.79 0.02 0.10 85.56 05:01:21 03:42:01 2 16.42 0.00 0.55 0.02 0.12 82.90 05:01:21 03:42:01 3 15.12 0.00 0.92 0.05 0.10 83.81 05:01:21 03:43:01 all 41.20 0.00 1.11 0.30 0.09 57.30 05:01:21 03:43:01 0 39.55 0.00 1.09 0.03 0.10 59.22 05:01:21 03:43:01 1 40.03 0.00 0.77 0.02 0.10 59.08 05:01:21 03:43:01 2 41.72 0.00 0.99 0.08 0.08 57.13 05:01:21 03:43:01 3 43.49 0.00 1.58 1.07 0.08 53.78 05:01:21 03:44:01 all 7.55 0.00 0.29 0.02 0.09 92.05 05:01:21 03:44:01 0 7.48 0.00 0.37 0.03 0.08 92.03 05:01:21 03:44:01 1 7.75 0.00 0.27 0.00 0.08 91.90 05:01:21 03:44:01 2 7.41 0.00 0.25 0.00 0.08 92.26 05:01:21 03:44:01 3 7.55 0.00 0.28 0.05 0.10 92.02 05:01:21 05:01:21 03:44:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:45:01 all 9.28 0.00 0.60 0.03 0.10 89.98 05:01:21 03:45:01 0 8.87 0.00 0.57 0.00 0.12 90.44 05:01:21 03:45:01 1 8.97 0.00 0.61 0.02 0.10 90.31 05:01:21 03:45:01 2 9.55 0.00 0.42 0.03 0.10 89.90 05:01:21 03:45:01 3 9.75 0.00 0.82 0.05 0.08 89.30 05:01:21 03:46:01 all 41.75 0.00 1.06 0.30 0.09 56.81 05:01:21 03:46:01 0 43.60 0.00 0.70 0.00 0.10 55.59 05:01:21 03:46:01 1 43.52 0.00 1.25 0.00 0.08 55.15 05:01:21 03:46:01 2 41.32 0.00 0.93 0.55 0.08 57.11 05:01:21 03:46:01 3 38.54 0.00 1.34 0.63 0.10 59.39 05:01:21 03:47:01 all 7.65 0.00 0.35 0.01 0.09 91.90 05:01:21 03:47:01 0 7.91 0.00 0.37 0.00 0.08 91.64 05:01:21 03:47:01 1 7.90 0.00 0.38 0.02 0.08 91.62 05:01:21 03:47:01 2 7.39 0.00 0.43 0.00 0.12 92.06 05:01:21 03:47:01 3 7.38 0.00 0.23 0.03 0.08 92.27 05:01:21 03:48:01 all 2.33 0.00 0.28 0.02 0.09 97.28 05:01:21 03:48:01 0 2.38 0.00 0.25 0.00 0.10 97.27 05:01:21 03:48:01 1 2.22 0.00 0.30 0.00 0.10 97.38 05:01:21 03:48:01 2 2.62 0.00 0.32 0.00 0.08 96.97 05:01:21 03:48:01 3 2.09 0.00 0.27 0.07 0.08 97.49 05:01:21 03:49:01 all 2.31 0.00 0.28 0.02 0.09 97.30 05:01:21 03:49:01 0 2.32 0.00 0.28 0.00 0.08 97.32 05:01:21 03:49:01 1 2.52 0.00 0.22 0.00 0.08 97.18 05:01:21 03:49:01 2 2.28 0.00 0.39 0.00 0.08 97.25 05:01:21 03:49:01 3 2.13 0.00 0.22 0.08 0.10 97.47 05:01:21 03:50:01 all 3.54 0.00 0.36 0.02 0.09 95.99 05:01:21 03:50:01 0 3.30 0.00 0.32 0.00 0.10 96.28 05:01:21 03:50:01 1 3.49 0.00 0.37 0.00 0.08 96.06 05:01:21 03:50:01 2 3.55 0.00 0.40 0.00 0.08 95.97 05:01:21 03:50:01 3 3.81 0.00 0.37 0.07 0.08 95.67 05:01:21 03:51:01 all 1.91 0.00 0.31 0.02 0.10 97.67 05:01:21 03:51:01 0 1.29 0.00 0.30 0.00 0.10 98.31 05:01:21 03:51:01 1 2.38 0.00 0.30 0.00 0.10 97.22 05:01:21 03:51:01 2 1.27 0.00 0.22 0.00 0.10 98.41 05:01:21 03:51:01 3 2.68 0.00 0.43 0.07 0.08 96.74 05:01:21 03:52:01 all 2.11 0.00 0.29 0.02 0.09 97.49 05:01:21 03:52:01 0 1.59 0.00 0.28 0.00 0.10 98.02 05:01:21 03:52:01 1 1.59 0.00 0.28 0.00 0.08 98.05 05:01:21 03:52:01 2 1.77 0.00 0.33 0.00 0.10 97.79 05:01:21 03:52:01 3 3.47 0.00 0.26 0.07 0.08 96.12 05:01:21 03:53:01 all 2.46 0.00 0.31 0.02 0.09 97.13 05:01:21 03:53:01 0 2.63 0.00 0.35 0.00 0.12 96.90 05:01:21 03:53:01 1 2.08 0.00 0.23 0.00 0.10 97.59 05:01:21 03:53:01 2 2.34 0.00 0.25 0.00 0.07 97.34 05:01:21 03:53:01 3 2.78 0.00 0.38 0.07 0.08 96.69 05:01:21 03:54:01 all 0.55 0.00 0.23 0.05 0.09 99.09 05:01:21 03:54:01 0 0.79 0.00 0.45 0.00 0.10 98.66 05:01:21 03:54:01 1 0.35 0.00 0.17 0.02 0.08 99.38 05:01:21 03:54:01 2 0.50 0.00 0.18 0.00 0.08 99.23 05:01:21 03:54:01 3 0.55 0.00 0.12 0.17 0.08 99.08 05:01:21 03:55:01 all 0.55 0.00 0.23 0.01 0.09 99.12 05:01:21 03:55:01 0 1.02 0.00 0.33 0.00 0.10 98.55 05:01:21 03:55:01 1 0.30 0.00 0.13 0.00 0.07 99.50 05:01:21 03:55:01 2 0.52 0.00 0.23 0.00 0.10 99.15 05:01:21 03:55:01 3 0.37 0.00 0.22 0.03 0.10 99.28 05:01:21 05:01:21 03:55:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 03:56:01 all 0.64 0.00 0.22 0.06 0.09 98.98 05:01:21 03:56:01 0 0.60 0.00 0.20 0.02 0.08 99.10 05:01:21 03:56:01 1 0.60 0.00 0.20 0.00 0.08 99.11 05:01:21 03:56:01 2 0.90 0.00 0.32 0.00 0.12 98.66 05:01:21 03:56:01 3 0.47 0.00 0.17 0.23 0.08 99.05 05:01:21 03:57:01 all 51.13 0.00 1.73 0.31 0.10 46.73 05:01:21 03:57:01 0 52.16 0.00 1.85 0.02 0.10 45.87 05:01:21 03:57:01 1 52.12 0.00 1.38 0.42 0.10 45.98 05:01:21 03:57:01 2 52.18 0.00 2.05 0.08 0.10 45.59 05:01:21 03:57:01 3 48.08 0.00 1.63 0.71 0.10 49.49 05:01:21 03:58:01 all 8.77 0.00 0.32 0.03 0.11 90.77 05:01:21 03:58:01 0 8.56 0.00 0.23 0.00 0.12 91.09 05:01:21 03:58:01 1 8.21 0.00 0.39 0.00 0.12 91.29 05:01:21 03:58:01 2 9.68 0.00 0.32 0.00 0.12 89.88 05:01:21 03:58:01 3 8.64 0.00 0.35 0.10 0.08 90.83 05:01:21 03:59:01 all 4.59 0.00 0.28 0.21 0.10 94.82 05:01:21 03:59:01 0 4.88 0.00 0.32 0.45 0.10 94.24 05:01:21 03:59:01 1 4.45 0.00 0.18 0.00 0.10 95.26 05:01:21 03:59:01 2 4.91 0.00 0.34 0.00 0.10 94.66 05:01:21 03:59:01 3 4.13 0.00 0.27 0.39 0.10 95.11 05:01:21 04:00:01 all 2.93 0.00 0.20 0.02 0.11 96.74 05:01:21 04:00:01 0 2.72 0.00 0.25 0.02 0.10 96.91 05:01:21 04:00:01 1 2.60 0.00 0.22 0.00 0.12 97.06 05:01:21 04:00:01 2 4.15 0.00 0.17 0.00 0.12 95.56 05:01:21 04:00:01 3 2.23 0.00 0.17 0.05 0.10 97.45 05:01:21 04:01:01 all 1.97 0.00 0.22 0.05 0.10 97.65 05:01:21 04:01:01 0 2.39 0.00 0.25 0.00 0.10 97.26 05:01:21 04:01:01 1 1.51 0.00 0.22 0.00 0.12 98.15 05:01:21 04:01:01 2 2.11 0.00 0.22 0.00 0.10 97.57 05:01:21 04:01:01 3 1.90 0.00 0.20 0.22 0.08 97.60 05:01:21 04:02:01 all 1.92 0.00 0.22 0.01 0.10 97.75 05:01:21 04:02:01 0 2.25 0.00 0.28 0.00 0.10 97.37 05:01:21 04:02:01 1 1.90 0.00 0.13 0.00 0.08 97.88 05:01:21 04:02:01 2 1.73 0.00 0.20 0.00 0.10 97.97 05:01:21 04:02:01 3 1.81 0.00 0.27 0.05 0.10 97.77 05:01:21 04:03:01 all 3.88 0.00 0.25 0.08 0.10 95.69 05:01:21 04:03:01 0 3.66 0.00 0.29 0.00 0.08 95.98 05:01:21 04:03:01 1 3.72 0.00 0.23 0.02 0.10 95.92 05:01:21 04:03:01 2 3.93 0.00 0.25 0.02 0.10 95.70 05:01:21 04:03:01 3 4.23 0.00 0.23 0.27 0.12 95.15 05:01:21 04:04:01 all 1.99 0.00 0.18 0.03 0.10 97.72 05:01:21 04:04:01 0 1.87 0.00 0.20 0.02 0.10 97.81 05:01:21 04:04:01 1 2.16 0.00 0.20 0.00 0.08 97.56 05:01:21 04:04:01 2 1.84 0.00 0.20 0.00 0.10 97.85 05:01:21 04:04:01 3 2.08 0.00 0.10 0.08 0.10 97.64 05:01:21 04:05:01 all 0.75 0.00 0.12 0.02 0.09 99.02 05:01:21 04:05:01 0 0.52 0.00 0.15 0.00 0.08 99.25 05:01:21 04:05:01 1 0.30 0.00 0.07 0.00 0.08 99.55 05:01:21 04:05:01 2 0.32 0.00 0.13 0.03 0.10 99.41 05:01:21 04:05:01 3 1.85 0.00 0.13 0.03 0.08 97.90 05:01:21 04:06:01 all 0.76 0.00 0.10 0.01 0.10 99.04 05:01:21 04:06:01 0 0.30 0.00 0.12 0.00 0.10 99.48 05:01:21 04:06:01 1 0.25 0.00 0.12 0.00 0.10 99.53 05:01:21 04:06:01 2 0.23 0.00 0.08 0.03 0.08 99.56 05:01:21 04:06:01 3 2.21 0.00 0.08 0.02 0.10 97.59 05:01:21 05:01:21 04:06:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 04:07:01 all 32.77 0.00 1.10 0.05 0.09 65.99 05:01:21 04:07:01 0 31.20 0.00 1.04 0.13 0.10 67.53 05:01:21 04:07:01 1 33.92 0.00 1.15 0.00 0.08 64.84 05:01:21 04:07:01 2 34.41 0.00 1.17 0.03 0.08 64.30 05:01:21 04:07:01 3 31.57 0.00 1.03 0.03 0.10 67.27 05:01:21 04:08:01 all 32.20 0.00 0.98 0.25 0.10 66.48 05:01:21 04:08:01 0 32.66 0.00 1.07 0.47 0.10 65.70 05:01:21 04:08:01 1 32.69 0.00 0.74 0.00 0.10 66.47 05:01:21 04:08:01 2 34.09 0.00 1.17 0.50 0.08 64.15 05:01:21 04:08:01 3 29.36 0.00 0.93 0.02 0.10 69.59 05:01:21 04:09:01 all 8.70 0.00 0.36 0.03 0.10 90.80 05:01:21 04:09:01 0 9.04 0.00 0.45 0.00 0.10 90.40 05:01:21 04:09:01 1 8.74 0.00 0.27 0.00 0.10 90.89 05:01:21 04:09:01 2 8.51 0.00 0.38 0.05 0.10 90.95 05:01:21 04:09:01 3 8.51 0.00 0.35 0.05 0.12 90.97 05:01:21 04:10:01 all 3.71 0.00 0.31 0.01 0.10 95.88 05:01:21 04:10:01 0 3.96 0.00 0.30 0.00 0.10 95.63 05:01:21 04:10:01 1 4.00 0.00 0.22 0.00 0.10 95.68 05:01:21 04:10:01 2 3.60 0.00 0.37 0.02 0.10 95.92 05:01:21 04:10:01 3 3.28 0.00 0.33 0.02 0.08 96.29 05:01:21 04:11:01 all 2.79 0.00 0.27 0.02 0.09 96.83 05:01:21 04:11:01 0 2.80 0.00 0.22 0.00 0.08 96.90 05:01:21 04:11:01 1 2.86 0.00 0.35 0.00 0.08 96.70 05:01:21 04:11:01 2 2.78 0.00 0.23 0.03 0.10 96.85 05:01:21 04:11:01 3 2.73 0.00 0.27 0.03 0.08 96.89 05:01:21 04:12:01 all 4.19 0.00 0.34 0.03 0.11 95.34 05:01:21 04:12:01 0 4.35 0.00 0.33 0.00 0.12 95.20 05:01:21 04:12:01 1 4.52 0.00 0.37 0.00 0.10 95.01 05:01:21 04:12:01 2 3.93 0.00 0.42 0.07 0.12 95.47 05:01:21 04:12:01 3 3.96 0.00 0.23 0.03 0.10 95.67 05:01:21 04:13:01 all 1.91 0.00 0.30 0.01 0.10 97.68 05:01:21 04:13:01 0 1.98 0.00 0.32 0.00 0.08 97.61 05:01:21 04:13:01 1 1.72 0.00 0.23 0.00 0.08 97.96 05:01:21 04:13:01 2 1.97 0.00 0.40 0.02 0.10 97.51 05:01:21 04:13:01 3 1.97 0.00 0.23 0.03 0.12 97.64 05:01:21 04:14:01 all 2.94 0.00 0.31 0.09 0.11 96.55 05:01:21 04:14:01 0 2.71 0.00 0.42 0.20 0.10 96.58 05:01:21 04:14:01 1 2.57 0.00 0.23 0.07 0.12 97.01 05:01:21 04:14:01 2 4.25 0.00 0.31 0.00 0.12 95.32 05:01:21 04:14:01 3 2.21 0.00 0.28 0.08 0.10 97.32 05:01:21 04:15:01 all 1.92 0.00 0.27 0.01 0.09 97.70 05:01:21 04:15:01 0 2.33 0.00 0.42 0.03 0.08 97.13 05:01:21 04:15:01 1 1.36 0.00 0.18 0.00 0.10 98.36 05:01:21 04:15:01 2 1.60 0.00 0.18 0.00 0.10 98.11 05:01:21 04:15:01 3 2.40 0.00 0.30 0.02 0.08 97.20 05:01:21 04:16:01 all 0.98 0.00 0.21 0.02 0.09 98.70 05:01:21 04:16:01 0 0.44 0.00 0.25 0.07 0.10 99.15 05:01:21 04:16:01 1 0.50 0.00 0.15 0.00 0.08 99.26 05:01:21 04:16:01 2 0.63 0.00 0.20 0.00 0.08 99.08 05:01:21 04:16:01 3 2.32 0.00 0.25 0.03 0.08 97.31 05:01:21 04:17:01 all 0.67 0.00 0.25 0.01 0.10 98.96 05:01:21 04:17:01 0 0.69 0.00 0.45 0.02 0.12 98.73 05:01:21 04:17:01 1 0.22 0.00 0.13 0.00 0.08 99.56 05:01:21 04:17:01 2 0.42 0.00 0.17 0.00 0.08 99.33 05:01:21 04:17:01 3 1.36 0.00 0.27 0.03 0.10 98.24 05:01:21 05:01:21 04:17:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 04:18:01 all 21.77 0.00 0.97 0.07 0.09 77.09 05:01:21 04:18:01 0 23.42 0.00 0.74 0.12 0.08 75.64 05:01:21 04:18:01 1 22.26 0.00 1.15 0.03 0.08 76.47 05:01:21 04:18:01 2 22.10 0.00 1.14 0.10 0.10 76.56 05:01:21 04:18:01 3 19.29 0.00 0.86 0.03 0.10 79.72 05:01:21 04:19:01 all 42.12 0.00 1.27 0.27 0.10 56.24 05:01:21 04:19:01 0 42.59 0.00 1.57 0.48 0.10 55.26 05:01:21 04:19:01 1 43.17 0.00 1.27 0.52 0.10 54.94 05:01:21 04:19:01 2 44.70 0.00 1.32 0.03 0.10 53.85 05:01:21 04:19:01 3 38.03 0.00 0.93 0.03 0.10 60.91 05:01:21 04:20:01 all 8.36 0.00 0.37 0.02 0.10 91.15 05:01:21 04:20:01 0 8.88 0.00 0.45 0.00 0.10 90.57 05:01:21 04:20:01 1 8.33 0.00 0.30 0.00 0.10 91.27 05:01:21 04:20:01 2 7.69 0.00 0.40 0.00 0.10 91.81 05:01:21 04:20:01 3 8.53 0.00 0.32 0.08 0.10 90.97 05:01:21 04:21:01 all 5.23 0.00 0.36 0.02 0.10 94.29 05:01:21 04:21:01 0 5.60 0.00 0.37 0.00 0.10 93.93 05:01:21 04:21:01 1 5.66 0.00 0.30 0.00 0.08 93.95 05:01:21 04:21:01 2 4.85 0.00 0.33 0.00 0.12 94.70 05:01:21 04:21:01 3 4.80 0.00 0.43 0.07 0.12 94.58 05:01:21 04:22:01 all 2.47 0.00 0.28 0.02 0.09 97.14 05:01:21 04:22:01 0 2.93 0.00 0.50 0.00 0.12 96.46 05:01:21 04:22:01 1 2.07 0.00 0.23 0.00 0.07 97.63 05:01:21 04:22:01 2 2.54 0.00 0.22 0.00 0.10 97.14 05:01:21 04:22:01 3 2.34 0.00 0.17 0.07 0.07 97.36 05:01:21 04:23:01 all 3.04 0.00 0.28 0.01 0.09 96.58 05:01:21 04:23:01 0 2.97 0.00 0.32 0.00 0.10 96.61 05:01:21 04:23:01 1 2.99 0.00 0.37 0.00 0.08 96.55 05:01:21 04:23:01 2 3.17 0.00 0.18 0.00 0.10 96.55 05:01:21 04:23:01 3 3.01 0.00 0.25 0.05 0.08 96.60 05:01:21 04:24:01 all 1.54 0.00 0.26 0.02 0.09 98.09 05:01:21 04:24:01 0 2.46 0.00 0.21 0.00 0.08 97.24 05:01:21 04:24:01 1 1.25 0.00 0.22 0.00 0.08 98.45 05:01:21 04:24:01 2 1.28 0.00 0.40 0.00 0.10 98.22 05:01:21 04:24:01 3 1.17 0.00 0.22 0.07 0.10 98.44 05:01:21 04:25:01 all 2.32 0.00 0.27 0.01 0.09 97.30 05:01:21 04:25:01 0 2.05 0.00 0.32 0.00 0.10 97.53 05:01:21 04:25:01 1 1.77 0.00 0.30 0.00 0.08 97.84 05:01:21 04:25:01 2 3.45 0.00 0.25 0.00 0.10 96.20 05:01:21 04:25:01 3 1.97 0.00 0.23 0.05 0.08 97.66 05:01:21 04:26:01 all 2.29 0.00 0.25 0.02 0.09 97.35 05:01:21 04:26:01 0 2.49 0.00 0.35 0.00 0.10 97.05 05:01:21 04:26:01 1 2.71 0.00 0.28 0.00 0.10 96.91 05:01:21 04:26:01 2 2.17 0.00 0.17 0.00 0.08 97.57 05:01:21 04:26:01 3 1.78 0.00 0.22 0.07 0.08 97.85 05:01:21 04:27:01 all 3.09 0.00 0.30 0.02 0.08 96.51 05:01:21 04:27:01 0 3.21 0.00 0.40 0.00 0.08 96.31 05:01:21 04:27:01 1 2.98 0.00 0.25 0.00 0.08 96.69 05:01:21 04:27:01 2 2.98 0.00 0.33 0.00 0.08 96.60 05:01:21 04:27:01 3 3.20 0.00 0.22 0.07 0.08 96.43 05:01:21 04:28:01 all 16.22 0.00 0.93 0.18 0.10 82.55 05:01:21 04:28:01 0 14.26 0.00 0.79 0.03 0.10 84.82 05:01:21 04:28:01 1 14.72 0.00 0.86 0.03 0.12 84.28 05:01:21 04:28:01 2 16.17 0.00 0.80 0.00 0.08 82.95 05:01:21 04:28:01 3 19.75 0.00 1.29 0.67 0.12 78.18 05:01:21 05:01:21 04:28:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 04:29:01 all 28.61 0.00 0.82 1.04 0.10 69.44 05:01:21 04:29:01 0 25.57 0.00 0.89 1.77 0.10 71.67 05:01:21 04:29:01 1 29.96 0.00 0.75 0.25 0.08 68.95 05:01:21 04:29:01 2 29.02 0.00 0.64 1.97 0.08 68.28 05:01:21 04:29:01 3 29.91 0.00 1.00 0.15 0.12 68.81 05:01:21 04:30:01 all 36.44 0.00 1.31 0.39 0.11 61.75 05:01:21 04:30:01 0 36.90 0.00 1.53 1.47 0.10 60.00 05:01:21 04:30:01 1 35.20 0.00 1.25 0.03 0.13 63.38 05:01:21 04:30:01 2 37.70 0.00 1.15 0.03 0.10 61.02 05:01:21 04:30:01 3 35.95 0.00 1.29 0.03 0.12 62.61 05:01:21 04:31:01 all 44.25 0.00 1.20 0.28 0.10 54.18 05:01:21 04:31:01 0 45.47 0.00 1.22 0.67 0.10 52.54 05:01:21 04:31:01 1 42.56 0.00 1.68 0.39 0.10 55.27 05:01:21 04:31:01 2 44.98 0.00 0.93 0.03 0.10 53.95 05:01:21 04:31:01 3 43.97 0.00 0.95 0.02 0.08 54.97 05:01:21 04:32:01 all 6.62 0.00 0.27 0.02 0.09 93.00 05:01:21 04:32:01 0 7.16 0.00 0.22 0.03 0.08 92.50 05:01:21 04:32:01 1 6.15 0.00 0.39 0.00 0.08 93.38 05:01:21 04:32:01 2 7.72 0.00 0.25 0.03 0.10 91.89 05:01:21 04:32:01 3 5.45 0.00 0.24 0.00 0.10 94.22 05:01:21 04:33:01 all 36.25 0.00 1.22 0.30 0.11 62.12 05:01:21 04:33:01 0 32.80 0.00 1.07 0.62 0.12 65.40 05:01:21 04:33:01 1 38.15 0.00 1.23 0.47 0.12 60.03 05:01:21 04:33:01 2 37.59 0.00 1.09 0.10 0.10 61.12 05:01:21 04:33:01 3 36.46 0.00 1.49 0.00 0.10 61.95 05:01:21 04:34:01 all 27.63 0.00 1.00 0.03 0.08 71.26 05:01:21 04:34:01 0 29.57 0.00 1.07 0.07 0.08 69.21 05:01:21 04:34:01 1 28.42 0.00 0.92 0.00 0.10 70.56 05:01:21 04:34:01 2 23.79 0.00 1.04 0.02 0.08 75.07 05:01:21 04:34:01 3 28.74 0.00 0.95 0.05 0.07 70.19 05:01:21 04:35:01 all 25.94 0.00 0.78 0.39 0.13 72.75 05:01:21 04:35:01 0 24.95 0.00 0.81 1.54 0.15 72.55 05:01:21 04:35:01 1 26.30 0.00 0.59 0.00 0.13 72.98 05:01:21 04:35:01 2 25.72 0.00 0.85 0.03 0.12 73.28 05:01:21 04:35:01 3 26.81 0.00 0.85 0.00 0.13 72.20 05:01:21 04:36:01 all 4.61 0.00 0.24 0.14 0.10 94.91 05:01:21 04:36:01 0 4.54 0.00 0.27 0.35 0.08 94.75 05:01:21 04:36:01 1 4.51 0.00 0.25 0.02 0.12 95.10 05:01:21 04:36:01 2 4.45 0.00 0.17 0.18 0.12 95.08 05:01:21 04:36:01 3 4.92 0.00 0.25 0.02 0.10 94.71 05:01:21 04:37:01 all 27.45 0.00 0.90 0.03 0.09 71.53 05:01:21 04:37:01 0 27.72 0.00 0.79 0.08 0.10 71.30 05:01:21 04:37:01 1 23.59 0.00 0.81 0.00 0.08 75.51 05:01:21 04:37:01 2 28.95 0.00 1.06 0.00 0.08 69.91 05:01:21 04:37:01 3 29.58 0.00 0.94 0.03 0.10 69.34 05:01:21 04:38:01 all 27.91 0.00 0.84 0.30 0.10 70.85 05:01:21 04:38:01 0 28.87 0.00 0.97 0.72 0.10 69.34 05:01:21 04:38:01 1 25.35 0.00 0.72 0.02 0.12 73.80 05:01:21 04:38:01 2 29.46 0.00 1.04 0.44 0.10 68.96 05:01:21 04:38:01 3 27.97 0.00 0.64 0.02 0.10 71.28 05:01:21 04:39:01 all 4.33 0.00 0.26 0.01 0.12 95.28 05:01:21 04:39:01 0 4.36 0.00 0.29 0.02 0.12 95.21 05:01:21 04:39:01 1 4.36 0.00 0.27 0.00 0.12 95.25 05:01:21 04:39:01 2 4.19 0.00 0.24 0.00 0.09 95.49 05:01:21 04:39:01 3 4.43 0.00 0.22 0.02 0.15 95.18 05:01:21 05:01:21 04:39:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 04:40:01 all 2.54 0.00 0.19 0.16 0.10 97.02 05:01:21 04:40:01 0 2.21 0.00 0.15 0.57 0.08 96.99 05:01:21 04:40:01 1 2.70 0.00 0.17 0.08 0.08 96.97 05:01:21 04:40:01 2 2.64 0.00 0.25 0.00 0.12 96.99 05:01:21 04:40:01 3 2.60 0.00 0.18 0.00 0.10 97.12 05:01:21 04:41:01 all 3.08 0.00 0.22 0.02 0.10 96.58 05:01:21 04:41:01 0 3.34 0.00 0.25 0.03 0.10 96.27 05:01:21 04:41:01 1 2.87 0.00 0.17 0.00 0.08 96.88 05:01:21 04:41:01 2 3.04 0.00 0.25 0.02 0.12 96.57 05:01:21 04:41:01 3 3.07 0.00 0.22 0.02 0.10 96.60 05:01:21 04:42:01 all 2.68 0.00 0.20 0.01 0.10 97.01 05:01:21 04:42:01 0 2.11 0.00 0.20 0.02 0.08 97.59 05:01:21 04:42:01 1 2.24 0.00 0.25 0.00 0.10 97.41 05:01:21 04:42:01 2 3.90 0.00 0.15 0.00 0.12 95.83 05:01:21 04:42:01 3 2.46 0.00 0.18 0.03 0.12 97.20 05:01:21 04:43:01 all 1.82 0.00 0.24 0.02 0.09 97.82 05:01:21 04:43:01 0 1.90 0.00 0.22 0.03 0.10 97.75 05:01:21 04:43:01 1 1.89 0.00 0.32 0.00 0.10 97.69 05:01:21 04:43:01 2 1.71 0.00 0.23 0.00 0.08 97.97 05:01:21 04:43:01 3 1.80 0.00 0.20 0.03 0.08 97.88 05:01:21 04:44:01 all 1.94 0.00 0.22 0.02 0.07 97.75 05:01:21 04:44:01 0 2.06 0.00 0.22 0.03 0.08 97.61 05:01:21 04:44:01 1 2.10 0.00 0.30 0.00 0.08 97.51 05:01:21 04:44:01 2 1.91 0.00 0.17 0.00 0.07 97.86 05:01:21 04:44:01 3 1.70 0.00 0.20 0.03 0.05 98.02 05:01:21 04:45:01 all 2.09 0.00 0.21 0.01 0.08 97.60 05:01:21 04:45:01 0 1.85 0.00 0.20 0.02 0.08 97.84 05:01:21 04:45:01 1 2.24 0.00 0.18 0.00 0.08 97.49 05:01:21 04:45:01 2 2.25 0.00 0.17 0.00 0.08 97.50 05:01:21 04:45:01 3 2.02 0.00 0.29 0.03 0.08 97.58 05:01:21 04:46:01 all 30.19 0.00 1.42 0.18 0.10 68.11 05:01:21 04:46:01 0 36.41 0.00 1.51 0.29 0.10 61.69 05:01:21 04:46:01 1 30.32 0.00 1.31 0.18 0.10 68.09 05:01:21 04:46:01 2 22.73 0.00 1.11 0.24 0.08 75.84 05:01:21 04:46:01 3 31.28 0.00 1.74 0.02 0.13 66.83 05:01:21 04:47:01 all 43.58 0.00 1.54 1.34 0.12 53.42 05:01:21 04:47:01 0 44.06 0.00 1.78 1.22 0.12 52.82 05:01:21 04:47:01 1 43.06 0.00 1.26 0.00 0.14 55.54 05:01:21 04:47:01 2 43.51 0.00 1.41 4.13 0.12 50.83 05:01:21 04:47:01 3 43.70 0.00 1.69 0.03 0.12 54.46 05:01:21 04:48:01 all 6.14 0.00 0.39 0.04 0.10 93.33 05:01:21 04:48:01 0 6.14 0.00 0.42 0.03 0.10 93.31 05:01:21 04:48:01 1 6.08 0.00 0.40 0.00 0.10 93.42 05:01:21 04:48:01 2 6.22 0.00 0.35 0.12 0.08 93.23 05:01:21 04:48:01 3 6.11 0.00 0.40 0.00 0.12 93.37 05:01:21 04:49:01 all 44.84 0.00 1.88 0.05 0.46 52.77 05:01:21 04:49:01 0 45.17 0.00 2.08 0.03 1.51 51.22 05:01:21 04:49:01 1 47.24 0.00 2.11 0.10 0.10 50.45 05:01:21 04:49:01 2 45.22 0.00 1.76 0.08 0.10 52.84 05:01:21 04:49:01 3 41.72 0.00 1.55 0.00 0.12 56.61 05:01:21 04:50:01 all 21.63 0.00 0.67 0.38 0.09 77.23 05:01:21 04:50:01 0 20.88 0.00 0.69 0.00 0.08 78.35 05:01:21 04:50:01 1 21.66 0.00 0.63 0.22 0.10 77.39 05:01:21 04:50:01 2 21.79 0.00 0.68 1.10 0.08 76.35 05:01:21 04:50:01 3 22.20 0.00 0.70 0.19 0.10 76.82 05:01:21 05:01:21 04:50:01 CPU %user %nice %system %iowait %steal %idle 05:01:21 04:51:01 all 3.19 0.00 0.28 0.10 0.08 96.36 05:01:21 04:51:01 0 3.50 0.00 0.25 0.02 0.08 96.15 05:01:21 04:51:01 1 2.85 0.00 0.25 0.00 0.07 96.83 05:01:21 04:51:01 2 3.55 0.00 0.33 0.35 0.08 95.68 05:01:21 04:51:01 3 2.86 0.00 0.27 0.02 0.08 96.77 05:01:21 04:52:01 all 2.92 0.00 0.33 0.03 0.08 96.65 05:01:21 04:52:01 0 3.02 0.00 0.34 0.05 0.08 96.51 05:01:21 04:52:01 1 2.79 0.00 0.42 0.00 0.10 96.69 05:01:21 04:52:01 2 2.95 0.00 0.23 0.05 0.05 96.71 05:01:21 04:52:01 3 2.89 0.00 0.33 0.00 0.08 96.69 05:01:21 04:53:01 all 2.42 0.00 0.32 0.02 0.06 97.19 05:01:21 04:53:01 0 2.23 0.00 0.12 0.03 0.05 97.56 05:01:21 04:53:01 1 2.18 0.00 0.39 0.00 0.07 97.37 05:01:21 04:53:01 2 2.95 0.00 0.32 0.02 0.07 96.65 05:01:21 04:53:01 3 2.30 0.00 0.44 0.02 0.07 97.18 05:01:21 04:54:01 all 3.84 0.00 0.40 0.03 0.10 95.63 05:01:21 04:54:01 0 4.31 0.00 0.32 0.00 0.10 95.27 05:01:21 04:54:01 1 3.45 0.00 0.44 0.03 0.08 96.00 05:01:21 04:54:01 2 3.96 0.00 0.54 0.07 0.13 95.30 05:01:21 04:54:01 3 3.62 0.00 0.32 0.02 0.10 95.95 05:01:21 04:55:01 all 3.53 0.00 0.34 0.25 0.08 95.80 05:01:21 04:55:01 0 3.36 0.00 0.35 0.00 0.07 96.22 05:01:21 04:55:01 1 3.71 0.00 0.42 0.25 0.10 95.51 05:01:21 04:55:01 2 3.63 0.00 0.25 0.54 0.08 95.49 05:01:21 04:55:01 3 3.42 0.00 0.32 0.22 0.08 95.96 05:01:21 04:56:01 all 33.86 0.00 1.40 0.10 0.09 64.54 05:01:21 04:56:01 0 34.35 0.00 1.12 0.07 0.08 64.38 05:01:21 04:56:01 1 32.82 0.00 1.48 0.08 0.10 65.51 05:01:21 04:56:01 2 35.76 0.00 1.46 0.10 0.10 62.57 05:01:21 04:56:01 3 32.49 0.00 1.54 0.17 0.08 65.72 05:01:21 04:57:01 all 43.41 0.00 1.45 0.74 0.14 54.26 05:01:21 04:57:01 0 43.56 0.00 1.23 0.81 0.12 54.28 05:01:21 04:57:01 1 41.50 0.00 1.42 0.00 0.15 56.93 05:01:21 04:57:01 2 44.79 0.00 1.40 2.19 0.14 51.48 05:01:21 04:57:01 3 43.82 0.00 1.75 0.00 0.13 54.29 05:01:21 04:58:01 all 7.85 0.00 0.44 0.05 0.08 91.58 05:01:21 04:58:01 0 8.44 0.00 0.40 0.00 0.10 91.07 05:01:21 04:58:01 1 8.43 0.00 0.39 0.03 0.08 91.07 05:01:21 04:58:01 2 7.48 0.00 0.49 0.17 0.08 91.78 05:01:21 04:58:01 3 7.06 0.00 0.47 0.02 0.07 92.39 05:01:21 04:59:01 all 6.86 0.00 0.43 0.03 0.08 92.60 05:01:21 04:59:01 0 7.18 0.00 0.50 0.02 0.08 92.22 05:01:21 04:59:01 1 6.35 0.00 0.40 0.00 0.08 93.17 05:01:21 04:59:01 2 7.24 0.00 0.43 0.05 0.08 92.19 05:01:21 04:59:01 3 6.65 0.00 0.37 0.05 0.08 92.85 05:01:21 05:00:01 all 6.26 0.00 0.45 0.09 0.09 93.11 05:01:21 05:00:01 0 5.98 0.00 0.45 0.02 0.08 93.47 05:01:21 05:00:01 1 5.94 0.00 0.49 0.00 0.08 93.49 05:01:21 05:00:01 2 6.92 0.00 0.44 0.10 0.10 92.44 05:01:21 05:00:01 3 6.18 0.00 0.42 0.25 0.10 93.05 05:01:21 05:01:01 all 32.39 0.00 1.96 3.87 0.10 61.67 05:01:21 05:01:01 0 43.64 0.00 2.02 2.59 0.12 51.63 05:01:21 05:01:01 1 24.64 0.00 2.71 4.03 0.10 68.52 05:01:21 05:01:01 2 23.76 0.00 1.85 7.98 0.10 66.31 05:01:21 05:01:01 3 37.54 0.00 1.25 0.89 0.10 60.22 05:01:21 05:01:21 Average: CPU %user %nice %system %iowait %steal %idle 05:01:21 Average: all 18.03 0.17 0.91 0.60 0.11 80.18 05:01:21 Average: 0 18.04 0.17 0.94 0.61 0.11 80.12 05:01:21 Average: 1 17.99 0.16 0.91 0.61 0.10 80.22 05:01:21 Average: 2 18.27 0.17 0.87 0.66 0.11 79.93 05:01:21 Average: 3 17.83 0.18 0.91 0.52 0.11 80.46 05:01:21 05:01:21 05:01:21