10:10:46 Triggered by Gerrit: https://git.opendaylight.org/gerrit/c/transportpce/+/123472 10:10:46 Running as SYSTEM 10:10:46 [EnvInject] - Loading node environment variables. 10:10:46 Building remotely on prd-ubuntu2204-docker-4c-16g-27805 (ubuntu2204-docker-4c-16g) in workspace /w/workspace/transportpce-tox-verify-transportpce-master 10:10:47 [ssh-agent] Looking for ssh-agent implementation... 10:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:48 $ ssh-agent 10:10:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXX4VyHWD/agent.1561 10:10:48 SSH_AGENT_PID=1563 10:10:48 [ssh-agent] Started. 10:10:48 Running ssh-add (command line suppressed) 10:10:48 Identity added: /w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17687053208986672486.key (/w/workspace/transportpce-tox-verify-transportpce-master@tmp/private_key_17687053208986672486.key) 10:10:48 [ssh-agent] Using credentials jenkins (jenkins-ssh) 10:10:48 The recommended git tool is: NONE 10:10:50 using credential jenkins-ssh 10:10:50 Wiping out workspace first. 10:10:50 Cloning the remote Git repository 10:10:50 Cloning repository git://devvexx.opendaylight.org/mirror/transportpce 10:10:50 > git init /w/workspace/transportpce-tox-verify-transportpce-master # timeout=10 10:10:50 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 10:10:50 > git --version # timeout=10 10:10:50 > git --version # 'git version 2.34.1' 10:10:50 using GIT_SSH to set credentials jenkins-ssh 10:10:50 Verifying host key using known hosts file, will automatically accept unseen keys 10:10:50 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:58 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 10:10:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:59 > git config remote.origin.url git://devvexx.opendaylight.org/mirror/transportpce # timeout=10 10:10:59 Fetching upstream changes from git://devvexx.opendaylight.org/mirror/transportpce 10:10:59 using GIT_SSH to set credentials jenkins-ssh 10:10:59 Verifying host key using known hosts file, will automatically accept unseen keys 10:10:59 > git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/transportpce refs/changes/72/123472/4 # timeout=10 10:10:59 > git rev-parse e9fe4607d5219af36843c31baa720e0f62240f8d^{commit} # timeout=10 10:10:59 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 10:10:59 Checking out Revision e9fe4607d5219af36843c31baa720e0f62240f8d (refs/changes/72/123472/4) 10:10:59 > git config core.sparsecheckout # timeout=10 10:10:59 > git checkout -f e9fe4607d5219af36843c31baa720e0f62240f8d # timeout=10 10:11:00 Commit message: "Reorganize docs into topic subfolders" 10:11:00 > git rev-parse FETCH_HEAD^{commit} # timeout=10 10:11:00 > git rev-list --no-walk 4579254c7de24d0dc9dd130fde90979a060bf7ca # timeout=10 10:11:00 > git remote # timeout=10 10:11:00 > git submodule init # timeout=10 10:11:00 > git submodule sync # timeout=10 10:11:00 > git config --get remote.origin.url # timeout=10 10:11:00 > git submodule init # timeout=10 10:11:00 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 10:11:00 ERROR: No submodules found. 10:11:03 provisioning config files... 10:11:03 copy managed file [npmrc] to file:/home/jenkins/.npmrc 10:11:03 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 10:11:03 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins4943770130638048205.sh 10:11:03 ---> python-tools-install.sh 10:11:03 Setup pyenv: 10:11:03 * system (set by /opt/pyenv/version) 10:11:03 * 3.8.20 (set by /opt/pyenv/version) 10:11:03 * 3.9.20 (set by /opt/pyenv/version) 10:11:03 3.10.15 10:11:03 3.11.10 10:11:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AH9M 10:11:08 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 10:11:08 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:11:08 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:11:13 lf-activate-venv(): INFO: Base packages installed successfully 10:11:13 lf-activate-venv(): INFO: Installing additional packages: lftools 10:11:41 lf-activate-venv(): INFO: Adding /tmp/venv-AH9M/bin to PATH 10:11:41 Generating Requirements File 10:12:10 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. 10:12:10 httplib2 0.30.2 requires pyparsing<4,>=3.0.4, but you have pyparsing 2.4.7 which is incompatible. 10:12:11 Python 3.11.10 10:12:11 pip 26.1.2 from /tmp/venv-AH9M/lib/python3.11/site-packages/pip (python 3.11) 10:12:12 aiohappyeyeballs==2.6.2 10:12:12 aiohttp==3.14.1 10:12:12 aiosignal==1.4.0 10:12:12 appdirs==1.4.4 10:12:12 argcomplete==3.6.3 10:12:12 aspy.yaml==1.3.0 10:12:12 attrs==26.1.0 10:12:12 autopage==0.6.0 10:12:12 beautifulsoup4==4.15.0 10:12:12 boto3==1.43.30 10:12:12 botocore==1.43.30 10:12:12 bs4==0.0.2 10:12:12 certifi==2026.5.20 10:12:12 cffi==2.0.0 10:12:12 cfgv==3.5.0 10:12:12 chardet==7.4.3 10:12:12 charset-normalizer==3.4.7 10:12:12 click==8.4.1 10:12:12 cliff==4.14.0 10:12:12 cmd2==4.0.0 10:12:12 cryptography==3.3.2 10:12:12 debtcollector==3.1.0 10:12:12 decorator==5.3.1 10:12:12 defusedxml==0.7.1 10:12:12 Deprecated==1.3.1 10:12:12 distlib==0.4.3 10:12:12 dnspython==2.8.0 10:12:12 docker==7.1.0 10:12:12 dogpile.cache==1.5.0 10:12:12 durationpy==0.10 10:12:12 email-validator==2.3.0 10:12:12 filelock==3.29.4 10:12:12 frozenlist==1.8.0 10:12:12 future==1.0.0 10:12:12 gitdb==4.0.12 10:12:12 GitPython==3.1.50 10:12:12 httplib2==0.30.2 10:12:12 identify==2.6.19 10:12:12 idna==3.18 10:12:12 importlib-resources==1.5.0 10:12:12 iso8601==2.1.0 10:12:12 Jinja2==3.1.6 10:12:12 jmespath==1.1.0 10:12:12 jsonpatch==1.33 10:12:12 jsonpointer==3.1.1 10:12:12 jsonschema==4.26.0 10:12:12 jsonschema-specifications==2025.9.1 10:12:12 keystoneauth1==5.14.0 10:12:12 kubernetes==36.0.2 10:12:12 lftools==0.37.22 10:12:12 lxml==6.1.1 10:12:12 markdown-it-py==4.2.0 10:12:12 MarkupSafe==3.0.3 10:12:12 mdurl==0.1.2 10:12:12 msgpack==1.2.0 10:12:12 multi_key_dict==2.0.3 10:12:12 multidict==6.7.1 10:12:12 munch==4.0.0 10:12:12 netaddr==1.3.0 10:12:12 niet==1.4.2 10:12:12 nodeenv==1.10.0 10:12:12 oauth2client==4.1.3 10:12:12 oauthlib==3.3.1 10:12:12 openstacksdk==4.15.0 10:12:12 os-service-types==1.8.2 10:12:12 osc-lib==4.6.0 10:12:12 oslo.config==10.5.0 10:12:12 oslo.context==6.4.0 10:12:12 oslo.i18n==6.8.0 10:12:12 oslo.log==8.2.0 10:12:12 oslo.serialization==5.10.0 10:12:12 oslo.utils==10.1.1 10:12:12 packaging==26.2 10:12:12 pbr==7.0.3 10:12:12 platformdirs==4.10.0 10:12:12 prettytable==3.17.0 10:12:12 prompt_toolkit==3.0.52 10:12:12 propcache==0.5.2 10:12:12 psutil==7.2.2 10:12:12 pyasn1==0.6.3 10:12:12 pyasn1_modules==0.4.2 10:12:12 pycparser==3.0 10:12:12 pygerrit2==2.0.15 10:12:12 PyGithub==2.9.1 10:12:12 Pygments==2.20.0 10:12:12 PyJWT==2.13.0 10:12:12 PyNaCl==1.6.2 10:12:12 pyparsing==2.4.7 10:12:12 pyperclip==1.11.0 10:12:12 pyrsistent==0.20.0 10:12:12 python-cinderclient==9.9.0 10:12:12 python-dateutil==2.9.0.post0 10:12:12 python-discovery==1.4.2 10:12:12 python-heatclient==5.2.0 10:12:12 python-jenkins==1.8.3 10:12:12 python-keystoneclient==5.8.0 10:12:12 python-magnumclient==4.10.0 10:12:12 python-openstackclient==10.1.0 10:12:12 python-swiftclient==4.10.0 10:12:12 PyYAML==6.0.3 10:12:12 referencing==0.37.0 10:12:12 requests==2.34.2 10:12:12 requests-oauthlib==2.0.0 10:12:12 rfc3986==2.0.0 10:12:12 rich==15.0.0 10:12:12 rich-argparse==1.8.0 10:12:12 rpds-py==2026.5.1 10:12:12 rsa==4.9.1 10:12:12 ruamel.yaml==0.19.1 10:12:12 ruamel.yaml.clib==0.2.15 10:12:12 s3transfer==0.18.0 10:12:12 simplejson==4.1.1 10:12:12 six==1.17.0 10:12:12 smmap==5.0.3 10:12:12 soupsieve==2.8.4 10:12:12 stevedore==5.8.0 10:12:12 tabulate==0.10.0 10:12:12 toml==0.10.2 10:12:12 tomlkit==0.15.0 10:12:12 tqdm==4.68.2 10:12:12 typing_extensions==4.15.0 10:12:12 urllib3==1.26.20 10:12:12 virtualenv==21.5.0 10:12:12 wcwidth==0.8.1 10:12:12 websocket-client==1.9.0 10:12:12 wrapt==2.2.1 10:12:12 xdg==6.0.0 10:12:12 xmltodict==1.0.4 10:12:12 yarl==1.24.2 10:12:12 yq==3.4.3 10:12:12 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins15915167903394182983.sh 10:12:12 ---> uv-install.sh 10:12:12 Installing uv/uvx (latest) using shell installer 10:12:12 2026-06-16 10:12:12 URL:https://releases.astral.sh/installers/uv/latest/uv-installer.sh [71233/71233] -> "/tmp/uv-install-RLkKFy.sh" [1] 10:12:12 downloading uv 0.11.21 x86_64-unknown-linux-gnu 10:12:13 installing to /home/jenkins/.local/bin 10:12:13 uv 10:12:13 uvx 10:12:13 everything's installed! 10:12:13 10:12:13 To add $HOME/.local/bin to your PATH, either restart your shell or run: 10:12:13 10:12:13 source $HOME/.local/bin/env (sh, bash, zsh) 10:12:13 source $HOME/.local/bin/env.fish (fish) 10:12:13 Adding install location to PATH 10:12:13 ---> Validating uv/uvx install 10:12:13 uvx 0.11.21 (x86_64-unknown-linux-gnu) 10:12:13 [EnvInject] - Injecting environment variables from a build step. 10:12:13 [EnvInject] - Injecting as environment variables the properties content 10:12:13 PYTHON=python3 10:12:13 10:12:13 [EnvInject] - Variables injected successfully. 10:12:13 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins6755800627335040952.sh 10:12:13 ---> tox-install.sh 10:12:13 + source /home/jenkins/lf-env.sh 10:12:13 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:12:13 ++ mktemp -d /tmp/venv-XXXX 10:12:13 + lf_venv=/tmp/venv-JdpB 10:12:13 + local venv_file=/tmp/.os_lf_venv 10:12:13 + local python=python3 10:12:13 + local options 10:12:13 + local set_path=true 10:12:13 + local install_args= 10:12:13 ++ 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 10:12:13 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:12:13 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:12:13 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:12:13 + true 10:12:13 + case $1 in 10:12:13 + venv_file=/tmp/.toxenv 10:12:13 + shift 2 10:12:13 + true 10:12:13 + case $1 in 10:12:13 + shift 10:12:13 + break 10:12:13 + case $python in 10:12:13 + local pkg_list= 10:12:13 + [[ -d /opt/pyenv ]] 10:12:13 + echo 'Setup pyenv:' 10:12:13 Setup pyenv: 10:12:13 + export PYENV_ROOT=/opt/pyenv 10:12:13 + PYENV_ROOT=/opt/pyenv 10:12:13 + 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 10:12:13 + 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 10:12:13 + pyenv versions 10:12:13 system 10:12:13 3.8.20 10:12:13 3.9.20 10:12:13 3.10.15 10:12:13 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 10:12:13 + command -v pyenv 10:12:13 ++ pyenv init - --no-rehash 10:12:14 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 10:12:14 for i in ${!paths[@]}; do 10:12:14 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 10:12:14 fi; done; 10:12:14 echo "${paths[*]}"'\'')" 10:12:14 export PATH="/opt/pyenv/shims:${PATH}" 10:12:14 export PYENV_SHELL=bash 10:12:14 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:12:14 pyenv() { 10:12:14 local command 10:12:14 command="${1:-}" 10:12:14 if [ "$#" -gt 0 ]; then 10:12:14 shift 10:12:14 fi 10:12:14 10:12:14 case "$command" in 10:12:14 rehash|shell) 10:12:14 eval "$(pyenv "sh-$command" "$@")" 10:12:14 ;; 10:12:14 *) 10:12:14 command pyenv "$command" "$@" 10:12:14 ;; 10:12:14 esac 10:12:14 }' 10:12:14 +++ bash --norc -ec 'IFS=:; paths=($PATH); 10:12:14 for i in ${!paths[@]}; do 10:12:14 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 10:12:14 fi; done; 10:12:14 echo "${paths[*]}"' 10:12:14 ++ 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 10:12:14 ++ 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 10:12:14 ++ 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 10:12:14 ++ export PYENV_SHELL=bash 10:12:14 ++ PYENV_SHELL=bash 10:12:14 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:12:14 +++ complete -F _pyenv pyenv 10:12:14 ++ lf-pyver python3 10:12:14 ++ local py_version_xy=python3 10:12:14 ++ local py_version_xyz= 10:12:14 ++ pyenv versions 10:12:14 ++ local command 10:12:14 ++ command=versions 10:12:14 ++ '[' 1 -gt 0 ']' 10:12:14 ++ shift 10:12:14 ++ case "$command" in 10:12:14 ++ command pyenv versions 10:12:14 ++ sed 's/^[ *]* //' 10:12:14 ++ awk '{ print $1 }' 10:12:14 ++ grep -E '^[0-9.]*[0-9]$' 10:12:14 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:12:14 +++ grep '^3' /tmp/.pyenv_versions 10:12:14 +++ sort -V 10:12:14 +++ tail -n 1 10:12:14 ++ py_version_xyz=3.11.10 10:12:14 ++ [[ -z 3.11.10 ]] 10:12:14 ++ echo 3.11.10 10:12:14 ++ return 0 10:12:14 + pyenv local 3.11.10 10:12:14 + local command 10:12:14 + command=local 10:12:14 + '[' 2 -gt 0 ']' 10:12:14 + shift 10:12:14 + case "$command" in 10:12:14 + command pyenv local 3.11.10 10:12:14 + for arg in "$@" 10:12:14 + case $arg in 10:12:14 + pkg_list+='tox ' 10:12:14 + for arg in "$@" 10:12:14 + case $arg in 10:12:14 + pkg_list+='virtualenv ' 10:12:14 + for arg in "$@" 10:12:14 + case $arg in 10:12:14 + pkg_list+='urllib3~=1.26.15 ' 10:12:14 + [[ -f /tmp/.toxenv ]] 10:12:14 + [[ ! -f /tmp/.toxenv ]] 10:12:14 + [[ -n '' ]] 10:12:14 + python3 -m venv /tmp/venv-JdpB 10:12:18 + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JdpB' 10:12:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JdpB 10:12:18 + echo /tmp/venv-JdpB 10:12:18 + echo 'lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv' 10:12:18 lf-activate-venv(): INFO: Save venv in file: /tmp/.toxenv 10:12:18 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 10:12:18 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:12:18 + local 'pip_opts=--upgrade --quiet' 10:12:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 10:12:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 10:12:18 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 10:12:18 + [[ -n '' ]] 10:12:18 + [[ -n '' ]] 10:12:18 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 10:12:18 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:12:18 + /tmp/venv-JdpB/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 10:12:23 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 10:12:23 lf-activate-venv(): INFO: Base packages installed successfully 10:12:23 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:12:23 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 10:12:23 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 10:12:23 + /tmp/venv-JdpB/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:12:25 + type python3 10:12:25 + true 10:12:25 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-JdpB/bin to PATH' 10:12:25 lf-activate-venv(): INFO: Adding /tmp/venv-JdpB/bin to PATH 10:12:25 + PATH=/tmp/venv-JdpB/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 10:12:25 + return 0 10:12:25 + python3 --version 10:12:25 Python 3.11.10 10:12:25 + python3 -m pip --version 10:12:26 pip 26.1.2 from /tmp/venv-JdpB/lib/python3.11/site-packages/pip (python 3.11) 10:12:26 + python3 -m pip freeze 10:12:26 cachetools==7.1.4 10:12:26 colorama==0.4.6 10:12:26 distlib==0.4.3 10:12:26 filelock==3.29.4 10:12:26 packaging==26.2 10:12:26 platformdirs==4.10.0 10:12:26 pluggy==1.6.0 10:12:26 pyproject-api==1.10.1 10:12:26 python-discovery==1.4.2 10:12:26 tomli_w==1.2.0 10:12:26 tox==4.55.1 10:12:26 urllib3==1.26.20 10:12:26 virtualenv==21.5.0 10:12:26 [transportpce-tox-verify-transportpce-master] $ /bin/sh -xe /tmp/jenkins17776930181198808738.sh 10:12:26 [EnvInject] - Injecting environment variables from a build step. 10:12:26 [EnvInject] - Injecting as environment variables the properties content 10:12:26 PARALLEL=True 10:12:26 10:12:26 [EnvInject] - Variables injected successfully. 10:12:26 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins11066722917914721946.sh 10:12:26 ---> tox-run.sh 10:12:26 + PATH=/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 + ARCHIVE_TOX_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 10:12:26 + ARCHIVE_DOC_DIR=/w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 10:12:26 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox 10:12:26 + cd /w/workspace/transportpce-tox-verify-transportpce-master/. 10:12:26 + source /home/jenkins/lf-env.sh 10:12:26 + lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 10:12:26 ++ mktemp -d /tmp/venv-XXXX 10:12:26 + lf_venv=/tmp/venv-Kbim 10:12:26 + local venv_file=/tmp/.os_lf_venv 10:12:26 + local python=python3 10:12:26 + local options 10:12:26 + local set_path=true 10:12:26 + local install_args= 10:12:26 ++ 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 10:12:26 + options=' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:12:26 + eval set -- ' --venv-file '\''/tmp/.toxenv'\'' -- '\''tox'\'' '\''virtualenv'\'' '\''urllib3~=1.26.15'\''' 10:12:26 ++ set -- --venv-file /tmp/.toxenv -- tox virtualenv urllib3~=1.26.15 10:12:26 + true 10:12:26 + case $1 in 10:12:26 + venv_file=/tmp/.toxenv 10:12:26 + shift 2 10:12:26 + true 10:12:26 + case $1 in 10:12:26 + shift 10:12:26 + break 10:12:26 + case $python in 10:12:26 + local pkg_list= 10:12:26 + [[ -d /opt/pyenv ]] 10:12:26 + echo 'Setup pyenv:' 10:12:26 Setup pyenv: 10:12:26 + export PYENV_ROOT=/opt/pyenv 10:12:26 + PYENV_ROOT=/opt/pyenv 10:12:26 + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 + pyenv versions 10:12:26 system 10:12:26 3.8.20 10:12:26 3.9.20 10:12:26 3.10.15 10:12:26 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 10:12:26 + command -v pyenv 10:12:26 ++ pyenv init - --no-rehash 10:12:26 + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); 10:12:26 for i in ${!paths[@]}; do 10:12:26 if [[ ${paths[i]} == "'\'''\''/opt/pyenv/shims'\'''\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; 10:12:26 fi; done; 10:12:26 echo "${paths[*]}"'\'')" 10:12:26 export PATH="/opt/pyenv/shims:${PATH}" 10:12:26 export PYENV_SHELL=bash 10:12:26 source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' 10:12:26 pyenv() { 10:12:26 local command 10:12:26 command="${1:-}" 10:12:26 if [ "$#" -gt 0 ]; then 10:12:26 shift 10:12:26 fi 10:12:26 10:12:26 case "$command" in 10:12:26 rehash|shell) 10:12:26 eval "$(pyenv "sh-$command" "$@")" 10:12:26 ;; 10:12:26 *) 10:12:26 command pyenv "$command" "$@" 10:12:26 ;; 10:12:26 esac 10:12:26 }' 10:12:26 +++ bash --norc -ec 'IFS=:; paths=($PATH); 10:12:26 for i in ${!paths[@]}; do 10:12:26 if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; 10:12:26 fi; done; 10:12:26 echo "${paths[*]}"' 10:12:26 ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:26 ++ export PYENV_SHELL=bash 10:12:26 ++ PYENV_SHELL=bash 10:12:26 ++ source /opt/pyenv/libexec/../completions/pyenv.bash 10:12:26 +++ complete -F _pyenv pyenv 10:12:26 ++ lf-pyver python3 10:12:26 ++ local py_version_xy=python3 10:12:26 ++ local py_version_xyz= 10:12:26 ++ pyenv versions 10:12:26 ++ local command 10:12:26 ++ command=versions 10:12:26 ++ '[' 1 -gt 0 ']' 10:12:26 ++ shift 10:12:26 ++ case "$command" in 10:12:26 ++ command pyenv versions 10:12:26 ++ sed 's/^[ *]* //' 10:12:26 ++ awk '{ print $1 }' 10:12:26 ++ grep -E '^[0-9.]*[0-9]$' 10:12:26 ++ [[ ! -s /tmp/.pyenv_versions ]] 10:12:26 +++ sort -V 10:12:26 +++ grep '^3' /tmp/.pyenv_versions 10:12:26 +++ tail -n 1 10:12:26 ++ py_version_xyz=3.11.10 10:12:26 ++ [[ -z 3.11.10 ]] 10:12:26 ++ echo 3.11.10 10:12:26 ++ return 0 10:12:26 + pyenv local 3.11.10 10:12:26 + local command 10:12:26 + command=local 10:12:26 + '[' 2 -gt 0 ']' 10:12:26 + shift 10:12:26 + case "$command" in 10:12:26 + command pyenv local 3.11.10 10:12:26 + for arg in "$@" 10:12:26 + case $arg in 10:12:26 + pkg_list+='tox ' 10:12:26 + for arg in "$@" 10:12:26 + case $arg in 10:12:26 + pkg_list+='virtualenv ' 10:12:26 + for arg in "$@" 10:12:26 + case $arg in 10:12:26 + pkg_list+='urllib3~=1.26.15 ' 10:12:26 + [[ -f /tmp/.toxenv ]] 10:12:26 ++ cat /tmp/.toxenv 10:12:26 + lf_venv=/tmp/venv-JdpB 10:12:26 + echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JdpB from' file:/tmp/.toxenv 10:12:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-JdpB from file:/tmp/.toxenv 10:12:26 + echo 'lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv)' 10:12:26 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 10:12:26 + local 'pip_opts=--upgrade --quiet' 10:12:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org' 10:12:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org' 10:12:26 + pip_opts='--upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org' 10:12:26 + [[ -n '' ]] 10:12:26 + [[ -n '' ]] 10:12:26 + echo 'lf-activate-venv(): INFO: Attempting to install with network-safe options...' 10:12:26 lf-activate-venv(): INFO: Attempting to install with network-safe options... 10:12:26 + /tmp/venv-JdpB/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org pip 'setuptools<66' virtualenv 10:12:27 + echo 'lf-activate-venv(): INFO: Base packages installed successfully' 10:12:27 lf-activate-venv(): INFO: Base packages installed successfully 10:12:27 + [[ -z tox virtualenv urllib3~=1.26.15 ]] 10:12:27 + echo 'lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 ' 10:12:27 lf-activate-venv(): INFO: Installing additional packages: tox virtualenv urllib3~=1.26.15 10:12:27 + /tmp/venv-JdpB/bin/python3 -m pip install --upgrade --quiet --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host pypi.python.org --upgrade-strategy eager tox virtualenv urllib3~=1.26.15 10:12:29 + type python3 10:12:29 + true 10:12:29 + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-JdpB/bin to PATH' 10:12:29 lf-activate-venv(): INFO: Adding /tmp/venv-JdpB/bin to PATH 10:12:29 + PATH=/tmp/venv-JdpB/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:29 + return 0 10:12:29 + [[ -d /opt/pyenv ]] 10:12:29 + echo '---> Setting up pyenv' 10:12:29 ---> Setting up pyenv 10:12:29 + export PYENV_ROOT=/opt/pyenv 10:12:29 + PYENV_ROOT=/opt/pyenv 10:12:29 + export PATH=/opt/pyenv/bin:/tmp/venv-JdpB/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:29 + PATH=/opt/pyenv/bin:/tmp/venv-JdpB/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin 10:12:29 ++ pwd 10:12:29 + PYTHONPATH=/w/workspace/transportpce-tox-verify-transportpce-master 10:12:29 + export PYTHONPATH 10:12:29 + export TOX_TESTENV_PASSENV=PYTHONPATH 10:12:29 + TOX_TESTENV_PASSENV=PYTHONPATH 10:12:29 + tox --version 10:12:29 4.55.1 from /tmp/venv-JdpB/lib/python3.11/site-packages/tox/__init__.py 10:12:29 + PARALLEL=True 10:12:29 + TOX_OPTIONS_LIST= 10:12:29 + [[ -n '' ]] 10:12:29 + case ${PARALLEL,,} in 10:12:29 + TOX_OPTIONS_LIST=' --parallel auto --parallel-live' 10:12:29 + tox --parallel auto --parallel-live 10:12:29 + tee -a /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tox.log 10:12:32 docs: install_deps> python -I -m pip install -r docs/requirements.txt 10:12:32 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 10:12:32 docs-linkcheck: install_deps> python -I -m pip install -r docs/requirements.txt 10:12:32 checkbashisms: freeze> python -m pip freeze --all 10:12:32 checkbashisms: pip==26.1.2,setuptools==82.0.1 10:12:32 checkbashisms: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 10:12:32 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)' 10:12:33 checkbashisms: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> find . -not -path '*/\.*' -name '*.sh' -exec checkbashisms -f '{}' + 10:12:34 checkbashisms: OK ✔ in 4.43 seconds 10:12:34 pre-commit: install_deps> python -I -m pip install pre-commit 10:12:38 pre-commit: freeze> python -m pip freeze --all 10:12:39 pre-commit: cfgv==3.5.0,distlib==0.4.3,filelock==3.29.4,identify==2.6.19,nodeenv==1.10.0,pip==26.1.2,platformdirs==4.10.0,pre_commit==4.6.0,python-discovery==1.4.2,PyYAML==6.0.3,setuptools==82.0.1,virtualenv==21.5.0 10:12:39 pre-commit: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./fixCIcentOS8reposMirrors.sh 10:12:39 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)' 10:12:39 /usr/bin/cpan 10:12:39 pre-commit: commands[2] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run --all-files --show-diff-on-failure 10:12:39 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. 10:12:39 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. 10:12:40 [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. 10:12:40 [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. 10:12:41 [INFO] Initializing environment for https://github.com/hhatto/autopep8. 10:12:41 [INFO] Initializing environment for https://github.com/perltidy/perltidy. 10:12:41 buildcontroller: freeze> python -m pip freeze --all 10:12:41 buildcontroller: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:12:41 buildcontroller: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_controller.sh 10:12:41 + update-java-alternatives -l 10:12:42 java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64 10:12:42 java-1.17.0-openjdk-amd64 1711 /usr/lib/jvm/java-1.17.0-openjdk-amd64 10:12:42 java-1.21.0-openjdk-amd64 2111 /usr/lib/jvm/java-1.21.0-openjdk-amd64 10:12:42 + sudo update-java-alternatives -s java-1.21.0-openjdk-amd64 10:12:42 update-alternatives: error: no alternatives for jaotc 10:12:42 update-alternatives: error: no alternatives for rmic 10:12:42 + java -version 10:12:42 + sed -n ;s/.* version "\(.*\)\.\(.*\)\..*".*$/\1/p; 10:12:42 + JAVA_VER=21 10:12:42 + echo 21 10:12:42 21 10:12:42 + javac -version 10:12:42 + sed -n ;s/javac \(.*\)\.\(.*\)\..*.*$/\1/p; 10:12:42 21 10:12:42 ok, java is 21 or newer 10:12:42 + JAVAC_VER=21 10:12:42 + echo 21 10:12:42 + [ 21 -ge 21 ] 10:12:42 + [ 21 -ge 21 ] 10:12:42 + echo ok, java is 21 or newer 10:12:42 + wget -nv https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz -P /tmp 10:12:42 2026-06-16 10:12:42 URL:https://dlcdn.apache.org/maven/maven-3/3.9.16/binaries/apache-maven-3.9.16-bin.tar.gz [9278065/9278065] -> "/tmp/apache-maven-3.9.16-bin.tar.gz" [1] 10:12:42 + sudo mkdir -p /opt 10:12:42 + sudo tar xf /tmp/apache-maven-3.9.16-bin.tar.gz -C /opt 10:12:43 + sudo ln -s /opt/apache-maven-3.9.16 /opt/maven 10:12:43 + sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn 10:12:43 + mvn --version 10:12:43 [INFO] Initializing environment for https://github.com/koalaman/shellcheck-precommit. 10:12:43 Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5) 10:12:43 Maven home: /opt/maven 10:12:43 Java version: 21.0.10, vendor: Ubuntu, runtime: /usr/lib/jvm/java-21-openjdk-amd64 10:12:43 Default locale: en, platform encoding: UTF-8 10:12:43 OS name: "linux", version: "5.15.0-174-generic", arch: "amd64", family: "unix" 10:12:43 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. 10:12:43 NOTE: Picked up JDK_JAVA_OPTIONS: 10:12:43 --add-opens=java.base/java.io=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.lang=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.net=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.nio=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.util=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:12:43 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:12:43 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:12:43 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:12:43 -Xlog:disable 10:12:44 [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. 10:12:44 [INFO] Initializing environment for https://github.com/adrienverge/yamllint. 10:12:45 [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. 10:12:45 [INFO] Once installed this environment will be reused. 10:12:45 [INFO] This may take a few minutes... 10:12:54 [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. 10:12:54 [INFO] Once installed this environment will be reused. 10:12:54 [INFO] This may take a few minutes... 10:13:03 [INFO] Installing environment for https://github.com/hhatto/autopep8. 10:13:03 [INFO] Once installed this environment will be reused. 10:13:03 [INFO] This may take a few minutes... 10:13:05 docs: freeze> python -m pip freeze --all 10:13:05 docs-linkcheck: freeze> python -m pip freeze --all 10:13:05 docs: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.5.20,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,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.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 10:13:05 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 10:13:05 docs-linkcheck: alabaster==1.0.0,attrs==26.1.0,babel==2.18.0,blockdiag==3.0.0,certifi==2026.5.20,charset-normalizer==3.4.7,contourpy==1.3.3,cycler==0.12.1,docutils==0.21.2,fonttools==4.63.0,funcparserlib==2.0.0a0,future==1.0.0,idna==3.18,imagesize==2.0.0,Jinja2==3.1.6,jsonschema==3.2.0,kiwisolver==1.5.0,lfdocs_conf==0.10.0,MarkupSafe==3.0.3,matplotlib==3.11.0,numpy==2.4.6,nwdiag==3.0.0,packaging==26.2,pillow==12.2.0,pip==26.1.2,Pygments==2.20.0,pyparsing==3.3.2,pyrsistent==0.20.0,python-dateutil==2.9.0.post0,PyYAML==6.0.3,requests==2.34.2,requests-file==1.5.1,roman-numerals==4.1.0,roman-numerals-py==4.1.0,seqdiag==3.0.0,setuptools==82.0.1,six==1.17.0,snowballstemmer==3.1.1,Sphinx==8.2.3,sphinx-bootstrap-theme==0.8.1,sphinx-data-viewer==0.1.5,sphinx-tabs==3.5.0,sphinx_rtd_theme==3.1.0,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.31,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-seqdiag==3.0.0,sphinxcontrib-serializinghtml==2.0.0,sphinxcontrib-swaggerdoc==0.1.7,urllib3==2.7.0,webcolors==25.10.0 10:13:05 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 10:13:10 docs: OK ✔ in 40.48 seconds 10:13:10 pylint: install_deps> python -I -m pip install 'pylint>=2.6.0' 10:13:11 [INFO] Installing environment for https://github.com/perltidy/perltidy. 10:13:11 [INFO] Once installed this environment will be reused. 10:13:11 [INFO] This may take a few minutes... 10:13:15 docs-linkcheck: OK ✔ in 41.01 seconds 10:13:15 pylint: freeze> python -m pip freeze --all 10:13:16 pylint: astroid==4.0.4,dill==0.4.1,isort==8.0.1,mccabe==0.7.0,pip==26.1.2,platformdirs==4.10.0,pylint==4.0.6,setuptools==82.0.1,tomlkit==0.15.0 10:13:16 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}$' '{}' + 10:13:26 [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. 10:13:26 [INFO] Once installed this environment will be reused. 10:13:26 [INFO] This may take a few minutes... 10:13:32 [INFO] Installing environment for https://github.com/adrienverge/yamllint. 10:13:32 [INFO] Once installed this environment will be reused. 10:13:32 [INFO] This may take a few minutes... 10:13:39 trim trailing whitespace.................................................Passed 10:13:40 fix end of files.........................................................Passed 10:13:40 check for added large files..............................................Passed 10:13:40 check for merge conflicts................................................Passed 10:13:40 check for case conflicts.................................................Passed 10:13:41 check json...............................................................Passed 10:13:41 mixed line ending........................................................Passed 10:13:41 Tabs remover.............................................................Passed 10:13:42 autopep8.................................................................Passed 10:13:46 perltidy.................................................................Passed 10:13:47 ShellCheck v0.11.0.......................................................Passed 10:13:51 prettier.................................................................Passed 10:13:53 yamllint.................................................................Passed 10:13:54 pre-commit: commands[3] /w/workspace/transportpce-tox-verify-transportpce-master/tests> pre-commit run gitlint-ci --hook-stage manual 10:13:54 [INFO] Installing environment for https://github.com/jorisroovers/gitlint. 10:13:54 [INFO] Once installed this environment will be reused. 10:13:54 [INFO] This may take a few minutes... 10:13:55 10:13:55 ------------------------------------ 10:13:55 Your code has been rated at 10.00/10 10:13:55 10:14:07 gitlint..................................................................Passed 10:14:57 pylint: OK ✔ in 48.01 seconds 10:14:57 pre-commit: OK ✔ in 1 minute 32.85 seconds 10:14:57 buildcontroller: OK ✔ in 2 minutes 26.54 seconds 10:14:57 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 10:14:57 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 10:14:57 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 10:14:57 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 10:15:20 build_karaf_tests121: freeze> python -m pip freeze --all 10:15:20 build_karaf_tests71: freeze> python -m pip freeze --all 10:15:20 build_karaf_tests190: freeze> python -m pip freeze --all 10:15:20 build_karaf_tests221: freeze> python -m pip freeze --all 10:15:20 build_karaf_tests121: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:15:20 build_karaf_tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:15:20 build karaf in karaf121 with ./karaf121.env 10:15:20 build_karaf_tests190: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:15:20 build_karaf_tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:15:20 build_karaf_tests221: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:15:20 build_karaf_tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:15:20 build karaf in karaf221 with ./karaf221.env 10:15:20 build_karaf_tests71: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:15:20 build_karaf_tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./build_karaf_for_tests.sh 10:15:20 build karaf in karafoc with ./karafoc.env 10:15:20 build karaf in karaf71 with ./karaf71.env 10:15:21 NOTE: Picked up JDK_JAVA_OPTIONS: 10:15:21 --add-opens=java.base/java.io=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.net=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:15:21 -Xlog:disable 10:15:21 NOTE: Picked up JDK_JAVA_OPTIONS: 10:15:21 --add-opens=java.base/java.io=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.net=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:15:21 -Xlog:disable 10:15:21 NOTE: Picked up JDK_JAVA_OPTIONS: 10:15:21 --add-opens=java.base/java.io=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.net=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:15:21 -Xlog:disable 10:15:21 NOTE: Picked up JDK_JAVA_OPTIONS: 10:15:21 --add-opens=java.base/java.io=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.invoke=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.lang.reflect=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.net=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.charset=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.nio.file=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.jar=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.stream=ALL-UNNAMED 10:15:21 --add-opens=java.base/java.util.zip=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.ch=ALL-UNNAMED 10:15:21 --add-opens java.base/sun.nio.fs=ALL-UNNAMED 10:15:21 -Xlog:disable 10:16:54 build_karaf_tests221: OK ✔ in 1 minute 57.58 seconds 10:16:54 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 10:16:55 build_karaf_tests121: OK ✔ in 1 minute 58.25 seconds 10:16:55 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 10:16:56 build_karaf_tests190: OK ✔ in 1 minute 59.56 seconds 10:16:56 build_karaf_tests71: OK ✔ in 1 minute 59.57 seconds 10:16:56 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 10:17:02 buildlighty: freeze> python -m pip freeze --all 10:17:02 sims: freeze> python -m pip freeze --all 10:17:02 buildlighty: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:17:02 buildlighty: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/lighty> ./build.sh 10:17:02 NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED 10:17:02 sims: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:17:02 sims: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./install_lightynode.sh 10:17:02 Using lighynode version 22.1.0.6 10:17:02 Installing lightynode device to ./lightynode/lightynode-openroadm-device directory 10:17:45 sims: OK ✔ in 11.11 seconds 10:17:45 buildlighty: OK ✔ in 32.01 seconds 10:17:45 testsPCE: freeze> python -m pip freeze --all 10:17:46 testsPCE: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,click==8.4.1,contourpy==1.3.3,cryptography==3.3.2,cycler==0.12.1,dict2xml==1.7.8,Flask==2.1.3,Flask-Injector==0.14.0,fonttools==4.63.0,gnpy4tpce==2.4.7,idna==3.18,iniconfig==2.3.0,injector==0.24.0,invoke==3.0.3,itsdangerous==2.2.0,Jinja2==3.1.6,kiwisolver==1.5.0,lxml==6.1.1,MarkupSafe==3.0.3,matplotlib==3.11.0,netconf-client==3.6.0,networkx==2.8.8,numpy==1.26.4,packaging==26.2,pandas==1.5.3,paramiko==5.0.0,pbr==5.11.1,pillow==12.2.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pyparsing==3.3.2,pytest==9.1.0,python-dateutil==2.9.0.post0,pytz==2026.2,requests==2.34.2,scipy==1.17.1,setuptools==50.3.2,six==1.17.0,urllib3==2.7.0,Werkzeug==2.0.3,xlrd==1.2.0 10:17:46 testsPCE: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh pce 10:17:46 pytest -q transportpce_tests/pce/test01_pce.py 10:18:41 .................... [100%] 10:19:45 20 passed in 119.55s (0:01:59) 10:19:46 pytest -q transportpce_tests/pce/test02_pce_400G.py 10:20:07 ............ [100%] 10:20:37 12 passed in 51.45s 10:20:37 pytest -q transportpce_tests/pce/test03_gnpy.py 10:20:59 ........ [100%] 10:21:21 8 passed in 43.37s 10:21:21 pytest -q transportpce_tests/pce/test04_pce_bug_fix.py 10:22:23 ... [100%] 10:22:23 3 passed in 46.36s 10:22:23 testsPCE: OK ✔ in 5 minutes 12.18 seconds 10:22:23 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 10:22:23 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 10:22:23 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 10:22:29 tests190: freeze> python -m pip freeze --all 10:22:29 tests121: freeze> python -m pip freeze --all 10:22:29 tests_tapi: freeze> python -m pip freeze --all 10:22:30 tests190: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:22:30 tests190: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh oc 10:22:30 using environment variables from ./karafoc.env 10:22:30 pytest -q transportpce_tests/oc/test01_portmapping.py 10:22:30 tests121: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:22:30 tests121: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 1.2.1 10:22:30 using environment variables from ./karaf121.env 10:22:30 pytest -q transportpce_tests/1.2.1/test01_portmapping.py 10:22:30 tests_tapi: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:22:30 tests_tapi: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi 10:22:30 using environment variables from ./karaf221.env 10:22:30 pytest -q transportpce_tests/tapi/test01_abstracted_topology.py 10:23:55 ........... [100%] 10:24:14 10 passed in 104.31s (0:01:44) 10:24:14 pytest -q transportpce_tests/oc/test02_topology.py 10:24:22 ................................ [100%] 10:25:32 14 passed in 77.30s (0:01:17) 10:25:32 pytest -q transportpce_tests/oc/test03_renderer.py 10:26:01 ................... [100%] 10:26:28 19 passed in 55.82s 10:26:28 pytest -q transportpce_tests/oc/test04_end2end.py 10:27:17 ...................... [100%] 10:28:03 21 passed in 333.65s (0:05:33) 10:28:04 pytest -q transportpce_tests/1.2.1/test02_topo_portmapping.py 10:28:09 ........................................... [100%] 10:29:12 6 passed in 68.17s (0:01:08) 10:29:12 pytest -q transportpce_tests/1.2.1/test03_topology.py 10:29:22 .......... [100%] 10:29:29 30 passed in 180.88s (0:03:00) 10:29:30 tests190: OK ✔ in 7 minutes 22.05 seconds 10:29:30 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 10:29:40 tests71: freeze> python -m pip freeze --all 10:29:41 tests71: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:29:41 tests71: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 7.1 10:29:41 using environment variables from ./karaf71.env 10:29:41 pytest -q transportpce_tests/7.1/test01_portmapping.py 10:29:49 ...................................... [100%] 10:30:51 12 passed in 69.65s (0:01:09) 10:30:51 pytest -q transportpce_tests/7.1/test02_otn_renderer.py 10:30:52 ........................... [100%] 10:31:36 51 passed in 545.90s (0:09:05) 10:31:36 pytest -q transportpce_tests/tapi/test02_full_topology.py 10:31:37 ...................... [100%] 10:32:00 44 passed in 167.87s (0:02:47) 10:32:01 pytest -q transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py 10:32:01 .......................................................................... [100%] 10:33:35 62 passed in 164.49s (0:02:44) 10:33:36 pytest -q transportpce_tests/7.1/test03_renderer_or_modes.py 10:33:37 ......... [100%] 10:33:48 24 passed in 107.24s (0:01:47) 10:33:48 pytest -q transportpce_tests/1.2.1/test05_olm.py 10:33:50 ......................................................................................... [100%] 10:36:15 48 passed in 159.15s (0:02:39) 10:36:15 pytest -q transportpce_tests/7.1/test04_renderer_regen_mode.py 10:36:26 ....................................... [100%] 10:37:35 22 passed in 79.59s (0:01:19) 10:37:36 [100%] 10:37:36 36 passed in 359.95s (0:05:59) 10:37:36 pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py 10:38:29 ................................ [100%] 10:40:17 40 passed in 388.11s (0:06:28) 10:40:17 pytest -q transportpce_tests/1.2.1/test06_end2end.py 10:40:18 ......................................................................... [100%] 10:43:01 71 passed in 324.65s (0:05:24) 10:43:01 pytest -q transportpce_tests/tapi/test04_topo_extension.py 10:43:17 ..................................... [100%] 10:45:29 19 passed in 147.46s (0:02:27) 10:45:29 pytest -q transportpce_tests/tapi/test05_pce_tapi.py 10:47:02 ..F......F..... [100%] 10:49:16 54 passed in 539.51s (0:08:59) 10:49:19 .............E [100%] 10:56:26 ==================================== ERRORS ==================================== 10:56:26 ______ ERROR at teardown of TransportPCEtest.test_22_get_no_tapi_services ______ 10:56:26 10:56:26 self = 10:56:26 conn = 10:56:26 method = 'GET' 10:56:26 url = '/rests/data/ietf-network:networks/network=otn-topology?content=config' 10:56:26 body = None 10:56:26 headers = {'User-Agent': 'python-requests/2.34.2', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='} 10:56:26 retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) 10:56:26 timeout = Timeout(connect=30, read=30, total=None), chunked = False 10:56:26 response_conn = 10:56:26 preload_content = False, decode_content = False, enforce_content_length = True 10:56:26 10:56:26 def _make_request( 10:56:26 self, 10:56:26 conn: BaseHTTPConnection, 10:56:26 method: str, 10:56:26 url: str, 10:56:26 body: _TYPE_BODY | None = None, 10:56:26 headers: typing.Mapping[str, str] | None = None, 10:56:26 retries: Retry | None = None, 10:56:26 timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT, 10:56:26 chunked: bool = False, 10:56:26 response_conn: BaseHTTPConnection | None = None, 10:56:26 preload_content: bool = True, 10:56:26 decode_content: bool = True, 10:56:26 enforce_content_length: bool = True, 10:56:26 ) -> BaseHTTPResponse: 10:56:26 """ 10:56:26 Perform a request on a given urllib connection object taken from our 10:56:26 pool. 10:56:26 10:56:26 :param conn: 10:56:26 a connection from one of our connection pools 10:56:26 10:56:26 :param method: 10:56:26 HTTP request method (such as GET, POST, PUT, etc.) 10:56:26 10:56:26 :param url: 10:56:26 The URL to perform the request on. 10:56:26 10:56:26 :param body: 10:56:26 Data to send in the request body, either :class:`str`, :class:`bytes`, 10:56:26 an iterable of :class:`str`/:class:`bytes`, or a file-like object. 10:56:26 10:56:26 :param headers: 10:56:26 Dictionary of custom headers to send, such as User-Agent, 10:56:26 If-None-Match, etc. If None, pool headers are used. If provided, 10:56:26 these headers completely replace any pool-specific headers. 10:56:26 10:56:26 :param retries: 10:56:26 Configure the number of retries to allow before raising a 10:56:26 :class:`~urllib3.exceptions.MaxRetryError` exception. 10:56:26 10:56:26 Pass ``None`` to retry until you receive a response. Pass a 10:56:26 :class:`~urllib3.util.retry.Retry` object for fine-grained control 10:56:26 over different types of retries. 10:56:26 Pass an integer number to retry connection errors that many times, 10:56:26 but no other types of errors. Pass zero to never retry. 10:56:26 10:56:26 If ``False``, then retries are disabled and any exception is raised 10:56:26 immediately. Also, instead of raising a MaxRetryError on redirects, 10:56:26 the redirect response will be returned. 10:56:26 10:56:26 :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int. 10:56:26 10:56:26 :param timeout: 10:56:26 If specified, overrides the default timeout for this one 10:56:26 request. It may be a float (in seconds) or an instance of 10:56:26 :class:`urllib3.util.Timeout`. 10:56:26 10:56:26 :param chunked: 10:56:26 If True, urllib3 will send the body using chunked transfer 10:56:26 encoding. Otherwise, urllib3 will send the body using the standard 10:56:26 content-length form. Defaults to False. 10:56:26 10:56:26 :param response_conn: 10:56:26 Set this to ``None`` if you will handle releasing the connection or 10:56:26 set the connection to have the response release it. 10:56:26 10:56:26 :param preload_content: 10:56:26 If True, the response's body will be preloaded during construction. 10:56:26 10:56:26 :param decode_content: 10:56:26 If True, will attempt to decode the body based on the 10:56:26 'content-encoding' header. 10:56:26 10:56:26 :param enforce_content_length: 10:56:26 Enforce content length checking. Body returned by server must match 10:56:26 value of Content-Length header, if present. Otherwise, raise error. 10:56:26 """ 10:56:26 self.num_requests += 1 10:56:26 10:56:26 timeout_obj = self._get_timeout(timeout) 10:56:26 timeout_obj.start_connect() 10:56:26 conn.timeout = Timeout.resolve_default_timeout(timeout_obj.connect_timeout) 10:56:26 10:56:26 try: 10:56:26 # Trigger any extra validation we need to do. 10:56:26 try: 10:56:26 self._validate_conn(conn) 10:56:26 except (SocketTimeout, BaseSSLError) as e: 10:56:26 self._raise_timeout(err=e, url=url, timeout_value=conn.timeout) 10:56:26 raise 10:56:26 10:56:26 # _validate_conn() starts the connection to an HTTPS proxy 10:56:26 # so we need to wrap errors with 'ProxyError' here too. 10:56:26 except ( 10:56:26 OSError, 10:56:26 NewConnectionError, 10:56:26 TimeoutError, 10:56:26 BaseSSLError, 10:56:26 CertificateError, 10:56:26 SSLError, 10:56:26 ) as e: 10:56:26 new_e: Exception = e 10:56:26 if isinstance(e, (BaseSSLError, CertificateError)): 10:56:26 new_e = SSLError(e) 10:56:26 # If the connection didn't successfully connect to it's proxy 10:56:26 # then there 10:56:26 if isinstance( 10:56:26 new_e, (OSError, NewConnectionError, TimeoutError, SSLError) 10:56:26 ) and (conn and conn.proxy and not conn.has_connected_to_proxy): 10:56:26 new_e = _wrap_proxy_error(new_e, conn.proxy.scheme) 10:56:26 raise new_e 10:56:26 10:56:26 # conn.request() calls http.client.*.request, not the method in 10:56:26 # urllib3.request. It also calls makefile (recv) on the socket. 10:56:26 try: 10:56:26 conn.request( 10:56:26 method, 10:56:26 url, 10:56:26 body=body, 10:56:26 headers=headers, 10:56:26 chunked=chunked, 10:56:26 preload_content=preload_content, 10:56:26 decode_content=decode_content, 10:56:26 enforce_content_length=enforce_content_length, 10:56:26 ) 10:56:26 10:56:26 # We are swallowing BrokenPipeError (errno.EPIPE) since the server is 10:56:26 # legitimately able to close the connection after sending a valid response. 10:56:26 # With this behaviour, the received response is still readable. 10:56:26 except BrokenPipeError: 10:56:26 pass 10:56:26 except OSError as e: 10:56:26 # MacOS/Linux 10:56:26 # EPROTOTYPE and ECONNRESET are needed on macOS 10:56:26 # https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ 10:56:26 # Condition changed later to emit ECONNRESET instead of only EPROTOTYPE. 10:56:26 if e.errno != errno.EPROTOTYPE and e.errno != errno.ECONNRESET: 10:56:26 raise 10:56:26 10:56:26 # Reset the timeout for the recv() on the socket 10:56:26 read_timeout = timeout_obj.read_timeout 10:56:26 10:56:26 if not conn.is_closed: 10:56:26 # In Python 3 socket.py will catch EAGAIN and return None when you 10:56:26 # try and read into the file pointer created by http.client, which 10:56:26 # instead raises a BadStatusLine exception. Instead of catching 10:56:26 # the exception and assuming all BadStatusLine exceptions are read 10:56:26 # timeouts, check for a zero timeout before making the request. 10:56:26 if read_timeout == 0: 10:56:26 raise ReadTimeoutError( 10:56:26 self, url, f"Read timed out. (read timeout={read_timeout})" 10:56:26 ) 10:56:26 conn.timeout = read_timeout 10:56:26 10:56:26 # Receive the response from the server 10:56:26 try: 10:56:26 > response = conn.getresponse() 10:56:26 ^^^^^^^^^^^^^^^^^^ 10:56:26 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connectionpool.py:534: 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connection.py:571: in getresponse 10:56:26 httplib_response = super().getresponse() 10:56:26 ^^^^^^^^^^^^^^^^^^^^^ 10:56:26 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:1395: in getresponse 10:56:26 response.begin() 10:56:26 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:325: in begin 10:56:26 version, status, reason = self._read_status() 10:56:26 ^^^^^^^^^^^^^^^^^^^ 10:56:26 /opt/pyenv/versions/3.11.10/lib/python3.11/http/client.py:286: in _read_status 10:56:26 line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 10:56:26 self = 10:56:26 b = 10:56:26 10:56:26 def readinto(self, b): 10:56:26 """Read up to len(b) bytes into the writable buffer *b* and return 10:56:26 the number of bytes read. If the socket is non-blocking and no bytes 10:56:26 are available, None is returned. 10:56:26 10:56:26 If *b* is non-empty, a 0 return value indicates that the connection 10:56:26 was shutdown at the other end. 10:56:26 """ 10:56:26 self._checkClosed() 10:56:26 self._checkReadable() 10:56:26 if self._timeout_occurred: 10:56:26 raise OSError("cannot read from timed out object") 10:56:26 while True: 10:56:26 try: 10:56:26 > return self._sock.recv_into(b) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 E TimeoutError: timed out 10:56:26 10:56:26 /opt/pyenv/versions/3.11.10/lib/python3.11/socket.py:718: TimeoutError 10:56:26 10:56:26 The above exception was the direct cause of the following exception: 10:56:26 10:56:26 self = 10:56:26 request = , stream = False, timeout = 30, verify = True 10:56:26 cert = None, proxies = OrderedDict() 10:56:26 10:56:26 def send( 10:56:26 self, 10:56:26 request: PreparedRequest, 10:56:26 stream: bool = False, 10:56:26 timeout: _t.TimeoutType = None, 10:56:26 verify: _t.VerifyType = True, 10:56:26 cert: _t.CertType = None, 10:56:26 proxies: dict[str, str] | None = None, 10:56:26 ) -> Response: 10:56:26 """Sends PreparedRequest object. Returns Response object. 10:56:26 10:56:26 :param request: The :class:`PreparedRequest ` being sent. 10:56:26 :param stream: (optional) Whether to stream the request content. 10:56:26 :param timeout: (optional) How long to wait for the server to send 10:56:26 data before giving up, as a float, or a :ref:`(connect timeout, 10:56:26 read timeout) ` tuple. 10:56:26 :type timeout: float or tuple or urllib3 Timeout object 10:56:26 :param verify: (optional) Either a boolean, in which case it controls whether 10:56:26 we verify the server's TLS certificate, or a string, in which case it 10:56:26 must be a path to a CA bundle to use 10:56:26 :param cert: (optional) Any user-provided SSL certificate to be trusted. 10:56:26 :param proxies: (optional) The proxies dictionary to apply to the request. 10:56:26 :rtype: requests.Response 10:56:26 """ 10:56:26 10:56:26 assert _is_prepared(request) 10:56:26 10:56:26 try: 10:56:26 conn = self.get_connection_with_tls_context( 10:56:26 request, verify, proxies=proxies, cert=cert 10:56:26 ) 10:56:26 except LocationValueError as e: 10:56:26 raise InvalidURL(e, request=request) 10:56:26 10:56:26 self.cert_verify(conn, request.url, verify, cert) 10:56:26 url = self.request_url(request, proxies) 10:56:26 self.add_headers( 10:56:26 request, 10:56:26 stream=stream, 10:56:26 timeout=timeout, 10:56:26 verify=verify, 10:56:26 cert=cert, 10:56:26 proxies=proxies, 10:56:26 ) 10:56:26 10:56:26 chunked = not (request.body is None or "Content-Length" in request.headers) 10:56:26 10:56:26 if isinstance(timeout, tuple): 10:56:26 try: 10:56:26 connect, read = timeout 10:56:26 resolved_timeout = TimeoutSauce(connect=connect, read=read) 10:56:26 except ValueError: 10:56:26 raise ValueError( 10:56:26 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 10:56:26 f"or a single float to set both timeouts to the same value." 10:56:26 ) 10:56:26 elif isinstance(timeout, TimeoutSauce): 10:56:26 resolved_timeout = timeout 10:56:26 else: 10:56:26 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 10:56:26 10:56:26 try: 10:56:26 > resp = conn.urlopen( 10:56:26 method=request.method, 10:56:26 url=url, 10:56:26 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 10:56:26 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 10:56:26 redirect=False, 10:56:26 assert_same_host=False, 10:56:26 preload_content=False, 10:56:26 decode_content=False, 10:56:26 retries=self.max_retries, 10:56:26 timeout=resolved_timeout, 10:56:26 chunked=chunked, 10:56:26 ) 10:56:26 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/requests/adapters.py:696: 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connectionpool.py:842: in urlopen 10:56:26 retries = retries.increment( 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/util/retry.py:498: in increment 10:56:26 raise reraise(type(error), error, _stacktrace) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/util/util.py:39: in reraise 10:56:26 raise value 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connectionpool.py:788: in urlopen 10:56:26 response = self._make_request( 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connectionpool.py:536: in _make_request 10:56:26 self._raise_timeout(err=e, url=url, timeout_value=read_timeout) 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 10:56:26 self = 10:56:26 err = TimeoutError('timed out') 10:56:26 url = '/rests/data/ietf-network:networks/network=otn-topology?content=config' 10:56:26 timeout_value = 30 10:56:26 10:56:26 def _raise_timeout( 10:56:26 self, 10:56:26 err: BaseSSLError | OSError | SocketTimeout, 10:56:26 url: str, 10:56:26 timeout_value: _TYPE_TIMEOUT | None, 10:56:26 ) -> None: 10:56:26 """Is the error actually a timeout? Will raise a ReadTimeout or pass""" 10:56:26 10:56:26 if isinstance(err, SocketTimeout): 10:56:26 > raise ReadTimeoutError( 10:56:26 self, url, f"Read timed out. (read timeout={timeout_value})" 10:56:26 ) from err 10:56:26 E urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8183): Read timed out. (read timeout=30) 10:56:26 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/urllib3/connectionpool.py:367: ReadTimeoutError 10:56:26 10:56:26 During handling of the above exception, another exception occurred: 10:56:26 10:56:26 cls = 10:56:26 10:56:26 @classmethod 10:56:26 def tearDownClass(cls): 10:56:26 test_utils_generate_tapi_topo.cleanup_and_disconnect_devices() 10:56:26 # pylint: disable=not-an-iterable 10:56:26 > test_utils_generate_tapi_topo.uninstall_Tapi_Feature() 10:56:26 10:56:26 transportpce_tests/tapi/test05_pce_tapi.py:341: 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 transportpce_tests/common/test_utils_generate_tapi_topo.py:383: in uninstall_Tapi_Feature 10:56:26 response = test_utils.get_ietf_network_request('otn-topology', 'config') 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 transportpce_tests/common/test_utils.py:562: in get_ietf_network_request 10:56:26 response = get_request(url[RESTCONF_VERSION].format(*format_args)) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 transportpce_tests/common/test_utils.py:117: in get_request 10:56:26 return requests.request( 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/requests/api.py:71: in request 10:56:26 return session.request(method=method, url=url, **kwargs) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/requests/sessions.py:651: in request 10:56:26 resp = self.send(prep, **send_kwargs) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/requests/sessions.py:784: in send 10:56:26 r = adapter.send(request, **kwargs) 10:56:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:56:26 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:56:26 10:56:26 self = 10:56:26 request = , stream = False, timeout = 30, verify = True 10:56:26 cert = None, proxies = OrderedDict() 10:56:26 10:56:26 def send( 10:56:26 self, 10:56:26 request: PreparedRequest, 10:56:26 stream: bool = False, 10:56:26 timeout: _t.TimeoutType = None, 10:56:26 verify: _t.VerifyType = True, 10:56:26 cert: _t.CertType = None, 10:56:26 proxies: dict[str, str] | None = None, 10:56:26 ) -> Response: 10:56:26 """Sends PreparedRequest object. Returns Response object. 10:56:26 10:56:26 :param request: The :class:`PreparedRequest ` being sent. 10:56:26 :param stream: (optional) Whether to stream the request content. 10:56:26 :param timeout: (optional) How long to wait for the server to send 10:56:26 data before giving up, as a float, or a :ref:`(connect timeout, 10:56:26 read timeout) ` tuple. 10:56:26 :type timeout: float or tuple or urllib3 Timeout object 10:56:26 :param verify: (optional) Either a boolean, in which case it controls whether 10:56:26 we verify the server's TLS certificate, or a string, in which case it 10:56:26 must be a path to a CA bundle to use 10:56:26 :param cert: (optional) Any user-provided SSL certificate to be trusted. 10:56:26 :param proxies: (optional) The proxies dictionary to apply to the request. 10:56:26 :rtype: requests.Response 10:56:26 """ 10:56:26 10:56:26 assert _is_prepared(request) 10:56:26 10:56:26 try: 10:56:26 conn = self.get_connection_with_tls_context( 10:56:26 request, verify, proxies=proxies, cert=cert 10:56:26 ) 10:56:26 except LocationValueError as e: 10:56:26 raise InvalidURL(e, request=request) 10:56:26 10:56:26 self.cert_verify(conn, request.url, verify, cert) 10:56:26 url = self.request_url(request, proxies) 10:56:26 self.add_headers( 10:56:26 request, 10:56:26 stream=stream, 10:56:26 timeout=timeout, 10:56:26 verify=verify, 10:56:26 cert=cert, 10:56:26 proxies=proxies, 10:56:26 ) 10:56:26 10:56:26 chunked = not (request.body is None or "Content-Length" in request.headers) 10:56:26 10:56:26 if isinstance(timeout, tuple): 10:56:26 try: 10:56:26 connect, read = timeout 10:56:26 resolved_timeout = TimeoutSauce(connect=connect, read=read) 10:56:26 except ValueError: 10:56:26 raise ValueError( 10:56:26 f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, " 10:56:26 f"or a single float to set both timeouts to the same value." 10:56:26 ) 10:56:26 elif isinstance(timeout, TimeoutSauce): 10:56:26 resolved_timeout = timeout 10:56:26 else: 10:56:26 resolved_timeout = TimeoutSauce(connect=timeout, read=timeout) 10:56:26 10:56:26 try: 10:56:26 resp = conn.urlopen( 10:56:26 method=request.method, 10:56:26 url=url, 10:56:26 body=request.body, # type: ignore[arg-type] # urllib3 stubs don't accept Iterable[bytes | str] 10:56:26 headers=request.headers, # type: ignore[arg-type] # urllib3#3072 10:56:26 redirect=False, 10:56:26 assert_same_host=False, 10:56:26 preload_content=False, 10:56:26 decode_content=False, 10:56:26 retries=self.max_retries, 10:56:26 timeout=resolved_timeout, 10:56:26 chunked=chunked, 10:56:26 ) 10:56:26 10:56:26 except (ProtocolError, OSError) as err: 10:56:26 raise ConnectionError(err, request=request) 10:56:26 10:56:26 except MaxRetryError as e: 10:56:26 if isinstance(e.reason, ConnectTimeoutError): 10:56:26 # TODO: Remove this in 3.0.0: see #2811 10:56:26 if not isinstance(e.reason, NewConnectionError): 10:56:26 raise ConnectTimeout(e, request=request) 10:56:26 10:56:26 if isinstance(e.reason, ResponseError): 10:56:26 raise RetryError(e, request=request) 10:56:26 10:56:26 if isinstance(e.reason, _ProxyError): 10:56:26 raise ProxyError(e, request=request) 10:56:26 10:56:26 if isinstance(e.reason, _SSLError): 10:56:26 # This branch is for urllib3 v1.22 and later. 10:56:26 raise SSLError(e, request=request) 10:56:26 10:56:26 raise ConnectionError(e, request=request) 10:56:26 10:56:26 except ClosedPoolError as e: 10:56:26 raise ConnectionError(e, request=request) 10:56:26 10:56:26 except _ProxyError as e: 10:56:26 raise ProxyError(e) 10:56:26 10:56:26 except (_SSLError, _HTTPError) as e: 10:56:26 if isinstance(e, _SSLError): 10:56:26 # This branch is for urllib3 versions earlier than v1.22 10:56:26 raise SSLError(e, request=request) 10:56:26 elif isinstance(e, ReadTimeoutError): 10:56:26 > raise ReadTimeout(e, request=request) 10:56:26 E requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8183): Read timed out. (read timeout=30) 10:56:26 10:56:26 ../.tox/tests_tapi/lib/python3.11/site-packages/requests/adapters.py:742: ReadTimeout 10:56:26 --------------------------- Captured stdout teardown --------------------------- 10:56:26 Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-A1 still not deleted from tpce topology... Searching for patterns in karaf.log... Pattern found! Node SPDR-SA1 correctly deleted from tpce topology... uninstalling feature odl-transportpce-tapi 10:56:26 client: JAVA_HOME not set; results may vary 10:56:26 odl-transportpce-tapi │ 13.0.0.SNAPSHOT │ │ Uninstalled │ odl-transportpce-tapi │ OpenDaylight :: transportpce :: tapi 10:56:26 =================================== FAILURES =================================== 10:56:26 _ TransportPCEtest.test_02_successfull_path_computation_phtnc_service_spdr_x2 __ 10:56:26 10:56:26 self = 10:56:26 10:56:26 def test_02_successfull_path_computation_phtnc_service_spdr_x2(self): 10:56:26 # Path Computation from NEP of SPDR-SA1-XPDR2-NETWORK2 to NEP of of SPDR-SC1-XPDR2-NETWORK2 10:56:26 self.path_computation_input_data["service-a-end"]["service-rate"] = "100" 10:56:26 self.path_computation_input_data["service-z-end"]["service-rate"] = "100" 10:56:26 response = test_utils.transportpce_api_rpc_request('transportpce-pce', 10:56:26 'path-computation-request', 10:56:26 self.path_computation_input_data) 10:56:26 # pylint: disable=consider-using-f-string 10:56:26 print("getServiceResponse Service1 PhotonicMedia: {}".format(response)) 10:56:26 self.assertEqual(response['status_code'], requests.codes.ok) 10:56:26 > self.assertIn('Path is calculated', 10:56:26 response['output']['configuration-response-common']['response-message']) 10:56:26 E AssertionError: 'Path is calculated' not found in 'No path found by PCE.' 10:56:26 10:56:26 transportpce_tests/tapi/test05_pce_tapi.py:373: AssertionError 10:56:26 ----------------------------- Captured stdout call ----------------------------- 10:56:26 getServiceResponse Service1 PhotonicMedia: {'status_code': 200, 'output': {'configuration-response-common': {'response-code': '500', 'response-message': 'No path found by PCE.', 'ack-final-indicator': 'Yes', 'request-id': 'request1'}}} 10:56:26 _ TransportPCEtest.test_09_successfull_path_computation_phtnc_service_spdr_x1 __ 10:56:26 10:56:26 self = 10:56:26 10:56:26 def test_09_successfull_path_computation_phtnc_service_spdr_x1(self): 10:56:26 # Path Computation from NEP of SPDR-SA1-XPDR1-NETWORK1 to NEP of of SPDR-SC1-XPDR1-NETWORK1 10:56:26 self.path_computation_input_data["service-name"] = "383790b1-ce29-4b7f-8462-1ca72d9db6ad" 10:56:26 self.path_computation_input_data["service-a-end"]["clli"] = self.s1Auuid 10:56:26 self.path_computation_input_data["service-a-end"]["service-format"] = "OTU" 10:56:26 self.path_computation_input_data["service-a-end"]["service-rate"] = "100" 10:56:26 self.path_computation_input_data["service-a-end"]["node-id"] = "SPDR-SA1-XPDR1+XPONDER" 10:56:26 self.path_computation_input_data["service-a-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" 10:56:26 self.path_computation_input_data["service-a-end"]["tx-direction"]["logical-connection-point"] = self.nAX1OTS1 10:56:26 self.path_computation_input_data["service-a-end"]["rx-direction"]["logical-connection-point"] = self.nAX1OTS1 10:56:26 self.path_computation_input_data["service-z-end"]["clli"] = self.s1Cuuid 10:56:26 self.path_computation_input_data["service-z-end"]["service-format"] = "OTU" 10:56:26 self.path_computation_input_data["service-z-end"]["service-rate"] = "100" 10:56:26 self.path_computation_input_data["service-z-end"]["node-id"] = "SPDR-SC1-XPDR1+XPONDER" 10:56:26 self.path_computation_input_data["service-z-end"]["otu-service-rate"] = "org-openroadm-otn-common-types:OTU4" 10:56:26 self.path_computation_input_data["service-z-end"]["tx-direction"]["logical-connection-point"] = self.nZX1OTS1 10:56:26 self.path_computation_input_data["service-z-end"]["rx-direction"]["logical-connection-point"] = self.nZX1OTS1 10:56:26 response = test_utils.transportpce_api_rpc_request('transportpce-pce', 10:56:26 'path-computation-request', 10:56:26 self.path_computation_input_data) 10:56:26 # pylint: disable=consider-using-f-string 10:56:26 print("getServiceResponse Service2 PhotonicMedia: {}".format(response)) 10:56:26 self.assertEqual(response['status_code'], requests.codes.ok) 10:56:26 > self.assertIn('Path is calculated', 10:56:26 response['output']['configuration-response-common']['response-message']) 10:56:26 E AssertionError: 'Path is calculated' not found in 'No path found by PCE.' 10:56:26 10:56:26 transportpce_tests/tapi/test05_pce_tapi.py:589: AssertionError 10:56:26 ----------------------------- Captured stdout call ----------------------------- 10:56:26 getServiceResponse Service2 PhotonicMedia: {'status_code': 200, 'output': {'configuration-response-common': {'response-code': '500', 'response-message': 'No path found by PCE.', 'ack-final-indicator': 'Yes', 'request-id': 'request1'}}} 10:56:26 =========================== short test summary info ============================ 10:56:26 FAILED transportpce_tests/tapi/test05_pce_tapi.py::TransportPCEtest::test_02_successfull_path_computation_phtnc_service_spdr_x2 10:56:26 FAILED transportpce_tests/tapi/test05_pce_tapi.py::TransportPCEtest::test_09_successfull_path_computation_phtnc_service_spdr_x1 10:56:26 ERROR transportpce_tests/tapi/test05_pce_tapi.py::TransportPCEtest::test_22_get_no_tapi_services 10:56:26 2 failed, 20 passed, 1 error in 656.68s (0:10:56) 10:56:26 tests71: OK ✔ in 8 minutes 5.18 seconds 10:56:26 tests121: OK ✔ in 27 minutes 8.69 seconds 10:56:26 tests_tapi: exit 1 (2036.27 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh tapi pid=8912 10:56:26 tests_tapi: FAIL ✖ in 34 minutes 18.09 seconds 10:56:26 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 10:56:51 tests221: freeze> python -m pip freeze --all 10:56:51 tests221: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:56:51 tests221: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 10:56:51 using environment variables from ./karaf221.env 10:56:51 pytest -q transportpce_tests/2.2.1/test01_portmapping.py 10:58:32 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 10:58:39 ==================================== ERRORS ==================================== 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_01_rdm_device_connection __ 10:58:39 10:58:39 cls = 10:58:39 10:58:39 @classmethod 10:58:39 def setUpClass(cls): 10:58:39 > cls.processes = test_utils.start_tpce() 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 10:58:39 transportpce_tests/2.2.1/test01_portmapping.py:33: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 def start_tpce(): 10:58:39 if 'NO_ODL_STARTUP' in os.environ: 10:58:39 print('No OpenDaylight instance to start!') 10:58:39 return [] 10:58:39 print('starting OpenDaylight...') 10:58:39 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 10:58:39 process = start_lighty() 10:58:39 else: 10:58:39 process = start_karaf() 10:58:39 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 10:58:39 print('OpenDaylight started !') 10:58:39 else: 10:58:39 print('OpenDaylight failed to start !') 10:58:39 shutdown_process(process) 10:58:39 for pid in process_list: 10:58:39 shutdown_process(pid) 10:58:39 > sys.exit(1) 10:58:39 E SystemExit: 1 10:58:39 10:58:39 transportpce_tests/common/test_utils.py:232: SystemExit 10:58:39 ---------------------------- Captured stdout setup ----------------------------- 10:58:39 starting OpenDaylight... 10:58:39 starting KARAF (karaf221) TransportPCE build... 10:58:39 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 10:58:39 __ ERROR at setup of TestTransportPCEPortmapping.test_02_rdm_device_connected __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71db740> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 __ ERROR at setup of TestTransportPCEPortmapping.test_03_rdm_portmapping_info __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722af20> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_04_rdm_portmapping_DEG1_TTP_TXRX _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29da12a2a0> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d89ad300> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_06_rdm_portmapping_SRG1_PP3_TXRX _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71db7e0> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_07_rdm_portmapping_SRG3_PP1_TXRX _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d89ad300> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_08_xpdr_device_connection _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71dba60> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_09_xpdr_device_connected __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d7229d00> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_10_xpdr_portmapping_info __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_11_xpdr_portmapping_NETWORK1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71dba60> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_12_xpdr_portmapping_XPDR2_NETWORK1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d7229ee0> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_13_xpdr_portmapping_XPDR1_CLIENT1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_14_xpdr_portmapping_XPDR1_CLIENT2 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722a700> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_15_spdr_device_connection _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71dba60> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_16_spdr_device_connected __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_17_spdr_portmapping_info __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722b9c0> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_18_spdr_switching_pool_1 __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722a700> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_19_spdr_switching_pool_2 __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722a0c0> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_20_spdr_switching_pool_3 __ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71dba60> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_21_spdr_portmapping_mappings _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71da200> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_22_spdr_portmapping_XPDR1_CLIENT1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_23_spdr_portmapping_XPDR1_NETWORK1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71da520> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_24_spdr_portmapping_XPDR2_CLIENT2 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d722a700> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_25_spdr_portmapping_XPDR2_NETWORK2 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_26_spdr_portmapping_XPDR3_CLIENT3 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71da200> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_27_spdr_portmapping_XPDR3_NETWORK1 _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_28_spdr_device_disconnection _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d71da200> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_29_xpdr_device_disconnected _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d6a28a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_30_xpdr_device_disconnection _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_31_xpdr_device_disconnected _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d6a28900> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_32_xpdr_device_not_connected _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d6a28180> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_33_rdm_device_disconnection _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_34_rdm_device_disconnected _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d6a28540> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 _ ERROR at setup of TestTransportPCEPortmapping.test_35_rdm_device_not_connected _ 10:58:39 10:58:39 cls = 10:58:39 func = . at 0x7f29d9540a40> 10:58:39 when = 'setup' 10:58:39 reraise = (, ) 10:58:39 10:58:39 @classmethod 10:58:39 def from_call( 10:58:39 cls, 10:58:39 func: Callable[[], TResult], 10:58:39 when: Literal["collect", "setup", "call", "teardown"], 10:58:39 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 10:58:39 ) -> CallInfo[TResult]: 10:58:39 """Call func, wrapping the result in a CallInfo. 10:58:39 10:58:39 :param func: 10:58:39 The function to call. Called without arguments. 10:58:39 :type func: Callable[[], _pytest.runner.TResult] 10:58:39 :param when: 10:58:39 The phase in which the function is called. 10:58:39 :param reraise: 10:58:39 Exception or exceptions that shall propagate if raised by the 10:58:39 function, instead of being wrapped in the CallInfo. 10:58:39 """ 10:58:39 excinfo = None 10:58:39 instant = timing.Instant() 10:58:39 try: 10:58:39 > result: TResult | None = func() 10:58:39 ^^^^^^ 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:361: 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:250: in 10:58:39 lambda: runtest_hook(item=item, **kwds), 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 10:58:39 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 10:58:39 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 10:58:39 yield 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 10:58:39 return (yield) 10:58:39 ^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 10:58:39 item.session._setupstate.setup(item) 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 10:58:39 col.setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 10:58:39 super().setup() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 10:58:39 self._request._fillfixtures() 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 10:58:39 item.funcargs[argname] = self.getfixturevalue(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 10:58:39 fixturedef = self._get_active_fixturedef(argname) 10:58:39 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 10:58:39 fixturedef.execute(request=subrequest) 10:58:39 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 10:58:39 10:58:39 self = 10:58:39 request = > 10:58:39 10:58:39 def execute(self, request: SubRequest) -> FixtureValue: 10:58:39 """Return the value of this fixture, executing it if not cached.""" 10:58:39 # Ensure that the dependent fixtures requested by this fixture are loaded. 10:58:39 # This needs to be done before checking if we have a cached value, since 10:58:39 # if a dependent fixture has their cache invalidated, e.g. due to 10:58:39 # parametrization, they finalize themselves and fixtures depending on it 10:58:39 # (which will likely include this fixture) setting `self.cached_result = None`. 10:58:39 # See #4871 10:58:39 requested_fixtures_that_should_finalize_us = [] 10:58:39 for argname in self.argnames: 10:58:39 fixturedef = request._get_active_fixturedef(argname) 10:58:39 # Saves requested fixtures in a list so we later can add our finalizer 10:58:39 # to them, ensuring that if a requested fixture gets torn down we get torn 10:58:39 # down first. This is generally handled by SetupState, but still currently 10:58:39 # needed when this fixture is not parametrized but depends on a parametrized 10:58:39 # fixture. 10:58:39 requested_fixtures_that_should_finalize_us.append(fixturedef) 10:58:39 10:58:39 # Check for (and return) cached value/exception. 10:58:39 if self.cached_result is not None: 10:58:39 request_cache_key = self.cache_key(request) 10:58:39 cache_key = self.cached_result[1] 10:58:39 try: 10:58:39 # Attempt to make a normal == check: this might fail for objects 10:58:39 # which do not implement the standard comparison (like numpy arrays -- #6497). 10:58:39 cache_hit = bool(request_cache_key == cache_key) 10:58:39 except (ValueError, RuntimeError): 10:58:39 # If the comparison raises, use 'is' as fallback. 10:58:39 cache_hit = request_cache_key is cache_key 10:58:39 10:58:39 if cache_hit: 10:58:39 if self.cached_result[2] is not None: 10:58:39 exc, exc_tb = self.cached_result[2] 10:58:39 raise exc.with_traceback(exc_tb) 10:58:39 else: 10:58:39 return self.cached_result[0] 10:58:39 # We have a previous but differently parametrized fixture instance 10:58:39 # so we need to tear it down before creating a new one. 10:58:39 self.finish(request) 10:58:39 assert self.cached_result is None 10:58:39 10:58:39 # Add finalizer to requested fixtures we saved previously. 10:58:39 # We make sure to do this after checking for cached value to avoid 10:58:39 # adding our finalizer multiple times. (#12135) 10:58:39 finalizer = functools.partial(self.finish, request=request) 10:58:39 for parent_fixture in requested_fixtures_that_should_finalize_us: 10:58:39 parent_fixture.addfinalizer(finalizer) 10:58:39 10:58:39 # Register the pytest_fixture_post_finalizer as the first finalizer, 10:58:39 # which is executed last. 10:58:39 > assert not self._finalizers 10:58:39 ^^^^^^^^^^^^^^^^^^^^ 10:58:39 E AssertionError 10:58:39 10:58:39 ../.tox/tests221/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 10:58:39 =========================== short test summary info ============================ 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_01_rdm_device_connection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_02_rdm_device_connected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_03_rdm_portmapping_info 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_rdm_portmapping_DEG1_TTP_TXRX 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_rdm_portmapping_DEG2_TTP_TXRX_with_ots_oms 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_rdm_portmapping_SRG1_PP3_TXRX 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_07_rdm_portmapping_SRG3_PP1_TXRX 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_08_xpdr_device_connection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_09_xpdr_device_connected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_portmapping_info 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_11_xpdr_portmapping_NETWORK1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_12_xpdr_portmapping_XPDR2_NETWORK1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_13_xpdr_portmapping_XPDR1_CLIENT1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_14_xpdr_portmapping_XPDR1_CLIENT2 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_15_spdr_device_connection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_16_spdr_device_connected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_17_spdr_portmapping_info 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_18_spdr_switching_pool_1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_19_spdr_switching_pool_2 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_20_spdr_switching_pool_3 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_21_spdr_portmapping_mappings 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_22_spdr_portmapping_XPDR1_CLIENT1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_23_spdr_portmapping_XPDR1_NETWORK1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_24_spdr_portmapping_XPDR2_CLIENT2 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_25_spdr_portmapping_XPDR2_NETWORK2 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_26_spdr_portmapping_XPDR3_CLIENT3 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_27_spdr_portmapping_XPDR3_NETWORK1 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_28_spdr_device_disconnection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_29_xpdr_device_disconnected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_30_xpdr_device_disconnection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_31_xpdr_device_disconnected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_32_xpdr_device_not_connected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_33_rdm_device_disconnection 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_34_rdm_device_disconnected 10:58:39 ERROR transportpce_tests/2.2.1/test01_portmapping.py::TestTransportPCEPortmapping::test_35_rdm_device_not_connected 10:58:39 35 errors in 107.52s (0:01:47) 10:58:39 tests221: exit 1 (107.86 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh 2.2.1 pid=31784 10:58:39 tests221: FAIL ✖ in 2 minutes 13.02 seconds 10:58:39 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 10:58:48 tests_hybrid: freeze> python -m pip freeze --all 10:58:48 tests_hybrid: bcrypt==5.0.0,certifi==2026.5.20,cffi==2.0.0,charset-normalizer==3.4.7,cryptography==49.0.0,dict2xml==1.7.8,idna==3.18,iniconfig==2.3.0,invoke==3.0.3,lxml==6.1.1,netconf-client==3.6.0,packaging==26.2,paramiko==5.0.0,pip==26.1.2,pluggy==1.6.0,psutil==7.2.2,pycparser==3.0,Pygments==2.20.0,PyNaCl==1.6.2,pytest==9.1.0,requests==2.34.2,setuptools==82.0.1,urllib3==2.7.0 10:58:48 tests_hybrid: commands[0] /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid 10:58:48 using environment variables from ./karaf221.env 10:58:48 pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py 11:00:29 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] 11:00:40 ==================================== ERRORS ==================================== 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_01_connect_xpdrA _ 11:00:40 11:00:40 cls = 11:00:40 11:00:40 @classmethod 11:00:40 def setUpClass(cls): 11:00:40 > cls.processes = test_utils.start_tpce() 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 11:00:40 transportpce_tests/hybrid/test01_device_change_notifications.py:77: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 def start_tpce(): 11:00:40 if 'NO_ODL_STARTUP' in os.environ: 11:00:40 print('No OpenDaylight instance to start!') 11:00:40 return [] 11:00:40 print('starting OpenDaylight...') 11:00:40 if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': 11:00:40 process = start_lighty() 11:00:40 else: 11:00:40 process = start_karaf() 11:00:40 if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): 11:00:40 print('OpenDaylight started !') 11:00:40 else: 11:00:40 print('OpenDaylight failed to start !') 11:00:40 shutdown_process(process) 11:00:40 for pid in process_list: 11:00:40 shutdown_process(pid) 11:00:40 > sys.exit(1) 11:00:40 E SystemExit: 1 11:00:40 11:00:40 transportpce_tests/common/test_utils.py:232: SystemExit 11:00:40 ---------------------------- Captured stdout setup ----------------------------- 11:00:40 starting OpenDaylight... 11:00:40 starting KARAF (karaf221) TransportPCE build... 11:00:40 Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_02_connect_xpdrC _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3bad40> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_03_connect_rdmA _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce40bf60> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_04_connect_rdmC _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29d074eca0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_05_connect_xpdrA_N1_to_roadmA_PP1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9bc0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_06_connect_roadmA_PP1_to_xpdrA_N1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cfb41da0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_07_connect_xpdrC_N1_to_roadmC_PP1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9bc0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_08_connect_roadmC_PP1_to_xpdrC_N1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce40b2e0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_09_add_omsAttributes_ROADMA_ROADMC _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce40a980> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_10_add_omsAttributes_ROADMC_ROADMA _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29d07187c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_11_create_eth_service1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9bc0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_12_get_eth_service1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd99e0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_13_change_status_line_port_xpdra _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9bc0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29d07187c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd9e40> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_17_restore_status_line_port_xpdra _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9da0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_18_check_update_portmapping_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce40bf60> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_19_check_update_openroadm_topo_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3b9da0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_20_check_update_service1_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29d07187c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_21_change_status_port_roadma_srg _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_22_check_update_portmapping _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29d07187c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_23_check_update_openroadm_topo _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda160> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_24_restore_status_port_roadma_srg _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_25_check_update_portmapping_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda160> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_26_check_update_openroadm_topo_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd8900> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_27_check_update_service1_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_28_change_status_line_port_roadma_deg _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd94e0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_29_check_update_portmapping _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda340> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_30_check_update_openroadm_topo _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_31_restore_status_line_port_roadma_srg _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd9760> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_32_check_update_portmapping_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd84a0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_33_check_update_openroadm_topo_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_34_check_update_service1_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd8fe0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_35_change_status_line_port_xpdrc _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd84a0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_36_check_update_portmapping _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_37_check_update_openroadm_topo _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd9800> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_38_restore_status_line_port_xpdrc _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_39_check_update_portmapping_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda020> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_40_check_update_openroadm_topo_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_41_check_update_service1_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_42_change_status_port_roadma_srg _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_43_check_update_portmapping _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cdddaac0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_44_check_update_openroadm_topo _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_45_check_update_service1_ok _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd9b20> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_46_delete_eth_service1 _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cdddade0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_47_disconnect_xponders_from_roadm _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_48_disconnect_XPDRA _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd9800> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_49_disconnect_XPDRC _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddd93a0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_50_disconnect_ROADMA _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29ce3ba0c0> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 _ ERROR at setup of TestTransportPCEDeviceChangeNotifications.test_51_disconnect_ROADMC _ 11:00:40 11:00:40 cls = 11:00:40 func = . at 0x7f29cddda520> 11:00:40 when = 'setup' 11:00:40 reraise = (, ) 11:00:40 11:00:40 @classmethod 11:00:40 def from_call( 11:00:40 cls, 11:00:40 func: Callable[[], TResult], 11:00:40 when: Literal["collect", "setup", "call", "teardown"], 11:00:40 reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, 11:00:40 ) -> CallInfo[TResult]: 11:00:40 """Call func, wrapping the result in a CallInfo. 11:00:40 11:00:40 :param func: 11:00:40 The function to call. Called without arguments. 11:00:40 :type func: Callable[[], _pytest.runner.TResult] 11:00:40 :param when: 11:00:40 The phase in which the function is called. 11:00:40 :param reraise: 11:00:40 Exception or exceptions that shall propagate if raised by the 11:00:40 function, instead of being wrapped in the CallInfo. 11:00:40 """ 11:00:40 excinfo = None 11:00:40 instant = timing.Instant() 11:00:40 try: 11:00:40 > result: TResult | None = func() 11:00:40 ^^^^^^ 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:361: 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:250: in 11:00:40 lambda: runtest_hook(item=item, **kwds), 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_hooks.py:512: in __call__ 11:00:40 return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/pluggy/_manager.py:120: in _hookexec 11:00:40 return self._inner_hookexec(hook_name, methods, kwargs, firstresult) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/logging.py:858: in pytest_runtest_setup 11:00:40 yield 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/capture.py:895: in pytest_runtest_setup 11:00:40 return (yield) 11:00:40 ^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:170: in pytest_runtest_setup 11:00:40 item.session._setupstate.setup(item) 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/runner.py:536: in setup 11:00:40 col.setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/unittest.py:248: in setup 11:00:40 super().setup() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/python.py:1710: in setup 11:00:40 self._request._fillfixtures() 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:805: in _fillfixtures 11:00:40 item.funcargs[argname] = self.getfixturevalue(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:629: in getfixturevalue 11:00:40 fixturedef = self._get_active_fixturedef(argname) 11:00:40 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:725: in _get_active_fixturedef 11:00:40 fixturedef.execute(request=subrequest) 11:00:40 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 11:00:40 11:00:40 self = 11:00:40 request = > 11:00:40 11:00:40 def execute(self, request: SubRequest) -> FixtureValue: 11:00:40 """Return the value of this fixture, executing it if not cached.""" 11:00:40 # Ensure that the dependent fixtures requested by this fixture are loaded. 11:00:40 # This needs to be done before checking if we have a cached value, since 11:00:40 # if a dependent fixture has their cache invalidated, e.g. due to 11:00:40 # parametrization, they finalize themselves and fixtures depending on it 11:00:40 # (which will likely include this fixture) setting `self.cached_result = None`. 11:00:40 # See #4871 11:00:40 requested_fixtures_that_should_finalize_us = [] 11:00:40 for argname in self.argnames: 11:00:40 fixturedef = request._get_active_fixturedef(argname) 11:00:40 # Saves requested fixtures in a list so we later can add our finalizer 11:00:40 # to them, ensuring that if a requested fixture gets torn down we get torn 11:00:40 # down first. This is generally handled by SetupState, but still currently 11:00:40 # needed when this fixture is not parametrized but depends on a parametrized 11:00:40 # fixture. 11:00:40 requested_fixtures_that_should_finalize_us.append(fixturedef) 11:00:40 11:00:40 # Check for (and return) cached value/exception. 11:00:40 if self.cached_result is not None: 11:00:40 request_cache_key = self.cache_key(request) 11:00:40 cache_key = self.cached_result[1] 11:00:40 try: 11:00:40 # Attempt to make a normal == check: this might fail for objects 11:00:40 # which do not implement the standard comparison (like numpy arrays -- #6497). 11:00:40 cache_hit = bool(request_cache_key == cache_key) 11:00:40 except (ValueError, RuntimeError): 11:00:40 # If the comparison raises, use 'is' as fallback. 11:00:40 cache_hit = request_cache_key is cache_key 11:00:40 11:00:40 if cache_hit: 11:00:40 if self.cached_result[2] is not None: 11:00:40 exc, exc_tb = self.cached_result[2] 11:00:40 raise exc.with_traceback(exc_tb) 11:00:40 else: 11:00:40 return self.cached_result[0] 11:00:40 # We have a previous but differently parametrized fixture instance 11:00:40 # so we need to tear it down before creating a new one. 11:00:40 self.finish(request) 11:00:40 assert self.cached_result is None 11:00:40 11:00:40 # Add finalizer to requested fixtures we saved previously. 11:00:40 # We make sure to do this after checking for cached value to avoid 11:00:40 # adding our finalizer multiple times. (#12135) 11:00:40 finalizer = functools.partial(self.finish, request=request) 11:00:40 for parent_fixture in requested_fixtures_that_should_finalize_us: 11:00:40 parent_fixture.addfinalizer(finalizer) 11:00:40 11:00:40 # Register the pytest_fixture_post_finalizer as the first finalizer, 11:00:40 # which is executed last. 11:00:40 > assert not self._finalizers 11:00:40 ^^^^^^^^^^^^^^^^^^^^ 11:00:40 E AssertionError 11:00:40 11:00:40 ../.tox/tests_hybrid/lib/python3.11/site-packages/_pytest/fixtures.py:1220: AssertionError 11:00:40 =========================== short test summary info ============================ 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_01_connect_xpdrA 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_02_connect_xpdrC 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_03_connect_rdmA 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_04_connect_rdmC 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_05_connect_xpdrA_N1_to_roadmA_PP1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_06_connect_roadmA_PP1_to_xpdrA_N1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_07_connect_xpdrC_N1_to_roadmC_PP1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_08_connect_roadmC_PP1_to_xpdrC_N1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_09_add_omsAttributes_ROADMA_ROADMC 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_10_add_omsAttributes_ROADMC_ROADMA 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_11_create_eth_service1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_eth_service1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_13_change_status_line_port_xpdra 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_17_restore_status_line_port_xpdra 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_portmapping_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_19_check_update_openroadm_topo_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_service1_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_21_change_status_port_roadma_srg 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_22_check_update_portmapping 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_23_check_update_openroadm_topo 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_24_restore_status_port_roadma_srg 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_portmapping_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_26_check_update_openroadm_topo_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_service1_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_28_change_status_line_port_roadma_deg 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_29_check_update_portmapping 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_30_check_update_openroadm_topo 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_31_restore_status_line_port_roadma_srg 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_portmapping_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_33_check_update_openroadm_topo_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_service1_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_35_change_status_line_port_xpdrc 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_36_check_update_portmapping 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_37_check_update_openroadm_topo 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_38_restore_status_line_port_xpdrc 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_39_check_update_portmapping_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_40_check_update_openroadm_topo_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_service1_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_42_change_status_port_roadma_srg 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_43_check_update_portmapping 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_44_check_update_openroadm_topo 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_service1_ok 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_delete_eth_service1 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_47_disconnect_xponders_from_roadm 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_48_disconnect_XPDRA 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_49_disconnect_XPDRC 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_50_disconnect_ROADMA 11:00:40 ERROR transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_51_disconnect_ROADMC 11:00:40 51 errors in 111.38s (0:01:51) 11:00:40 tests_hybrid: exit 1 (111.69 seconds) /w/workspace/transportpce-tox-verify-transportpce-master/tests> ./launch_tests.sh hybrid pid=32014 11:00:40 buildcontroller: OK (146.54=setup[11.95]+cmd[134.59] seconds) 11:00:40 sims: OK (11.11=setup[7.78]+cmd[3.33] seconds) 11:00:40 build_karaf_tests121: OK (118.25=setup[24.25]+cmd[94.00] seconds) 11:00:40 testsPCE: OK (312.18=setup[50.01]+cmd[262.16] seconds) 11:00:40 tests121: OK (1628.69=setup[21.75]+cmd[1606.95] seconds) 11:00:40 build_karaf_tests221: OK (117.58=setup[24.38]+cmd[93.20] seconds) 11:00:40 tests_tapi: FAIL code 1 (2058.09=setup[21.83]+cmd[2036.27] seconds) 11:00:40 tests221: FAIL code 1 (133.02=setup[25.17]+cmd[107.86] seconds) 11:00:40 build_karaf_tests71: OK (119.57=setup[24.39]+cmd[95.18] seconds) 11:00:40 tests71: OK (485.18=setup[10.77]+cmd[474.41] seconds) 11:00:40 build_karaf_tests190: OK (119.56=setup[24.37]+cmd[95.19] seconds) 11:00:40 tests190: OK (442.05=setup[21.71]+cmd[420.35] seconds) 11:00:40 tests_hybrid: FAIL code 1 (120.74=setup[9.05]+cmd[111.69] seconds) 11:00:40 buildlighty: OK (32.01=setup[8.30]+cmd[23.71] seconds) 11:00:40 docs: OK (40.48=setup[35.72]+cmd[4.76] seconds) 11:00:40 docs-linkcheck: OK (41.01=setup[35.91]+cmd[5.10] seconds) 11:00:40 checkbashisms: OK (4.43=setup[2.93]+cmd[0.00,0.05,1.44] seconds) 11:00:40 pre-commit: OK (92.85=setup[4.57]+cmd[0.00,0.00,75.23,13.04] seconds) 11:00:40 pylint: OK (48.01=setup[5.92]+cmd[42.09] seconds) 11:00:40 evaluation failed :( (2890.22 seconds) 11:00:40 + tox_status=1 11:00:40 + echo '---> Completed tox runs' 11:00:40 ---> Completed tox runs 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/build_karaf_tests121/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=build_karaf_tests121 11:00:40 + cp -r .tox/build_karaf_tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests121 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/build_karaf_tests190/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=build_karaf_tests190 11:00:40 + cp -r .tox/build_karaf_tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests190 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/build_karaf_tests221/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=build_karaf_tests221 11:00:40 + cp -r .tox/build_karaf_tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests221 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/build_karaf_tests71/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=build_karaf_tests71 11:00:40 + cp -r .tox/build_karaf_tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/build_karaf_tests71 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/buildcontroller/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=buildcontroller 11:00:40 + cp -r .tox/buildcontroller/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildcontroller 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/buildlighty/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=buildlighty 11:00:40 + cp -r .tox/buildlighty/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/buildlighty 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/checkbashisms/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=checkbashisms 11:00:40 + cp -r .tox/checkbashisms/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/checkbashisms 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/docs-linkcheck/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=docs-linkcheck 11:00:40 + cp -r .tox/docs-linkcheck/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs-linkcheck 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/docs/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=docs 11:00:40 + cp -r .tox/docs/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/docs 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/pre-commit/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=pre-commit 11:00:40 + cp -r .tox/pre-commit/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pre-commit 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/pylint/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=pylint 11:00:40 + cp -r .tox/pylint/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/pylint 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/sims/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=sims 11:00:40 + cp -r .tox/sims/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/sims 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests121/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests121 11:00:40 + cp -r .tox/tests121/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests121 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests190/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests190 11:00:40 + cp -r .tox/tests190/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests190 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests221/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests221 11:00:40 + cp -r .tox/tests221/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests221 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests71/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests71 11:00:40 + cp -r .tox/tests71/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests71 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/testsPCE/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=testsPCE 11:00:40 + cp -r .tox/testsPCE/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/testsPCE 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests_hybrid/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests_hybrid 11:00:40 + cp -r .tox/tests_hybrid/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_hybrid 11:00:40 + for i in .tox/*/log 11:00:40 ++ echo .tox/tests_tapi/log 11:00:40 ++ awk -F/ '{print $2}' 11:00:40 + tox_env=tests_tapi 11:00:40 + cp -r .tox/tests_tapi/log /w/workspace/transportpce-tox-verify-transportpce-master/archives/tox/tests_tapi 11:00:40 + DOC_DIR=docs/_build/html 11:00:40 + [[ -d docs/_build/html ]] 11:00:40 + echo '---> Archiving generated docs' 11:00:40 ---> Archiving generated docs 11:00:40 + mv docs/_build/html /w/workspace/transportpce-tox-verify-transportpce-master/archives/docs 11:00:40 + echo '---> tox-run.sh ends' 11:00:40 ---> tox-run.sh ends 11:00:40 + test 1 -eq 0 11:00:40 + exit 1 11:00:40 ++ '[' 1 = 1 ']' 11:00:40 ++ '[' -x /usr/bin/clear_console ']' 11:00:40 ++ /usr/bin/clear_console -q 11:00:40 Build step 'Execute shell' marked build as failure 11:00:40 $ ssh-agent -k 11:00:40 unset SSH_AUTH_SOCK; 11:00:40 unset SSH_AGENT_PID; 11:00:40 echo Agent pid 1563 killed; 11:00:40 [ssh-agent] Stopped. 11:00:40 [PostBuildScript] - [INFO] Executing post build scripts. 11:00:40 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins16563852468100624811.sh 11:00:40 ---> sysstat.sh 11:00:41 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins5048667015244468252.sh 11:00:41 ---> package-listing.sh 11:00:41 ++ facter osfamily 11:00:41 ++ tr '[:upper:]' '[:lower:]' 11:00:42 + OS_FAMILY=debian 11:00:42 + workspace=/w/workspace/transportpce-tox-verify-transportpce-master 11:00:42 + START_PACKAGES=/tmp/packages_start.txt 11:00:42 + END_PACKAGES=/tmp/packages_end.txt 11:00:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:00:42 + PACKAGES=/tmp/packages_start.txt 11:00:42 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 11:00:42 + PACKAGES=/tmp/packages_end.txt 11:00:42 + case "${OS_FAMILY}" in 11:00:42 + dpkg -l 11:00:42 + grep '^ii' 11:00:42 + '[' -f /tmp/packages_start.txt ']' 11:00:42 + '[' -f /tmp/packages_end.txt ']' 11:00:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:00:42 + '[' /w/workspace/transportpce-tox-verify-transportpce-master ']' 11:00:42 + mkdir -p /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 11:00:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/transportpce-tox-verify-transportpce-master/archives/ 11:00:42 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins8408466713107645561.sh 11:00:42 ---> capture-instance-metadata.sh 11:00:42 Setup pyenv: 11:00:42 system 11:00:42 3.8.20 11:00:42 3.9.20 11:00:42 3.10.15 11:00:42 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:00:42 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AH9M from file:/tmp/.os_lf_venv 11:00:42 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:00:42 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:00:45 lf-activate-venv(): INFO: Base packages installed successfully 11:00:45 lf-activate-venv(): INFO: Installing additional packages: lftools 11:00:59 lf-activate-venv(): INFO: Adding /tmp/venv-AH9M/bin to PATH 11:00:59 INFO: Running in OpenStack, capturing instance metadata 11:00:59 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins10030578016886492734.sh 11:00:59 provisioning config files... 11:00:59 Could not find credentials [logs] for transportpce-tox-verify-transportpce-master #5696 11:00:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/transportpce-tox-verify-transportpce-master@tmp/config6893250998788851777tmp 11:00:59 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index] 11:00:59 Run condition [Regular expression match] enabling perform for step [Provide Configuration files] 11:00:59 provisioning config files... 11:01:00 copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials 11:01:00 [EnvInject] - Injecting environment variables from a build step. 11:01:00 [EnvInject] - Injecting as environment variables the properties content 11:01:00 SERVER_ID=logs 11:01:00 11:01:00 [EnvInject] - Variables injected successfully. 11:01:00 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins15834293981188712259.sh 11:01:00 ---> create-netrc.sh 11:01:00 WARN: Log server credential not found. 11:01:00 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins2494936885455016081.sh 11:01:00 ---> python-tools-install.sh 11:01:00 Setup pyenv: 11:01:00 system 11:01:00 3.8.20 11:01:00 3.9.20 11:01:00 3.10.15 11:01:00 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:01:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AH9M from file:/tmp/.os_lf_venv 11:01:00 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:01:00 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:01:02 lf-activate-venv(): INFO: Base packages installed successfully 11:01:02 lf-activate-venv(): INFO: Installing additional packages: lftools 11:01:12 lf-activate-venv(): INFO: Adding /tmp/venv-AH9M/bin to PATH 11:01:12 [transportpce-tox-verify-transportpce-master] $ /bin/sh /tmp/jenkins13536030944403982069.sh 11:01:12 ---> uv-install.sh 11:01:12 uv 0.11.21 is already installed 11:01:12 uvx 0.11.21 (x86_64-unknown-linux-gnu) 11:01:12 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins1251229056526224953.sh 11:01:12 ---> sudo-logs.sh 11:01:12 Archiving 'sudo' log.. 11:01:12 [transportpce-tox-verify-transportpce-master] $ /bin/bash /tmp/jenkins13812033654643948949.sh 11:01:12 ---> job-cost.sh 11:01:12 INFO: Activating Python virtual environment... 11:01:12 Setup pyenv: 11:01:12 system 11:01:12 3.8.20 11:01:12 3.9.20 11:01:12 3.10.15 11:01:12 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:01:12 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AH9M from file:/tmp/.os_lf_venv 11:01:12 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:01:12 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:01:14 lf-activate-venv(): INFO: Base packages installed successfully 11:01:14 lf-activate-venv(): INFO: Installing additional packages: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 11:01:21 lf-activate-venv(): INFO: Adding /tmp/venv-AH9M/bin to PATH 11:01:21 INFO: No stack-cost file found 11:01:21 INFO: Instance uptime: 3095s 11:01:21 INFO: Fetching instance metadata (attempt 1 of 3)... 11:01:21 DEBUG: URL: http://169.254.169.254/latest/meta-data/instance-type 11:01:21 INFO: Successfully fetched instance metadata 11:01:21 INFO: Instance type: v3-standard-4 11:01:21 INFO: Retrieving pricing info for: v3-standard-4 11:01:21 INFO: Fetching Vexxhost pricing API (attempt 1 of 3)... 11:01:21 DEBUG: URL: https://pricing.vexxhost.net/v1/pricing/v3-standard-4/cost?seconds=3095 11:01:22 INFO: Successfully fetched Vexxhost pricing API 11:01:22 INFO: Retrieved cost: 0.11 11:01:22 INFO: Retrieved resource: v3-standard-4 11:01:22 INFO: Creating archive directory: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost 11:01:22 INFO: Archiving costs to: /w/workspace/transportpce-tox-verify-transportpce-master/archives/cost.csv 11:01:22 INFO: Successfully archived job cost data 11:01:22 DEBUG: Cost data: transportpce-tox-verify-transportpce-master,5696,2026-06-16 11:01:22,v3-standard-4,3095,0.11,0.00,FAILURE 11:01:22 [transportpce-tox-verify-transportpce-master] $ /bin/bash -l /tmp/jenkins3919111815059986828.sh 11:01:22 ---> logs-deploy.sh 11:01:22 Setup pyenv: 11:01:22 system 11:01:22 3.8.20 11:01:22 3.9.20 11:01:22 3.10.15 11:01:22 * 3.11.10 (set by /w/workspace/transportpce-tox-verify-transportpce-master/.python-version) 11:01:22 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-AH9M from file:/tmp/.os_lf_venv 11:01:22 lf-activate-venv(): INFO: Installing base packages (pip, setuptools, virtualenv) 11:01:22 lf-activate-venv(): INFO: Attempting to install with network-safe options... 11:01:24 lf-activate-venv(): INFO: Base packages installed successfully 11:01:24 lf-activate-venv(): INFO: Installing additional packages: lftools urllib3~=1.26.15 11:01:33 lf-activate-venv(): INFO: Adding /tmp/venv-AH9M/bin to PATH 11:01:33 WARNING: Nexus logging server not set 11:01:33 INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/transportpce-tox-verify-transportpce-master/5696/ 11:01:33 INFO: archiving logs to S3 11:01:35 ---> uname -a: 11:01:35 Linux prd-ubuntu2204-docker-4c-16g-27805 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux 11:01:35 11:01:35 11:01:35 ---> lscpu: 11:01:35 Architecture: x86_64 11:01:35 CPU op-mode(s): 32-bit, 64-bit 11:01:35 Address sizes: 40 bits physical, 48 bits virtual 11:01:35 Byte Order: Little Endian 11:01:35 CPU(s): 4 11:01:35 On-line CPU(s) list: 0-3 11:01:35 Vendor ID: AuthenticAMD 11:01:35 Model name: AMD EPYC-Rome Processor 11:01:35 CPU family: 23 11:01:35 Model: 49 11:01:35 Thread(s) per core: 1 11:01:35 Core(s) per socket: 1 11:01:35 Socket(s): 4 11:01:35 Stepping: 0 11:01:35 BogoMIPS: 5599.99 11:01:35 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 11:01:35 Virtualization: AMD-V 11:01:35 Hypervisor vendor: KVM 11:01:35 Virtualization type: full 11:01:35 L1d cache: 128 KiB (4 instances) 11:01:35 L1i cache: 128 KiB (4 instances) 11:01:35 L2 cache: 2 MiB (4 instances) 11:01:35 L3 cache: 64 MiB (4 instances) 11:01:35 NUMA node(s): 1 11:01:35 NUMA node0 CPU(s): 0-3 11:01:35 Vulnerability Gather data sampling: Not affected 11:01:35 Vulnerability Indirect target selection: Not affected 11:01:35 Vulnerability Itlb multihit: Not affected 11:01:35 Vulnerability L1tf: Not affected 11:01:35 Vulnerability Mds: Not affected 11:01:35 Vulnerability Meltdown: Not affected 11:01:35 Vulnerability Mmio stale data: Not affected 11:01:35 Vulnerability Reg file data sampling: Not affected 11:01:35 Vulnerability Retbleed: Mitigation; untrained return thunk; SMT disabled 11:01:35 Vulnerability Spec rstack overflow: Mitigation; SMT disabled 11:01:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:01:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:01:35 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 11:01:35 Vulnerability Srbds: Not affected 11:01:35 Vulnerability Tsa: Not affected 11:01:35 Vulnerability Tsx async abort: Not affected 11:01:35 Vulnerability Vmscape: Not affected 11:01:35 11:01:35 11:01:35 ---> nproc: 11:01:35 4 11:01:35 11:01:35 11:01:35 ---> df -h: 11:01:35 Filesystem Size Used Avail Use% Mounted on 11:01:35 tmpfs 1.6G 1.1M 1.6G 1% /run 11:01:35 /dev/vda1 78G 18G 61G 23% / 11:01:35 tmpfs 7.9G 0 7.9G 0% /dev/shm 11:01:35 tmpfs 5.0M 0 5.0M 0% /run/lock 11:01:35 /dev/vda15 105M 6.1M 99M 6% /boot/efi 11:01:35 tmpfs 1.6G 4.0K 1.6G 1% /run/user/1001 11:01:35 11:01:35 11:01:35 ---> free -m: 11:01:35 total used free shared buff/cache available 11:01:35 Mem: 15989 6860 6368 3 2760 8786 11:01:35 Swap: 1023 21 1002 11:01:35 11:01:35 11:01:35 ---> ip addr: 11:01:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 11:01:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 11:01:35 inet 127.0.0.1/8 scope host lo 11:01:35 valid_lft forever preferred_lft forever 11:01:35 inet6 ::1/128 scope host 11:01:35 valid_lft forever preferred_lft forever 11:01:35 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 11:01:35 link/ether fa:16:3e:66:1c:33 brd ff:ff:ff:ff:ff:ff 11:01:35 altname enp0s3 11:01:35 inet 10.30.171.128/23 metric 100 brd 10.30.171.255 scope global dynamic ens3 11:01:35 valid_lft 83298sec preferred_lft 83298sec 11:01:35 inet6 fe80::f816:3eff:fe66:1c33/64 scope link 11:01:35 valid_lft forever preferred_lft forever 11:01:35 3: docker0: mtu 1458 qdisc noqueue state DOWN group default 11:01:35 link/ether 26:1a:05:60:4e:a3 brd ff:ff:ff:ff:ff:ff 11:01:35 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 11:01:35 valid_lft forever preferred_lft forever 11:01:35 inet6 fe80::241a:5ff:fe60:4ea3/64 scope link 11:01:35 valid_lft forever preferred_lft forever 11:01:35 11:01:35 11:01:35 ---> sar -b -r -n DEV: 11:01:35 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-27805) 06/16/26 _x86_64_ (4 CPU) 11:01:35 11:01:35 10:09:56 LINUX RESTART (4 CPU) 11:01:35 11:01:35 10:10:00 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:01:35 10:20:02 193.92 30.52 146.02 17.38 2642.95 43601.20 284057.09 11:01:35 10:30:01 69.79 23.98 43.42 2.40 538.40 4435.96 3609.17 11:01:35 10:40:01 38.39 10.64 26.51 1.24 207.53 1576.25 1994.36 11:01:35 10:50:15 13.93 2.49 10.85 0.58 51.77 360.46 1318.83 11:01:35 11:00:14 6.77 0.49 6.05 0.23 12.43 672.03 646.33 11:01:35 Average: 64.45 13.59 46.50 4.36 689.55 10116.78 58287.47 11:01:35 11:01:35 10:10:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:01:35 10:20:02 3299104 14491312 1431252 8.74 246892 10700612 2219084 12.74 2222812 10053060 7204 11:01:35 10:30:01 3271608 5251324 10684984 65.26 259212 1811720 12757104 73.23 1283380 11346844 251612 11:01:35 10:40:01 5031116 7101940 8836252 53.97 264964 1895956 9554256 54.84 1442920 9419508 424 11:01:35 10:50:15 7620492 9726944 6211032 37.93 266528 1930044 7032140 40.36 1463928 6814928 316 11:01:35 11:00:14 6573040 8840184 7098300 43.35 272964 2076368 8728520 50.10 1504004 7810172 252 11:01:35 Average: 5159072 9082341 6852364 41.85 262112 3682940 8058221 46.25 1583409 9088902 51962 11:01:35 11:01:35 10:10:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:01:35 10:20:02 lo 2.06 2.06 1.59 1.59 0.00 0.00 0.00 0.00 11:01:35 10:20:02 ens3 173.46 121.30 2318.88 17.18 0.00 0.00 0.00 0.00 11:01:35 10:20:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 10:30:01 lo 19.18 19.18 15.35 15.35 0.00 0.00 0.00 0.00 11:01:35 10:30:01 ens3 1.64 1.56 0.52 0.45 0.00 0.00 0.00 0.00 11:01:35 10:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 10:40:01 lo 39.06 39.06 18.95 18.95 0.00 0.00 0.00 0.00 11:01:35 10:40:01 ens3 1.69 1.44 0.35 0.30 0.00 0.00 0.00 0.00 11:01:35 10:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 10:50:15 lo 30.65 30.65 13.54 13.54 0.00 0.00 0.00 0.00 11:01:35 10:50:15 ens3 1.23 1.08 0.19 1.04 0.00 0.00 0.00 0.00 11:01:35 10:50:15 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 11:00:14 lo 4.20 4.20 1.52 1.52 0.00 0.00 0.00 0.00 11:01:35 11:00:14 ens3 0.98 0.77 0.32 0.67 0.00 0.00 0.00 0.00 11:01:35 11:00:14 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 Average: lo 19.08 19.08 10.20 10.20 0.00 0.00 0.00 0.00 11:01:35 Average: ens3 35.78 25.21 463.77 3.93 0.00 0.00 0.00 0.00 11:01:35 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:01:35 11:01:35 11:01:35 ---> sar -P ALL: 11:01:35 Linux 5.15.0-174-generic (prd-ubuntu2204-docker-4c-16g-27805) 06/16/26 _x86_64_ (4 CPU) 11:01:35 11:01:35 10:09:56 LINUX RESTART (4 CPU) 11:01:35 11:01:35 10:10:00 CPU %user %nice %system %iowait %steal %idle 11:01:35 10:20:02 all 43.12 0.08 4.14 6.43 0.16 46.07 11:01:35 10:20:02 0 44.81 0.23 4.04 5.85 0.17 44.91 11:01:35 10:20:02 1 44.07 0.07 4.37 5.88 0.16 45.44 11:01:35 10:20:02 2 42.41 0.00 4.34 7.72 0.16 45.37 11:01:35 10:20:02 3 41.18 0.00 3.82 6.29 0.16 48.55 11:01:35 10:30:01 all 57.49 0.00 2.57 0.24 0.48 39.21 11:01:35 10:30:01 0 56.73 0.00 2.58 0.19 0.61 39.90 11:01:35 10:30:01 1 57.29 0.00 2.63 0.20 0.48 39.39 11:01:35 10:30:01 2 58.27 0.00 2.57 0.14 0.49 38.52 11:01:35 10:30:01 3 57.68 0.00 2.51 0.43 0.35 39.03 11:01:35 10:40:01 all 49.06 0.00 1.86 0.13 0.17 48.78 11:01:35 10:40:01 0 48.86 0.00 1.82 0.32 0.15 48.85 11:01:35 10:40:01 1 48.82 0.00 1.83 0.06 0.16 49.14 11:01:35 10:40:01 2 49.49 0.00 1.84 0.07 0.20 48.40 11:01:35 10:40:01 3 49.08 0.00 1.95 0.06 0.16 48.75 11:01:35 10:50:15 all 25.36 0.00 1.08 0.07 0.10 73.39 11:01:35 10:50:15 0 25.04 0.00 1.15 0.03 0.10 73.67 11:01:35 10:50:15 1 25.29 0.00 1.00 0.08 0.11 73.53 11:01:35 10:50:15 2 25.23 0.00 1.02 0.13 0.10 73.52 11:01:35 10:50:15 3 25.87 0.00 1.14 0.03 0.10 72.85 11:01:35 11:00:14 all 3.38 0.00 0.37 1.44 0.10 94.71 11:01:35 11:00:14 0 3.83 0.00 0.37 0.62 0.22 94.95 11:01:35 11:00:14 1 2.72 0.00 0.38 4.25 0.06 92.59 11:01:35 11:00:14 2 3.84 0.00 0.37 0.36 0.05 95.38 11:01:35 11:00:14 3 3.12 0.00 0.38 0.53 0.05 95.92 11:01:35 Average: all 35.64 0.01 2.00 1.66 0.20 60.48 11:01:35 Average: 0 35.81 0.05 1.99 1.40 0.25 60.51 11:01:35 Average: 1 35.61 0.01 2.04 2.08 0.19 60.06 11:01:35 Average: 2 35.81 0.00 2.02 1.68 0.20 60.28 11:01:35 Average: 3 35.34 0.00 1.96 1.46 0.16 61.07 11:01:35 11:01:35 11:01:35